vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=134)
-   -   Image on Forumbit (forumhome) (https://vborg.vbsupport.ru/showthread.php?t=89121)

hollyboy 06-13-2004 02:26 PM

I don't understand how to use this.
What are the part I have to edit?

sabret00the 06-13-2004 09:35 PM

i'm not sure how to explain it any simpler than stated in the first post, if you have a specific question on what bits confusing you, then let me know

hollyboy 06-14-2004 07:00 AM

I wanna add pictures for more then one forums.
And still I don't understand what I have to edit of the code you posted. Can u mark it in red please?

sabret00the 06-14-2004 07:04 AM

it's literally copy and paste the whole "forumhome_forumbit_level2_post" template into a text editor, even word would do, find <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if> and then paste <if condition="$forum[parentid]==XX OR $forum[parentid]==XX"><img src="$stylevars[imgdir_misc]/[forumhome]/$forum[forumid].gif" alt="$forum[title]" border="0" vspace="2 px" hspace="2 px" align="left"/></if> right below it

if you give me the link to your forums and tell me the forums, i'll even post the code on how to add it to those specific forums.

hollyboy 06-14-2004 07:20 AM

<a href="http://www.interfans.org/forum/" target="_blank">http://www.interfans.org/forum/</a>

I'd like to have an image for each subforums of the category FC INTERNAZIONALE

sabret00the 06-14-2004 11:51 AM

this is the code you'll need to add to that to the template:

HTML Code:

<if condition="$forum[parentid]==3"><img src="$stylevars[imgdir_misc]/[forumhome]/$forum[forumid].gif" alt="$forum[title]" border="0" vspace="2 px" hspace="2 px" align="left"/></if>

hollyboy 06-14-2004 12:30 PM

and this will add the images I want to all the forums of that category?
The images are different in every forum

sabret00the 06-14-2004 12:36 PM

yup

hollyboy 06-14-2004 12:44 PM

I still don't understand how can this work :(
Where do I have to put the images, in what folder?

sabret00the 06-14-2004 12:50 PM

images go in the directory

images/misc/forumhome/

and you name the images after the forumid

i would say install the mod and then work backwards, you can right click on the red x and get the location and image name for each image from there.


All times are GMT. The time now is 03:27 PM.

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.01000 seconds
  • Memory Usage 1,728KB
  • 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
  • (1)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete