vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   What is a users rank #? Or how do I make one... (https://vborg.vbsupport.ru/showthread.php?t=50133)

007 03-14-2003 08:34 AM

What is a users rank #? Or how do I make one...
 
I want to have the users rank show up in their postbit and possibly their getinfo. Like if someones the 3rd top poster, it would say:

Rank #3

etc. I saw this before but can't seem to find it. Thanks. :)

Kars10 03-14-2003 10:18 AM

Hi 006!
You can easy use Usertitles for this!! ;)
Because html is enabled in Usertitles.

So when you have titles like (for examble) Member, Premium Member...

do this:

Member<br>Rank #2
Premium Member<br>Rank #1

... than set the posts for the titles.

Hope it helps.

Regards
Kars

Erwin 03-14-2003 10:55 AM

Quote:

Today at 09:34 PM 006 said this in Post #1
I want to have the users rank show up in their postbit and possibly their getinfo. Like if someones the 3rd top poster, it would say:

Rank #3

etc. I saw this before but can't seem to find it. Thanks. :)

Can be done, but all the ways I can think of would involve adding a query to each post in showthread, which makes it query intensive.

To make it query-conservative would require a lot of work - adding a new column in user, running a query each time a member makes a post to re-rank every member - it's not going to be good for the server.

007 03-14-2003 11:36 AM

Ah, yeah Erwin that's too bad to hear, but it makes sense. That would really be bad I guess lol.

And Kars, thanks but I meant so each user would be ranked, like if there were 100 users, there would be an order from highest to lowest, and these each would have numbers. These ranks would change with each post the user made, and like Erwin said, this would require a database query every post, which I didn't think of at the time I posted this.

Oh well. :)

And btw Erwin, I like your little clickable button lol. ;)


All times are GMT. The time now is 02:28 PM.

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.01062 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
  • (4)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