Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons

Reply
 
Thread Tools
AiONets : Custom Forum Status Icons Details »»
AiONets : Custom Forum Status Icons
Version: 2.0, by A.Chakery A.Chakery is offline
Developer Last Online: May 2017 Show Printable Version Email this Page

Category: Forum Home Enhancements - Version: 3.8.x Rating:
Released: 07-22-2010 Last Update: Never Installs: 29
DB Changes Uses Plugins Template Edits Auto-Templates
 
No support by the author.

Custom Forum Status Icons
by: Ali.ch.
------------------

This mod was created by Chris M for vBulletin 3.5.x and you can find it Here. Thanks to him for this great mod, He has not developed this mod for higher versions of vBulletin so I decided to develope the second version of this great mod.
So Please note that All credits of this mod goes to him.



Introduction:

By installing this mod you will be able to change all forum status icons ( Forum old , Forum new ...) as you want easily.Its possible to turn off this mod for any forum that you want to be excluded.

You Can find the screen-shots below.

Installation:
  • Fisrt try to install " product-chrism_customstatusicons.v.2.xml " which you can find in the zip file. For installing this file goto this location :Admin CP > Plugins & Products > Manage Products > Add/Import New Product
  • Then Do below Template Modifications : (Thanks to inciarco for ideas )

Step 1:
In the forumhome_forumbit_level1_post template
Find :
PHP Code:
<td><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]/></td
And Replace it with :
PHP Code:
<td><img src="<if condition="$show['customstatusicon'] and $forum[customicon]">$forum[customicon]<else />$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif</if>" alt="" border="0" id="forum_statusicon_$forum[forumid]/></td
STEP 2 : In the forumhome_forumbit_level2_post template

Find :

PHP Code:
<td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]/></td
And Replace it with :

PHP Code:
<td class="alt2"><img src="<if condition="$show['customstatusicon'] and $forum[customicon]">$forum[customicon]<else />$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif</if>" alt="" border="0" id="forum_statusicon_$forum[forumid]/></td
Quote:
Note : You can change ".gif " to other image extensions to use another image formats like "PNG" and "JPG"
Now It's Done! (Dont Forget to Click Installed )



Download Now

File Type: xml product-chrism_customstatusicons.v.2.xml (5.1 KB, 182 views)

Screenshots

File Type: jpg custom theme.jpg (88.0 KB, 0 views)
File Type: jpg default theme.jpg (53.5 KB, 0 views)
File Type: jpg admincp.jpg (95.4 KB, 0 views)

Show Your Support

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

Comments
  #2  
Old 07-23-2010, 10:30 PM
A.Chakery's Avatar
A.Chakery A.Chakery is offline
 
Join Date: Jul 2007
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Please post your feedback
Reply With Quote
  #3  
Old 07-23-2010, 10:32 PM
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Location: Australia
Posts: 2,469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I will need to get some new icons made now ^^
Reply With Quote
  #4  
Old 07-23-2010, 11:11 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is important that you Add the " DB Changes", because this Mod Alters the Table "forum" on the Install and Uninstall Process.

Thank You For Sharing This Mod. :up:

My Best Regards.

Reply With Quote
  #5  
Old 07-23-2010, 11:46 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A Little Useful Idea:

You can Add

Code:
 and $forum[customicon]
in the "if" Sentence, for it to Display the Default Forum Status Icons if the Admin Forgets to Include the Path (and Also if the Admin wishes to Leave it Blank to Use the Default Status Icon for One or More of the Forum Status).

so, the Template Edits, would be:

On STEP 1:

PHP Code:
<td><img src="<if condition="$show['customstatusicon'] and $forum[customicon]">$forum[customicon]<else />$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif</if>" alt="" border="0" id="forum_statusicon_$forum[forumid]/></td
On STEP 2:

PHP Code:
<td class="alt2"><img src="<if condition="$show['customstatusicon'] and $forum[customicon]">$forum[customicon]<else />$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif</if>" alt="" border="0" id="forum_statusicon_$forum[forumid]/></td
My Best Regards.

Reply With Quote
  #6  
Old 07-24-2010, 12:25 AM
A.Chakery's Avatar
A.Chakery A.Chakery is offline
 
Join Date: Jul 2007
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by inciarco View Post
Is important that you Add the " DB Changes", because this Mod Alters the Table "forum" on the Install and Uninstall Process.

Thank You For Sharing This Mod. :up:

My Best Regards.

First thanks for reminding me to check the DB-changes.

and about the template edits :

thanks for the suggestion :up: Done !
Reply With Quote
  #7  
Old 07-24-2010, 12:58 AM
A.Chakery's Avatar
A.Chakery A.Chakery is offline
 
Join Date: Jul 2007
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Template Changes Updated , Thanks to inciarco
Reply With Quote
  #8  
Old 07-24-2010, 04:11 AM
Asterix_ita's Avatar
Asterix_ita Asterix_ita is offline
 
Join Date: Aug 2009
Location: Italy
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

good addon

one question: what is the difference between the standard function of VB3.8.X

Quote:
Prefix for Forum Status Images (This prefix will be used on status image filenames for a forum, it can only contain A-Z, 0-9, -, _, . and /)
help options standard

Quote:
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
Reply With Quote
  #9  
Old 07-24-2010, 10:33 AM
A.Chakery's Avatar
A.Chakery A.Chakery is offline
 
Join Date: Jul 2007
Posts: 222
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think the most important difference between this mod and the forum perfixes is the ease of use.

By this mod you are able to chose any image on any location of you forums directory. also you can specify your custom and different names for your images.
if you use forum perfixed you will have to create a new folder under the statusicon folder of every style and I think its a little hard to manage.

and for those who want to have just one image instead of all status icons it will be more functional to use this mod

-
Reply With Quote
  #10  
Old 07-29-2010, 12:12 AM
cyb3rgh0st_ cyb3rgh0st_ is offline
 
Join Date: Feb 2010
Location: UK
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hrm aint working on my bord lol ..
dono how or why its anoying me tho i relly want it lol
Reply With Quote
Reply

Thread Tools

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 11:46 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.04704 seconds
  • Memory Usage 2,353KB
  • Queries Executed 24 (?)
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
  • (1)bbcode_code
  • (6)bbcode_php
  • (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
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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