![]() |
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 :-\ |
It's going to require a complete rewrite, but the coding of vB3 baffles me, so I can't be of any help. Sorry.
|
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.
|
Damn, I lost the code. Could anyone show me it again?
|
All times are GMT. The time now is 10:04 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|