Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 12-23-2006, 12:49 AM
Pharkas Pharkas is offline
 
Join Date: Sep 2003
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Custom colors/icons for donating members.

Hi,

I'm in the process of setting up a premium membership feature on my forum.

I was wondering if anyone has seen hacks for setting up custom features such as a custom icon, custom color for posts, post header, etc... to identify premium members from others.

Any help would be great. I looked around but did not find anything.

Thanks !
Reply With Quote
  #2  
Old 12-23-2006, 12:58 AM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I too would like that.
Reply With Quote
  #3  
Old 12-23-2006, 07:15 PM
Dominic Dominic is offline
 
Join Date: Dec 2006
Location: Boston
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do u mean the usergroup color? That can be done via Admin Panel.
Reply With Quote
  #4  
Old 12-23-2006, 07:20 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where??
Reply With Quote
  #5  
Old 12-23-2006, 07:23 PM
Dominic Dominic is offline
 
Join Date: Dec 2006
Location: Boston
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Admin Panel > Usergroups > Usergroups Manager > then click edit to whatever usergroup you are trying to do, then find where it says " Username HTML Markup ", and in the first box put <font color="COLOR"> and in the second box put </font>, Note: replace COLOR with the color you want, and if you want the usergroup BOLD then you just add <b> in the first box and </b> in the second. Pretty simple stuff.

- Phantom
Reply With Quote
  #6  
Old 12-23-2006, 07:58 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet thanks
Reply With Quote
  #7  
Old 12-23-2006, 11:47 PM
Pharkas Pharkas is offline
 
Join Date: Sep 2003
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, thanks !

That's definitely a good start.

Would it be possible to change the background color of the section where you find the username, # posts, etc... for s particuler user group the same way ?

Any help would be greatly appreciated.

Thanks !
Reply With Quote
  #8  
Old 12-24-2006, 12:45 PM
Dominic Dominic is offline
 
Join Date: Dec 2006
Location: Boston
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes its possible, just use If statements,

Code:
<if condition="in_array($bbuserinfo[usergroupid], array(USER_ID))">ICONS / CONTENT HERE.</if>
Replace USER_ID with the usergroup id, to add more then one usergroup just add a comma "," after each one.
Reply With Quote
  #9  
Old 12-29-2006, 08:42 AM
5IVEO 5IVEO is offline
 
Join Date: Jul 2006
Location: Barnsley, Yorks, UK
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CC_Phantom View Post
Yes its possible, just use If statements,

Code:
<if condition="in_array($bbuserinfo[usergroupid], array(USER_ID))">ICONS / CONTENT HERE.</if>
Replace USER_ID with the usergroup id, to add more then one usergroup just add a comma "," after each one.


I need some help on where I would find this, Ive been wanting to change this for a while but had no luck, you couldn't possibly write out an idiots guide could you?
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 01:55 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.03861 seconds
  • Memory Usage 2,236KB
  • Queries Executed 13 (?)
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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete