Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
[VB3 RC3] Who viewed this thread? Details »»
[VB3 RC3] Who viewed this thread?
Mod Version: 1.00, by Kentaurus (Coder) Kentaurus is offline
Developer Last Online: Apr 2014 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.0 Rating: (1 vote - 4.00 average) Installs: 48
Released: 06 Feb 2004 Last Update: Never Downloads: 22
Not Supported  

I know there is already one version of this by Gary W but I already made (and documented) my own so I thought I would post it.

Advantages of my hack:

My hack adds only 1 query to showthread, and it only queries the user table, so it is less server intensive. That is important to any busy board or anyone that wants to save some resources. It integrates with the "thread views" system to update the people that have seen the thread.

Disadvantages:

Well.. with mine even if you browse the forum as "invisible" you would end up showing in the "who read" list.


Info for hackers:
You may modify, improve, upgrade, redistribute this hack, include it
in another hack or yours or translate it provided you do it free of
charge and you distribute it in www.vbulletin.org at least, there is no
need to pm me asking for permission
Some portions of the code are (c) Jelsoft Enterprises Ltd.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	shot1.jpg
Views:	729
Size:	113.6 KB
ID:	18656Click image for larger version

Name:	shot2.jpg
Views:	551
Size:	115.6 KB
ID:	18657

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #61  
Old 23 Oct 2004, 23:32
trackpads's Avatar
trackpads trackpads is offline
 
Join Date: Aug 2003
Real name: Jason
This is a great hack but would be alot better if you could have the information on a separate page. For example, I have a thread that was 100,000 views and honestly have that on the bottom of every page would make it look horrible. but I would like it on other pages for sure so have a link (option per usergroup) would be perfect.

Thanks again,

-Jason
Reply With Quote
  #62  
Old 27 Oct 2004, 09:36
wi11ie1950 wi11ie1950 is offline
 
Join Date: Sep 2004
Originally Posted by wi11ie1950
The mouseover change doesnt work for me no matter how i do it i get:-

Parse error: parse error, unexpected T_INC, expecting T_VARIABLE or '$'
in /home/wi11iec/public_html/forum/showthread.php on line 460

Do the $+++++ go in as well cause they are not in the text file ??
Ok i worked it out.. I guess the +++++ is from VBs censor considering it spells out w h o r e

It all works great now under 3.0.3
Reply With Quote
  #63  
Old 27 Oct 2004, 11:10
SaN-DeeP's Avatar
SaN-DeeP SaN-DeeP is offline
 
Join Date: Jun 2002
Originally Posted by SaN-DeeP
Ok i have some serious issues, i wonder if someone else notice about this

My Server is located in US which mite have GMT - 8:00 timings
weras my forum timings and people are of india GMT + 5:30

Currently It is 9:02 AM here.
and i can see this thing when a user last viewed any particular thread
(Yesterday 07:15 PM)

Help me fix this please.

Thank You for nice hack.

Sandy...
any fix for this ?

thanks
Reply With Quote
  #64  
Old 30 Oct 2004, 02:32
wi11ie1950 wi11ie1950 is offline
 
Join Date: Sep 2004
Hi San from what i can see it doesnt use VB country and time settings so if you correct it for India then it will still be wrong for those outside india.
I used the hack to hide the date and time behind the name and show on mouseover
Reply With Quote
  #65  
Old 18 Nov 2004, 07:21
sv1cec sv1cec is offline
 
Join Date: May 2004
Real name: John
Originally Posted by wi11ie1950
Hi San from what i can see it doesnt use VB country and time settings so if you correct it for India then it will still be wrong for those outside india.
I used the hack to hide the date and time behind the name and show on mouseover
I have the same problem with San, my server is located in USA, while all times are using Greece time. What puzzled me, was that the way the info is shown, using vbdate function, the time should have been correct.

So, I tried using this code:


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

and it produces the correct time for my country. However, when it is called from the hack (admitedly with a different syntax, I have no idea what these 'true', and 'false' parameters do) , in showthread, it shows the wrong time.

