Quote:
Originally Posted by Rocket2009
I don't know about methods (1) and (2). As suggested elsewhere in this thread I effectively use a little code in the php page (not the vBulletin template). Mine looks like:
PHP Code:
// #######################################################################
// ######################## START MAIN SCRIPT ############################
// #######################################################################
if (!is_member_of($vbulletin->userinfo, 6, 7, 5, 15, 13, 9, 11, 16, 12)) { // give no permission unless in usergroup x, y, or z print_no_permission(); }
$navbits = construct_navbits(array('' => 'TMGA Logos'));
$navbar = render_navbar_template($navbits);
// ###### YOUR CUSTOM CODE GOES HERE #####
|
How about a variation on this that also employs create/edit/delete permissions?
For example, in the other custom pages I want to design, these are going to be for an image-hosting service I am making. I want people to pay a fee to host their images, and I want "everyone" to be able to "see" these images, but where only the Administrator and Paid Subscibers can edit, delete, or create new pages.
Further, the permissions should be configured to where Paid Subscribers are only able to edit/delete their own self-created pages, but to where they can't edit/delete the pages of other Paid Subscribers, while the Administrator can edit/delete anyone's pages.
I know how to do this with my CMS Manager, but because these custom pages we're here aren't controlled by that, how would they be thus-configured by hand?
Thanks!
--------------- Added [DATE]1333138408[/DATE] at [TIME]1333138408[/TIME] ---------------
Quote:
Originally Posted by Lynne
2. Create the Template:
- If you are in debug mode, create the template in your MASTER STYLE so it shows up in all your styles, otherwise make sure you create the template in the style you are using. If following the page above, call the template TEST
|
How do I operate in debug mode, and will this still work if I am not?