PDA

View Full Version : Add member to IGNORE list in Postbit dropdown


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&amp;userlist=buddy&amp;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&amp;userlist=ignore&amp;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...

nymyth
09-08-2006, 07:22 PM
^^nice.....

Peace

TheBlackPoet
09-12-2006, 02:41 PM
i have two female members that fight like its no tomorrow... (fighting for my affection).. so when i saw your hack here... i jumped on it... and it works great.. so now they can put each other on ignore...
and life is good again

thepub
09-15-2006, 02:26 PM
*clapping* I installed this myself and didn't break my board at all! Thank you, it was super super easy!

daystorm
09-22-2006, 04:36 PM
Is there anyway to modify this to have it ignore a usergroup?

Quarterbore
09-22-2006, 07:46 PM
No, this uses standard vB code to handle the ignoring of member and while anything is possible with enough time, I really don't think this is close to the place anybody would want to start a mod like that....

amnesia623
09-26-2006, 06:01 AM
sweet

Lyricsmama
11-05-2006, 04:55 PM
Thanks :D

Dabbi
05-28-2008, 02:25 PM
This would be great but does anyone know if this template change would still work with 3.7?

Thanks!

Dabbi
06-01-2008, 01:05 AM
NM.. tried it in 3.7 and it seems to be working perfectly. :)

Silviu
06-02-2008, 03:37 PM
Confirmed, works as expected on 3.7.

*Clicks install*

Fungsten
06-03-2008, 05:21 PM
Confirmed, works as expected on 3.7.

*Clicks install*


And 3.7.1.