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
  #182  
Old 03-21-2010, 05:42 AM
Popa Andrei's Avatar
Popa Andrei Popa Andrei is offline
 
Join Date: May 2008
Location: Romania/Petrosani
Posts: 367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stormzone View Post
icons doesent apear for subforum.
How can i make it appear for subforums to?
no one knows how to do this?
Reply With Quote
  #183  
Old 03-24-2010, 09:20 PM
Drache Drache is offline
 
Join Date: Aug 2004
Posts: 162
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by House M.D. View Post
To make the forum icon sit to the left of the title and description, you need to do this :

Uninstall any previous version and install a fresh copy. Do not make any edits to the mod except for what you see below.

It took a lot of trial and error to get this right - If you like what you see, please make a PayPal donation to mcs@sunwave.net to cover my time in getting this done. Thank you.

1) Install a fresh copy of this mod

2) Open up : Styles and Templates / Style Mananger / Edit Templates / Forum Home Templates / forumhome_forumbit_level2_post


Look for :
Code:
<div class="datacontainer">

Add this code after that line :
Code:
<div style="float: left; margin-right: 5px;">
<vb:if condition="$forum['iconlocation']"><a href="{vb:link forum, {vb:raw forum}}"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" /></a></vb:if>
</div>
<div style="float: left; width: 90%;">


Look for :
Code:
<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if>

Replace that line with :
Code:
<vb:if condition="$show['forumdescription']"><p class="forumdescription">{vb:raw forum.description}</p></vb:if></div>


That's it! - Hit the "Save and Reload" button and your done.

This will show the icon to the left of the title and description. Also, if you hover your mouse over the icon, it will show that board titles name. If you click on the icon, it will take you to that boards location.

I hope you enjoy it - any donations would be greatly appreciated.

Here is what the results will look like :

how can I make it sit on top of the description thanks.
Reply With Quote
  #184  
Old 04-12-2010, 09:24 AM
zelnik zelnik is offline
 
Join Date: Aug 2008
Posts: 374
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Don't suppose anyone has any urls handy for nice forum graphics to use with this mod? thanks
Reply With Quote
  #185  
Old 04-14-2010, 07:11 PM
Pro-eSports.com Pro-eSports.com is offline
 
Join Date: Jan 2010
Location: Germany
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some reason this mod doesn't work for me. I'm using vB 4.0.3 and the image doesn't show up even when the path is correctly.
Instead of showing the image it just shows the forum name again in the description (on the place where the icon should be).

Please help me.
Reply With Quote
  #186  
Old 04-15-2010, 08:00 AM
MudRacing MudRacing is offline
 
Join Date: Apr 2010
Location: Italy
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For my vbulletin 4.0.3:

Code:
<vb:if condition="$show['forumdescription']"><p class="forumdescription"><vb:if condition="$forum['iconlocation']"> <a href="{vb:link forum, {vb:raw forum}}"><img src="{vb:raw forum.iconlocation}" alt="{vb:raw forum.title}" style="float: left; margin-right: 4px;" /></a> </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>
Reply With Quote
  #187  
Old 04-15-2010, 08:30 AM
DxSEO's Avatar
DxSEO DxSEO is offline
 
Join Date: Nov 2009
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pro-eSports.com View Post
For some reason this mod doesn't work for me. I'm using vB 4.0.3 and the image doesn't show up even when the path is correctly.
Instead of showing the image it just shows the forum name again in the description (on the place where the icon should be).

Please help me.
i am having same problem in 4.3
Reply With Quote
  #188  
Old 04-16-2010, 08:53 PM
MudRacing MudRacing is offline
 
Join Date: Apr 2010
Location: Italy
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Icons in sub-forum is possible?
Attached Images
File Type: jpg Forumicon.jpg (47.6 KB, 0 views)
Reply With Quote
  #189  
Old 04-21-2010, 03:17 AM
Peter Lo Peter Lo is offline
 
Join Date: Feb 2007
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you share more detailed instructions on how you did it for your australiabound site? The icons look good there!

Quote:
Originally Posted by TimberFloorAu View Post
Why not just use the BUILT in method for Forum Status Icons.

We do < see our site
Reply With Quote
  #190  
Old 05-17-2010, 02:20 PM
wanno wanno is offline
 
Join Date: Oct 2007
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Another much better solution is this:

In forum manager --> forum --> Subject
Put in the name field before the forum category name this code:

<img src="http://www.yourdomain.com/iconname.jpg" border="0" />

and you have icons in all subforums as well.
Reply With Quote
  #191  
Old 05-25-2010, 05:36 PM
darrenjdoc darrenjdoc is offline
 
Join Date: Sep 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had this working on the other build of 4.0 but now when i have upgraded to the latest build it wont work when i do it like this -

acp>forum manager>name of forum and then where it says Forum Icon Configuration i add in the path - images/statusicon/bin.png where bin in my image.

The statusicon hasnt moved when the site was updated.

Anybody any ideas ?
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 02:06 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.07711 seconds
  • Memory Usage 2,353KB
  • 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
  • (7)bbcode_code
  • (4)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
  • (4)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