Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
This hack displays statistics for your UBB like a separate category at the bottom of forum home and provides a detailed stats page.

Name: Stats Hack 1.3
Description: Adds extensive statistics to UBB.classic
Author: Tovok7 <webmaster@Tovok7.de>
Date: 05-23-2002
Thanks to: LK [ homepage ]
Compatible with: Multihack, XHTML, UBB Cache and UBB Accelerator
Link: http://Tovok7.de/

This hack went through an intensive testing process and should be bug free now. If you discover any bugs please post them here.

A demo can be seen at LK\'s Board .

Sponsored Links
Joined: Feb 2002
Posts: 41
Member
Member
Offline
Joined: Feb 2002
Posts: 41
where is download link.

i cannot find 1.3 in your link

http://Tovok7.de/ubb contains
Stats Hack 1.2 Description: Adds extensive . Where 1.3 ?

Joined: Feb 2002
Posts: 41
Member
Member
Offline
Joined: Feb 2002
Posts: 41
heheheh.
you are updating your page laugh

Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
quote:
Originally posted by UmARsIZ:
where is download link.
Stats Hack 1.2 Description: Adds extensive . Where 1.3 ?

Try to open you eyes! There is brilliantly visisble "Stats Hack 1.3 Description: Adds extensive statistics to UBB.classic"

Joined: Feb 2002
Posts: 41
Member
Member
Offline
Joined: Feb 2002
Posts: 41
quote:
Try to open you eyes!
I looked on your webpage and when I wrote my first message, saw 1.2 at the top of page.

after two minutes later reload page and got an error page was not found. after waiting a few mins and recheck the page and 1.3 was seen at the top of page.

I think you first wrote in icq and after this you updated your page. I am kind a hesitated one so i preffered you not be treat by this way

Thank You!....

Sponsored Links
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
[code][/code]Shouldn't it be add ABOVE? tipsy

Also, in ubb_statistics.cgi, -e should be &FileExists and line 296 should be $StatsData{'TotalMembers'} = &GetMemberTotal;

Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
quote:
Originally posted by UmARsIZ:
after two minutes later reload page and got an error page was not found. after waiting a few mins and recheck the page and 1.3 was seen at the top of page.

I've updated my page and uploaded the file before I posted this topic. That's why I was sure that you just overlooked it. Maybe the page was still in your cache.

Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
quote:
Originally posted by LK:
Shouldn't it be add ABOVE? tipsy

No it should be BELOW! But it doesn't matter where it is.

Joined: May 2001
Posts: 31
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 31
Funktioniert 1a!!! Danke!

Joined: Aug 2000
Posts: 6
Junior Member
Junior Member
Offline
Joined: Aug 2000
Posts: 6
thanks for the hack, works great.

had a little trouble adjusting it to jctemplates but figured it out OK.

question though:

anyone know what file(s) control the info for when the board was set up? everytime I upgrade it resets to 1 day and now I have 900,000+ messages per day tipsy and I would like to fix this.

thanks
AF


Why is Gas 64c/L and Pepsi 96c/L?
Sponsored Links
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
When you upgrade, don't overwrite variable files! tipsy

Joined: Aug 2000
Posts: 6
Junior Member
Junior Member
Offline
Joined: Aug 2000
Posts: 6
doh now you tell me laugh

actually this was a fresh install cause my control panel wordlets and redirect after posting was borked. I will look into the variables and see if I can fix it. thanks for the tip.


Why is Gas 64c/L and Pepsi 96c/L?
Joined: Dec 2000
Posts: 371
Member
Member
Offline
Joined: Dec 2000
Posts: 371
I can't find this in pntf_summary.pl

###############################################################################
# if you have wol list hack, open public_pntf_summary.pl (template) and find: #
###############################################################################

$location = qq($vars_wordlets_pntf{pntf_forum}: ) . (&GetForumRecord($f))[1] . qq();

