WordPress Plugin: Page Access

[UPDATE #2]
Updated to version 1.2
[END UPDATE #2]

[UPDATE]
Updated to version 1.1
[END UPDATE]

I now present my second WordPress plugin – Page Access.

This plugin allows the creation of page groups and then allows users to be associated with the groups. If the page is in a group that is associated with the user, then the user is allowed to access the page. Otherwise, they are redirected to another page which is specified on the Page Access admin panel. Personally, I just created another page explaining what is going on – saying that they don’t have access to this page and to contact the admin. If you do it this way, be sure not to restrict that page!

Also, this plugin is used in conjunction with my Page Restriction plugin. That plugin restricts certain pages to logged in users.

This is my biggest plugin to date, so let me know what you think!

I Finished 7th

Out of 51 signed up, I took 7th in the first ever Designer/Developer Poker Tournament. I want to say Good game. to everyone who played; I had a lot of fun. Hopefully, there will be more in the future – even if it’s for money; I’m down.

As a more important note, I beat Jeff quite handily. That, in and of itself, fills me with those little kid joys – like eating funnel cake for the first time.

Oh, and if I “offended” anyone during the game – I was the most talkative, I’m convinced (others have confirmed) – I appologize, though I don’t think I have. I did have this zinger, it ended like this: … your mom!. I was pretty proud of myself.

Anywho, that’s about that.

WordPress Plugin: Page Restriction

[UPDATE #3]
Updated to version 1.4
– There should be no more errors on install or activation/deactivation.
[END UPDATE #3]

[UPDATE #2]
Updated to version 1.3
[END UPDATE #2]

[UPDATE]
I’ve updated the plugin. I’m now at version 1.2.

Here is the changelog:
v1.2:
– added code check for the Page Access plugin, only used if installed

v1.1:
– used built in WordPress function dbDelta() to update database structure
– changed name of options subpanel

The link is the same, but the .phps file has been updated

Enjoy!
[END UPDATE]

I know I haven’t posted in a long time and I’m sorry. I’ve been… lazy? busy? Sure, those will work. I would also like to sincerely appologize for the complete and utter disarray that this site is in – don’t worry, I’m working fixing all that.

But on to the point of this post…

Because I’m using WordPress as a Content Management System for our up-coming intranet/web-app at work, I needed a way of keeping the regular folks out of our private section of the site.

So, I wrote this plugin – Page Restriction – and it does just what it says, pretty much. It will add an Administration panel under the Options section, entitled Page Restriction – Clever huh? There you can pick and choose whatever pages you want restricted to logged-in users.

You may download the source here: https://17thdegree.com/wp/page-restriction.phps

Any questions, comment here.

Oh Crap.

I was playing around with WordPress 1.5 and kind of messed up my actual site, whoops. Working on fixing everything though. So, if you could all be a little patient with me, that would be super.

Did I miss anything else?

  1. Permalinks don’t work
  2. Trackback links dont’ work
  3. Comments are semi-broken
  4. Line spacing needs updated
  5. Stats are broken

WordPress 1.5, Strayhorn Release

I’m a big fan of WordPress. This site is currently running on version 1.3 alpha 2. It serves me well, however there are some issues that I have with it. Most notably the damn trackback spam. Version 1.3 is actually 1.5, I think. For some reason they changed it. Oh wait, here is the reason it was changed.

I’m just not too enthused about updating my templates and plugins. I’m sure I’m going to need to. With the multitude of changes they made, there has to be some update I need to make.

Meh. I’ll look into it. Maybe it won’t be so bad. It would give me a good kick in the ass to do some code clean up, think my-hacks.php, and to update some template things, think those ugly, weird angled bullets.

We’ll see.