The Arcive of vBulletin Modifications Site. |
|
Thread Starter on postbit. Details »»
|
|||||||||||||||||||||||||
I saw this on a Burning Board 2.3.3 system, but vb misses it so I make it for my board and to share it here.
Pretty simple in a mind of a coder, just one line of template condition. It won't show in the first post of the thread because, of course first poster is the thread starter. FIND IN TEMPLATES postbit: HTML Code:
<div> $vbphrase[posts]: $post[posts] </div> HTML Code:
<if condition="$thread['postuserid'] == $post['userid'] && $thread['firstpostid'] != $post['postid']"><div>$vbphrase[thread_starter] <img alt="$vbphrase[thread_starter]" src="$stylevar[imgdir_misc]/thread_starter.gif" /></div> </if> repeat the method if you want to show it on postbit_legacy, and of course you can put it anywhere you feel like in the postbit. Live Demo: http://www.holvn.org Enjoy and remember to click install ! ^^ Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
Sometimes the simplest ones are the nicest
Thanx!
|
|
#3
|
||||
|
||||
|
Wohoo thanks...
|
|
#4
|
||||
|
||||
|
Can you post this in a text file please so others can use it if they need to re-install or upgrade?
|
|
#5
|
||||
|
||||
|
Quote:
|
|
#6
|
||||
|
||||
|
mmm, how could i make this work with the post count search hack...
Code:
<div> $vbphrase[posts]: <a href="search.php?do=finduser&u=$post[userid]">$post[posts]</a> </div> |
|
#7
|
||||
|
||||
|
you can add:
HTML Code:
<div><if condition="$thread['postuserid'] == $post['userid'] && $thread['firstpostid'] != $post['postid']">$vbphrase[thread_starter] <img alt="$vbphrase[thread_starter]" src="$stylevar[imgdir_misc]/thread_starter.gif" /></if> </div> |
|
#8
|
||||
|
||||
|
Quote:
HTML Code:
<if condition="$thread['postuserid'] == $post['userid'] && $thread['firstpostid'] != $post['postid']"><div>$vbphrase[thread_starter] <img alt="$vbphrase[thread_starter]" src="$stylevar[imgdir_misc]/thread_starter.gif" /> </div></if> |
|
#9
|
||||
|
||||
|
oops, my bad.
thanks for poiting me out, hack edited. |
|
#10
|
|||
|
|||
|
Does someone knows how to place the icon over the horizontal line in the postbit_legacy template?
Template postbit_legacy Code:
<if condition="$post['title']"><strong>$post[title]</strong></if>
<if condition="$thread['postuserid'] == $post['userid'] && $thread['firstpostid'] != $post['postid']">
<div class="smallfont">
<img class="thread_starter" src="$stylevar[imgdir_misc]/thread_starter.gif" alt="Themenautor" align="$stylevar[right]" /></div>
</if>
The 1st one is the problem I have right now. The 2nd one is that what I'd like to have. Note: This pic is photoshoped!!! It should just tell you how I'd get placed the icon. Someone here who knows how to solve the problem? -Mike |
![]() |
|
|