![]() |
This hack was done by Kier, just wanted to post it in its own thread :)
What It Does Counts all the views for each thread and adds them together. Basically a sum of the pageviews for all of your threads. How To Implement This Copy and paste this code into index.php in the regular forum directory. PHP Code:
Example: http://www.systemlogic.net/boards on the top left next to the number of posts/threads stats. |
good hack min :D
|
This is a cool little hack, I've just implemented it with no problems other than my own stupidity (I forgot to upload the new index.php -- d'Oh!).
Anyway, after I installed it and looked at it (I put the output on a new line under the thread and post counts), it occurred to me that if you've imported from UBB (as I have), this isn't really a true count. UBB doesn't keep track of thread views, so however many you had while using UBB don't count. Your actual number may be a little higher or much higher; there's no real way to know. This is not a criticism; I don't mean to rain on this parade. I'm just pointing it out, that's all. |
nice :)
|
Quote:
|
Good idea! Thx for repost it as a own thread.:)
|
great little hack!!
I have added this feature on my forum ^_^ thanks |
As far as the ubb missing views, could you add a little saying as of May 7, 2001 or something like that. If so how would I do that?
Dan |
where do I insert this at?
what line number? And what about adding "Thread views since"" Like posted above Great idea. |
That was just an idea I had. I would like to know as well. Any hackers interested.
|
All times are GMT. The time now is 01:42 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:
|