So, I did some experimentation, and here is what I came up with. If you change the vbdate arguments used in the showthread, a little, you can have it show the proper time.

Change this:


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

to this:


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

Or if you do not want to see "Today" or "Yesterday", but just a plain date and time, change the code to:

[php]

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

Here is a description of the vbdate function. The code is located in includes/functions.php


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

Rgds
-----------
John

Last edited by sv1cec : 18 Nov 2004 at 08:18.
Reply With Quote
  #66  
Old 21 Nov 2004, 10:05
Morgalis Morgalis is offline
 
Join Date: Oct 2002
Hi there

I am installing this with your Mod Management tool, and I am running into a parse error.

vb 3.0.3

parse error - no details given - at the else in the last part of the paste

else
{
// or doing it once an hour
$DB_site->shutdown_query("
INSERT INTO " . TABLE_PREFIX . "threadviews (threadid)
VALUES (" . intval($threadinfo['threadid']) . ')'
);
}
Any suggestions?
__________________
www.karmicpower.com
be the change you wish to see in the world

Online community of like minded people
Reply With Quote
  #67  
Old 12 Jan 2005, 12:24
VitroX VitroX is offline
 
Join Date: Feb 2004
thanks sv1cec for your fix ...

now, is there a way the user list can get sorted first those who has replied and then those who doesnt?, I'm after a way to detect those who dont reply to threads and are only lurking, this could be a way to detect them and that would be very usefull for me.
Reply With Quote
  #68  
Old 17 Jan 2005, 17:22
Lottis's Avatar
Lottis Lottis is offline
 
Join Date: Sep 2004
Anyone like to help me take the time away?
Reply With Quote
  #69  
Old 20 Jan 2005, 14:00
VitroX VitroX is offline
 
Join Date: Feb 2004
Originally Posted by Lottis
Anyone like to help me take the time away?
yes, in modified showthread.php file for this hack, look for:

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

and replace it for:

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

that should remove the date time info.
Reply With Quote
  #70  
Old 27 Jan 2005, 01:20
James Collins James Collins is offline
 
Join Date: Dec 2003
Originally Posted by snake-boy
Is this working in V3.0.3 (yet)?

I would VERY much like to install this but don't want to be wasting my time.

Anyone who's running this successfully with 3.0.3, please say 'aye' ?

-snake
aye

in 3.05 as well (with patch)
Reply With Quote
  #71  
Old 01 Feb 2005, 22:52
tractor-beam tractor-beam is offline
 
Join Date: May 2002
Right now I have installed this modification with the code that lets only the Administrator view the new stats. However, I've created a Managers Usergroup (ID=9) that I'd also like to have them see the stats. How would I modify this statement:


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

Would it be something like:


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

Thanks!

- Gerry
__________________
Tractor-Beam
Reply With Quote
  #72  
Old 06 Feb 2005, 20:38
Pinkie Pinkie is offline
 
Join Date: Aug 2004
Thanx
Will try it if it also works for me
Reply With Quote
  #73  
Old 03 Aug 2005, 18:12
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
This hack works nicely until you have threads with a couple of thousand member views and it gets really, really slow to view a thread.
Is there any way the viewers of a particular thread could optionally be opened in a new window by clicking a link at the top of SHOWTHREAD?
__________________
AVForums.com the UK's largest audio visual home consumer electronics forums. Running several hacks with thanks to vBulletin.org and its members.
Reply With Quote
  #74  
Old 15 Oct 2005, 23:08
Mikecp421's Avatar
Mikecp421 Mikecp421 is offline
 
Join Date: Sep 2005
nice, worked first time on VB 3.0.8
Reply With Quote
  #75  
Old 16 Oct 2005, 16:24
Mikecp421's Avatar
Mikecp421 Mikecp421 is offline
 
Join Date: Sep 2005
hey can someone tell me what to add to this to allow supermods to also be able to view this? Thanks


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

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
Forum Jump


New To Site? Need Help?

All times are GMT. The time now is 05:59.

Layout Options | Width: Wide Color: