The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hey guys!
I just want to ask a question that is very important for my hack i'm trying to complete now. Is it possible to disable the hole vBulletin teplate system with a switch like developer view? I just want to disable it for performance and just want to use on one site the vBulletin login system. Just want to include all the use, rights login and so on stuff without the template engine. Thanks in advance! |
#2
|
|||
|
|||
![]()
I'm sure there is a simple way to disable the template engine but i think nobody want to or can't share this secret
![]() |
#3
|
||||
|
||||
![]()
Well, if you disable the template system, then your forums won't work. So no, I've never ever looking into how to disable the template system.
|
#4
|
|||
|
|||
![]()
If you just want to use the login system on a 3rd party page so users can access with the same account other pages, you may consider turning off the vbulletin template system, saveing lots of sql querys you won't need. I don't want to turn off the hole template system for the forums, just when i include the "global.php" in my scrtipt i thought that may be a switch like define('TEMPLATESYSTEM', false); could exist to switch it off.
But i'm sure i can write a dirty hack to work around the global.php and just include the needed files for the user login. I just wanted to be on the save side and use vbulletin code that gets updated with the forums, now i have to check all the time if it is still secure and working. |
#5
|
|||
|
|||
![]()
Maybe i should ask how to "just" use the vBulletin login system and usergroups in a custom made script outside the vBulletin system - without loading all the other code including the template system?
|
#6
|
||||
|
||||
![]()
You'd have to include the global.php file and then copy the code from the template needed for logging on/out (from the navbar template). I would try that and see if it works.
|
#7
|
|||
|
|||
![]()
Well so far i have a working script but it always loads the template and language and lots of other code when i just include the global.php. I just need to know how i can only include the login system without all the other unneeded code, as i asked in my first post, a simple off switch for the template system would help me out a lot.
Thanks. |
#8
|
||||
|
||||
![]()
Look at using ./includes/init.php instead of ./global.php
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|