PDA

View Full Version : Forum banner


Zachariah
02-13-2004, 10:02 PM
Little help would be cool :)

I was thinking this might work. If file is on the server in the folder labled the forumid.jpg then place the image and if not do nothing.


<if condition="$stylevar[imgdir]/banner/$forum[forumid].jpg"><center><td><img src="$stylevar[imgdir]/banner/$forum[forumid].jpg" alt="" border="0" /></td></center>
<else />
</if>



Insted I get Warning: Division by zero in forumdisplay.php(821) : eval()'d code on line 12

I placed it in Formhome after $navbar

So what did I do incorect ?

Logikos
02-14-2004, 04:26 AM
so you want a diffrent banner on diffrent forum ids? won't work with out hacking (pretty sure) and that what you did won't work cause there are no such conditions created with those variables.

Zachariah
02-14-2004, 11:47 AM
That was 1 of many options in Ezboard I used alot. I'll work on the hack.

thanks for the info.

Zachariah
02-14-2004, 06:41 PM
alldone :)

https://vborg.vbsupport.ru/showthread.php?t=61555