The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Plug-in help
Hi,
I created a plug-in to rotate a couple of ads as so, and named the file http://myforum.com/ads.php. Code:
<? $r_i=rand(0,1); if ($r_i == 0) { echo "ad 1"; } else { echo "ad 2"; } ?> Code:
ob_start(); include('http://myforum/ads.php'); $myads = ob_get_contents(); ob_end_clean(); But when I access the code in the navbar template using $myads, no html shows up. Any idea why? We're on 3.8.4 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|