The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Ok I know how to make a custom page. But I have some custom php code I only want certain usergroup to see. I know how to make it work in the vbulletin. But my php doesnt work inside the vbulletin only outside on the server.
So what I would like to do is make a custom page outside of the forum where I can stick the php but only accessible by certain usergroups. I have tried everything to no avail and looked everywhere for an answer. Is there a certain tag I can use to make the php work in the vbulletin or is there anyway can do this? I would really appreciate any and all help. Thank You ahead of time |
#2
|
||||
|
||||
![]()
Is this using a vBulletin backend (global.php is included)? If so, use:
PHP Code:
|
#3
|
|||
|
|||
![]()
I fiured it out Thank You for pointing me in right direction
for others its HTML Code:
<?
if (!is_member_of($vbulletin->userinfo, 5))
{
print_no_permission();
}
?>
![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|