Helpful Information
 
 
Category: vBulletin 3.0 Template Modifications
Thread Stats in Showthread

in the "SHOWTHREAD" template find:
<br />
$poll

and above it add

<div style="font-size: 125%; text-align: center;"><b>this thread has $thread[replycount] replies and has been viewed $thread[views] times</b></div>

thanks to Xenon for pointing out the data is already caches and available for the showthread.php

Nice one ... :D good idea ...

good job i like this :)

cool

Nice work.. Just a weird one...

Is it me, or it doesnt count the persons currently viewing the thread?

Post has 3 views. I become view #4.. But the thread views from the hack reads 3..

Gonna think its normal, even tho, 1/2 my users got confused :)

Nice work, thanks for sharing. :)

Nice work.. Just a weird one...

Is it me, or it doesnt count the persons currently viewing the thread?

Post has 3 views. I become view #4.. But the thread views from the hack reads 3..

Gonna think its normal, even tho, 1/2 my users got confused :)
the data is cached, so it will update every 5 mins or whatever vB have set it at.

nite. im using it! thanks!

/me clicks install :)

Can we see a demonstration?

sure thing, check out http://www.ebslive.com/forums/showthread.php?t=21972

I would really like to use this but I am abit stumped. I opened my "SHOWTHREAD" template and searched for

<br />
$poll


Nothing showed up. So I searched for:

$poll


and I only got hits


</head>
<body onload="$onload">
$header
$navbar

$poll

<a name="poststop" id="poststop"></a>


I am not sure what to do.

find $poll

and above add <div style="font-size: 125%; text-align: center;"><b>this thread has $thread[replycount] replies and has been viewed $thread[views] times</b></div><br />

Thats what I thought, but I wanted to be sure so I wouldnt mess things up, again.. ;)

Has anyone put this on their site in a different way? I kinda dont like the way it displays if you put it near $poll....










privacy (GDPR)