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

Reply
 
Thread Tools
Forum Category Icons (Advanced) Details »»
Forum Category Icons (Advanced)
Version: 2.0.0, by Dark_Wizard Dark_Wizard is offline
Developer Last Online: Jun 2014 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.x.x Rating:
Released: 06-09-2010 Last Update: 08-04-2011 Installs: 1063
DB Changes Uses Plugins Template Edits Auto-Templates
 
No support by the author.

This is a hack that will add icons to your forum categories on the forum home page.

History: I was the originator of this hack back in the vBulletin 1.x days and continued this in vb 3.7.x. I have had numerous requests to port this to vb 4.x.x so here you are.

Please click install if you want support for this mod and to encourage me to continue adding features!

Enjoy!

You can find nice icons here, here and here.

Thanks to LatinoCheats for this link.

Changelogs:

1.2.0:
  • * Option to change icon location i.e. After Status Icon, Under Forum Title or Replace Status Icon.
    * Now contains a dropdown listing your icons in the folder so you just select and save.
    * Displays icon in forum manager when editing a forum that contains an icon.
    * Change icon width and height so you need to only upload one size icon.
    * Set icon position so you can center the icon when using smaller icons.
    * Dropdown of transparency settings for icons used to replace status icons when indicating "Old Posts".
    * Allows you to mark forum/subforum as read.
    * Now shows locked icons (lock icon added to download and this overlays the status icons when indicating a locked forum).

1.2.1:
  • * Now works for Mark Forum/SubForum as read!

1.2.2:
  • * Fixed: template bug.
    * Added: Now shows locked icons (lock icon added to download and this overlays the status icons when indicating a locked forum.)

1.2.3:
  • * Added: Automatic Template Edits!
    * Added: Only jpg, gif and png icons allowed. (extensions checked in forum edit).
    * Fixed: Mark Forum Read for specific forum/subforum.
    * Fixed: Now shows non-transparent status icon when "Show Locks" is enabled.

1.2.4:
  • * Fixed: Users Viewing. (This is working on a default vb style, others styles may have issues)
    * Fixed: Mark Read should now be fixed, working fine on my end.
    * Fixed: Icon not appearing when "Forum Description" disabled.

2.0.0
  • * Icon size can be set either globally or set per forum, setting is in vb options.
    * When selecting an icon in forum manager the selected icon now shows to the right of the dropdown so you can see what you are selecting.
    * If your upgrading from 1.2.4 and had to do manual template edits then you will need to revert the templates and redo the edits.

Upgrades: For those upgrading just make sure when you import the product you select "Allow Overwrite". You will also need to revert your templates (only for users of version 1.2.2 or earlier) and then follow the instructions as outlined in the install.html file.

Note: Before you ask, yes this works with all browsers. (Tested on FF, IE8, IE7, Chrome, Safari and Opera)

IMPORTANT! If you use the "Auto Template" feature of this mod and it doesn't work then you MUST do the manual template edits outlined in the install.html. This plugin was created using a default vbulletin style.

If you like this mod than please nominate for "MOTM".

Donations are gladly accepted!

Download Now

File Type: zip forumcategoryicons_1.2.4.zip (10.6 KB, 3493 views)
File Type: zip forumcategoryicons_2.0.0.zip (11.2 KB, 6324 views)

Screenshots

File Type: jpg select_icon.jpg (15.9 KB, 0 views)
File Type: jpg forum_edit.jpg (15.1 KB, 0 views)
File Type: png after_status.png (25.0 KB, 0 views)
File Type: png title.png (11.6 KB, 0 views)
File Type: png status.png (12.4 KB, 0 views)
File Type: png status1.png (13.2 KB, 0 views)
File Type: jpg options.jpg (104.5 KB, 0 views)
File Type: png lock.png (13.3 KB, 0 views)

Show Your Support

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

Comments
  #712  
Old 11-13-2012, 12:07 PM
Poker Face Poker Face is offline
 
Join Date: Sep 2010
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jackone View Post
It's very easy:

- Open "product-forumcategoryicons.xml" with Notepad
- Find "['forumhome_forumbit_level2_post'] = str_replace($find1, $replace,"
- Replace it with"['forumhome_forumbit_level2_post'] = str_replace($find, $replace,"
- Save and import the product allowing Overwrite.

The variable "$find1" is no longer necessary in vb 4.2.x, you've got to replace it with "$find"


I hope this will be helpful for many users
Quote:
Originally Posted by Burnt View Post
That'd work if what you said wasn't already changed to $find.. However $find1 is found on level1_post.... So were we suppose to change the level1 to find? or level2 to find1?

