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

Reply
 
Thread Tools
Catagory Icons Details »»
Catagory Icons
Version: 1.0.1, by Adrian. Adrian. is offline
Developer Last Online: Feb 2014 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.6.1 Rating:
Released: 09-23-2006 Last Update: 09-23-2006 Installs: 673
DB Changes Uses Plugins Template Edits
 
No support by the author.

Catagory Icons
Tested on 3.6.1
By Adrian at Development chat.com

Current Version: 1.0.1
1.0.1 Status: Working Fine.

Hey,

I noticed a few people around the 'net wanted a modification like this, It wasn't too hard so i thought i would give it ago.

You can specify a image path/url to use for your catagory icon, if none is specified, the forum will use vBulletins default image.
See bottom of post for screenshots

Installation
Import product-catagoryicons.xml (It should make the needed Mysql tables too)
Go to Options > Catagory Icons to enable the mod'.

Template Edits
Open Forum Home Templates > forumhome_forumbit_level1_post
Find:
HTML Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
or

HTML Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" 

id="forum_statusicon_$forum[forumid]" />
Replace with:
HTML Code:
<if condition="$vboptions[customimg_enabled] == 1">
	<if condition="$forum[customimg] == ''">
		<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" 

id="forum_statusicon_$forum[forumid]" />

<else />
		<img src="$forum[customimg]" alt="" border="0" id="forum_statusicon_$forum[forumid]" />
</if>

<else />
	<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" 

id="forum_statusicon_$forum[forumid]" />
</if>
Save.
Open up Forum Home Templates > forumhome_forumbit_level2_post
Find:
HTML Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
or

HTML Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" 

id="forum_statusicon_$forum[forumid]" />
Replace with:
HTML Code:
<if condition="$vboptions[customimg_enabled] == 1">
	<if condition="$forum[customimg] == ''">
		<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" 

id="forum_statusicon_$forum[forumid]" />

<else />
		<img src="$forum[customimg]" alt="" border="0" id="forum_statusicon_$forum[forumid]" />
</if>

<else />
	<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" 

id="forum_statusicon_$forum[forumid]" />
</if>
Done.

That should be it.

To set catagory icons, just edit a forum, the image field is at the bottom.
If you have any problems, just ask.

If you use it, please click install.

Thanks.

Adrian

Show Your Support

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

Comments
  #182  
Old 11-27-2007, 08:36 PM
MediaHound MediaHound is offline
 
Join Date: May 2004
Location: Florida
Posts: 165
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, works great, thanks!
Reply With Quote
  #183  
Old 12-01-2007, 03:37 PM
malluroses malluroses is offline
 
Join Date: Jul 2007
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hai can anyone tell me what is going on with my styles

everytime i upload a style it comes up like this




i dont know wt to do can someone please help me with this


this is happend after installing this category icon mod please help

it happens every time i upload it
Reply With Quote
  #184  
Old 12-14-2007, 05:25 PM
nyunyu nyunyu is offline
 
Join Date: Dec 2004
Location: Malaysia
Posts: 253
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

found out that the option is slightly different from the snapshot.
running on 3.6.8 PL2, working great.Thanks
Reply With Quote
  #185  
Old 12-27-2007, 08:25 AM
iulianh iulianh is offline
 
Join Date: Dec 2007
Location: Bucharest, Romania
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, it works fine !
Reply With Quote
  #186  
Old 01-05-2008, 03:36 PM
WarDoGG WarDoGG is offline
 
Join Date: Jun 2007
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can i have the catagory icons display the alternate text of the forum name ?

That would be really great for SEO .
Reply With Quote
  #187  
Old 01-06-2008, 03:51 AM
angeldevil angeldevil is offline
 
Join Date: Aug 2005
Posts: 35
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i cant see: "Put the url of the image to be your category icon" in my forum manager.
(i dont see this table, put link images)
Plz help me.
Thx!
Reply With Quote
  #188  
Old 01-07-2008, 04:49 PM
Hoffi's Avatar
Hoffi Hoffi is offline
 
Join Date: Nov 2001
Location: Germany
Posts: 342
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just wait for 3.7 - in the Beta is this implemented.
Reply With Quote
  #189  
Old 01-11-2008, 01:47 PM
jschvili jschvili is offline
 
Join Date: Aug 2006
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So simple and still so brilliant! I have one wish though. Is it possible to make the pictures link to the same as the forum name? Web visitors is use to click on pictures.

Thanks again! You make the world spin.

This is how I used the hack:
http://www.elproffset.se
Reply With Quote
  #190  
Old 01-13-2008, 09:12 PM
garala garala is offline
 
Join Date: Nov 2007
Location: USA
Posts: 88
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed!

How does it look? Admin-Lounge
Reply With Quote
  #191  
Old 01-14-2008, 12:01 AM
admin0's Avatar
admin0 admin0 is offline
 
Join Date: Mar 2003
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This worked great in 3.6.x
I upgraded to 3.7 and its not working anymore.
Waiting for this mod to hit 3.7
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 11:55 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.05356 seconds
  • Memory Usage 2,318KB
  • Queries Executed 25 (?)
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_html
  • (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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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