Quote:
Originally Posted by bada_bing
If I dont add your code and just add the default code as described originally in the hack there are no issues.
|
After looking at the original FORUMDISPLAY code I've included, it looks like the code you pasted initially has some additions.
Try this:
HTML Code:
<if condition="$foruminfo[sponsor_enabled] == 1 AND $vboptions[sponsor_global_enable_sponsorship] == 1">
<div align="center>
$vbphrase[sponsored_by] <a href="vB.Sponsors/link.php?f=$foruminfo[forumid]" title="$foruminfo[sponsor_name]" target="_blank">
<if condition="$foruminfo[sponsor_banner_enabled] == 1 AND $vboptions[sponsor_global_enable_banners] == 1">
<if condition="!empty($foruminfo[sponsor_banner_big])">
<img src="$foruminfo[sponsor_banner_big]" alt="$foruminfo[sponsor_name]" border="0" />
<else />
<img src="$foruminfo[sponsor_banner]" alt="$foruminfo[sponsor_name]" border="0" />
</if>
<else />
$foruminfo[sponsor_name]
</if></a>
</div>
</if>
This is the original code with a <div> tag added to center the sponsor's ad. This replaces the section of vB.Sponsor code ONLY. This isn't the full FORUMDISPLAY code.