![]() |
Yes it will
--------------- Added [DATE]1250445420[/DATE] at [TIME]1250445420[/TIME] --------------- Quote:
Quote:
The part print_no_permission(); spits out a "No Permission" error for the user if they are not registered or in the usergroups 5,6,7 which would obviously be this part of the code: if (!$vbulletin->userinfo['userid'] OR !is_member_of($bbuserinfo, 5, 6, 7)) |
Quote:
Code:
if (!$vbulletin->userinfo['userid'] OR !is_member_of($bbuserinfo, 1, 2, 3, 4)) print_no_permission(); |
so you would change the 5, 6, 7 to 1, 2, 3, 4. You need to edit the code to how you need it
|
Quote:
Code:
if (!$vbulletin->userinfo['userid'] OR !is_member_of($vbulletin->userinfo, 5,6,7)) print_no_permission(); |
Quote:
--------------- Added [DATE]1250447670[/DATE] at [TIME]1250447670[/TIME] --------------- That worked. Thanks. Does there need to be a space between each usergroup number like you had in the first example? |
Quote:
|
The vb Codestandards say that there should be a space but it's no must^^
http://www.vbulletin.com/docs/html/m...andards_spaces |
Quote:
|
Quote:
|
In firstpost, the code for the custom php should be changed:
Instead of PHP Code:
PHP Code:
Perhaps the OP or one of the mods could take care of that. |
All times are GMT. The time now is 07:10 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|