![]() |
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 |
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. |
All times are GMT. The time now is 04:46 PM. |
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:
|