The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I would like to show how many threads a user has created in some subforums - shown in postbit.
Any existing mod can accomplish this? |
|
#2
|
||||
|
||||
|
Have you tried searching for one yet? search "postbit" in "all mods" "titles only" and you should find one.
|
|
#3
|
|||
|
|||
|
Yes, there is a mod showing number of threads in postbit: https://vborg.vbsupport.ru/showthrea...hlight=threads
but it dosent show for a specific forum, the query Quote:
- collects data from thread table, which dosent have forumid - so the query has to be ran against another table. Perhaps someone can help here ? |
|
#4
|
||||
|
||||
|
Just add to the WHERE part "AND forumid = x"
|
|
#5
|
|||
|
|||
|
Hey, you are right, will try that one, thanks mate!
|
|
#6
|
||||
|
||||
|
Yea, I definitely hope that isn't a query per post though, that would be beyond unnecessary and your server wouldn't appreciate it.
The proper way to do this would be to create a new column in the user table and +1 it when a thread is created. |
|
#7
|
||||
|
||||
|
Quote:
|
|
#8
|
||||
|
||||
|
Thank god, because I don't know who would answer you if you ever had a question
|
|
#9
|
||||
|
||||
|
Hehe. Unfortunately, I got no answer to the last help thread I created.
Or rather, I finally got an answer, but no resolution to the problem. lol (I usually try everything I can think of before asking for help.)
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|