Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 05-31-2005, 07:19 AM
trevelyn1015 trevelyn1015 is offline
 
Join Date: Dec 2004
Posts: 147
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How Can "Contributors" Get A Little Image Under Their Name?

when people "contribute" to my forum, through a subscription, they are swtiched from a normal "registered user" to a "site contributor"...

with that, they get a bigger pm box, avatar, etc...

i wanted to know if there was a way to set it up so that all of my "site contributors" have a little image under their name that says "contributor"...

also, when a subscription like that expires(after a year), do they go back to being registered users?

i guess their old avatar would stay big, until they try and change it... and their attachments would still stay alone?
Reply With Quote
  #2  
Old 05-31-2005, 08:49 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Place this in Template postbit (of postbit_legacy if you use this):

Code:
<if condition="is_member_of($post, ID)">
<!-- Your IMG Code here -->
</if>
Replace ID with the ID of your contributors usergroup
Reply With Quote
  #3  
Old 06-17-2005, 04:31 PM
DGTLMIK DGTLMIK is offline
 
Join Date: Feb 2005
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KirbyDE
Place this in Template postbit (of postbit_legacy if you use this):

Code:
<if condition="is_member_of($post, ID)">
<!-- Your IMG Code here -->
</if>
Replace ID with the ID of your contributors usergroup
What is the variable for a specific Paid Subscription ID? I tried this:

Code:
<if condition="is_member_of($subscription, ID)">
<!-- Your IMG Code here -->
</if>
with no luck.
Reply With Quote
  #4  
Old 06-17-2005, 04:48 PM
jugo jugo is offline
 
Join Date: Feb 2004
Location: Reading your emails.
Posts: 573
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think it's better to do it with the usergroup id.
Reply With Quote
  #5  
Old 06-17-2005, 06:43 PM
DGTLMIK DGTLMIK is offline
 
Join Date: Feb 2005
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jugo
I think it's better to do it with the usergroup id.
Yes, but rather than have to create a Usergroup for each Paid Subscription, it would be easier to just say if member has a current Paid Subscription to ID '1', then display 'image1', if member has a current Paid Subscription to ID '2' then display 'image2', and so on.
Reply With Quote
  #6  
Old 03-27-2007, 04:30 PM
RichTJ99 RichTJ99 is offline
 
Join Date: Jul 2004
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Andreas View Post
Place this in Template postbit (of postbit_legacy if you use this):

Code:
<if condition="is_member_of($post, ID)">
<!-- Your IMG Code here -->
</if>
Replace ID with the ID of your contributors usergroup
sorry to bring back an old thread.

We have been using this for a while but the space between our contributor image and the users avatar has been bugging me. Back when we were using vb3.x we did not have a space, but now I can't figure out how to eliminate it.

Can anyone help?

thanks
Attached Images
File Type: png Picture 1.png (60.3 KB, 0 views)
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 05:35 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04012 seconds
  • Memory Usage 2,230KB
  • Queries Executed 12 (?)
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
  • (4)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (1)postbit_attachment
  • (6)postbit_onlinestatus
  • (6)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
  • postbit_attachment
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete