PDA

View Full Version : How do I add a small icon next to group name in post.


SouthEastSxS
08 Jul 2010, 18:03
Hi all,

How can I add an image next to a users user group under their screen name when they makes a post.

i.e. Premium Supporting member and then a little money ico next to that group name to shaow they have paid to become a supporting member?

Thanks in adavnce.

BirdOPrey5
11 Jul 2010, 00:29
First you'd have to put Premium supporting members into their own usergroup.

Then in the postbit or postbit_legacy template you'd make a conditional (if) statement:
If poster is a member of Premium usergroup
<img> tag pointing to your graphic
else
nothing

You can search in the articles section for how to write out these conditionals in vb's 'language' but this isn't really a 'design and graphics' question at this point.

SouthEastSxS
15 Jul 2010, 02:49
Humm interesting, ok thanks for the info, I have no idea how to wrote conditions or even what to do with them. I will do some searches to see what I can come up with.

Thanks for you help.