Sub Menu
Links Menu
Online Users

In total there are 312 users online :: 3 registered, 0 hidden and 309 guests

Most users ever online was 1091 on Wed Aug 16, 2023 5:27 pm

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot] based on users active over the past 60 minutes

problem with banner mod

Mods etc.

Moderator: Integra Moderator

problem with banner mod

PostAuthor: Dj-Harem » Mon May 15, 2006 10:44 am

hello i have a little problem with my banner mod.
i can display banners in the viewforum
but not in the viewtopic. I searched the variables in
my theme an thy are all there.
what could that be?

thanks
Dj-Harem
Last edited by Dj-Harem on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http][img=left]http://www.antiaggro.de/images/banners/banner.gif[/img][/url]

Dj-Harem
Newbie
Newbie
 
Posts: 11
Likes: 0 post
Liked in: 0 post
Joined: Tue Apr 25, 2006 7:28 am
Cash on hand: 0.00

Re: Error

PostAuthor: Teelk » Tue May 16, 2006 10:49 pm

Many have had this problem, it stems from switches being set on the banners in the tpl files but no switches in the php files. You can try removing the switches from the tpl file which I thought was a viable fix, but when tried on this site broke the layout. I personally have never had the layout break from removing the switches, however. If you want to give it a try, do the following.

Open templates/yourtheme/viewtopic_body.tpl
FIND
Code: Select all
<BEGIN>{BANNER_14_IMG}<br><END>

REPLACE WITH
Code: Select all
{BANNER_14_IMG}<br>

FIND
Code: Select all
<BEGIN><tr><td>{BANNER_15_IMG}</td></tr><END>

REPLACE WITH
Code: Select all
<tr><td>{BANNER_15_IMG}</td></tr>
Last edited by Teelk on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
User avatar
Teelk
Dev Team
Dev Team
 
Posts: 1309
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 14, 2006 5:25 pm
Cash on hand: 0.00
Location: Canada

PostAuthor: Dj-Harem » Wed May 17, 2006 6:54 am

Thanks Teelk !!!
it works fine without breaking out the layout.

greetz Dj-Harem
Last edited by Dj-Harem on Wed Dec 31, 1969 4:00 pm, edited 1 time in total.
[url=http][img=left]http://www.antiaggro.de/images/banners/banner.gif[/img][/url]

Dj-Harem
Newbie
Newbie
 
Posts: 11
Likes: 0 post
Liked in: 0 post
Joined: Tue Apr 25, 2006 7:28 am
Cash on hand: 0.00


Return to IntegraMOD Modifications

Who is online

Registered users: Bing [Bot], Google [Bot], Majestic-12 [Bot]