Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #1  
Old 12-01-2005, 01:54 PM
nonamer69 nonamer69 is offline
 
Join Date: Nov 2005
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Customizable Forum Status Icons for 3.5

I originally run IPB2 on my site but I'm in the process of converting to Vbulletin 3.5

Anyway on my IPB2 version I have my forum status icons customized and I would like to do the same for vb but have searched this forum in and out for this mod with no luck.

Here is an example of what I want to do...




if I have missed this mod somewhere then please point it out, but
if this hasn't been done than please coders take this one on.
Reply With Quote
  #2  
Old 12-01-2005, 02:22 PM
icemann's Avatar
icemann icemann is offline
 
Join Date: Sep 2005
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks nice, I would love to see a hack for doing this as well.
Reply With Quote
  #3  
Old 12-01-2005, 03:19 PM
EasyTarget EasyTarget is offline
 
Join Date: Nov 2004
Posts: 660
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

can't you just find the image you want and name it whatever the icons are named now and replace them?
Reply With Quote
  #4  
Old 12-01-2005, 03:25 PM
Hellcat Hellcat is offline
 
Join Date: May 2003
Location: Germany
Posts: 560
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or make a copy of the default style and point it to another folder for the status icons.

Something like that is done in most custom styles
Reply With Quote
  #5  
Old 12-01-2005, 03:26 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll cook something up

Chris
Reply With Quote
  #6  
Old 12-01-2005, 03:49 PM
nonamer69 nonamer69 is offline
 
Join Date: Nov 2005
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by EasyTarget
can't you just find the image you want and name it whatever the icons are named now and replace them?
that would make every status icon the same because the categories read off the same image folder.

Quote:
Originally Posted by Chris M
I'll cook something up

Chris

Thanks Chris I very much appreciate it.

oh if you need a reference you can see this one for ipb2.
http://mods.invisionize.com/db/index.php/f/5296
Reply With Quote
  #7  
Old 12-01-2005, 04:04 PM
icemann's Avatar
icemann icemann is offline
 
Join Date: Sep 2005
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yeah thanks Chris....
Reply With Quote
  #8  
Old 12-01-2005, 04:51 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did it using the vb category hack - https://vborg.vbsupport.ru/showthread.php?t=82750

I then created a new folder /images/fhicons/

instead of entering the full img src thing like he did in the box it creates when editting a forum, I just put like a 3 letter acronym. Like for my asheron's call 1 forums I put in that field

ac1

Then I made these icons

ac1_link.gif
ac1_new.gif
ac1_old.gif
ac1_new_lock.gif
ac1_old_lock.gif

and uploaded them to the new folder.

I did not do his forumhome_bit_level1_post edit

and instead of his forumhome_bit_level_2_post modification, I did this -

FIND
Code:
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
And REPLACE it with
Code:
<!-- ##### START HACK - Forum Type Icons ##### -->
<if condition="$forum[forumhomeicon]"> 
<img src="images/fhicons/$forum[forumhomeicon]_$forum[statusicon].gif" alt="" border="0" /> 
<else /> 
<img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" />
</if>
<!-- ##### END HACK - Forum Type Icons ##### -->
Reply With Quote
  #9  
Old 12-01-2005, 06:02 PM
nonamer69 nonamer69 is offline
 
Join Date: Nov 2005
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome Job Cyricx. That works great!!!! Thank you so much.
Reply With Quote
  #10  
Old 12-01-2005, 06:11 PM
Chris M's Avatar
Chris M Chris M is offline
 
Join Date: Dec 2001
Location: Northampton, England
Posts: 6,186
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

https://vborg.vbsupport.ru/showthread.php?t=102025

Chris
Reply With Quote
Reply

Thread Tools
Display Modes

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:48 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.04213 seconds
  • Memory Usage 2,248KB
  • Queries Executed 11 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete