vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Forum Category Icons (Advanced) (https://vborg.vbsupport.ru/showthread.php?t=244351)

Dark_Wizard 06-09-2010 10:00 PM

Forum Category Icons (Advanced)
 
1 Attachment(s)
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!

Boofo 06-10-2010 05:22 PM

Glad to see you back in action, sir. ;)

KURTZ 06-10-2010 05:51 PM

need instructions ... :p

Boofo 06-10-2010 05:53 PM

It works, but it seems to be wanting to replace the status icon instead of showing up beside it. I double-checked everything. Any ideas, sir? ;)

Sunka 06-10-2010 06:36 PM

This is for subforums, not category

Boofo 06-10-2010 07:01 PM

Not according to the pic in the first post.

Front Range 06-10-2010 07:06 PM

Quote:

Originally Posted by KURTZ (Post 2051665)
need instructions ... :p

install.txt is in the download

Dark_Wizard 06-10-2010 07:24 PM

Quote:

Originally Posted by Boofo (Post 2051667)
It works, but it seems to be wanting to replace the status icon instead of showing up beside it. I double-checked everything. Any ideas, sir? ;)

Wierd. PM me your site and I'll check it out. Next version will have the option to replace the Status Icons.

COL NIL SATIS 06-10-2010 07:31 PM

tagged....this looks great

Charlie98902 06-10-2010 07:34 PM

Sweet tagged for when there is an update to replace the status (default) icons. :)

Dark_Wizard 06-10-2010 07:56 PM

Quote:

Originally Posted by Charlie98902 (Post 2051714)
Sweet tagged for when there is an update to replace the status (default) icons. :)

Working on that now... ;)

Charlie98902 06-10-2010 11:20 PM

Thanks a plugin is better than a manual edit especially when there is an update to vbulletin then you may need to re-edit your edit again. :)

Dark_Wizard 06-10-2010 11:28 PM

Quote:

Originally Posted by Charlie98902 (Post 2051774)
Thanks a plugin is better than a manual edit especially when there is an update to vbulletin then you may need to re-edit your edit again. :)

Edit....this won't be done. After thinking about this carefully if any style change or upgrade to vb is performed the auto edit would no longer work and would force the end user to manually edit it anyway.

Boofo 06-11-2010 02:07 AM

1 Attachment(s)
Quote:

Originally Posted by Dark_Wizard (Post 2051703)
Wierd. PM me your site and I'll check it out. Next version will have the option to replace the Status Icons.

I think that is a great idea. Allowing you to add or replace the icons.

The only area I have added any icons is the admin area. I don't want to add them any where else until I get this resolved. Here is a pic.

Dark_Wizard 06-11-2010 04:28 PM

Quote:

Originally Posted by Boofo (Post 2051822)
I think that is a great idea. Allowing you to add or replace the icons.

The only area I have added any icons is the admin area. I don't want to add them any where else until I get this resolved. Here is a pic.

Looks like you did a "replace" instead of an "add after"....recheck your forumhome_forumbit_level2_post template and see if you have the following:

Code:

<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />

Boofo 06-11-2010 05:18 PM

Quote:

Originally Posted by Dark_Wizard (Post 2052106)
Looks like you did a "replace" instead of an "add after"....recheck your forumhome_forumbit_level2_post template and see if you have the following:

Code:

<img src="{vb:stylevar imgdir_statusicon}/{vb:raw forum.imageprefix}forum_{vb:raw forum.statusicon}-48.png" class="forumicon" id="forum_statusicon_{vb:raw forum.forumid}" alt="" />

Bob, that was the first thing I checked. It is there right above the code the instructions said to add.

Dark_Wizard 06-11-2010 06:01 PM

Quote:

Originally Posted by Boofo (Post 2052119)
Bob, that was the first thing I checked. It is there right above the code the instructions said to add.

Ok, I am trying to finish the new version and let's see if it fixes your issue.

your24hourstore 06-11-2010 06:15 PM

seems to be a lot of interest in these icon replacements latley

so is this for thread icons or subforum icons ?

KURTZ 06-12-2010 05:24 AM

Quote:

Originally Posted by Front Range (Post 2051691)
install.txt is in the download

so this isn't a plug-in but it's a normal template edits hack, correct?

merk_aus 06-13-2010 04:07 AM

correct

Boofo 06-13-2010 05:46 AM

That is not correct as it has a product xml file to install for the settings and what-not. The template edit is only one part of the mod.

sonny1 06-13-2010 07:04 AM