Joined: Feb 2000
Posts: 62
Member
Member
Offline
Joined: Feb 2000
Posts: 62
Would it be possible to exclude a specific IP address? - I reckon I'm responsible for about 1/4 of the page views. frown


I'm depriving a village somewhere of an idiot.
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Variables, ignore it, the hack doesn't modify it anymore...

guvner, the UBB saves it, not stats hack... but if you really want:[code][/code]Change 127.0.0.1 to your IP (untested)

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
How much of a performance hit does this hack cause?

Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
I decelerates the speed forum home is loaded not slightly. All other pages of UBB are untouched and if you don't hack puplic_forum_summary.pl the speed is the same as without Stats Hack.

Joined: Jun 2001
Posts: 2,849
Spotlight Winner
Spotlight Winner
Offline
Joined: Jun 2001
Posts: 2,849
ooops

Joined: Oct 2001
Posts: 34
RC Offline
Junior Member
Junior Member
Offline
Joined: Oct 2001
Posts: 34
Can somebody post how to add the stats with JC Templates?
Is it possible to add 'if using JC templates do this'? Like you do for WOL.

Thanks in advance.

Joined: Jun 2001
Posts: 572
Member
Member
Offline
Joined: Jun 2001
Posts: 572
I get this error after clearing the cache:

An error has occured:

Undefined subroutine &main::DisplayStats called at CGIPath/ubb_forum_summary.cgi line 425.

Please inform the board administration of this error so that they may fix the problem. Thank you!

Line 425 is:

&DisplayStats;

I take that out, clear the cache and it works perfectly...Without the statistics appearing....Any help here Tovok?

~Jon

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Re-upload ubb_statistics.cgi to cgi-bin directory, and rehack ubb_forum_summary.cgi

Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
[code][/code]

Joined: Mar 2002
Posts: 3
JH Offline
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 3
is there a multihack file for this?
confused


JH
Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
quote:
Originally posted by JH:
is there a multihack file for this?

no

Joined: Mar 2002
Posts: 3
JH Offline
Junior Member
Junior Member
Offline
Joined: Mar 2002
Posts: 3
quote:
Originally posted by Tovok7:
no

k no probz. Just feeling real lazy today laugh
good work with the hack (iv had the prev two)


JH
Joined: Jun 2002
Posts: 5
Junior Member
Junior Member
Offline
Joined: Jun 2002
Posts: 5
I'm confused...tried this hack three times and it won't display text next to the stats, so people won't know what the heck the numbers are there for.

Can someone please tell me what I've missed?

Thanks a million.

The CarbHealth Forums

-Tiffany

Joined: Feb 2001
Posts: 273
Member
Member
Offline
Joined: Feb 2001
Posts: 273
quote:
Originally posted by MysfytGyrl:
Can someone please tell me what I've missed?
-Tiffany

Please read the faq! There your problem is described.

Joined: Mar 2001
Posts: 4
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 4
Hi Tovok,

first thanks for your Stats Hacks :-) 1.2 works great on my 6.1.x .. now i want to upgrade to UBB 6.3.0 and i used your Stats Hack 1.3 ... all be fine but on the Summary Page there are no statistics, the link to the details page is there and works, also the details page works great, only on summary/cat view the statistics are not working.

i hacked the code tree times, every one with the original files, first mod then stats.

an idea ?

thanks


Muah, der größte Spinner aller Zeiten
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
Muah, url?

Joined: Mar 2001
Posts: 4
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 4
LK look at PM inbox :-)


Muah, der größte Spinner aller Zeiten
Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
ubb_forum_summary.cgi - make sure you add _BEFORE_ where it says to add before.

Joined: Mar 2001
Posts: 4
Junior Member
Junior Member
Offline
Joined: Mar 2001
Posts: 4
What should i say ? Dont code hacks after you worked 12 hours a day from 5 o clock am *g*

Thanks for help and showing me, i need new glasses eek


