The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
Add Pm Button, Find Post By User Button, And User To Contacts Button, To Postbit Details »» | |||||||||||||||||||||||||||
Add Pm Button, Find Post By User Button, And User To Contacts Button, To Postbit
Developer Last Online: Mar 2012
This code does what it says on the tin - it will add a PM Button, Find Post By User Button and Add user to Contacts Button, to your postbit( to the left of your reply/ quote buttons) All you have to do is upload 3 attached images to your forum images folder and insert some code, easy as that . OPEN POSTBIT LEGACY TEMPLATE AND FIND : Code:
<!-- controls --> Code:
<span style="float:left"> <a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" rel="nofollow"><img class="inlineimg" src="http://www.yoursite.co.uk/forums/images/pm.gif" alt="Send a private message to $post[username]" border="0" /></a> <a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"<img class="inlineimg" src="http://www.yoursite.co.uk/forums/images/find.gif" alt="Find more posts by $post[username]" border="0" /></a> <a href="profile.php?$session[sessionurl]do=addlist&userlist=friend&u=$post[userid]"><img class="inlineimg" src="http://www.yoursite.co.uk/forums/images/add_contact.gif" alt="Add $post[username] to Your Contacts" border="0" /></a> </span> when you are done the control section of code within your post bit legacy should look something like this : Code:
<!-- controls --> <span style="float:left"> <a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" rel="nofollow"><img class="inlineimg" src="http://www.yoursite.co.uk/forums/images/pm.gif" alt="Send a private message to $post[username]" border="0" /></a> <a href="search.php?$session[sessionurl]do=finduser&u=$post[userid]" rel="nofollow"<img class="inlineimg" src="http://www.yoursite.co.uk/forums/images/find.gif" alt="Find more posts by $post[username]" border="0" /></a> <a href="profile.php?$session[sessionurl]do=addlist&userlist=friend&u=$post[userid]"><img class="inlineimg" src="http://www.yoursite.co.uk/forums/images/add_contact.gif" alt="Add $post[username] to Your Contacts" border="0" /></a> </span> <if condition="$post['editlink']"><td> <img style="display: none" id="progress_$postid" src="$stylevar[imgdir_misc]/progress.gif" alt="$vbphrase[loading_editor_please_wait]" /> <a href="$post[editlink]" name="vB::QuickEdit::$post[postid]"><img src="$stylevar[imgdir_button]/edit.gif" alt="$vbphrase[edit_delete_message]" border="0" /></a> </td></if> <if condition="$post['forwardlink']"><td> <a href="$post[forwardlink]"><img src="$stylevar[imgdir_button]/forward.gif" alt="$vbphrase[forward_message]" border="0" /></a> </td></if> <if condition="$post['replylink']"><td> <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> </td></if> <if condition="$show['multiquote_post']"><td> <a href="$post[replylink]" rel="nofollow" onclick="return false"><img src="$stylevar[imgdir_button]/multiquote_<if condition="$show['multiquote_selected']">on<else />off</if>.gif" alt="$vbphrase[multi_quote_this_message]" border="0" id="mq_$post[postid]" /></a> </td></if> <if condition="$show['quickreply'] AND !$show['threadedmode']"><td> <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> </td></if> <td>$template_hook[postbit_controls]</td> <td><img src="$stylevar[titleimage]/bb_right.gif" /></td> </tr></table> <if condition="$show['moderated']"> <img src="$stylevar[imgdir_misc]/moderated.gif" alt="$vbphrase[moderated_post]" border="0" /> </if> <if condition="$show['spam']"> <img src="$stylevar[imgdir_misc]/spam_detected.png" alt="$vbphrase[spam_post]" border="0" /> </if> <if condition="$show['deletedpost']"> <if condition="$show['managepost']"> <a href="postings.php?$session[sessionurl]do=managepost&p=$post[postid]"><img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[manage]" border="0" /></a> <else /> <img src="$stylevar[imgdir_misc]/trashcan.gif" alt="$vbphrase[deleted_post]" border="0" /> </if> </if> <if condition="$show['redcard']"> <a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/redcard.gif" alt="$vbphrase[received_infraction]" border="0" /></a> <else /> <if condition="$show['yellowcard']"> <a href="infraction.php?$session[sessionurl]do=view&p=$post[postid]"><img src="$stylevar[imgdir_button]/yellowcard.gif" alt="$vbphrase[received_warning]" border="0" /></a> </if> </if> <!-- / controls --> SCREN : P.S I AM NOT A GREAT CODER AND I AM SURE SOMEONE COULD CLEAN UP THE CODE A LITTLE, BUT IT DOES WORK :-) Supporters / CoAuthors Show Your Support
|
Comments |
#2
|
||||
|
||||
What's the different from this hack MyBB Style Postbit
|
#3
|
|||
|
|||
apparently not much LOL, sorry didnt know this was availible, i spent some time trying to get this to work aswell, oh well shit happens LOL its there if anyone wants it
|
#4
|
|||
|
|||
Quote:
I used this in 3.8.1 and it works just fine. Still tweaking my postbit layout before I officially launch my site. Thanks! |
#5
|
||||
|
||||
I used a combo of both of them ..thanks to both of you guys.
|
#6
|
|||
|
|||
Im Glad it went to some use, thanks guy's :-)
|
#7
|
|||
|
|||
Shouldn't this be placed in the forum vBulletin 3.7 Template Modifications ?
|
#8
|
||||
|
||||
tagged this modification and i need some other buttons like:
Adding someone into the ignore list Forwarding guests to the profile of the user |
#9
|
|||
|
|||
|
#10
|
||||
|
||||
Reserved.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|