The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
i have read all that i have been able to find on these forums about the process.
i created the following: plugin hook: global_start title: Random Adbar Images php: Code:
ob_start(); include('http://www.pocketpcer.com/forums/includes/php_files/adbar.php'); global $adbar; $adbar = ob_get_contents(); ob_end_clean(); Php include file Code:
<?php $adbar_pos1 = rand(1,3); $adbar_pos2 = rand(1,3); $adbar_pos3 = rand(1,3); $adbar_pos4 = rand(1,3); ?> <table width="728" height="77" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <img src="http://www.pocketpcer.com/forums/images/ads/pocketpc-ad1-<?php echo $adbar_pos1?>.gif " width="184" height="77" alt=""></td> <td> <img src="http://www.pocketpcer.com/forums/images/ads/pocketpc-ad2-<?php echo $adbar_pos2?>.gif" width="180" height="77" alt=""></td> <td> <img src="http://www.pocketpcer.com/forums/images/ads/pocketpc-ad3-<?php echo $adbar_pos3?>.gif " width="181" height="77" alt=""></td> <td> <img src="http://www.pocketpcer.com/forums/images/ads/pocketpc-ad4-<?php echo $adbar_pos4?>.gif " width="183" height="77" alt=""></td> </tr> </table> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|