Previous Thread
Next Thread
Print Thread
Rate Thread
#55006 12/24/2002 3:39 PM
Joined: Mar 2000
Posts: 21,080
Likes: 3
I type like Navaho
I type like Navaho
Joined: Mar 2000
Posts: 21,080
Likes: 3
Most every site that's been around a while has a decent number of members, but only maybe 1/3 are active, and 1/3 have either bad email addresses or never returned after signing up. The members_list.cgi file gets loaded in quite a few operations and can use up a good amount of memory if kept unecessarily inflated by bad/never-used member accts.

I'd like to prune the members that should be (we have several thousand profiles that are bad (bad email addresses, etc and will never be used again). I'd also like the Registered Members: 19444 task to read the member number of the last person regged and not the actual numbers pruned back to... this should speed up the forums while not making it look like we were just hacked and lost a few thousand members in the process wink

Doable?


- Allen wavey
- What Drives You?
Sponsored Links
#55007 12/24/2002 3:58 PM
Joined: Mar 2000
Posts: 21,080
Likes: 3
I type like Navaho
I type like Navaho
Joined: Mar 2000
Posts: 21,080
Likes: 3
hmmm.. changing

my $TotalMembers = &GetMemberTotal;

to:

my $TotalMembers = &GetLastMemberNumber;

in ubb_forum_summary.cgi gives me this:

Registered Members: 00019444

I need to get rid of the precepting "0"'s ... ideas?


- Allen wavey
- What Drives You?
#55008 12/25/2002 3:11 AM
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
Admin Emeritus
Joined: Jan 2000
Posts: 5,073
my $TotalMembers = &GetLastMemberNumber + 0;

It's cheap, it's ugly, but it works.


UBB.classic: Love it or hate it, it was mine.
#55009 12/25/2002 11:23 AM
Joined: Mar 2000
Posts: 21,080
Likes: 3
I type like Navaho
I type like Navaho
Joined: Mar 2000
Posts: 21,080
Likes: 3
ooohh.. thanks, wil try it here right now laugh


- Allen wavey
- What Drives You?
#55010 12/25/2002 11:30 AM
Joined: Mar 2000
Posts: 21,080
Likes: 3
I type like Navaho
I type like Navaho
Joined: Mar 2000
Posts: 21,080
Likes: 3
test to clear cache smile


- Allen wavey
- What Drives You?
Sponsored Links
#55011 12/25/2002 11:32 AM
Joined: Mar 2000
Posts: 21,080
Likes: 3
I type like Navaho
I type like Navaho
Joined: Mar 2000
Posts: 21,080
Likes: 3
lookeeng good laugh


- Allen wavey
- What Drives You?
#55012 01/10/2003 9:25 PM
Joined: Aug 2002
Posts: 29
Junior Member
Junior Member
Offline
Joined: Aug 2002
Posts: 29
This is quite useful. Many of my members are confused about the difference between active members and member numbers for new members.


Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 253
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 2042
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 30
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)