Muah, der größte Spinner aller Zeiten
Joined: Apr 2001
Posts: 103
Member
Member
Offline
Joined: Apr 2001
Posts: 103
Greetings,

I've had Stats Hack for a long time, the 1.1 version, but one day it happened that the hack was not showing anymore growing up numbers, just remained static. I upgraded my forum from 6.3.0.1 beta release of april, to the latest now 6.3.0.1, and still after installing the Stats Hack 1.3 from the beginning, the number is not growing up as it should be. I'm talking about the number of pageviews for month. The other stats work fine until now. What can be the matter?


Don't worry about people stealing your ideas. If your ideas are any good, you'll have to ram them down people's throats.
Joined: Mar 2001
Posts: 80
Member
Member
Offline
Joined: Mar 2001
Posts: 80
Hi, ive just installed this hack after upgrading to 6.3.0.1.

All works well except i can not get into the contorl panel stats menu.
I get this error "You do not have permission to access this area."

Anyone have any ideas?

Thanks
Paul

Joined: Mar 2000
Posts: 32
Member
Member
Offline
Joined: Mar 2000
Posts: 32
Hey FiEND, could you help me out with the adjustments you made to get it to work with JCTemplates.

I have the code itself running at
http://www.coruscantcity.net/cgi-bin/board/ultimatebb.cgi?ubb=statistics

but yes, it needs a bit of adjusting. smile

Joined: Mar 2000
Posts: 32
Member
Member
Offline
Joined: Mar 2000
Posts: 32
I got it adjusted, finally, and feel kinda proud for doing so. smile

But, the stats are kinda skewed since the board is an upgrade and the posts are all of em since January 2000. How would I adjust things to make the stats more accurate?

Also, once that's done, I'd rather place the code after the recent visitors instead of on the end of the last category (yes, on jc templates). I placed the "sub PageBottom {" code after "$pntf_locations[3]" which puts the text in the right place, but I'm not sure where to place the "sub Cat_Page_Bottom {" code so it gets the right formatting. As it is, it just kinda sits on the page.

Can anyone help me?

Joined: Apr 2001
Posts: 214
Member
Member
Offline
Joined: Apr 2001
Posts: 214
I must have rehacked this code in like 10x, making sure i did it correctly. I get the table, deadlink for picture and no stats...

http://www.nakcc.org/cgi-bin/ultimatebb.cgi

Joined: May 2001
Posts: 17
Junior Member
Junior Member
Offline
Joined: May 2001
Posts: 17
i face a problem

i have hacked this for 3 times

firstly,it can see it can work correctly in ultimatebb.cgi

but after one days,the "Total Page Views:" reset to "0" suddenly and the "Total Page Views" was not showing anymore growing up numbers

Joined: May 2001
Posts: 6,708
Member
Member
Offline
Joined: May 2001
Posts: 6,708
quote:
Originally posted by [email protected]:
Hi, ive just installed this hack after upgrading to 6.3.0.1.

All works well except i can not get into the contorl panel stats menu.
I get this error "You do not have permission to access this area."

Anyone have any ideas?

Thanks
Paul

Make sure you have hacked cp.cgi correctly.

Raichu - You need to put the name of the image in the NONcgi folder in the section in the CP settings. Then the image will work. And I think all your options for stats showing have been turned off in the CP. Check.

Joined: Mar 2001
Posts: 7,394
LK Offline
Admin / Code Breaker
Admin / Code Breaker
Offline
Joined: Mar 2001
Posts: 7,394
LD, please check the URL before guessing tipsy

Raichu, make sure that you have uploaded vars_statistics.cgi to variables folder. If it still doesn't work, rehack ultimatebb.cgi. About the other thing - make sure you did the step of vars_wordlets_mods.cgi, and uploaded it to variables folder. Also make sure you put it right after %vars_wordlets_mods = (, and not at the end.

Page 1 of 2 1 2

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:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
isaac
isaac
California
Posts: 1,157
Joined: July 2001
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
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-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)