MyBB Community Forums

Full Version: How to put images?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I would like to insert an image as an icon for the signs of posts, joined, rep and warning, in what template can i find it and how to put it?
The template is postbit_author_user
Uhmm I am really novice but can u tell me how to put the image coz the images are not aligned well.

{$lang->postbit_posts} {$post['postnum']}<br />
{$lang->postbit_joined} {$post['userregdate']}
{$post['replink']}{$post['warninglevel']}

can u give me an example.
Where do you want the images? What do you want the images to replace? Can you post a screenshot and point out where you want the image?
Like this one:

[Image: likethesezr7.png]
You'll need to change the following templates:
postbit_author_user:
<img src="images/post_icon.gif" /> {$lang->postbit_posts} {$post['postnum']}<br />
<img src="images/post_join.gif" /> {$lang->postbit_joined} {$post['userregdate']}
{$post['replink']}{$post['warninglevel']}
postbit_warninglevel:
<br /><img src="images/post_warning.gif" /> {$lang->postbit_warning_level} <a href="{$warning_link}">{$warning_level}</a>
postbit_reputation:
<br /><img src="images/post_rep.gif" /> {$lang->postbit_reputation} {$post['userreputation']}
Of course you'll need to change the image filenames to whatever you have.
Thanks Mr. DenisTT