The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I find i have to make a few custom pages on my site for whatever reason.
Now if i want to make a page viewable to members only i use below. PHP Code:
How would i go about making this usergroup specific? |
|
#2
|
||||
|
||||
|
Code:
$vbulletin->userinfo['usergroup'] != '2' |
|
#3
|
|||
|
|||
|
Thanks for the reply.
I tried this... Code:
if ($vbulletin->userinfo['usergroup'] != '2') {
echo "Welcome Back, <b>";
echo $vbulletin->userinfo['username'];
echo "<br>";
|
|
#6
|
||||
|
||||
|
Glad to have been of help
|
|
#7
|
||||
|
||||
|
borbole goes for the win!
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|