php forum
php mysql forum
php mysql smarty
 
Topic Options
#201884 - 12/26/03 08:08 PM [6.7] [beta] Show total members ever rather than current members
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA

   [6.7] [beta] Show total members ever rather than current members to Del.icio.us Add to del.icio.us
  Digg [6.7] [beta] Show total members ever rather than current members Digg it
Modification Name: Show total members ever rather than current members

Author(s): Charles Capps

Description: This is the last of this batch of one-liners. wink

Most boards have people that register but never post. Usually only about a third of the membership is really ever active at any one time.

As a result, many admins often prune users that are no longer active. But doing so reduces the count of total members. That isn't really something most sites desire.

That's where this one-liner comes along. smile Instead of using the count of the number of members, it uses the last member number as the total.

Note this number is ONLY used on the forum summary. All other member count numbers, such as those from the Directory, will tell the truth.

Demo: none

Requirements: 6.7.0 Beta Release 1 (rv199) or higher

Instructions / Other Info: 1) Open up ubb_lib.cgi
2) Find the line looking like:

$vars_misc{'ShowFakeMemberTotal'} = 0;

3) Change the 0 to a 1
4) Save & upload.
5) Clear the forum summary cache
_________________________
UBB.classic: Love it or hate it, it was mine.

Top
#201885 - 12/27/03 03:58 AM Re: [6.7] [beta] Show total members ever rather than current members
AllenAyres Administrator Offline
I type Like navaho

Registered: 03/10/00
Posts: 25411
Loc: Texas
hey, thanks for all these, very appreciated laugh
_________________________
- Allen wavey
- What Drives You?

Top
#201886 - 12/27/03 11:34 AM Re: [6.7] [beta] Show total members ever rather than current members
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5119
Loc: Portland, OR, USA
Ya know, my fav part of ubb_lib is:
Quote:
quote:
$vars_search{'topic_index_limit'} = 200; # hard coded - index/rebuildmeta topics/members to handle at a tiem
smile TIEM to run wink
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#201887 - 12/28/03 01:07 PM Re: [6.7] [beta] Show total members ever rather than current members
LK Offline
Admin / Code Breaker

Registered: 03/24/01
Posts: 7396
That's what happens when the developer creates a hack, even the most complicated hack would've been a one-liner wink good job smile
_________________________

My Hacks Page (will be back with UBB 7!)
UBBDev - We put the class into UBB.classic!

Top
#201888 - 12/29/03 01:30 PM Re: [6.7] [beta] Show total members ever rather than current members
Charles Capps Offline
Admin Emeritus
Resident Code Hacker

Registered: 01/09/00
Posts: 5438
Loc: Lynnwood, WA
Tpoy fixed. tipsy
_________________________
UBB.classic: Love it or hate it, it was mine.

Top


Moderator:  Charles, Gizmo 
Top Posters Last 30 Days
AllenAyres 13
Gizmo 10
willing 2
S7ARBVCK 2
MattUK 1
Kevin H 1
tackaberry 1
Who's Online
1 Registered (Gizmo), 25 Guests and 13 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Noob - need help, or a reality check!
by Gizmo
Yesterday at 03:21 AM
Here I am! Rock me like a Hurricane!
by AllenAyres
09/02/08 03:05 PM
[7.x] Generic Page Outside of forum directory
by Gizmo
08/30/08 05:43 PM
Team UBBDev Rides Again!
by Gizmo
08/28/08 11:45 PM
Multiple Identity Detector
by MattUK
08/28/08 04:10 PM
[7.3.x] ubb.links
by AllenAyres
08/26/08 09:57 AM
Installing FlashChat with 7.3
by Gizmo
08/23/08 05:36 AM
New Mods
Installing FlashChat with 7.3
by Paug
08/23/08 12:14 AM
[7.3.x] ubb.links
by AllenAyres
06/20/08 11:50 PM
[7.2.1] - Naked shoutbox
by sirdude
08/17/07 10:36 PM
[7.x] Generic Page Outside of forum directory
by
01/14/07 10:58 PM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
veedubb8, twentyseven, Claus1, welcomeback1, Paug
13327 Registered Users

 

 

 
fusionbb message board php hacks