The Arcive of vBulletin Modifications Site. |
|
"Find latest started threads" in postbit_legacy Details »»
|
|||||||||||||||||||||||||||||
|
"Find latest started threads" in postbit_legacy
Developer Last Online: Dec 2014
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>
Screenshots
Show Your Support
|
|||||||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
How do you get the numbers to replace the words, ie the number of threads like the number of posts?
|
|
#3
|
||||
|
||||
|
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>
|
| Благодарность от: | ||
| stevieb | ||
|
#4
|
|||
|
|||
|
Quote:
Code:
{vb:raw post.threads}
|
|
#5
|
|||
|
|||
|
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>
|
|
#6
|
|||
|
|||
|
Quote:
Thank you. |
|
#7
|
|||
|
|||
|
Quote:
|
| Благодарность от: | ||
| stevieb | ||
![]() |
|
|