MyBB Community Forums

Full Version: Custom icons for Members
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
I tried to register on that site to take a closer look but seems they've got it locked down pretty tight, waiting for mod to activate my account still..

My guess at this point from what I CAN tell is that they've done the very same thing we suggested to do, You could start by only creating a few groups that you know your users will want, ie: Alabama, GA, Auburn (ugh, hurts to type that) and possibly a few others. If users request additional groups add them as needed. Then just put a sticky with instructions for them to join the group of their choosing, you can chose to allow or disallow freely joining the groups or require a mod to approve.


Also, there might be some plugin that provides this function or something close, I don't use very many plugins and don't really look at what's available too often, I'd suggest spending a bit of time looking through what's available and seeing if there is something in there you can make work.
Yay!I am getting somewhere

http://bamajunkee.com/User-tntide

The only problem is that it is a secondary group and not primary group.... I am going to work on this and if I can find a way to do this I will make up a nice well written toutorial on how to do this for other mybb members.

thanks for your help!
Have you considered doing this as a custom profile field? You can then show that on postbit and PROBABLY use it in the status plugin as well.
Hi,

Yes I tried it in the custom profile but it appears that I cannot add html (the image) to the filed Sad

Thanks!
Well, the flags in profile works pretty much the same way - you have to kid it a bit. You get your user to select a team, and then you link to the post['fid'] using that as part of an image string, so, example:

I choose the Packers as my team (sorry) and in the postbit the link is an image called Packers, but you cheat and do it like this:

<img src="http://www.mysite/forum/images/Packers.jpg" /> but instead of having Packers.jpg I have the value of the post fid:

<img src="http://www.mysite/forum/images/{$post['fid1']}.jpg" /> and I have an image called Packers.jpg.

Like that.
Wow.. this sounds like exactly what I need...

Are you talking about this plugin?

http://mods.mybb.com/view/hm-my-country-flags

If so, I do not think this works with 1.6.8 - I installed the plugin to test out and it installed correctly, but it is not showing up anywhere in the settings section

thanks for your help!
You don't actually need that plugin - you can just make a custom profile field, then edit in the postbit as said.

<img src="http://www.mysite.com/forum/images/{$post['fid1']}.jpg" />

where the fid number is the number of your custom profilefield. If you do it this way then you won't get loads of queries (which is what that plugin causes) but it is structured the same way.

If you put a couple of small icons with appropriate names in the images folder I can probably do it for you (with an admin log on)
i think i might have this!! this is awesome.. workingon it right now.. will let you know

thank you very much!! for real, thank you for your help!
Ok, if you get stuck just reply and I will try and make it a bit clearer for you.
Thank you all for your help..I am getting there!

Would this be an issue adding this to User Profile
Last Post in the Index
Forum Display Author?

I have added <img src="/images/teams/{$post['fid8']}.gif" /> ti these templates but the image is broek in all of them...

Any suggestions?

Thanks again for everybody's help!
Pages: 1 2 3