vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Member Nmber Hack is Wack (on my board) (https://vborg.vbsupport.ru/showthread.php?t=13243)

Sarge 04-05-2001 08:39 PM

I installed the simple member number hack
http://www.vbulletin.com/forum/showt...threadid=12066


using $userinfo[userid]
in my postbit template

But the thing is.. all my member numbers start like at 2,000 instead of 1... yes I transferred from a UBB.

IS there anyway I can reset my member numbers back to where they were?
I tried the update counters thing and it didnt fix it.

Freddie Bingham 04-05-2001 11:07 PM

Perhaps you originally transferred your UBB, wiped it out and did it again?

Armage Bedar 04-05-2001 11:19 PM

The user numbers are apparentely determined by including the 'userid' column from the database. Because of the fact that that column *always* increases - never fills in gaps with new records or the like - your userids could very well begin at 20, or 200, or 2,000. You'd need to use more than just $userinfo[userid] to get an accurate count - which potentially means more queries. (Oh, and you'd have to do this for each post in a thread - which could get somewhat resource-intensive.)

tubedogg 04-06-2001 03:34 AM

Freddie: Yes, I was helping him and we imported from UBB, wiped it, and imported again. There was some reason we did this. Can't remember what though...

Armage: You're right. It auto-increments. I'm not sure there is a way to get an "accurate count" (which would actually just be an accurate number, not a count), outside of ordering by join date and counting from the first registration.


All times are GMT. The time now is 01:44 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.01031 seconds
  • Memory Usage 1,712KB
  • 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)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