vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Multiple Icons/Awards for Members (https://vborg.vbsupport.ru/showthread.php?t=72920)

deb0 12-15-2004 11:24 AM

Multiple Icons/Awards for Members
 
I have been using the rank system to give icons (instead of rank title test) to users based on post count and user groups.

I want to expand this to where a user can have multiple icons/awards show in his profile and postbit.

For Example If I have an icon/award for 1-quality poster, 2- Master Debator, 3 - Moderator, I want to be able to display all of these icons.

thx in advance.

ericgtr 12-15-2004 01:56 PM

I would dig around and see if someone has worked with conditionals and ranks, I wouldn't doubt it's been done somwhere. As an alternative you could use promotions and usergrops to accomplish this. For example, say you want the user to have image1.gif at 500 posts and an additional image2.gif at 1000 you could do it by setting up groups.

Setup a group for image1.gif (add as many groups as you want)

Setup a promotion for the user to be added to this group with a certain post count.
In your postbit (and optionally memberinfo) you would add something like this for a condition: (I put mine under the avatar)

Code:

<if condition="is_member_of($post, 48)"> <a href="vb/subscriptions.php"><img src="/vb/images/ranks/plat.gif" alt="Platinum Member" border="0" /></a>
</if>

$post48 being the group number

Optionally, you can add as many as you want this way :)

Joe Black 01-11-2005 12:12 AM

Quote:

Originally Posted by ericgtr
I would dig around and see if someone has worked with conditionals and ranks, I wouldn't doubt it's been done somwhere. As an alternative you could use promotions and usergrops to accomplish this. For example, say you want the user to have image1.gif at 500 posts and an additional image2.gif at 1000 you could do it by setting up groups.

Setup a group for image1.gif (add as many groups as you want)

Setup a promotion for the user to be added to this group with a certain post count.
In your postbit (and optionally memberinfo) you would add something like this for a condition: (I put mine under the avatar)

Code:

<if condition="is_member_of($post, 48)"> <a href="vb/subscriptions.php"><img src="/vb/images/ranks/plat.gif" alt="Platinum Member" border="0" /></a>
</if>

$post48 being the group number

Optionally, you can add as many as you want this way :)

Thank you! This is exactly what I was looking for as well to identify my contributing members.


All times are GMT. The time now is 12:16 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.00959 seconds
  • Memory Usage 1,720KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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