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
  #42  
Old 12-24-2009, 07:11 PM
Medina Medina is offline
 
Join Date: Oct 2006
Location: the Netherlands
Posts: 181
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

Is it possible to make the same mod. like this;

https://vborg.vbsupport.ru/showthrea...ht=multiFicons

It replace the icons instead of insert a whole new one next to it.

Kind regards
Reply With Quote
  #43  
Old 12-26-2009, 03:22 AM
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I see it says Version: 4.0.0 RC 4

Does it work on latest vb 4.0 gold? if not , please update!
Reply With Quote
  #44  
Old 12-26-2009, 03:30 AM
acanuck acanuck is offline
 
Join Date: Feb 2009
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bouncer222 View Post
I see it says Version: 4.0.0 RC 4

Does it work on latest vb 4.0 gold? if not , please update!

Yes it does
Reply With Quote
  #45  
Old 12-26-2009, 04:56 AM
kf4eok's Avatar
kf4eok kf4eok is offline
 
Join Date: Sep 2009
Location: Jacksonville, Florida
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the mod it great.
Installed
Reply With Quote
  #46  
Old 12-26-2009, 06:00 AM
Nadeemjp Nadeemjp is offline
 
Join Date: Aug 2008
Location: Japan
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have tried the vb4 version and it seems to be fine and the htkml codes can be used there.
If you want the icon to allign with the description and the heading, then probably you might wanna go ahead and use this hack, but for me, simple html codes work.
for example use the following codes, when describing the name of the forum:

Quote:
<img src="/cat_icons/games1.png" border="0"> Forum Games
and it should display the icon besides you forum name.
please remember to upload a category of icons and then give the path.
Reply With Quote
  #47  
Old 12-26-2009, 01:58 PM
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It doesnt state in the description how to actually set the icon you want for each forum , how do I do this?
Reply With Quote
  #48  
Old 12-26-2009, 11:38 PM
acanuck acanuck is offline
 
Join Date: Feb 2009
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bouncer222 View Post
It doesnt state in the description how to actually set the icon you want for each forum , how do I do this?

You create a folder through ftp say called "icons" inside the images folder

then add the images in there
Reply With Quote
  #49  
Old 12-27-2009, 12:01 AM
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

K I had the icons set up like that since vb 3.8.4 since I used a similiar mod like this before, the icons are in an images/icons folder and they are named by the forum id such as: 16.gif 17.gif etc..

But how do I make them show up for each forum that I want them to show up? That is my question.
Reply With Quote
  #50  
Old 12-27-2009, 12:24 AM
Toxic2 Toxic2 is offline
 
Join Date: Jul 2009
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When you make a new forum Name and below is the description, In the Description box

<img src="/cat_icons/games1.png" border="0"> Forum Games

Not sure if it will work in the name, haven't tried, but in the description box it does, you can use Photobucket, tiny pic embed/url code (not the BBC code link) as well
Reply With Quote
  #51  
Old 12-27-2009, 01:38 AM
Bouncer222 Bouncer222 is offline
 
Join Date: Oct 2009
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So all I have to do is put that in the description and the icon will show up? If so, what is the point of the modification posted in this mod description?
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 07:57 PM.


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.08753 seconds
  • Memory Usage 2,334KB
  • 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
  • (3)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