PDA

View Full Version : help with username htmlmarkup


Galaxy
05-03-2005, 09:55 AM
I added a icon and bold name to my admins but how can I make it keep the link of the persons profile?


<a><b><img src="/images/admin.gif" alt="Employee"></a></b>


can anyone help?

kall
05-03-2005, 10:23 AM
Dude. You didn't read the Sticky thread. Baaaad.

This forum isn't for asking questions, it is for 'Full Modifications'...as per its title.

(use member.php?u=$post[userid] ... I think)

Zachery
05-03-2005, 04:06 PM
I added a icon and bold name to my admins but how can I make it keep the link of the persons profile?


<a><b><img src="/images/admin.gif" alt="Employee"></a></b>


can anyone help?
inpropper nesting and bad code altoghter.

What do you want it to show besides a small image that is bold?

ericgtr
05-03-2005, 04:31 PM
It would probably be easier to use a template conditional for this. For example you can use something like this in your postbit or postbit_legacy template, add it right under the avatar:


<if condition="is_member_of($post, 7)"> <img src="/images/admin.gif" alt="Employee" border="0" /></a>
</if>

T3MEDIA
05-03-2005, 04:34 PM
I added a icon and bold name to my admins but how can I make it keep the link of the persons profile?


<a><b><img src="/images/admin.gif" alt="Employee"></a></b>


can anyone help?Unless I am mistaken... wont the link stay in the HTML mark up if its in the first box and the end is in the second?
</a></b> in the second box is what I mean.

kall
05-03-2005, 08:42 PM
Unless I am mistaken... wont the link stay in the HTML mark up if its in the first box and the end is in the second?
</a></b> in the second box is what I mean.
Tags should be closed in the order that they were opened. That's the 'bad nesting' Zachery talks of.