vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Find user profile by its number (https://vborg.vbsupport.ru/showthread.php?t=34176)

Admin 01-15-2002 10:00 PM

Wouldn't you like to know who your 500th member was? Your 1,000th member? Your 100,000th one (if you have that much! ;))?
With this hack, you can with ultra-ease! :D

To install this huge hack, open member.php and add this bit of code:
Code:

[high]  // "Find user profile by its number" hack by FireFly -->
  if (isset($number)) {
    $getuserid=$DB_site->query_first("SELECT userid FROM user ORDER BY joindate LIMIT ".(intval($number)-1).",1");
    $userid=$getuserid[userid];
  }
  // <-- End "Find user profile by its number" hack by FireFly[/high]

right before this line:
Code:

  if ($userid=="" and $username!="") {
and you're done! :)

Now, to find your 100th member, just go to this link (with your forum address, of course):
https://vborg.vbsupport.ru/member.ph...nfo&number=100

Have fun. :)

illogicalx 01-16-2002 09:52 PM

nice hack FireFly

thanks

Shenlong 01-16-2002 11:26 PM

lol cant u go to userid=3 or whatever firefly?

Shenlong 01-16-2002 11:44 PM

o NM NM i see, AWESOME hack firefly!

Admin 01-17-2002 09:35 AM

Quote:

Originally posted by Shenlong
lol cant u go to userid=3 or whatever firefly?
In case anyone else wonders, then no, you can't, because sometimes you delete users so the ID's aren't always accurate.

Lucky 01-17-2002 10:22 AM

Thanks again buddy!

Lucky 01-17-2002 10:26 AM

Is there anyway that you could incorporate this hack into the admin cp so that all you would just have to do is type in a number for example 69 and it would find the 69th member?
This would be even better.

Let me know.

bokhalifa 01-17-2002 11:47 AM

nice ;)

nafae 01-17-2002 04:26 PM

Quote:

Originally posted by Lucky
Is there anyway that you could incorporate this hack into the admin cp so that all you would just have to do is type in a number for example 69 and it would find the 69th member?
This would be even better.

Let me know.

Yes this would be nice to have.

Edit: by the way the hack is helpful :D

DarkReaper 01-17-2002 07:59 PM

My members are going to love this...lol.

Right when my board neared 5000 members, everyone was itching to know who the 5000th member would be. The evil person I am, I changed the numbers to be random between 2000 and 10000...*snicker* :)


All times are GMT. The time now is 08:48 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.01554 seconds
  • Memory Usage 1,725KB
  • 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
  • (2)bbcode_quote_printable
  • (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
  • (10)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