View Full Version : How to show number of threads
RedHacker
10-17-2009, 07:08 PM
How to show number of threads in postbit legacy....?
Lynne
10-17-2009, 07:44 PM
You would have to add something to the query to count all the threads the user has made and then use that count variable in the postbit since vb doesn't keep tracker of threadcounts like it does postcounts. It's probably better to create a new field called threadcounts and populate it whenever a user makes a new thread. That would take a little bit of effort though.
Have you done a search for a mod?
RedHacker
10-17-2009, 07:52 PM
Yes but i cant find nothing.... I will show etg posts
Lynne
10-17-2009, 07:58 PM
Try a search on "count*" in "all mods" "titles only" and you should find something.
RedHacker
10-17-2009, 08:00 PM
Maybe it is install or creae not simple....
DeanLag
10-17-2009, 08:06 PM
The query is "SELECT *
FROM `thread`
WHERE `postuserid` =XX"
--------------- Added 1255814205 at 1255814205 ---------------
Try this. Its 3.5 but sometimes they work :)
https://vborg.vbsupport.ru/showthread.php?t=99603&highlight=thread+count
RedHacker
10-17-2009, 09:03 PM
Thanks DeanLag it is worked for 3.8.1
RedHacker
10-22-2009, 08:31 AM
It is possible to add and numbers of friends....?
DeanLag
10-22-2009, 12:07 PM
<div class="smallfont">Number of friends: $post[friendcount]</div>
RedHacker
10-22-2009, 04:17 PM
Thanks and i change name in other language gone to the phrases?
DeanLag
10-22-2009, 04:20 PM
Theres no phrases involved, so just change the "Number of friends" to whatever it is in your language =p
RedHacker
10-22-2009, 04:22 PM
Thanks again DeanLag
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.