php forum
php mysql forum
php mysql smarty
 
Page 1 of 2 1 2 >
Topic Options
#37023 - 03/21/00 03:05 AM New Members Registration Analysis Script
Leshrac Offline
Member

Registered: 01/03/00
Posts: 213
Loc: Berkeley, CA
This isn't too complex a script, nor does it add any real functionality, but the data it produces is still interesting from a webmaster's point of view. This script basically goes through your member database, counts how many people joined each day, and gives you break downs on the average new members per day for each month and your UBB's future membership numbers based on your current rate of growth. I'm no statistician, so the future estimates are more or less educated guesses, still, they're worth checking out. Anyway, here's the script:

http://www.magictraders.com/ubb/reginfo.txt

Here's the output that my site generated:

http://www.magictraders.com/ubb/regdata.txt

Just download the script, rename it to reginfo.pl or something appropriate, upload it to your UBB CGI directory, set permissions, and run it via telnet or the web (telnet is highly recommended for larger sites). If you run it via telnet, it will print a "." for each member while it's processing to indicate that it hasn't hung the server. Once you get the "Done." message, you'll find a file named regdata.txt in your UBB web directory that will have all the info. You really only need to run this once every week or so for the data to change much. If someone want to make a more appealing HTML layout for the data with bar graphs and whatnot, you're more than welcome to, I'm just more of a raw data person. <IMG SRC="http://ubbcodehacking.com/ubb/smilies/wink.gif" border=0> If anyone has any interesting stat formulas they'd like to see included, let me know.

------------------
Leshrac
leshrac@magictraders.com
Founder, Owner - Magic Online Trading League (MOTL)
http://www.magictraders.com
MOTL Bulletin Board
_________________________
Leshrac
leshrac@magictraders.com
http://www.MagicTraders.com

Top
#37024 - 03/21/00 06:02 AM Re: New Members Registration Analysis Script
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
I'm very interested in making a graphical front end to this (graphs 'n' stuff). I'll post again tomorrow when I'm back in the office.

Just a thought
_________________________
http://www.iamcal.com

Top
#37025 - 03/21/00 06:53 AM Re: New Members Registration Analysis Script
Chris Schreiber Offline
Member

Registered: 02/04/00
Posts: 123
Loc: Audubon, NJ USA
This is a wonderfully useful script, thanks for posting it. I am also waiting to see Cal's graphical front-end, even though I am a pure "numbers" guy myself, pictures can speak a thousand words

-Chris

------------------
Chris Schreiber
chris@fast4gl.com
Fast 4GL Systems, Inc.
http://www.fast4gl.com/
UBB: http://www.progresstalk.com/
_________________________
Chris Schreiber
chris@fast4gl.com
Fast 4GL Systems, Inc.
UBB: http://www.progresstalk.com/

Top
#37026 - 03/21/00 09:36 AM Re: New Members Registration Analysis Script
Menno Offline
Junior Member

Registered: 03/20/01
Posts: 200
Hm.. maybe enhance this script and intigrate it with the ubb?

Top
#37027 - 03/21/00 01:01 PM Re: New Members Registration Analysis Script
Chris Schreiber Offline
Member

Registered: 02/04/00
Posts: 123
Loc: Audubon, NJ USA
Me2Be-

Yes it looks like it just writes to data file whenever you run the script on demand. Of course you could set up a daily/weekly cron job to run it automatically, or just insert a link to the script from the control panel links page.

-Chris

------------------
Chris Schreiber
chris@fast4gl.com
Fast 4GL Systems, Inc.
http://www.fast4gl.com/
UBB: http://www.progresstalk.com/
_________________________
Chris Schreiber
chris@fast4gl.com
Fast 4GL Systems, Inc.
UBB: http://www.progresstalk.com/

Top
#37028 - 03/21/00 01:38 PM Re: New Members Registration Analysis Script
ilya Offline
Junior Member

Registered: 06/03/00
Posts: 9
Nice hack!
I wonder if we install it ion this board, what will the prediction for how many will join be?
_________________________
Hmmm. I used to have about 1200 posts.. Now i have one?

Top
#37029 - 03/21/00 01:56 PM Re: New Members Registration Analysis Script
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
I'm back [-crowd cheers-]. I will start work tomorrow morning (GMT).

Just a thought
_________________________
http://www.iamcal.com

Top
#37030 - 03/21/00 04:38 PM Re: New Members Registration Analysis Script
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
Excellent hack...it will be useful for me...Won't have to check my board at the beginning and end of the day to check the number of registered.

------------------
I wish I were a Canuck
All they have to do is drink beer, play hockey, and say "Eh"

* No offense meant to any Canadians

Top
#37031 - 03/21/00 06:59 PM Re: New Members Registration Analysis Script
Dr Dollarz Offline
Member

Registered: 02/20/00
Posts: 402
Loc: Downtown Ghetto of New York
Can we see an example?

