The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
how would you create a new page with a template request "chat" tittle Chat Instructions.
i've tried using the post that is already in here but the images dont appear because the index is in a sub directory i.e chat/index.php tries to get all the site information from the same folder which wont work and confusing and if the page could request for the user to login before they can see that page i would be good. thanks! |
#2
|
||||
|
||||
![]() PHP Code:
|
#3
|
|||
|
|||
![]()
oh cool, thanks for that !! but i get an error
Warning: main(./global.php): failed to open stream: No such file or directory in /home/website/public_html/chat/index.php on line 24 Fatal error: main(): Failed opening required './global.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/website/public_html/chat/index.php on line 24 the website is a portal so there is no trailing /forum. it looks like its accessing all images and files from the /chat but its not in that folder but in the root folders. this code is for chat/index.php file what would be the right way to add javascript to the header of just that page ? thanks! |
#4
|
|||
|
|||
![]()
oh and would it be possible to change permissions for specific user groups ? i.e validation cant see that page.
|
#5
|
||||
|
||||
![]()
Use chdir !
You have to create a new parameters for your permissions or maybe you can use: bbuserinfo[usergroupid] == X |
#6
|
|||
|
|||
![]()
i dont know how to
![]() what would be the right way to add javascript to the header of that page ? and maybe if you could give me the code for that page i would really appriciate it. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|