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 Icons Details »»
Forum Icons
Version: 1.0, by Elmer Elmer is offline
Developer Last Online: Feb 2019 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 4.0.0 RC 4 Rating:
Released: 12-03-2009 Last Update: Never Installs: 438
DB Changes Uses Plugins Template Edits
Is in Beta Stage  
No support by the author.

Forum Icons is a product that adds an option in the edit/add new forum page to set a forum icon.

To make it work, you will need to make a template modification, I did try to do it with a plugin, but got frustrated trying but failing to make it work.

I promise I will be looking into this so we don't have to edit any template, but in the meantime...

How to Install:


1- Upload the product xml file.
2- Edit forumhome_forumbit_level2_post
Find:
Code:
<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if>
Replace it with:
Code:
<vb:if condition="$show['forumdescription']"><p class="forumdescription"><vb:if condition="$forum['iconlocation']"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" style="float: left; margin-right: 4px;" /></vb:if>{vb:raw forum.description}</p>
					<vb:elseif condition="$forum['iconlocation']" /><p class="forumdescription"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" /></p></vb:if>

If you use it, please mark it as installed

Download Now

File Type: xml product-teh_forumicons.xml (2.2 KB, 2743 views)

Screenshots

File Type: png forumicons.png (31.6 KB, 0 views)
File Type: png forumiconsadmin.png (9.0 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
mohammadxxx

Comments
  #22  
Old 12-12-2009, 01:33 AM
Tize. Tize. is offline
 
Join Date: Oct 2009
Posts: 118
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you very much Elmer! Installed!!
Muchas gracias Elmer como siempre trayendonos novedades y cosas guapas.
Saludos.
Reply With Quote
  #23  
Old 12-12-2009, 06:17 PM
Greight's Avatar
Greight Greight is offline
 
Join Date: Oct 2009
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Elmer View Post
Remove from alt="{vb:raw forum.title}" the bold part, that's the code you need to place in your template .
Thanks
Fixed
Reply With Quote
  #24  
Old 12-12-2009, 08:52 PM
Bacon Butty Bacon Butty is offline
 
Join Date: Jun 2005
Posts: 309
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Alfa1 View Post
This is included in vbulletin by default. There is no need to use a hack to show forum icons.
This.

I was starting to think I was going crazy, theres no need for this mod. Unique forum icons, as in... a different icon per forum is a default feature.

Admin CP->Forum Manager ->Prefix for Forum Status Images
Reply With Quote
  #25  
Old 12-12-2009, 09:32 PM
compact123 compact123 is offline
 
Join Date: Jun 2006
Posts: 235
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bacon Butty View Post
This.

I was starting to think I was going crazy, theres no need for this mod. Unique forum icons, as in... a different icon per forum is a default feature.

Admin CP->Forum Manager ->Prefix for Forum Status Images
Forum Status diffirent...
Reply With Quote
  #26  
Old 12-12-2009, 10:11 PM
halkum halkum is offline
 
Join Date: Feb 2006
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I for one love this mod. Thank you.
Reply With Quote
  #27  
Old 12-12-2009, 10:35 PM
VonDoom's Avatar
VonDoom VonDoom is offline
 
Join Date: Dec 2008
Location: USA
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work in subforums? I had installed it in for use in my subforums but it didnt work. so im just wondering. I know there are alot of different beta versions of 4.0 right now so its all good. but still curious.
Reply With Quote
  #28  
Old 12-13-2009, 05:55 PM
g00gl3r g00gl3r is offline
 
Join Date: Sep 2005
Posts: 174
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bacon Butty View Post
This.

I was starting to think I was going crazy, theres no need for this mod. Unique forum icons, as in... a different icon per forum is a default feature.

Admin CP->Forum Manager ->Prefix for Forum Status Images
How does this prefix thing work then? Do you simply enter the path to an image?
Reply With Quote
  #29  
Old 12-15-2009, 04:42 PM
whitetigergrowl whitetigergrowl is offline
 
Join Date: Jun 2004
Posts: 243
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

subforum_link-48.png

Sub forum link images are not showing properly. I get the red x.

I also couldn't find that image in the VB directory. How do I resolve this?
Reply With Quote
  #30  
Old 12-17-2009, 02:55 PM
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Location: Italy
Posts: 2,257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by g00gl3r View Post
How does this prefix thing work then? Do you simply enter the path to an image?
i'm interested too in this issue ...
Reply With Quote
  #31  
Old 12-17-2009, 03:03 PM
Greight's Avatar
Greight Greight is offline
 
Join Date: Oct 2009
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KURTZ View Post
i'm interested too in this issue ...
Forum Status images are usually shown alongside the forum in a forum listings to indicate the read status.

This prefix must only contain alphanumerical characters, though the following are also allowed - _ / ., a folder name is also acceptable to be placed within the status icon directory.

The following images are currently in use for status icons, you will need to create images with the specified prefix to match.
forum_link.gif
forum_new.gif
forum_new_lock.gif
forum_old.gif
forum_old_lock.gif

This prefix can be set for each forum in forum manager/edit forum.
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 10:12 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.05253 seconds
  • Memory Usage 2,343KB
  • 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
  • (6)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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)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