The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Integrating own code into vBulletin
I'm sure there have been previous posts about this, but just took a look and couldn't find any. (Maybe folks can give me some search terms to use?)
I want to place a business directory ("yellow pages") as part of my forum, with a link in the top menu. How and where do I integrate my PHP code? I would like it to be able to work as a standalone PHP page i.e. not having to cut and paste my PHP code into the vB admin interface every time I need to test it. Is there some sort of PHP file available with all the other necessary vB stuff (header, footer etc.) with a place inside the file saying: < insert your code here > or another method, where I insert the name of my PHP code file somewhere, that then gets included in a vB file? One way I thought of doing it, might be this way. Looking at memberlist.php, as an example, could I basically use that as a guide, and just insert my own code after the part where it says: // ###################### // ### START MAIN SCRIPT #### //###################### and then save it as say bizdir.php, and call that file? Any comments, and things I should watch out for? Thanks in advance for any replies. Miner2049er. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|