Quarterbore
09-07-2006, 10:00 PM
This simple modification will add a link to "Add MEMBERNAME to Your Ignore List" to the dropdown menu when a member clicks a members name. Note, I did not phrase this as at this point it was not important for me to do so...
Note, there are TWO templates that should be changed as follows:
OPEN postbit and postbit_legacy templates:
Find:
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
Above Add:
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=ignore&u=$post[userid]"><phrase 1="$post[username]">Add $post[username] to Your Ignore List</phrase></a></td></tr>
</if>
I know this is a simple mod but it has saved me a lot of grief so I figure others might like it too...
Note, there are TWO templates that should be changed as follows:
OPEN postbit and postbit_legacy templates:
Find:
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$post[userid]"><phrase 1="$post[username]">$vbphrase[add_x_to_buddy_list]</phrase></a></td></tr>
</if>
Above Add:
<if condition="$post['userid'] AND $show['member']">
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=addlist&userlist=ignore&u=$post[userid]"><phrase 1="$post[username]">Add $post[username] to Your Ignore List</phrase></a></td></tr>
</if>
I know this is a simple mod but it has saved me a lot of grief so I figure others might like it too...