View Full Version : Thread Count in Postbit
spongebobrox128
10-28-2005, 10:00 PM
Ok, before you scream at me saying I posted this in the wrong place, I didn't, because it USES A PLUGIN.
First, install the plugin, like normal.
Then, open up your postbit template.
Find
$post[posts]
</div>
Below that, add:
<div>Threads: $post[threads]</div>
Hope you like it :)
murrtex
10-29-2005, 01:19 PM
thanks ,i installed but doesnt work
spongebobrox128
10-29-2005, 01:59 PM
Could you be more specific?
You installed plugin, and did template mod?
and URL to your forum?
JTyson
10-29-2005, 02:20 PM
You would have to edit the postbit_legacy template if you are using it.
jrofosho
10-29-2005, 02:38 PM
dosn't work for me.
JTyson
10-29-2005, 02:52 PM
After a quick look the template edit is wrong, instead of
<div>Threads: $totalthreads</div>
Use
<div>Threads: $post[threads]</div>
Rover416
10-29-2005, 04:07 PM
Thanks,works great (i used jtysons fix)
SnowBot
10-29-2005, 04:50 PM
worked with the fix :)
Ok, before you scream at me saying I posted this in the wrong place, I didn't, because it USES A PLUGIN.
Now, I'm not screaming but... if it uses a Plugin, and has no other things to upload, it goes in the Plugins forum.
Lea Verou
10-29-2005, 08:36 PM
Now, I'm not screaming but... if it uses a Plugin, and has no other things to upload, it goes in the Plugins forum.
told him about the same thing along with "if it only has a plugin, why make it a product? This is what plugins are for!" (unless he did it as a plugin now :))
At least if he makes it into a product then do it with phrases! ;)
spongebobrox128
10-29-2005, 08:45 PM
Oops, sorry, why did i say $totalthreads?
(Sorry, was not really thinking)
And I could have sworn i put this in the plugins forum
Extreme John
10-29-2005, 11:52 PM
Installed and works great!
quachvu
10-30-2005, 07:11 PM
can you add a feature that we can limit this only count threads in a specific forum or in some specific forums?
spongebobrox128
10-30-2005, 08:16 PM
Well, I could, I guess, I do not find that practical, but maybe later
murrtex
10-31-2005, 02:03 AM
uhhmm..i think there is a bug..
i have a new user..and he posted only 3 messages bu thread count is =418 ???
is it stange..
but in showtread page is normal pm page is wrong..actually it is not important..
Pramodinfo
11-01-2005, 01:15 PM
Thanks ! *Clicks Install*
e DoGG 4 sHo
11-25-2005, 09:50 PM
can you add a feature that we can limit this only count threads in a specific forum or in some specific forums?
I would like to do this as well. as I have forums that I am trying to keep track of and the other forums is not necessary to keep track of the threads started.
chimaira
12-11-2005, 10:30 PM
Anyway where i can link the thread rate to display the threads hes posted?
Snatch
12-19-2005, 12:41 PM
Is it possible to make the thread count clickable with a link to the users threads ?
GreeTz
Snatch
chimaira
12-19-2005, 10:21 PM
Yeah exactly what im after snatch..
Lea Verou
12-19-2005, 10:26 PM
Try $vboptions[bburl]/search.php?do=process&showposts=0&starteronly=1&exactname=1&searchuser=$post[username]
as the link ;)
chimaira
12-19-2005, 10:54 PM
Where abouts shall that code be placed?
Lea Verou
12-19-2005, 10:56 PM
In the postbit template. It only needs basic HTML knowledge that every site admin should have ;)
chimaira
12-19-2005, 11:07 PM
Well i dont get where to place it in "postbit"
Sorry but its late at night.. brain isnt functioning properly.. o infact no point blaming the time.. Its me being dumb ;)
Does that line of code go underneath <div>Threads: $post[threads]</div>, or in <div> tags? or am i completely off the mark here lol.
Lea Verou
12-19-2005, 11:12 PM
you should enclose $post[threads] with the link tags to make the thread number clickable...
chimaira
12-19-2005, 11:22 PM
Hah something as easy as that... im ashamed for not knowing ;) thanks for the help.
Lea Verou
12-19-2005, 11:24 PM
Anytime :)
Tell me if it works :)
chimaira
12-19-2005, 11:26 PM
Yeh worked a treat
Essam
04-13-2006, 11:38 AM
i notice that the pluge dosnt work in pm page
its shows my thread count , not the other user thread count .. !
in thread .. post : 1 / thread : 1
45598
in pm .. post : 1 / thread : 3 ?:confused:
45597
Boofo
05-07-2006, 10:18 PM
Just a heads up here, this will add a query for each post on the page. ;)
Gio Takahashi
05-16-2006, 02:35 PM
Thanks a bunch.
Just a heads up here, this will add a query for each post on the page.
O.o Holy crap! That would be a MASSIVe loads of query for users who uses 50 or 100 posts per page!
If that's the case, then this really should be addressed, is there a better way to handle this?
ingpanda
11-01-2006, 02:40 AM
i notice that the pluge dosnt work in pm page
its shows my thread count , not the other user thread count .. !
in thread .. post : 1 / thread : 1
45598
in pm .. post : 1 / thread : 3 ?:confused:
45597
I too
fishhub
08-07-2007, 06:26 PM
not work property in pm
yeah, same here too! could someone assist to make it work in PMs?TIA
stabmyback
08-27-2007, 10:34 PM
Well, at least I'm not the only one who can't get it to work in PMs...And I was wondering why a new member suddenly had 30 threads. lol.
Anyway, can it be fixed to work in PMs? That'd be great.
fishhub
09-01-2007, 01:52 PM
Well, at least I'm not the only one who can't get it to work in PMs...And I was wondering why a new member suddenly had 30 threads. lol.
Anyway, can it be fixed to work in PMs? That'd be great.
yes, anyone can help us fix the pms?
fishhub
02-03-2008, 03:41 PM
yes, anyone can help us fix the pms?
anyone????:o
DieselMinded
08-15-2009, 03:32 AM
update?
medicalforums
10-18-2009, 05:30 AM
It works great on 3.8.3
RedHacker
02-18-2010, 10:49 AM
How can work this in version 4 ...?
ArchAngelz
05-20-2010, 04:36 AM
Does anyone know if this can work in vb4?
ArchAngelz
05-20-2010, 05:39 AM
Just tested, does not work in vb4. Would anyone be kind enough to help update it?
Tivar
10-25-2010, 10:43 PM
For v4.7:
- Upload and activate Plugin
- Templates -> Postbit -> postbit_legacy
Find:
<dt>{vb:rawphrase 'posts'}</dt> <dd>{vb:raw post.posts}</dd>
Add before/after:
<dt>Threads</dt> <dd>{vb:raw post.threads}</dd>
instead of Threads use what you want
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.