MyBB Community Forums

Full Version: Show Country - Supports Images
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Since my last plugin was such a crap idea I decided to TRY and make a plugin that represents what country you're from in the postbit area, I've got it working just need to make it user friendly.

Preview: http://setupwith.us/showthread.php?tid=56
But instead of installing/making a plugin, you can do this with Location custom profile field.
Really, I know but I mean it shows images of the country on their postbit, a little extra add on.
(2011-06-01, 11:35 PM)Laughynose Wrote: [ -> ]Really, I know but I mean it shows images of the country on their postbit, a little extra add on.

You can do that manually, for example, instead of:
Country: {$post['fid5']}

You use:
<img src="{$post['fid5']}" alt="" title"{$post['fid5']}" />

Anyways, sometime plugins are easy for beginners :p
Well at the moment I'm trying to get use to all the language and making plugins I'll use the most, if users like them and want to download that'll be great but if not, oh well Smile

Oh and I forgot to mention it'll give the user the ability to change VIA usercp.
(2011-06-01, 11:42 PM)Laughynose Wrote: [ -> ]Oh and I forgot to mention it'll give the user the ability to change VIA usercp.

With Custom Profile Field, users are still allowed to Edit their Location in UserCP > Edit Profile
Yes, but I'm not talking about text, I'm talking about editing the image located for them, a bit like editing their avatar.
(2011-06-01, 11:39 PM)Sama34 Wrote: [ -> ]You use:
<img src="{$post['fid5']}" alt="" title"{$post['fid5']}" />

^ This'll give a Flag image to the users of corresponding country. So with CPF you can achieve what you want.
OH right, thanks.