Log in

View Full Version : Ignore button inside the post$post[postid]


Sapphire
01-23-2003, 11:38 PM
Hi,

I'm trying to add an ignore link within my forum, but I am hoping to get it added inside the post ID section of the users info box, does anyone know if theres a hack for this?

Thanx

Dean C
01-24-2003, 03:18 PM
$bburls=&action=addlist&userlist=ignore&userid=$post[userid]


That's the link you want :)

Change https://vborg.vbsupport.ru to your $bburl if it parses the code in that box above btw :)

- mist

Sapphire
01-24-2003, 03:29 PM
Hi Mist,

Can you make this more clear, perhaps tell me which template to add this hack, and which line?

regards

arurcard
04-20-2005, 08:21 PM
bump, I need this also

libertylounge
07-23-2006, 05:07 AM
Can someone explain this in a little further detail, please?

Nevermind. I found the information on the vbulletin.com forums thanks to their staff.

Admin CP -> Styles & Templates -> Style Manager -> ? ? -> Postbit Templates -> postbit or postbit_legacy (depending on which layout you are using)

Using the postbit_legacy template for example, add the green code:


<!-- controls -->
<if condition="$post['userid'] AND $show['member'] AND $post['userid'] != $bbuserinfo['userid']">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$post[userid]">Ignore $post[username]</a>
</if>
<if condition="$post['editlink']">
<a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a>
</if>
<if condition="$post['forwardlink']">
<a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a>
</if>
<if condition="$post['replylink']">
<a href="$post[replylink]" rel="nofollow"><img src="$stylevar[imgdir_button]/<if condition="$post['forwardlink']">reply_small<else />quote</if>.gif" alt="$vbphrase[reply_with_quote]" border="0" /></a>
</if>
<if condition="$show['quickreply'] AND !$show['threadedmode']">
<a href="$post[replylink]" rel="nofollow" id="qr_$post[postid]" onclick="return false"><img src="$stylevar[imgdir_button]/quickreply.gif" alt="$vbphrase[quick_reply_to_this_message]" border="0" /></a>
</if>
<if condition="$show['moderated']">
<img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" />
</if>
<!-- / controls -->


If you want to use an image, the following should be used instead:


<!-- ignore -->
<if condition="$post['userid'] AND $show['member'] AND $post['userid'] != $bbuserinfo['userid']">
<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$post[userid]"><img src="$stylevar[imgdir_button]/ignore.gif" alt="Ignore $post[username]" border="0"></a>
</if>
<!-- / ignore -->