- Open "product-forumcategoryicons.xml" with Notepad
- Find "['forumhome_forumbit_level1_post'] = str_replace($find1, $replace,"
- Replace it with"['forumhome_forumbit_level1_post'] = str_replace($find, $replace,"
- Save and import the product allowing Overwrite.

Need to change level1 to find.. Correct on changing things to find just wrong level..
Quote:
Originally Posted by Burnt View Post
If you'd read the post where I quoted the guy where he had fix it.. You'd have a working page right now.. #706 for easy.. Follow my steps and you'll have it working..
Your response to Jackone gave the appearance of a question, rather then confirmed solution...

I will now make the change and follow-up, if indeed this does resolve.
Reply With Quote
  #713  
Old 11-13-2012, 08:23 PM
Burnt Burnt is offline
 
Join Date: Oct 2002
Location: Iowa
Posts: 61
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes sorry little confusing but I changed everything in my post on what you are actually suppose to change to get it to work.
Reply With Quote
  #714  
Old 11-15-2012, 03:17 AM
Poker Face Poker Face is offline
 
Join Date: Sep 2010
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Burnt View Post
Yes sorry little confusing but I changed everything in my post on what you are actually suppose to change to get it to work.
Confirmed solution!

Thank-you Burnt and Jackone!

:up:
Reply With Quote
  #715  
Old 11-15-2012, 10:52 AM
Disco_Stu Disco_Stu is offline
 
Join Date: Apr 2012
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Poker Face View Post
Disco_Stu, you have been very helpful throughout this thread, but your guidance affects the Forum Home Page "only"


Not interested in changing those...

I'm interested in regaining the option for changing Forum Icons for Level 2 (down)


Any additional guidance would be much appreciated!
I'm note sure what you're talking about. My change works for all levels. I just added a test sub forum then added another test forum one level below the first test sub forum. The icons displayed fine for each forum on each level.
Reply With Quote
Благодарность от:
trackpads
  #716  
Old 12-06-2012, 02:07 AM
SiteTalkZone SiteTalkZone is offline
 
Join Date: Dec 2008
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when adding a forum, I can add an icon, but when I edit a forum I cannot change it, the "forum category icons" block (https://vborg.vbsupport.ru/attachmen...5&d=1276552574) was not there when editing a forum.
Reply With Quote
  #717  
Old 12-06-2012, 11:02 AM
Anbieter Anbieter is offline
 
Join Date: Oct 2012
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Slows down the page speed extremely.
Reply With Quote
  #718  
Old 12-15-2012, 07:02 PM
rogerant79-X rogerant79-X is offline
 
Join Date: Jan 2012
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is my problem:
I want to change the subforum default icon (see below image).


I've read the #677 post but I've failed!!!

My icons are situated in :
vbulletin forum/ images /ICONE_SEZIONI

This was the original code :


Code:
<br>
<div style="width:65px;">
<center><a href="{vb:link forum, {vb:raw row}}"><img src="images/{vb:raw vboptions.forumiconimg_folder}/{vb:raw row.forumiconimg}" /><br>{vb:raw row.title}</a></center>
</div>
ICONE_SEZIONI in which part of the code I have to paste it?

Thanks
Attached Images
File Type: jpg icona-sunforum.jpg (32.8 KB, 0 views)
Reply With Quote
  #719  
Old 12-16-2012, 02:14 PM
capcuz capcuz is offline
 
Join Date: Dec 2012
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

after I install plug-in fitting error occurred why I check the forum manager?

Code:
Warning: asort() expects parameter 1 to be array, null given in [path]/admincp/forum.php(248) : eval()'d code on line 20

Warning: Invalid argument supplied for foreach() in [path]/admincp/forum.php(248) : eval()'d code on line 21
I am using version 4.2.0 PL 3
please help...
thx in advance
Reply With Quote
  #720  
Old 12-22-2012, 06:55 PM
garethsp garethsp is offline
 
Join Date: Aug 2011
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

same here capcuz i have not edited any templates not sure if thats whats wrong
I am using version 4.2.0 PL 3 and same error
----------------------------------------------------------
Fixed click yes on Auto Templates in options and remember to change images folder name at botton of the page nice mod thanks op
Reply With Quote
  #721  
Old 02-04-2013, 09:13 AM
GEORGEFK GEORGEFK is offline
 
Join Date: Jul 2010
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does not work for Internet Explorer 10!!!!
Can anyone fix this?
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:40 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.09830 seconds
  • Memory Usage 2,385KB
  • 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
  • (2)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (24)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_attachment
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete