![]() |
I never noticed before, but a member had pointed out to me that the thread views are showing as "0". Since I never notcied this before, I'll have to have a look at the CRON script I made.. Maybe I missed somehting, unless it was always that way.
Just looked and I have the threadview stuff where it should be.. It's the only thing that's not showing properly apparently. I have both the following as it should be in the CRON script.. PHP Code:
PHP Code:
PHP Code:
|
You missed something. That's why I have an option in the settings instead of doing it via cron job. ;)
|
Quote:
|
It works fine for me and everyone else. You missed something in your script. Look at the install file and see what you forgot to add. ;)
|
I just chekced in phpMyAdmin and actally that's correct which I don't get.. The SUM does return 0. But, If I look at the threadviews table, there are numerous rows (pages of them).. But, thread.views is set to 0 for all threads. Would I be able to do a COUNT on the threadviews table and get the same result?
I looked in the install file again and everything relating to thread views is where it should be (that I saw anyhow). |
If it is showing 0 for thread views in the table, then you have something else going on. As long as you have this query:
PHP Code:
PHP Code:
HTML Code:
$statscache[getthreadviews] Try this: Take the cron job off for this and set it up like in the install file and let it run for a few minutes and see if they start showing up then. Make sure to set the cache update time to 0 to test it. |
Quote:
I'd already changed it to do a COUNT on the threadviews table and now it's showing thread views as "2,827". I have thread views set to update hourly and noticed that the threadviews table's used for hourly updates instead of updating thread.views immediately upon viewing. PHP Code:
|
I had to add
PHP Code:
It's the only cron that wasn' running properly for one reason or another, promotions, ban removal, etc. were all being done. |
See? that's what happens when you take a hack that wasn't meant to be run by cron job and try to do it that way. At least you got it working your way now. ;)
|
Quote:
I put them all into the real CRON though because it's better then running hrough a fake CRON. All is well now though. :D |
Quote:
|
Quote:
|
Excellent, thanks for that :)
|
* clicks install
thanks |
Quote:
What performance benefit does this hack bring to my portal site ? Any experiences yet ? I read one query less. Right ? :nervous: Before i try to install this version, you just mentioned above that you will bring out a new version. The first thread was not updated since 7th of april. So i assume you had no time yet to finish the new version ? :tired: Please tell me when you finish it and i go for it. I don't want to do things twice. ;-) Cheers buddy, |
I'm not sure how I'm going to work this quite yet. Apparently there are sites out there that download the hacks here and put them up for download on their site without permission and I'm really getting sick of releasing hacks that end up that way. Some of them are in other countries where Jelsoft will have a hard time doing anything about.
Any new hacks or future upgrades I do to my hacks will probably only be available on my site. I can watch things a little closer that way. |
Quote:
Cheers, |
Quote:
|
Quote:
Cheers, |
Quote:
This is a great mod for those who love stats. On the navbar, it's even sweeter! Adding it to my list of "to do" projects..... Chris |
Hi Boofo,
i need a quick guidance in here. The field of "Most viewed Profile" is every time 0. Even if i go in my own profile with the IE and use another username with Opera and set the interval to update every 1 minute. Every time it is 0. I searched this thread but no one had this problem before. :ermm: Any ideas why ? Cheers, *clicked install even if it is installed only on the testboard yet* |
If you are view your own profile, it won't add views to it. I did that so someone couldn't rack up the profileviews on their own account by continually refreshing it. ;)
Try viewing someone else's profile a few times and it will show up (as long as you have the query added to the member.php, that is). ;) |
Quote:
I heading now for the install on the live board. Good job with this hack. Cheers, |
Yea, nice job!
But i think theres an error: "Top Poster: Astovidatu (756 Posts = 142,93%)" <- hows taht possible? |
Quote:
Just an idea. Cheers, |
Quote:
Top Poster: Astovidatu (756 Posts = 0,14%) Thats not possible either by a sum of 3000 Posts total. |
Quote:
|
Little problem here
Most Viewed Profile: 007 (0 Views) Oh, just noticed this too... Last updated at 07:00 PM - December 31st, 1969 After first update. Shouldn't this default to N/A or something? |
Quote:
|
ok, i will check it out. but that profile is not mine.
|
Quote:
|
Thanks for this hack!
I'd like to have this statistics on a separate site. This statistics-site should include further statistics: - recent attachments - Number of Active Users Today - 5 most read threads - 5 threads with most answers - last 5 threads - last 5 new members - average data: posts per member, posts per forum, answers per thread, new posts per day, new members per day, xy % of all members posted at least 1 posting I began to write something for my board (have a look at the attachment). But it doesn't use the cache. Therefore it would be nice, if somebody could make one hack with all features. Greetings, Chriss |
Quote:
|
Nice Ideas Chriss74...
But what about the fix for the Percantage stat? Shouldnt that have priority to more Stats. |
Quote:
|
How do you add the Most Active User today?....i don't see it refered to in the code
|
Quote:
|
Absolutely Boofo, let me know
|
Quote:
|
Quote:
@Boofo: Will your new/enhanced version of your Stats hack be installed on a separate site or again at the index-page? I would prefer a separate page. Greetings, Chriss |
All times are GMT. The time now is 12:09 AM. |
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:
|