#37023
03/21/2000 4:05 AM
|
Joined: Jan 2000
Posts: 114
Member
|
Member
Joined: Jan 2000
Posts: 114 |
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. 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
|
|
|
#37024
03/21/2000 7:02 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
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
|
|
|
#37025
03/21/2000 7:53 AM
|
Joined: Feb 2000
Posts: 25
Member
|
Member
Joined: Feb 2000
Posts: 25 |
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 [email protected]Fast 4GL Systems, Inc. http://www.fast4gl.com/UBB: http://www.progresstalk.com/
|
|
|
#37026
03/21/2000 10:36 AM
|
Joined: Mar 2001
Posts: 69
Junior Member
|
Junior Member
Joined: Mar 2001
Posts: 69 |
Hm.. maybe enhance this script and intigrate it with the ubb?
|
|
|
#37027
03/21/2000 2:01 PM
|
Joined: Feb 2000
Posts: 25
Member
|
Member
Joined: Feb 2000
Posts: 25 |
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 [email protected]Fast 4GL Systems, Inc. http://www.fast4gl.com/UBB: http://www.progresstalk.com/
|
|
|
#37028
03/21/2000 2:38 PM
|
Joined: Jun 2000
Posts: 263
Junior Member
|
Junior Member
Joined: Jun 2000
Posts: 263 |
Nice hack! I wonder if we install it ion this board, what will the prediction for how many will join be?
|
|
|
#37029
03/21/2000 2:56 PM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
I'm back [-crowd cheers-]. I will start work tomorrow morning (GMT). Just a thought
|
|
|
#37030
03/21/2000 5:38 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
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
|
|
|
#37031
03/21/2000 7:59 PM
|
Joined: Feb 2000
Posts: 116
Member
|
Member
Joined: Feb 2000
Posts: 116 |
Can we see an example? ------------------ Please Join My UBB We are now accepting Moderators!!
|
|
|
#37032
03/21/2000 8:00 PM
|
Joined: Feb 2000
Posts: 116
Member
|
Member
Joined: Feb 2000
Posts: 116 |
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!!
|
|
|
#37035
03/22/2000 12:55 PM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
!!!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
|
|
|
#37036
03/22/2000 1:13 PM
|
Joined: Feb 2000
Posts: 7
Junior Member
|
Junior Member
Joined: Feb 2000
Posts: 7 |
Thanks for version 2 Cal.... I killed v1 after downloading 4MB or so.....
Came back here and saw the new one....
Last edited by Gizmo; 08/17/2016 2:05 PM.
|
|
|
#37037
03/22/2000 2:51 PM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
Due to non exhastive testing (hehe). Anyway - what do people think of it? Just a thought
|
|
|
#37038
03/22/2000 3:13 PM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
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: Also, to change to US date format replace with That's all for now. Just a thought
|
|
|
#37039
03/22/2000 5:09 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Once again Cal, good job. Good job to you to Leshrac. Cal or Leshrac, how do i intigrate this into the UBB itself?
|
|
|
#37040
03/22/2000 6:14 PM
|
Joined: Feb 2000
Posts: 25
Member
|
Member
Joined: Feb 2000
Posts: 25 |
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
|
|
|
#37041
03/22/2000 6:40 PM
|
Joined: Aug 2000
Posts: 3,590
Moderator
|
Moderator
Joined: Aug 2000
Posts: 3,590 |
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
|
|
|
#37042
03/22/2000 8:53 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
Chris, after i posted that message, i thought of that. That is exactly what i will do. Thanx.
|
|
|
#37044
03/23/2000 7:47 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
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
|
|
|
#37045
03/23/2000 9:07 AM
|
Joined: Feb 2000
Posts: 25
Member
|
Member
Joined: Feb 2000
Posts: 25 |
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 [email protected] Fast 4GL Systems, Inc. UBB: http://www.progresstalk.com/
|
|
|
#37046
03/23/2000 10:57 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
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
|
|
|
#37047
03/23/2000 11:44 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
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
|
|
|
#37048
03/23/2000 12:14 PM
|
Joined: Feb 2000
Posts: 25
Member
|
Member
Joined: Feb 2000
Posts: 25 |
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 [email protected] Fast 4GL Systems, Inc. UBB: http://www.progresstalk.com/
|
|
|
#37051
03/23/2000 2:50 PM
|
Joined: Jan 2000
Posts: 26
Member
|
Member
Joined: Jan 2000
Posts: 26 |
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?
|
|
|
#37052
03/23/2000 3:16 PM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
can we have a URL? This hack is still in beta (i think) so don't expect perfect results (hehe). Just a thought
|
|
|
#37053
03/23/2000 4:43 PM
|
Joined: Feb 2000
Posts: 4,625
Member
|
Member
Joined: Feb 2000
Posts: 4,625 |
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.
|
|
|
#37054
03/24/2000 6:25 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
Guess whether I use NT (where we don't use CHMOD). Sorry 'bout that. Just a thought
|
|
|
#37055
03/24/2000 11:40 AM
|
Joined: Mar 2000
Posts: 20
Member
|
Member
Joined: Mar 2000
Posts: 20 |
Worked great out of the box for version 5.38c.
Thanks
|
|
|
#37056
03/24/2000 11:46 AM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
Some good news at last (hehe) Just a thought
|
|
|
#37057
03/25/2000 2:14 PM
|
Joined: Feb 1999
Posts: 1,379
Programmer
|
Programmer
Joined: Feb 1999
Posts: 1,379 |
This hack has been added to the database. Get the latest version (with the right CHMOD instructions!) there. Just a thought
|
|
|
#37058
03/25/2000 2:31 PM
|
Joined: Jan 2000
Posts: 170
Member
|
Member
Joined: Jan 2000
Posts: 170 |
I love this hack, thank you guys.
|
|
|
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.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|