The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Private Message button in postbit footer Details »» | |||||||||||||||||||||||||||||
Private Message button in postbit footer
Developer Last Online: Sep 2013
This simple mod does what is says on the tin, it adds a PM button in the postbit footer using the vBulletin 4.0.2 css convention for mouseover buttons.
Note: This mod is NOT compatible with vBulletin 4.0.1 or earlier. It could be argued that this is a little superfluous as there is a PM link in the dropdown under the members name, but that link requires a "click>>>scroll>>>click" to get to where you want to be. If your members use the PM system a lot, then they may appreciate a "one click" option. There are... 1x addition to the postbit.css template 1x addition to the posbit (or postbit_legacy) template 2x images to upload INSTRUCTIONS: 1x addition to he posbit.css template Go to.. Styles & Templates>Stlye Manager>your skin>edit templates>CSS templates>postbit.css ---------------------------------------------------------------------- Find (search for "editpost"): HTML Code:
.postbitlegacy .postfoot .textcontrols a.editpost, .postbit .postfoot .textcontrols a.editpost, .eventbit .eventfoot .textcontrols a.editevent { background: url({vb:stylevar imgdir_button}/edit_40b.png) no-repeat transparent {vb:stylevar left} ; padding-{vb:stylevar left}: 20px; } .postbitlegacy .postfoot .textcontrols a.editpost:hover, .postbit .postfoot .textcontrols a.editpost:hover, .eventbit .eventfoot .textcontrols a.editevent:hover { background: url({vb:stylevar imgdir_button}/edit_40b-hover.png) no-repeat transparent {vb:stylevar left}; padding-{vb:stylevar left}: 20px; } HTML Code:
.postbitlegacy .postfoot .textcontrols a.pminpostbit, .postbit .postfoot .textcontrols a.pminpostbit { background: url({vb:stylevar imgdir_button}/pminpostbit_40b.png) no-repeat transparent {vb:stylevar left}; padding-{vb:stylevar left}: 20px; } .postbitlegacy .postfoot .textcontrols a.pminpostbit:hover, .postbit .postfoot .textcontrols a.pminpostbit:hover { background: url({vb:stylevar imgdir_button}/pminpostbit_40b-hover.png) no-repeat transparent {vb:stylevar left}; padding-{vb:stylevar left}: 20px; } Click "save". 1x addition to the posbit (or postbit_legacy) template: Go to.. Styles & Templates>Stlye Manager>your skin>edit templates>postbit templates>postbit ---------------------------------------------------------------------- Find (search for "editpost"): HTML Code:
<vb:if condition="$post['editlink']"> <a class="editpost" href="{vb:raw post.editlink}" name="vB::QuickEdit::{vb:raw post.postid}"><img src="{vb:raw vboptions.cleargifurl}" id="editimg_{vb:raw post.postid}" alt="{vb:rawphrase edit_delete_message}" /> {vb:rawphrase edit_post}</a> <span class="seperator"> </span> </vb:if> HTML Code:
<!-- ////////start PM button in postbit////// --> <vb:if condition="$show['pmlink']"><a class='pminpostbit' href="private.php?{vb:raw session.sessionurl}do=newpm&u={vb:raw post.userid}" rel="nofollow"><img src="{vb:raw vboptions.cleargifurl}" alt="{vb:rawphrase send_pm}" />PM</a><span class="seperator"> </span></vb:if> <!-- ////////end PM button in postbit////// --> Click "save". 2x images to upload: FTP into your forum/images/buttons dir and upload these two attached images: ---------------------------------------------------------------------- pminpostbit_40b.png pminpostbit_40b-hover.png ---------------------------------------------------------------------- That's it. Download Now
Show Your Support
|
Comments |
#12
|
||||
|
||||
No worries.
|
#13
|
|||
|
|||
Great mod. Thanks.
|
#14
|
||||
|
||||
Great thanks!
|
#15
|
|||
|
|||
Did not work on 4.0.3!
|
#16
|
||||
|
||||
Worked perfectly on my 4.0.3.
Thanks trilOByte :up: |
#17
|
|||
|
|||
Thanks and for the To the Top. Our users really like these.
|
#18
|
|||
|
|||
hello mate,
thanks for this nice hack but i have one problem after adding my reply with quote button coming under others button.please check it. http://i48.tinypic.com/2l95n3l.gif thanks for this awesome code.looking forward to you as i am new in vb4. |
#19
|
||||
|
||||
One of two things, either you have a modified postbit template, or you have pasted the code into the wrong place - I think the latter.
Where I say "find in postbit" you need to find the whole block of code.... Quote:
You need to be very exact where you put the code. If you paste your postbit template here, I'll take a look at it. Or.... you are using a fixed width postbit_legacy template that is too small for all the buttons and forces them to wrap onto a new line. |
#20
|
|||
|
|||
Nice one, already made this here. Thanks.
|
#21
|
||||
|
||||
what do I have to add so when you mouse over it will say send pm to the user
thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|