vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Forum Home Enhancements - Total Members (Registration) (https://vborg.vbsupport.ru/showthread.php?t=82866)

Mythotical 06-10-2005 10:00 PM

Total Members (Registration)
 
Due to the pricing and yearly fee of vBulletin I am no longer creating mods for vBulletin, instead I have stepped out of the shadow of vBulletin to create my own stand alone mods. I wish to thank everyone who downloaded and installed my mods but as of now with not being able to afford hosting and vBulletin, I decided to drop vBulletin so hopes of me returning would only happen if my newest venture brings me a nice profit.

Thank you all again
Steve

Jenta 06-10-2005 11:58 PM

Not perfect but I've been doing this to forumhome - whats going on area for ages...

HTML Code:

Total Registrations: $newuserid

Mythotical 06-11-2005 12:02 AM

This actually tallies up even if you have deleted a member. So you know how many had even tho you pruned your members list.

TCattitude 06-11-2005 01:45 AM

That Jenta explain, actually do the same, Mythotical.
It show the number of the last ID used in members/users table in the DB. That table autoincrement by one when a new user signup. When you prune members, the id's of thats members are not deleted and are not re-used. So... the last ID, is the total number of members ever :)

Mythotical 06-11-2005 02:56 AM

Hmmm, so you mean I just did more work than I really could have done? Well if Jenta doesn't mind, I would like to reuse your code in this hack and release it as that. If not then I will just leave it as is.

Thanks Jenta and TC for the info.

Myth

Jenta 06-11-2005 04:37 AM

i hadnt looked at your code before...thought you where running a query to get the next auto increment

now that i looked at it, its does the same as the method i use
just add $newuserid in the template and done. no need for any hacks, plugins

the only thing that makes it not perfect is - if you prune, lets say, the last 5 members that registered
it will be 5 members off

i suppose, the way to make it be 100% accurate is to run a query to get the next auto increment and subtract one

Mythotical 06-11-2005 06:44 AM

Oh no Jenta, what I do is bring forth the total number of members that have registered the entire time. Even after the pruning, deactivating, etc. the total number will never decrease. It just keeps going up in numbers.

thanks for your comments tho.

Myth

Kaelon 06-12-2005 02:24 PM

Thanks for the credits for the original (super-simple) adjustment.

Mythotical 06-12-2005 07:11 PM

Your welcome Kaelon

Dream 06-12-2005 11:18 PM

this one requires file editing, right? isn't "vB3.5 Plugins" only for plug-and-play


All times are GMT. The time now is 08:24 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.01150 seconds
  • Memory Usage 1,726KB
  • 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_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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