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)

sabret00the 05-09-2004 10:00 PM

Image on Forumbit (forumhome)
 
this is for the forumhome, open your "forumhome_forumbit_level2_post" template and find ;
HTML Code:

                <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
add above that
HTML Code:

<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>
if you want it to appear for all forums, remove the conditional, you can also just change the conditional to suit your needs better, the XX's in the conditional are to be replaced by the parentid's of your desire [cyclops] the parentid is just the forumid of the catergory.

Brad 05-10-2004 11:00 AM

Mind posting a screen shot? :)

sabret00the 05-10-2004 11:04 AM

added to first post :)

Tony G 05-10-2004 12:17 PM

Always a useful modification. Good work. ^_^

imported_Synicide 05-10-2004 09:16 PM

I like this mod, I might use it in the future.

imported_chuanse 06-09-2004 06:34 PM

Hmm, this can be cool with small images :D

kall 06-10-2004 10:50 AM

And if you want to make the images into links to that forum,

find:
PHP Code:

<img src="images/forumhome/$forum[forumid].gif" alt="$forum[title]

add before:
PHP Code:

<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"

find
Code:

hspace="2 px" align="left"/>
add:
Code:

</a>
:)

a-la http://www.nzboards.com

Watson 06-10-2004 02:14 PM

so do I just add this so many times for each image I wanna put in?

imported_Caiman 06-11-2004 12:29 AM

Is there anyway to apply this to 'forum_old.gif' etc ... instead of adding an extra image in the forum description...

imported_Caiman 06-11-2004 12:30 AM

Quote:

Originally Posted by Watson
so do I just add this so many times for each image I wanna put in?

as far as I can tell, no- you add it once, and just put images name after the number of each forum in the forumhome directory, such as

23.gif

and so on, it automatically puts them in front of the right forum then


All times are GMT. The time now is 07:41 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.01182 seconds
  • Memory Usage 1,739KB
  • 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
  • (2)bbcode_html_printable
  • (2)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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