The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Query table before showing the page
We'd like to create a table called t_ads with 2 columns
1) Forum_ID 2) htmlAdCode Before any thread shows, we' like it to lookup the Ad code for that forum and show it in the "postbit" template (after the first post). How do I select a value from a table and show it in the postbit template for that forum? Thanks in advance |
#2
|
||||
|
||||
It would be better to keep this in the forum table so you don't need additional queries as it will be automatically available as $foruminfo['htmlAdCode'].
You can even create Plugins to integrate a Textare into Forum Manager for entering/editing the Code. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|