vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Custom Rank System (https://vborg.vbsupport.ru/showthread.php?t=122964)

viper2k6 08-04-2006 04:08 PM

Cool, now it seems to work perfectly. My next question is as far as optimization, is it more efficient to point to a dynamic php image file or would it be better to have a plugin with a query to retrieve the image url instead ... thanks for all of the quick responses!

Grasty 08-14-2006 07:24 PM

This may not be what your looking for but i am an admin on oxy-moron.net. And what we did for ranks was we used the user ranks option in the Admin CP, along with the Promotions option to facilitate that.

Basically you have a usergroup for each rank you want, the images are stored on the server. Then you go to the User Ranks Menu on the left hand side. Choose Add new rank, Choose the usergroup your applying it to, If your having multiple different ranks on one user choose Yes for Stack Rank, if that is their only rank choose No. Put in the path to the image and click submit.

Then to assign someone a new rank you can just go into their ser account and change their usergroup, their image will automatically change no coding needed.

I also came up with a way of using the Promotions option to automatically advance someone from a registered user to whatever the lowest rank is. Our system originally was using a Army Rank structure, and all new registered people were Recruits. So the User Promotions option allowed us to automatically advance someone to recruit without having to change the usergroup on every new member


All times are GMT. The time now is 10:49 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.01055 seconds
  • Memory Usage 1,709KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete