Log in

View Full Version : forumhome background image


Pikok
11-14-2003, 09:54 PM
So i would like to configure a background image in each cell where the forumname is...but i've looked everywhere in the templates and i can't seem to find it
this is the effect i would like to reach: http://forums.ffhorizon.com , example: u have general chat forum, and i would like a background image like that...
any ideas? :nervous:

Zachery
11-14-2003, 09:57 PM
So i would like to configure a background image in each cell where the forumname is...but i've looked everywhere in the templates and i can't seem to find it
this is the effect i would like to reach: http://forums.ffhorizon.com , example: u have general chat forum, and i would like a background image like that...
any ideas? :nervous:
its a simple temlpate trick ;)

Pikok
11-14-2003, 09:57 PM
its a simple temlpate trick ;)
yeh, but care to explain a bit more please?

Zachery
11-14-2003, 10:00 PM
yeh, but care to explain a bit more please?
its really overly simple when you thinkg about it

{imagesfolder}/$forumid/image.ext

or you could use the varible for the forum name :)

Pikok
11-14-2003, 10:02 PM
its really overly simple when you thinkg about it

{imagesfolder}/$forumid/image.ext

or you could use the varible for the forum name :)
hold on...i'll try it :)

Zachery
11-14-2003, 10:03 PM
granted you do have an image there

Pikok
11-14-2003, 10:06 PM
granted you do have an image there
question: in what template do i put this code? :s

Zachery
11-14-2003, 10:15 PM
question: in what template do i put this code? :shonestly, :\ dun remember :D

play around, youll get it

Pikok
11-15-2003, 10:45 AM
i still cant see to find the template...anyone help me with this?

assassingod
11-15-2003, 10:50 AM
The template will be the forumhome_forumbit_levelx_[no]post ones:)

Pikok
11-15-2003, 10:55 AM
The template will be the forumhome_forumbit_levelx_[no]post ones:)
i tried that but then the image has the length of the forum description and doesn't cover the whole cell...
this is what i adjusted:

<tr align="center">
<td bgcolor="{firstaltcolor}" colspan="2" align="left">
<table cellpadding="0" cellspacing="0" border="0"><tr>
<td valign="top"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt=""></td>
<td><img src="{imagesfolder}/clear.gif" width="9" height="0" border="0" alt=""></td>
<td background="{imagesfolder}/$forumid.jpeg"><a href="forumdisplay.php?s=$session[sessionhash]&amp;forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a>
<br>
<smallfont>$forum[description]</smallfont></td>
</tr></table>
</td>
<td bgcolor="{secondaltcolor}"><normalfont>$forum[replycount]</normalfont></td>
<td bgcolor="{firstaltcolor}"><normalfont>$forum[threadcount]</normalfont></td>
<td bgcolor="{secondaltcolor}"><smallfont>$forum[lastpostinfo]</smallfont></td>
<td bgcolor="{firstaltcolor}"><smallfont>$forum[moderators]</smallfont></td>
</tr>

assassingod
11-15-2003, 10:57 AM
You'll have to add background="{imagesfolder}/$forumid.jpeg to the other cells:

<tr align="center">
<td bgcolor="{firstaltcolor}" colspan="2" align="left">
<table cellpadding="0" cellspacing="0" border="0"><tr>
<td valign="top"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt=""></td>
<td><img src="{imagesfolder}/clear.gif" width="9" height="0" border="0" alt=""></td>
<td background="{imagesfolder}/$forumid.jpeg"><a href="forumdisplay.php?s=$session[sessionhash]&amp;forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a>
<br>
<smallfont>$forum[description]</smallfont></td>
</tr></table>
</td>
<td bgcolor="{secondaltcolor}" background="{imagesfolder}/$forumid.jpeg"><normalfont>$forum[replycount]</normalfont></td>
<td bgcolor="{firstaltcolor}" background="{imagesfolder}/$forumid.jpeg"><normalfont>$forum[threadcount]</normalfont></td>
<td bgcolor="{secondaltcolor}" background="{imagesfolder}/$forumid.jpeg"><smallfont>$forum[lastpostinfo]</smallfont></td>
<td bgcolor="{firstaltcolor}" background="{imagesfolder}/$forumid.jpeg"><smallfont>$forum[moderators]</smallfont></td>
</tr>

Pikok
11-15-2003, 11:03 AM
You're mistaking me there...I only want it to show up in the forum name with forum description cell, not the other cells...and to cover the entire cell :s

assassingod
11-15-2003, 11:06 AM
Yeah sorry, I misread the post:o

Can I have a screenshot of the problem?

Pikok
11-15-2003, 11:12 AM
the effect when i use this code:
<tr align="center">
<td bgcolor="{firstaltcolor}" colspan="2" align="left">
<table cellpadding="0" cellspacing="0" border="0"><tr>
<td valign="top"><img src="{imagesfolder}/$forum[onoff].gif" border="0" alt=""></td>
<td><img src="{imagesfolder}/clear.gif" width="9" height="0" border="0" alt=""></td>
<td background="{imagesfolder}/$forumid.jpeg"><a href="forumdisplay.php?s=$session[sessionhash]&amp;forumid=$forum[forumid]"><normalfont><b>$forum[title]</b></normalfont></a>
<br>
<smallfont>$forum[description]</smallfont></td>
</tr></table>
</td>
<td bgcolor="{secondaltcolor}"><normalfont>$forum[replycount]</normalfont></td>
<td bgcolor="{firstaltcolor}"><normalfont>$forum[threadcount]</normalfont></td>
<td bgcolor="{secondaltcolor}"><smallfont>$forum[lastpostinfo]</smallfont></td>
<td bgcolor="{firstaltcolor}"><smallfont>$forum[moderators]</smallfont></td>
</tr> on the template forumhome_forumbit_level2_post
screenshot:

Pikok
11-15-2003, 11:15 AM
sorry, had some trouble with adding the image

assassingod
11-15-2003, 11:18 AM
I think you might need to change the width of the image

Pikok
11-15-2003, 11:25 AM
argh :D

Pikok
11-15-2003, 11:27 AM
that doesn't seem to help...:x

assassingod
11-15-2003, 11:30 AM
Not sure what else to do then. Unless you try changing the width of the cell

Rezin
11-21-2003, 07:19 PM
If you have the hack that changes the table color on mouseover, will this still work?

The code is a bit diff, and I been playing, but no luck...