The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
How do I create a custom page to have something on (like a chat) and deny certian users from viewing it based on their usergroup?
|
#2
|
|||
|
|||
![]() PHP Code:
|
#3
|
||||
|
||||
![]()
print_no_permission() displays a nicer error page
![]() |
#4
|
|||
|
|||
![]()
okay, now for the other part of the question...
where/how would i put that into https://vborg.vbsupport.ru/showthread.php?t=62164 I tried inserting it at the bottom of the php only to get an error. Parse error: syntax error, unexpected '{' in some/domain/you/dont/need/to/know/forum/test.php on line 46 |
#5
|
||||
|
||||
![]()
Add this:
PHP Code:
PHP Code:
|
#6
|
|||
|
|||
![]()
Then put between so you have something like:
PHP Code:
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|