vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   How Can "Contributors" Get A Little Image Under Their Name? (https://vborg.vbsupport.ru/showthread.php?t=82292)

trevelyn1015 05-31-2005 07:19 AM

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?

Andreas 05-31-2005 08:49 AM

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

DGTLMIK 06-17-2005 04:31 PM

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.

jugo 06-17-2005 04:48 PM

I think it's better to do it with the usergroup id.

DGTLMIK 06-17-2005 06:43 PM

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.

RichTJ99 03-27-2007 04:30 PM

1 Attachment(s)
Quote:

Originally Posted by Andreas (Post 660375)
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


All times are GMT. The time now is 03:11 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.00951 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete