vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Awards for Years on Forum (https://vborg.vbsupport.ru/showthread.php?t=82972)

yinyang 06-12-2005 07:23 PM

Awards for Years on Forum
 
Is there an easy way to distinguish users who've been active for various years. For example, if a user has been with us for 1 year, i'd like to have a certain image in the postbit or username. A different image will be there for a user that's been there for 2 years and 3 years, etc.

I'm not sure how to do the join date less current date calculation. :ermm:

Colin F 06-13-2005 06:56 AM

You can do this without modifying files, using usergroups and usergroup promotions.

Have a look at this section of the documentation for more info: http://www.vbulletin.com/docs/html/m...promotions#top

yinyang 06-13-2005 04:28 PM

thanks colin! wow, i need to reread the manual.

is there any way to do this without changing usergroups?

Colin F 06-13-2005 04:32 PM

Quote:

Originally Posted by yinyang
thanks colin! wow, i need to reread the manual.

is there any way to do this without changing usergroups?

You could probably add a profile field and run a cron job to run a check every once in a while and update the field...

Then again, why reinvent the wheel? :)

yinyang 06-14-2005 02:19 AM

true. i like the wheel. thanks again!


All times are GMT. The time now is 08:40 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.01017 seconds
  • Memory Usage 1,714KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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