Viewlevel Enhancement plugin
-
Viewlevel Enhancement
I love the Viewlevel plugin, but from my point of view there are two drawbacks:- The fact that you have to set the post level by typing a specific string into the post text – not very user-friendly
- There’s nothing to stop a user from posting a message higher than they’re allowed to read (e.g. a Level 2 user can put “vl=7” in their post, and it will be set as a level 7 post).
I’ve therefore created my own “Viewlevel Enhancement” plugin, which provides a drop-down menu of the available levels on the main post page. In its default form, the menu will show “Level 0″,”Level 1″,…”Level 10”, but it can very easily be modified to (a) remove levels that you don’t want to use, and (b) show more friendly text.
For example, on my site (which I use for a scuba club), Level 0 is an Unregistered member, Level 2 is a club member, and Level 4 is a committee member. I don’t use any other levels. The menu on my posts page therefore shows “Public Post”, “Members-only Post”, and “Committee-only Post”. Level 2 users will not see the “Comittee-only post” option.
You can download the source from here.
Just drop it in your plugins folder, and activate it! No hacks required!
This is my first plugin, so please let me have any feedback.
Neil.
- The topic ‘Viewlevel Enhancement plugin’ is closed to new replies.