no icons in the download. Only xml, read me and pic.png. I thought there would be some icons. :(

merk_aus 06-13-2010 08:30 AM

your a big boy there are many places you can go to get icons -> why would the original author add like sport icons as it would be useless to you if you ran a gaming forum wouldn't it.

Dark_Wizard 06-13-2010 06:50 PM

Quote:

Originally Posted by KURTZ (Post 2052377)
so this isn't a plug-in but it's a normal template edits hack, correct?

This has plugins but has one template edit.

Quote:

Originally Posted by sonny1 (Post 2052854)
no icons in the download. Only xml, read me and pic.png. I thought there would be some icons. :(

iconspedia.com is a great place for icons, check them out. Link added above....


Sorry for the delay on the new version but the wife and I were invited (last minute) on a trip this weekend and after my recent issue with a heart attack I needed the time away. I will have a new and updated version soon.

Dark_Wizard 06-14-2010 08:59 PM

New update...check mod above.

AURFSCAN 06-15-2010 01:09 AM

1 Attachment(s)
WOW

thanks, now Ive got more work to do......... :rolleyes:

also good icon site ... cheers

sonny1 06-15-2010 02:21 AM

thanks

hcmagix 06-15-2010 03:37 AM

Hm Im looking for an option before forum title like my forum, (see the letters) http://www.hertha-chat.de/forum/forum.php

can you integrate this? When I klick the icons, will the threads also mark als readed?

Dark_Wizard 06-15-2010 09:26 AM

Quote:

Originally Posted by hcmagix (Post 2053840)
Hm Im looking for an option before forum title like my forum, (see the letters) http://www.hertha-chat.de/forum/forum.php

can you integrate this? When I klick the icons, will the threads also mark als readed?

This can be integrated in next version. Hmmm, this will also be done in next version.

hcmagix 06-15-2010 10:03 AM

merci Bob

Jacob_ITAPros 06-15-2010 10:55 AM

Nice work. If there were an "Add URL?" option to allow for the icon to become "clickable" and behave as a hyperlink I'd be highly interested.

Tagged for future releases.

Dark_Wizard 06-15-2010 02:28 PM

Quote:

Originally Posted by Jacob_ITAPros (Post 2053957)
Nice work. If there were an "Add URL?" option to allow for the icon to become "clickable" and behave as a hyperlink I'd be highly interested.

Tagged for future releases.

Can you elaborate a little more? Not exactly sure what you are asking.

texasteamplayer 06-15-2010 05:06 PM

really great.

texasteamplayer 06-15-2010 05:18 PM

Quote:

Originally Posted by Dark_Wizard (Post 2054036)
Can you elaborate a little more? Not exactly sure what you are asking.

probably he means if you click on the icon,it will bring up the forum. or perhaps all unread posts in that forum (would be useful).

Also, I'm specifying that I want my 90x30px icons to be allowed to be 90px in the mod (you say the default is 48)...however it's not observing that. I set it at 90px, I hit save, and it remains at 48px.

issue?

texasteamplayer 06-15-2010 05:30 PM

recall, if you currently double click a forum icon (originals) it will mark all new posts in that forum as read. You should add this (or replicate the original function) to your mod.

Dark_Wizard 06-15-2010 05:44 PM

Quote:

Originally Posted by texasteamplayer (Post 2054105)
probably he means if you click on the icon,it will bring up the forum. or perhaps all unread posts in that forum (would be useful).

Also, I'm specifying that I want my 90x30px icons to be allowed to be 90px in the mod (you say the default is 48)...however it's not observing that. I set it at 90px, I hit save, and it remains at 48px.

issue?

This is actually only when you select "Under Forum Title". I will update the mod so it works for all locations.

Quote:

Originally Posted by texasteamplayer (Post 2054109)
recall, if you currently double click a forum icon (originals) it will mark all new posts in that forum as read. You should add this (or replicate the original function) to your mod.

This is being looked at for the next version.

Dark_Wizard 06-15-2010 07:21 PM

New version just released. I made changes to provide more granular image sizing (width and height) and added css positioning relative to top so the icon can be centered when using smaller than 48x48px icons. All images will work with the icon size not like earlier versions.

Mark forums read will be coming in a later version.

texasteamplayer 06-15-2010 07:34 PM

good changes. I'll updated in a sec.

also, noticed that the icons work when looking at the full forum index, like here:
https://vborg.vbsupport.ru/

but if you bring up an individual forum category (in this case, teamplayer media), the icon's aren't shown for the forum categories.
https://vborg.vbsupport.ru/

texasteamplayer 06-15-2010 07:37 PM

and templates have to be reverted and updated every time? with every update? that's odd.

why?

Dark_Wizard 06-15-2010 07:38 PM

Quote:

Originally Posted by texasteamplayer (Post 2054169)
good changes. I'll updated in a sec.

also, noticed that the icons work when looking at the full forum index, like here:
http://img693.imageshack.us/img693/8416/88159262.jpg

but if you bring up an individual forum category (in this case, teamplayer media), the icon's aren't shown for the forum categories.
http://img704.imageshack.us/img704/1477/50560794.jpg

Easy fix. I'm on my way out the door but if you want to look at it until I get back then look at template "forumhome_forumbit_level1_post" for the changes.


All times are GMT. The time now is 04:17 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.01703 seconds
  • Memory Usage 1,830KB
  • 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
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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