The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Ignore button inside the post$post[postid]
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 |
#2
|
||||
|
||||
PHP Code:
Change https://vborg.vbsupport.ru to your $bburl if it parses the code in that box above btw - mist |
#3
|
|||
|
|||
Hi Mist,
Can you make this more clear, perhaps tell me which template to add this hack, and which line? regards |
#4
|
|||
|
|||
bump, I need this also
|
#5
|
||||
|
||||
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: Code:
<!-- controls --> <if condition="$post['userid'] AND $show['member'] AND $post['userid'] != $bbuserinfo['userid']"> <a href="profile.php?$session[sessionurl]do=addlist&userlist=ignore&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 --> Code:
<!-- ignore --> <if condition="$post['userid'] AND $show['member'] AND $post['userid'] != $bbuserinfo['userid']"> <a href="profile.php?$session[sessionurl]do=addlist&userlist=ignore&u=$post[userid]"><img src="$stylevar[imgdir_button]/ignore.gif" alt="Ignore $post[username]" border="0"></a> </if> <!-- / ignore --> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|