Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Simple Category Icons Details »»
Simple Category Icons
Version: 1.1, by StarBuG StarBuG is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Version: 3.6.4 Rating:
Released: 02-07-2007 Last Update: Never Installs: 49
Template Edits
 
No support by the author.

Ok folks.

For all of you who want Category Icons including the "new post", "no new post", "forum closed" capabilities, here is a quick and simple solution provided by Andreas

What this hack does: Instead of the standard forum icons like
or , ... you can now have separat status icons for every forum you have. It is that simple

Templates forumhome_forumbit_level_...

search:
Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
Replace with
Code:
<img src="$stylevar[imgdir_statusicon]/forum$forum[forumid]_$forum[statusicon].gif" alt="" border="0" />
then create/name your images like this:

forumID_new.gif, forumID_old.gif,...

Example: forum1_new.gif

If you want to have different icons for subforums on forumhome as well:


In forumhome_subforumbit_nopost and forumhome_subforumbit_post

search for:
Code:
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" />
and replace it with:
Code:
<img class="inlineimg" src="$stylevar[imgdir_statusicon]/subforum$forum[forumid]_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" />
Name your images like:

subforumID_old.gif
subforumID_new.gif

Example: subforum22_old.gif

I don't use this hack so I have no screenshots, but If anyone is trying this, it would be cool if you could provide some screenshots.

Remember to click installed

Greetings

StarBuG

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #42  
Old 08-29-2007, 09:21 PM
rayw rayw is offline
 
Join Date: Mar 2007
Location: Australia
Posts: 171
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump - see above!
Reply With Quote
  #43  
Old 10-21-2007, 04:37 AM
OnyxChase OnyxChase is offline
 
Join Date: Jul 2007
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Remember to keep the id in the IMG tag if you want your javascript to work.

Code:
<img src="images/forum/$forum[forumid]_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" />
Reply With Quote
  #44  
Old 12-02-2007, 01:18 PM
Ejecutor Hanzo's Avatar
Ejecutor Hanzo Ejecutor Hanzo is offline
 
Join Date: Sep 2006
Location: Chile
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so pretty mod, too simple, thx

*Marked Installed*
Reply With Quote
  #45  
Old 01-08-2008, 12:01 PM
Vinyljunky's Avatar
Vinyljunky Vinyljunky is offline
 
Join Date: Feb 2007
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

Can this be used for custom forum_link.gif images per forum?

Thanks

VinylJunky
Reply With Quote
  #46  
Old 01-30-2008, 02:25 AM
k007 k007 is offline
 
Join Date: Jan 2008
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone getting this to work for 3.6.8? i cant seem to find those lines in my forumbit templates...
Reply With Quote
  #47  
Old 03-10-2008, 07:33 AM
StarBuG's Avatar
StarBuG StarBuG is offline
 
Join Date: Dec 2001
Location: Germany
Posts: 1,033
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just search for forum_$forum[statusicon].gif
This will not change in any new version I think
Reply With Quote
  #48  
Old 03-30-2008, 11:35 PM
sflmkv sflmkv is offline
 
Join Date: May 2007
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no success on 3.6.8
Reply With Quote
  #49  
Old 04-14-2008, 12:35 AM
chaser.nl chaser.nl is offline
 
Join Date: Apr 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

verry nice and simple, i am going to use this.

/me clicks install

*edit

installed on version 3.6.9, no problem with installation here.
Reply With Quote
  #50  
Old 04-14-2008, 12:36 PM
soundbarrierpro soundbarrierpro is offline
 
Join Date: Nov 2007
Posts: 767
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What if you have a sports site with a different icon for every NHL team in their own subforum? Can this be done?
Reply With Quote
  #51  
Old 04-23-2008, 07:56 PM
soundbarrierpro soundbarrierpro is offline
 
Join Date: Nov 2007
Posts: 767
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bumpity bump bump. Anybody?

This is not in any level forumhome_forumbit_level_...
3.6.7 - 3.6.8 - 3.6.9 or 3.6.10

Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
is anybody able to help here?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:31 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09933 seconds
  • Memory Usage 2,306KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete