![]() |
|
Mod Options |
![]() |
|||||||||||||||
[Release VB2] Total Thread Views
![]() Developer Last Online: Jan 2003 ![]() ![]() ![]() This modification is in the archives.
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.
Then just print $totalviews anywhere you want. Example: http://www.systemlogic.net/boards on the top left next to the number of posts/threads stats. Download Now Only licensed members can download files, Click Here for more information. Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
[release] Total Views | filburt1 | vBulletin 2.x Template Modifications | 5 | 21 Sep 2003 17:32 |
Comments |
#3
|
||||
|
||||
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. No members have liked this post.
|
#4
|
||||
|
||||
nice
![]()
__________________
No members have liked this post.
|
#5
|
|||
|
|||
![]() No members have liked this post.
|
#6
|
||||
|
||||
Good idea! Thx for repost it as a own thread.
![]()
__________________
the_Sisko No members have liked this post.
|
#7
|
|||
|
|||
![]()
great little hack!!
I have added this feature on my forum ^_^ thanks No members have liked this post.
|
#8
|
|||
|
|||
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 No members have liked this post.
|
#9
|
|||
|
|||
where do I insert this at?
what line number? And what about adding "Thread views since"" Like posted above Great idea. No members have liked this post.
|
#10
|
|||
|
|||
Who Knows
That was just an idea I had. I would like to know as well. Any hackers interested.
No members have liked this post.
|
#11
|
|||
|
|||
easy dude
Just insert $totalviews since 1-5-01 into where you want it on your forum home template ![]() No members have liked this post.
|
#12
|
||||||||
|
||||||||
Well, it's very simple. Where ever you stick the $totalviews, just put the text by that. For example, if you put it in your forumhome template, so it's below your total threads and total posts, as I did, like this:
You could just change it to this:
(Or use whatever date it was when you converted from UBB to vB.) No members have liked this post.
|
#13
|
|||
|
|||
Where do you paste the code at, in the index.php? Anywhere special.
Can someone give an example of placement. Thanks Dan No members have liked this post.
|
#14
|
|||
|
|||
in the forum home template
Put it under launch buddy list or wherever No members have liked this post.
|
#15
|
||||||||
|
||||||||
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 20:20.