PDA

View Full Version : Changing BuddyMark and Invisible Mark


DivisionByZero
05-04-2004, 06:04 PM
I happen to think it looks ridiculous, the + for buddies and the * for invisible users, so I've made a little wee change to underline buddy names in the "online" parts, and wrap invisible people in parentheses, and here's how I did it:

In both templates, forumdisplay_loggedinuser and forumhome_loggedinuser, I replaced the original with the following:


<if condition="$loggedin[buddymark]">[</if><a href="member.php?$session[sessionurl]u=$loggedin[userid]"><if condition="$loggedin[invisiblemark]"><u></if>$loggedin[musername]<if condition="$loggedin[invisiblemark]"></u></if></a><if condition="$loggedin[buddymark]">]</if>


you get the jist of it so you can do whatever you want with it

Zachery
05-04-2004, 06:13 PM
I happen to think it looks ridiculous, the + for buddies and the * for invisible users, so I've made a little wee change to underline buddy names in the "online" parts, and wrap invisible people in parentheses, and here's how I did it:

In both templates, forumdisplay_loggedinuser and forumhome_loggedinuser, I replaced the original with the following:


<if condition="$loggedin[buddymark]">[</if><a href="member.php?$session[sessionurl]u=$loggedin[userid]"><if condition="$loggedin[invisiblemark]"><u></if>$loggedin[musername]<if condition="$loggedin[invisiblemark]"></u></if></a><if condition="$loggedin[buddymark]">]</if>


you get the jist of it so you can do whatever you want with it
This is not a hack, and does not belong at vB.org :)