MyBB Community Forums

Full Version: allow IMG code in Custom Profile Field
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
hello,
just want to know how to allow img codes like [img] or <img> in a custom profile field..

Thanks
don't you think it would be much bigger there? LOL
(2011-01-22, 01:03 PM)crazy4cs Wrote: [ -> ]don't you think it would be much bigger there? LOL
well,
i know what size of the image would fit on it.
Replace your {$post['fidX']} with the following;
<a href="http://link"><img src="{$post['fidX']}"></a>

Where X is the Custom Profile Field ID.
(2011-01-22, 01:33 PM)Yaldaram Wrote: [ -> ]Replace your {$post['fidX']} with the following;
<a href="http://link"><img src="{$post['fidX']}"></a>

Where X is the Custom Profile Field ID.

What? Lol

First of all he never mentioned that he wanted to link it and the rest , in just confused.

From the way i see it is he just wants to add an image to a specific profile field.

Use this:
<img src="image link here" />: {$post['fidX']}

(2011-01-22, 12:11 PM)Shiny Wrote: [ -> ]hello,
just want to know how to allow img codes like [img] or <img> in a custom profile field..

Thanks

He said "in" a custom profile field. And not outside the profile field. There's a difference.
do i have to edit any template to put that code?
or
all i have to do is to place the given code in a field?

because i want to make a new custom profile field where i can give my member a small badge, like Loyal Member (with a small logo which represents loyal member)

here's the example:
[Image: forumfl.png]
and the image will appear in a specific profile where you put the image.
[Image: forum1x.png]
You didn't close the tag; should be:

<img src="http://www.sample.com/loyal_member.jpg" alt="Loyal Member" />
(2011-01-23, 12:24 AM)pyridine Wrote: [ -> ]You didn't close the tag; should be:

<img src="http://www.sample.com/loyal_member.jpg" alt="Loyal Member" />

no, it is not working.
this won't display image, instead the exact code is the one appearing on the profile..
bump bump.
any one??
Pages: 1 2