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

eXtremeTim 06-12-2005 11:53 PM

He has since made it also have a plugin version.

Chris M 06-13-2005 09:52 AM

Forgive me for not understanding the reasoning behind this hack, but doesn't vB already do this?

Quote:

hellsatan.co.uk Forums Statistics
Threads: 6, Posts: 20, Members: 1, Active Members: 1
Welcome to our newest member, hellsatan
Or does this do something different :p

Satan

Mythotical 06-13-2005 07:59 PM

Actually if your have 3.5 running that then please do tell but if not then I'm afraid that vbulletin does not have that build in, I even installed a fresh template and it didn't show up there.

Chris M 06-13-2005 09:04 PM

My vB is running this without any hacks or plugins relating to it...

It was a fresh install, not sure if that makes any difference...

Satan

Jenta 06-13-2005 09:09 PM

vb doesnt do this out of the box
if you purge 500 users your stats will show Members: (number of currently registered users)
this hack shows lifetime registrations in addition to Members

Chris M 06-13-2005 09:12 PM

Aha I see...

Sorry I failed to establish that from his description...

What is intruiging me is this "Active Users" thing I have already got with my fresh vB 3.5 Beta 1 - Is it just me or do others have this?

Satan

Mythotical 06-13-2005 09:42 PM

This hack keeps you from having to wait till you purge a large amount of users. If you purge 1 user, it will still show up.

Jenta 06-13-2005 10:28 PM

Quote:

Originally Posted by hellsatan
What is intruiging me is this "Active Users" thing I have already got with my fresh vB 3.5 Beta 1 - Is it just me or do others have this?

the active users is how many people have visited the forum in the last number of X days (configurable in admincp)
this IS new and only in 3.5

Chris M 06-13-2005 10:34 PM

Heh - Maybe I should spend more time reading my settings instead of just wizzing through and randomly changing important settings :p

I might install this - I'll see how I get on with my board as standard first...

Satan

Mythotical 06-14-2005 05:11 AM

Now see I didn't even know that came with 3.5, I need to quit whizzing through my settings as well. LOL

AMFMaree 03-26-2006 01:40 AM

so, what your saying is that my members count will change back to what it should be even after I have deleted/banned members?
so if I have 400 members and I delete or ban 100 of them my count doesnt drop down to 300 it stays at 400??????

COBRAws 04-20-2006 02:42 AM

Hello,

I've installed this, but I also have vBadvanced CMPS and when adding the $totalmembers var into the stats block, the numbers wont show up. Can somebody give me a hand? Tank you!

csidlernet 04-21-2006 10:01 AM

Quote:

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

HTML Code:

Total Registrations: $newuserid

yeah thats what i always did

ibuddy 05-22-2006 02:03 AM

Quote:

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

HTML Code:

Total Registrations: $newuserid

Much easier to do.

Mythotical 06-12-2006 01:21 AM

AMFMaree: Yes that is correct

COBRAws: I will look into the issue ASAP as I was unaware of it not working with vBa

Mythotical 05-27-2007 04:26 AM

1 last release of this mod then it will be discontinued for vB 3.5.x


All times are GMT. The time now is 04:43 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.01300 seconds
  • Memory Usage 1,760KB
  • 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
  • (3)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (26)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