Quote:
Originally Posted by AndrewRich
Installed.
Would love an option to display a Twitter icon along with the Yahoo, AIM, Skype icons in member infobox next to posts.
|
Try this:
edit your postbit/postbit legacy template(s) as follows:
Find:
Code:
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]
Add After:
Code:
<!-- Twitter start -->
<if condition="$post[fieldx]"><a href="http://www.twitter.com/$post[fieldx]" alt="Go to my Twitter" target="_blank">
<img src="images/misc/twitter.gif" border="0"></a>
</if>
<! --Twitter end -->
replacing the red 'x' with your field number (same as the one you used in admincp options setting.
Upload the attached twitter.gif to your ...forums/images/misc folder Or whereever else you choose, if not the images/misc folder then change the img src in above code to point to where you did place it.
attached is a Twitter 't' gif