------------------
Please Join My UBB
We are now accepting Moderators!!
_________________________
The UBB
We need you, Mod Positions are available

Top
#37032 - 03/21/00 07:00 PM Re: New Members Registration Analysis Script
Dr Dollarz Offline
Member

Registered: 02/20/00
Posts: 402
Loc: Downtown Ghetto of New York
I'm so stupid I thought it was a CGI script, great hack Leshrac!!! It's Very Useful

------------------
Please Join My UBB
We are now accepting Moderators!!
_________________________
The UBB
We need you, Mod Positions are available

Top
#37033 - 03/22/00 11:12 AM Re: New Members Registration Analysis Script
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
Okay - here's my first attempt at it. I have modified Leshrac's script a little in the way that it save data. My new version is available here: http://ubbcodehacking.com/ubb/uploads/reginfo2.txt

The main part of this hack is the "dispinfo.cgi" file which reads and formats the data from the info files. You can get this here: http://ubbcodehacking.com/ubb/uploads/dispinfo.txt

Finally, you need these two little pictures in your non cgi folder (you'll see why): http://ubbcodehacking.com/ubb/uploads/bar.gif http://ubbcodehacking.com/ubb/uploads/bar2.gif

Feedback would be appriciated, as would a link to see it working (only used it on my offline board).

Just a thought
_________________________
http://www.iamcal.com

Top
#37034 - 03/22/00 11:24 AM Re: New Members Registration Analysis Script
Chris Schreiber Offline
Member

Registered: 02/04/00
Posts: 123
Loc: Audubon, NJ USA
Cal-

Works wonderfully! And it's so pretty

Here's a link for everyone to see it in action:
http://www.fast4gl.com/ubbcgi/dispinfo.cgi

-Chris


------------------
Chris Schreiber
chris@fast4gl.com
Fast 4GL Systems, Inc.
UBB: http://www.progresstalk.com/
_________________________
Chris Schreiber
chris@fast4gl.com
Fast 4GL Systems, Inc.
UBB: http://www.progresstalk.com/

Top
#37035 - 03/22/00 11:55 AM Re: New Members Registration Analysis Script
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
!!!NOTICE!!!

The first version wont work for anyone with older boards (age, not version). This version will: http://ubbcodehacking.com/ubb/uploads/dispinfo2.txt

Thanks to Me2Be for finding that one!

Just a thought
_________________________
http://www.iamcal.com

Top
#37036 - 03/22/00 12:13 PM Re: New Members Registration Analysis Script
Arie Offline
Junior Member

Registered: 02/27/00
Posts: 6
Thanks for version 2 Cal.... I killed v1 after downloading 4MB or so.....

Came back here and saw the new one....

------------------
Regards,

Arie Slob,
InfiniSource, Inc.
http://www.infinisource.com
Internet & Windows Resources
_________________________
Regards,

Arie Slob,
InfiniSource, Inc.
http://www.infinisource.com
Internet & Windows Resources

Top
#37037 - 03/22/00 01:51 PM Re: New Members Registration Analysis Script
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
Due to non exhastive testing (hehe). Anyway - what do people think of it?

Just a thought
_________________________
http://www.iamcal.com

Top
#37038 - 03/22/00 02:13 PM Re: New Members Registration Analysis Script
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
Opps - another bug. I left some debug info in the file.

here's the latest version : http://ubbcodehacking.com/ubb/uploads/dispinfo3.txt

To patch it your self, just delete the code:
Code:
code:



Also, to change to US date format replace
Code:
code:


with
Code:
code:



That's all for now.

Just a thought
_________________________
http://www.iamcal.com

Top
#37039 - 03/22/00 04:09 PM Re: New Members Registration Analysis Script
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
Once again Cal, good job.
Good job to you to Leshrac.
Cal or Leshrac, how do i intigrate this into the UBB itself?

Top
#37040 - 03/22/00 05:14 PM Re: New Members Registration Analysis Script
Chris Schreiber Offline
Member

Registered: 02/04/00
Posts: 123
Loc: Audubon, NJ USA
MasterMind-

I wouldn't make something like this public, just edit your cp.html Control Panel and add in the links for the scripts to run them from there.

-Chris
_________________________
Chris Schreiber
chris@fast4gl.com
Fast 4GL Systems, Inc.
UBB: http://www.progresstalk.com/

Top
#37041 - 03/22/00 05:40 PM Re: New Members Registration Analysis Script
The Team Offline
Moderator

Registered: 08/11/00
Posts: 182
Loc: yes
Excellent work you two!! This is how hacks should be done...a lotta work and imput from the author and others.

------------------
I wish I were a Canuck
All they have to do is drink beer, play hockey, and say "Eh"

* No offense meant to any Canadians

Top
#37042 - 03/22/00 07:53 PM Re: New Members Registration Analysis Script
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
Chris, after i posted that message, i thought of that. That is exactly what i will do. Thanx.

Top
Page 1 of 2 1 2 >



Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks