![]() |
"Find latest started threads" in postbit_legacy
1 Attachment(s)
Why use add-ons when you can do this with a simple bit of code added to your postbit_legacy template?
Admin CP > Styles & Templates > YOUR STYLE > Edit Templates > Postbit Templates > postbit_legacy Find Code:
<dt>{vb:rawphrase posts}</dt> <dd>{vb:raw post.posts}</dd> Code:
<dt>{vb:phrase threads}:</dt> <dd><a href="search.php?{vb:raw session.sessionurl}do=finduser&userid={vb:raw post.userid}&contenttype=vBForum_Post&starteronly=1" rel='nofollow'>{vb:rawphrase find_all_started_threads}</a></dd> ==================================== If you would rather show the thread count in the postbit_legacy/postbit, use the following code: Code:
<dt>{vb:phrase threads}:</dt> <dd>{vb:raw post.threads}</dd> |
How do you get the numbers to replace the words, ie the number of threads like the number of posts?
|
Quote:
Code:
<dt>{vb:phrase threads}:</dt> <dd><a href="search.php?{vb:raw session.sessionurl}do=finduser&userid={vb:raw post.userid}&contenttype=vBForum_Post&starteronly=1" rel='nofollow'>{vb:rawphrase find_all_started_threads}</a></dd> Code:
<dt>{vb:phrase threads}:</dt> <dd>{vb:raw post.threads}</dd> |
Quote:
Code:
{vb:raw post.threads} |
I think it should be:
Code:
<dt>{vb:rawphrase threads}:</dt> <dd><a href="search.php?{vb:raw session.sessionurl}do=finduser&userid={vb:raw post.userid}&contenttype=vBForum_Post&starteronly=1" rel='nofollow'>{vb:rawphrase find_all_started_threads}</a></dd> |
Quote:
Thank you. |
Quote:
|
All times are GMT. The time now is 10:05 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|