![]() |
Thread Starter on postbit.
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> 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> 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 ! ^^ |
Sometimes the simplest ones are the nicest :D Thanx!
|
Wohoo thanks...
|
Can you post this in a text file please so others can use it if they need to re-install or upgrade? ;)
|
Quote:
|
mmm, how could i make this work with the post count search hack...
Code:
<div> |
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> |
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" /> |
oops, my bad.
thanks for poiting me out, hack edited. |
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> 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 |
All times are GMT. The time now is 11:43 AM. |
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:
|