Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[Release VB2] Total Thread Views Details »
[Release VB2] Total Thread Views
Mod Version: 1.00, by SystemLogic (Member) SystemLogic is offline
Developer Last Online: Jan 2003 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 2.2.x Rating: (0 vote - 0 average) Installs: 27
Released: 20 Apr 2001 Last Update: Never Downloads: 1
Not Supported  

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.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
[release] Total Views filburt1 vBulletin 2.x Template Modifications 5 21 Sep 2003 17:32

Comments
  #2  
Old 21 Apr 2001, 04:22
bokhalifa bokhalifa is offline
 
Join Date: Oct 2001
good hack min
Reply With Quote
  #3  
Old 21 Apr 2001, 05:07
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Real name: Justin J. Rebbert
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.
__________________
-Justin J. "JJR512" Rebbert
www.JJR512.com: Chat about anything!
Reply With Quote
  #4  
Old 21 Apr 2001, 05:35
eva2000's Avatar
eva2000 eva2000 is offline
 
Join Date: Oct 2001
nice
__________________
Reply With Quote
  #5  
Old 21 Apr 2001, 17:47
SystemLogic SystemLogic is offline
 
Join Date: Nov 2001
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.
Yup, you're right, but I guess it's a good thing if you're starting over or just starting up using VBulletin. If you're importing into VB from anything else like UBB, it won't convert the thread views.....Just thought it be cool to have for those that wanted it
Reply With Quote
  #6  
Old 21 Apr 2001, 22:26
the_sisko's Avatar
the_sisko the_sisko is offline
 
Join Date: Nov 2001
Real name: Christian
Good idea! Thx for repost it as a own thread.
__________________
the_Sisko
Reply With Quote
  #7  
Old 27 Apr 2001, 05:58
n3n
 
Thumbs up

great little hack!!
I have added this feature on my forum ^_^
thanks
Reply With Quote
  #8  
Old 07 May 2001, 23:29
TimberLand
 
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
Reply With Quote
  #9  
Old 08 May 2001, 21:49
Sarge
 
where do I insert this at?

what line number?

And what about adding "Thread views since""
Like posted above

Great idea.
Reply With Quote
  #10  
Old 09 May 2001, 04:21
TimberLand
 
Who Knows

That was just an idea I had. I would like to know as well. Any hackers interested.
Reply With Quote
  #11  
Old 09 May 2001, 04:26
Sarge
 
easy dude

Just insert

$totalviews since 1-5-01 into where you want it on your forum home template
Reply With Quote
  #12  
Old 09 May 2001, 04:27
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Real name: Justin J. Rebbert
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You could just change it to this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(Or use whatever date it was when you converted from UBB to vB.)
__________________
-Justin J. "JJR512" Rebbert
www.JJR512.com: Chat about anything!
Reply With Quote
  #13  
Old 09 May 2001, 05:31
TimberLand
 
Where do you paste the code at, in the index.php? Anywhere special.

Can someone give an example of placement.

Thanks
Dan
Reply With Quote
  #14  
Old 09 May 2001, 05:35
Sarge
 
in the forum home template


Put it under launch buddy list or wherever
Reply With Quote
  #15  
Old 09 May 2001, 05:42
JJR512's Avatar
JJR512 JJR512 is offline
 
Join Date: Oct 2001
Real name: Justin J. Rebbert
Originally posted by JJR512
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:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You could just change it to this:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

(Or use whatever date it was when you converted from UBB to vB.)
__________________
-Justin J. "JJR512" Rebbert
www.JJR512.com: Chat about anything!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 20:20.

Layout Options | Width: Wide Color: