The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
vB3 small question.
I just upgraded and I need to adapt my gallery script to work with it. Its just a small piece of code that I need.
I used to have the gallery.php file work like this: if user was registered, he/she could view the gallery. If user was not logged in/registered it would give him a custom error template message saying that he/she needed to register before viewing the gallery. I cant make it work with vB3, I dont know what code to add :-\ |
#2
|
|||
|
|||
It's going to require a complete rewrite, but the coding of vB3 baffles me, so I can't be of any help. Sorry.
|
#3
|
||||
|
||||
Just add the includes/global.php instead of global.php to the top of that file - just look at different stock vB3 php files, and you will get the idea very easily.
|
#4
|
||||
|
||||
Damn, I lost the code. Could anyone show me it again?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|