MyBB Community Forums

Full Version: Postbit image
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
We just had a member pass away, and I'd like to place an image in his postbit "In Memroium" type thing. He was well-liked so there will be times when someone is going to make a post to him if I don't have something in his postbit letting members know who have been away, and also new members down the line. None of us want to have to explain everytime that happens you get it I am sure . . .

Anyway what the best way to do this? Create a new user group then insert the iamge in the postbit template? Thanks.
Use Template conditional plugin, and insert the following code in postbit_author_user template;
<if $post['uid'] == "X" then>
<img src="IMAGE GOES HERE" alt="" title="">
</if>
Replace X with UserID of that user.
(2012-03-09, 03:02 PM)Yaldaram Wrote: [ -> ]Use Template conditional plugin, and insert the following code in postbit_author_user template;
<if $post['uid'] == "X" then>
<img src="IMAGE GOES HERE" alt="" title="">
</if>
Replace X with UserID of that user.

I am a premium member at your site Yal, is the Template Conditional Plugin at your site?
Edit : not seen above responses ... template conditionals link

Ran the link you gave goes to PHP in Templates / Complex Templates.

Yal the plugin at the link you gave downloaded but does not seem to have anything in it and is not working when I upload to acp.
(2012-03-09, 03:33 PM)K e v i n Wrote: [ -> ]Ran the link you gave goes to PHP in Templates / Complex Templates.

Yal the plugin at the link you gave downloaded but does not seem to have anything in it and is not working when I upload to acp.

the plugin appears to do nothing but if you add the code above to the correct template it will work
Ranjani to the rescue - she worked her magic for me again. Thank you Ranjani.