Archive for July, 2005

[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!

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.

[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: http://17thdegree.com/wp/page-restriction.phps

Any questions, comment here.