The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello Everybody:
I'm trying to figure out where I can place banner code in the header and footer code on the Archive page? ( /archive/index.php/) Any help on this would be appreciated! |
#2
|
|||
|
|||
![]()
You can use the Put Adsense Banners in Your Archive plugin for this. This mod displays Adsense banners, but you can also use it for normal banners (just change the script tags to img tags).
|
#3
|
|||
|
|||
![]() Quote:
I replaced adsense code with my Banner Code in the header between this code... PHP Code:
And I received these errors for the Header & Footer Code... Parse error: parse error, unexpected T_STRING in /home/******/public_html/archive/index.php(254) : eval()'d code on line 3 Parse error: parse error, unexpected T_LNUMBER in /home/******/public_html/archive/index.php(453) : eval()'d code on line 3 Sorry for being a pain, I'm just not very good at this. :cross-eyed: |
#4
|
|||
|
|||
![]()
You need to add backslashes before every " (double quotation mark) character in the code, except for the first and the latest " (double quotation mark) character (those for the opening and the closing of the $output variable).
For example: Code:
<phpcode><![CDATA[$output.=" <div align=\"center\" style=\"padding:4px; overflow: hidden;\"> <img src=\"http://www.mysite.com/images/banner.gif\" alt=\"mytexthere\" /> </div> </td><td width=\"15%\" valign=\"top\"> <img src=\"http://www.mysite.com/images/banner2.gif\" alt=\"mytexthere2\" /> </td> </tr> </table> ";]]></phpcode> |
#5
|
||||
|
||||
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|