The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
OK I'll give a shot, thanks.
|
#12
|
|||
|
|||
So guys a year has gone by and I'm still fighting with this. I've now moved on to this code but still no dice getting it to show.
ob_start(); include_once('scripts/125_adverts.php'); echo "<div align='center'>$bannerAd</div>"; $output .= ob_get_contents(); ob_end_clean(); Help! |
#13
|
|||
|
|||
Did you try adding "return $output;" at the end of that code?
Edit: ...assuming you're creating a forum block. If not, let us know where you're putting that code. |
#14
|
|||
|
|||
Do the images exist on your server at (example): http://domain.com/adimages/6-2013/CTGY:shirts_kids.jpg ?
Although the code is ugly, it should work just fine. |
#15
|
|||
|
|||
Yes they do. And yep I'm putting it in forum block code. I know it's ugly code but if it ain't broke...haha. Well I guess it kinda is.
When I get home I'll try adding the "return output" code and let you know. Thanks for the reply. |
#16
|
||||
|
||||
Why not install this banner mod instead? Its much easier to place your banners anywhere you want in the templates and you do not have a total headache of dealing with trying to parse PHP code correctly in the side bar. https://vborg.vbsupport.ru/showthrea...ghlight=banner That one best I've found and all you have to do is add the proper code in the area you want banners to be placed and then add the banners via your vb admincp.
|
#17
|
|||
|
|||
Quote:
Got this Firefox error..."The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression." --------------- Added [DATE]1415155943[/DATE] at [TIME]1415155943[/TIME] --------------- Quote:
Thanks a bunch for all the help and suggestion! |
#18
|
||||
|
||||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|