The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How can I parse the list of templetes before I use the fetch_templete() function
How can i parse the templete editors list of avaiable templetes what i need to do is walk down the list of templetes name and check to see if the actaul templete exist - I want to write good error handeling scripts in PHP where before working with a actual templete to test and see if it actual exist and i would also like to return to the script the path and parse the path once I know that the templete exist on the web site server some where. Any ideas how one would go about such a task. Do I have to look at some tables or is there a active array or list that i need to parse. Please explain the best and how this could be done and what certumstances that one would use either. THANKS
|
#2
|
|||
|
|||
I'm not sure what exacly it is you want, but here is a file I created that will display all your master style templates. Just upload the file to your forums directory and view the file from your broswer.
|
#3
|
|||
|
|||
Thanks for the tool and little sample that is real cool - What I need is a little explination of how to actual show the templete inside a vbulletin script using example one of vbulletin standard templetes and have for example your little tool you gave me run in side vbulletin defualt templete unstead of a blank page. Do you happen to know the name of the default templete that vbulletin use one thing might be a nice feature is to ehance your little tool to be able to show the look of each templete as you scroll down the list in a little window then i could maybe figure out which is the correct name of the templete i am looking for. But that does not answer the real question that is how does vbulletin call and display a templete in its PHP scripts and or link to a templete in a vbulletin PHP script and what is the function call to do that is and what are the argumnets for that function call and if any setup to do this is require please explain in detail how this is done corectly in vbulletin because the API documetion does not really help much. Also what interface does vbulletin use to get the information to the templete and what is expected in the templete to retain the information and display it in the HTML which i can only asume is in the templet unless it is java or ajax get the information. Please explain this part of the vbulletin templete system. THANKS
|
#4
|
||||
|
||||
It sounds like you just want to create some vBulletin powered pages that call on templates. If thats the case, your in luck. Go checkout the tutorials section. There is a tutorial already written on how to do this.
|
#5
|
|||
|
|||
OK THE INFORMATION YOU POINTED ME TO WAS QUITE USEFUL FOR ME TO UNDERSTAND THE TEMPLETES AND HOW TO THE TEMPLETES INTERFACE TO VBULLETIN.
The following 4 articals are the most helpful i would say. THANKS [How-To] vBulletin API Basics: Creating Custom Pages & Misc. [How to] Create pages for the AdminCP Cache System Explanation (datastore) [How-To] vBulletin API Basics: Variables, Functions, Objects |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|