vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   forumhome background image (https://vborg.vbsupport.ru/showthread.php?t=58608)

Pikok 11-14-2003 09:54 PM

forumhome background image
 
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

Quote:

Originally Posted by Pikok
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

Quote:

Originally Posted by Faranth
its a simple temlpate trick ;)

yeh, but care to explain a bit more please?

Zachery 11-14-2003 10:00 PM

Quote:

Originally Posted by Pikok
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

Quote:

Originally Posted by Faranth
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

Quote:

Originally Posted by Faranth
granted you do have an image there

question: in what template do i put this code? :s

Zachery 11-14-2003 10:15 PM

Quote:

Originally Posted by Pikok
question: in what template do i put this code? :s

honestly, :\ 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

Quote:

Originally Posted by assassingod
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:
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}" 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

1 Attachment(s)
the effect when i use this code:
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...


All times are GMT. The time now is 06:48 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01353 seconds
  • Memory Usage 1,764KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete