The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
{vb:raw post.threads}?
Does anybody know if such a thing exists? I'm looking to keep count of threads created by members in their postbit_legacy, but have tried a few variations and can't seem to find one that works.
|
#2
|
||||
|
||||
That statistic doesn't exist in stock vb. I think a few products add it in but I don't have links.
|
#3
|
|||
|
|||
Ack, that's really unfortunate. I think there's a few plugins that might as well. Do you know, off hand, if they'd allow for such a feed to exist? I'd like to maintain the same design structure of my postbit_legacy, and being able to just have the number generated would be fantastic.
|
#4
|
||||
|
||||
Create the following plugin:
Product: vBulletin Hook Location: postbit_display_complete Title: Get the number of threads started by a user Execution Order: 5 Plugin PHP Code: PHP Code:
Click "Save". Now, in your postbit template (whichever you use), you can use {vb:raw post.threads} to display the number of threads started by users. |
Благодарность от: | ||
Inked_Mono |
#6
|
||||
|
||||
After editing my post above, the OP reports it now works.
|
#7
|
|||
|
|||
I don't use legacy. Will this work in the normal mode?
|
#8
|
|||
|
|||
It shouldn't matter if you use postbit or postbit_legacy. The only difference between those templates is the HTML inside of it.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|