![]() |
Thanx for a great hack, but; :devious: Can I have it count hits on my CMPS page? too, as some users land there and read news without accessing the forums
Thanx Hani |
I believe it does since its in the header templates and CMPS uses the forums heder/footer templates....
|
I really liked the idea of this hack, but 4 queries per page, ereg's instead of preg's, and massive switch statements... these do not add up to my idea of fun.
I'm afraid that I'm going to uninstall and wait (or maybe develop) a version that has a lighter counter (1 query), and with hourly generation of stats via cron rather than an almost permanently live thing. This has just been too intensive for me. I have a good server, but we're running several boards and the difference was notable when I commented it out in headinclude. I wouldn't recommend this hack for boards that top several hundred simultaneous users. Very nice work though... shame I don't have a quieter board at times ;) |
How come it says
http://www.gamerzplanet.net/forums/statistik.php? Quote:
|
Sure you did all the template edits?
|
Quote:
Thanks. |
Great hack, Thanx
2 things though My board is in Arabic, but as AR is for Argentina, in the Country by browser language shows Argentina as top country :( Also, How can I translate the page, I guess they are hardcoded, any idea if they will be in phrase variables? Thanx again |
This is a very good hack but i've see a little bug in the code ;)
Into the statistikadmin.php, you can see this into the code: PHP Code:
|
Quote:
PHP Code:
|
When I installed this I lost around 300 of the posts from the main page, but they are still there in the stats page, any word on how this happened?
I thought it may be my admin forums, but they only have around 100 posts in them, though there are some other forums that are now closed that have some posts in them, would this have affected it, if so how would i get them to be displayed again on the main page? Watson |
*installed*
very nice. |
Looks quite nice. :)
How would I go about about linking to this page though? I was thinking about putting it somewhere on the index, perhaps under the statistics box? |
Hi PcFreak,
after the installation of this hack I became overwhelmed by error-msg?s like this: Quote:
Quote:
But I wonder why the error-msg says user: 'pxxxxxxx@%'. The database user is pxxxxxxx without @%. Do you have any idea what?s going on here ? Anyone..? |
Thanks for this hack ! We have installed it but how can we enable this on forum home page?
|
Any word on the next version that has been discussed?
|
I have a quick question (that may or may not have been answered in the 25 pages before this post)...
is there any reason why the Spiders/Bots option isn't tracking Google Bots? is it something in their software that lets them fly under the radar? or is there a change I can make that will identify them? :) |
Quote:
|
Quote:
|
any chance of converting the arcade addon to work with the new arcade system? ibproarcade.
|
I'm getting some parse errors whjen I go to www.punktek.com/statistik.php
Code:
Warning: main(./global.php): failed to open stream: No such file or directory in c:\domains\punktek.com\wwwroot\statistik.php on line 50 |
@ Punktek.com
Your forum installation is not in a /forum directory ! Please check if you have enaugh rights to execute script in your wwwroot dir. Also all scripts should habe read and execute rights for al (chmod 755) |
I don't mean to sound stupid here ,,, but ...
Additional step 1 ================================================== ============= Addition for showing Statistics only for Admins and Moderators ================================================== ============= open statistik.php and find: ============================= // ######################### CHECK PERMISSIONS ########################### // uncomment the following 4 lines if you want provide statistics only for Admins and Moderators // if (!($permissions['adminpermissions'] & CANCONTROLPANEL) AND !can_moderate()) // { // print_no_permission(); // } ================================================== ================= uncomment the lines as written in the code above to look like: ================================================== ================= // ######################### CHECK PERMISSIONS ########################### // uncomment the following 4 lines if you want provide statistics only for Admins and Moderators if (!($permissions['adminpermissions'] & CANCONTROLPANEL) AND !can_moderate()) { print_no_permission(); } I don't understand step 1, what do you mean by uncomment?! |
Hi Z\in
Just remove the "//" in the begining of line so they are commands not coments |
Fantastic hack.
Have it installed and working great on 3.0.3 :) Cheers! |
Quote:
|
I fixed my previous error, now one problem. How do I add a link into the nav bar? For everyone to see.
|
I get an error message on the first visit to my site:
Fatal error: Failed opening required './includes/functions_statistik.php' (include_path='.:/usr/share/pear') in /home/playit/www/forum/statistik_counter.php on line 190 Removing it from phpinclude_start will get rid of the problem. It only happens once, and a refresh will fix it for the duration of the visit. Any ideas? |
It's worth noting that the Arcade add on is 816 queries.
Yes, 816. It's not recommended for people on shared hosting to be making that page public, not unless you want a nasty email from your hosts. |
Only thing that dosent seem to work right is visitors from Hong Kong show up as unknown.
I would be great to be able to assign which usergroups can view stats |
Quote:
I attached my version of this part here. It also needs to change STATISTIC template to correspond: $postername1 to $postername[1] $posterid1 to $posterid[1] $poster_beitragszahl1 to $poster_beitragszahl[1] $postername2 to $postername[2] etc. ................................. |
looks great thanks!
|
Quote:
My board isnt in a /forum directory either. |
Well I finally figured out why my board has so many queries on all my pages. I tracked it down to this hack, so I just finished uninstalling it. You should tell people up front that this adds atleast 4 extra queries on every vb page. If I know I'd have looked for an alternative which I'm going to do now. It looked like it was working alright, but to me wasn't worth it.
|
I use to have it on my board, it didn't really slowed down stuff tho...
Bt i guess it isn't clever to have it on a 1000member board :-) |
Quote:
|
I now have it installed on Stang Country. The stats are showing only 3 spiders, and I know I have google and a few other's hitting the site when I look at "who's online". ........ is there a fix for that?
BTW here is the link to that stats in action.. Stang Country Stats. |
Excellent Hack, installed and working no problem.
Thank You. *Clicks Install* |
I am having some problems with some of my stats.. I Had them working then my site crash.. When I reinstalled I cant get them to work Now.. Did everthing the same.. Can any one help me on this..
http://drunkensoldiers.net/forums/statistik.php |
Quote:
How did you do all that? |
Quote:
Code:
include("./statistik_counter.php"); |
All times are GMT. The time now is 10:30 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|