The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm php include coding listed below to put banners on the sides of my site.
I'm trying to figure out how I would be able to code it, that in the include it would load a different include depending on the thread name? example: A thread titled "Bobs Banner" would pull bobs-banner-include.php. I have searched and not found anything as of yet, I'm not sure if I'm using the right terminology, this is all new to me, any questions or suggestions please let me know. Coding I'm currently using Hooked to global_start Plugin with Code:
ob_start(); include('/includes/banner.php'); $includedphp = ob_get_contents(); ob_end_clean(); In the template.. Code:
<td width="100px" padding="5px">$includedphp</td> Code:
<body> <img src="/images/banners/banner.jpg" width="90" height="200"> </body> I tried Code:
ob_start(); include('/includes/$pagenumber.php'); $includedphp = ob_get_contents(); ob_end_clean(); ![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|