PDA

View Full Version : Properly coding a hyperlink to show usergroup markup


Maddog417
06-28-2007, 03:54 PM
I have added an 'Author' column to one of my forumhome template and it seems to be working okay. The column should display a link to the author of the latest reply. The only problem is that I can't get it to use the html markup for the author's primary usergroup.

Here is the code I am currently using:

<td class="alt2" nowrap="nowrap"><div align="$stylevar[left]"><strong><a href="member.php?$session[sessionurl]find=lastposter&amp;f=$lastpostinfo[forumid]">$lastpostinfo[lastposter]</a></strong></div></td>

Any suggestions on how I can alter that to show the usergroup markup?

Antivirus
06-29-2007, 03:11 PM
Try looking for the code or class used for marking up the username in the postbit template and use the same in your template