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
#37043 - 03/22/00 11:18 PM Re: New Members Registration Analysis Script
AllenAyres Offline

I type Like navaho

Registered: 03/10/00
Posts: 25580
Loc: Texas
Plain vanilla version works well.. thank you. http://www.stand318.com/ubb/regdata.txt

Graphic version (using v3) only gives me the title and my board's background graphic: http://www.stand318.com/ubbcgi/dispinfo3.cgi

If anyone wants to look and give me a hint for the problem. I am on a NT server/ IIS 4 with perl 5.005

------------------
Allen

- http://www.stand318.com
_________________________
- Allen wavey
- What Drives You?

Top
#37044 - 03/23/00 06:47 AM Re: New Members Registration Analysis Script
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
AllenAyres - You need to run my version of the data collection script first (reginfo2.cgi).

Chris - Why not add the data building link to the CP and the display link to Ultimate.cgi - users might want to see this sort of data.

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

Top
#37045 - 03/23/00 08:07 AM Re: New Members Registration Analysis Script
Chris Schreiber Offline
Member

Registered: 02/04/00
Posts: 123
Loc: Audubon, NJ USA
Quote:
quote:


Yes I guess letting the users see the display part wouldn't be a terrible idea. I just display the total number of registered users, which I guess I think is enough. The display script is also a bit resource intensive as well, so I wouldn't want everyone running that on my board.

-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
#37046 - 03/23/00 09:57 AM Re: New Members Registration Analysis Script
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
I have a plan - I'll change my script so that it integrates with Leshrac's, making a html file that can be accessed statically. God I'm stupid sometimes.

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

Top
#37047 - 03/23/00 10:44 AM Re: New Members Registration Analysis Script
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
Here we go: Just run it and it'll generate an HTML file. Put a link to this somewhere in Ultimate.cgi to allow your members to see the forum stats.

Reg Info X : http://ubbcodehacking.com/ubb/uploads/reginfox.txt

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

Top
#37048 - 03/23/00 11:14 AM Re: New Members Registration Analysis Script
Chris Schreiber Offline
Member

Registered: 02/04/00
Posts: 123
Loc: Audubon, NJ USA
Great work Cal! Now I don't have a problem posting a link to the html stats from my board.... I am sure many people will like offering this to their users.

Thanks,
-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
#37049 - 03/23/00 11:33 AM Re: New Members Registration Analysis Script
Chris Schreiber Offline
Member

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

I think I spotted a minor typo in the very last line of reginfox: It seems the link is incorrect.

-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
#37050 - 03/23/00 11:49 AM Re: New Members Registration Analysis Script
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
One day i'll get it right. Here's the latest version, all zippped up with instructions: http://ubbcodehacking.com/ubb/uploads/Stats.zip

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

Top
#37051 - 03/23/00 01:50 PM Re: New Members Registration Analysis Script
RangerRob Offline
Member

Registered: 01/26/00
Posts: 40
Loc: England.
I have encountered a problem with the latest version of the script (the all in one zipped copy). Basically it seems to be doing most things but appears that the script doesn't finish running for some reason because although the graphics work only half the HTML shows up on the finished page (it doesn't get as far as processing the footer etc.
Is anybody else having this problem?

Top
#37052 - 03/23/00 02:16 PM Re: New Members Registration Analysis Script
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
can we have a URL? This hack is still in beta (i think) so don't expect perfect results (hehe).

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

Top
#37053 - 03/23/00 03:43 PM Re: New Members Registration Analysis Script
Greg Hard Offline
Member

Registered: 02/21/00
Posts: 5533
Loc: My Room
I am having a worse problem.
The instructions said to CHMOD it to 777, how can you run a script if it is CHMOD'ed to 777?
I figured it was 755. lol.

Top
#37054 - 03/24/00 05:25 AM Re: New Members Registration Analysis Script
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
Guess whether I use NT (where we don't use CHMOD). Sorry 'bout that.

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

Top
#37055 - 03/24/00 10:40 AM Re: New Members Registration Analysis Script
hunter Offline
Member

Registered: 03/17/00
Posts: 39
Worked great out of the box for version 5.38c.

Thanks

Top
#37056 - 03/24/00 10:46 AM Re: New Members Registration Analysis Script
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
Some good news at last (hehe)

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

Top
#37057 - 03/25/00 01:14 PM Re: New Members Registration Analysis Script
cal Offline
Programmer

Registered: 02/19/99
Posts: 3433
Loc: London, UK | Genius: 100%
This hack has been added to the database. Get the latest version (with the right CHMOD instructions!) there.

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

Top
#37058 - 03/25/00 01:31 PM Re: New Members Registration Analysis Script
Slasher Offline
Member

Registered: 01/22/00
Posts: 181
Loc: The Netherlands
I love this hack, thank you guys.

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