The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Header S.O.S.
Hello,
I'm in need of some scripting help perhaps. I have just installed & configured the latest version of phpadsnew on my server. I have read this post: http://www.vbulletin.com/forum/showt...anner+rotation and placed this in my phpinclude_start: Code:
ob_start(); require("/full/path/to/your/banner.php"); $mybannerad = ob_get_contents(); ob_end_clean(); I need to place the $mybannerad in a 3 celled table. I tried this: Code:
<table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td width="5%"><img src="$stylevar[imgdir_misc]/test_air_header_rs_02.jpg" width="16" height="60" alt="" /></td> <td width="90%">$mybannerad</td> <td width="5%"><img src="$stylevar[imgdir_misc]/test_air_header_rs_03.jpg" width="43" height="60" alt="" /></td> </tr> </table> Quote:
Here is exactly everything in my phpinclude_start template. Code:
// Example of how to include a seperate file: // ob_start(); // require("yourheader.html"); // $header = ob_get_contents(); // ob_end_clean(); ob_start(); require("http://www.example.com/phpAdsNew-2.0/banner.php"); $mybannerad = ob_get_contents(); ob_end_clean(); Can someone please advise me on this harassing error? Thank You FessB |
#2
|
|||
|
|||
Why do you need 3 table cells? Couldn't you use one and add colspan="3" to it?
|
#3
|
||||
|
||||
Moving to design/coding help - this forum isn't for support.
|
#4
|
|||
|
|||
Quote:
Thanks Fess |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|