![]() |
Funboy, 3.6.4 is a slightly different.
Find this: Code:
<div style="margin-top: 10px" align="$stylevar[right]"> Code:
<if condition="$post[userid] != $bbuserinfo[userid] AND THIS_SCRIPT!='private'"><if condition="$show['pmlink'] AND $show[member]"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" target="_blank" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="sendpm.gif" title="<phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if></if> |
What would I need to do to add page along side pm, for those of use with vbpager?
|
I put it in postnit_legacy after <if condition="$show['reportlink']"> to show the button near user name
|
Very nice! Thanx for the share!
Jacquii. |
Ok i Can't even make it work, what is going on? I edited the Post Bit since that is where i found the code
|
For some reason i couldnt make it work in the postbit legacy template, but it worked fine in the postbit template. If one doesnt work for you try the other, there is a <!-- controls --> in both templates.
|
Thanks, worked great :)
|
Great & thanks for this nice mod....work fine to my vB 3.6.5 ;)
|
Will this auto update for each template (the button) or is it generic?
|
Worked like a charm! Had to do some searching, as there was more than one <!-- controls --> in the postbit legacy. :)
|
Do I add the new code below this? Thanks!
Quote:
|
Very nice Kerry-Anne.... :up:
Installed on v3.6.7 .. Thank you... :) Regards, Badger |
installed thanks!
|
Thanks for the hack, this is what I'm using;
HTML Code:
<if condition="$post[userid] != $bbuserinfo[userid]"> HTML Code:
<if condition="!$post['forwardlink']"> Thanks, Mat |
Installed, neato.
|
Great addon, thanx :)
|
Works well, thanks!
|
Works great! If anyone wants the send PM button to not open in a new window, remove a short line of code.
Remove this line of code: Code:
target="_blank" rel="nofollow" The new code should look like this: Code:
<if condition="$post[userid] != $bbuserinfo[userid] AND THIS_SCRIPT!='private'"><if condition="$show['pmlink'] AND $show[member]"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="sendpm.gif" title="<phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if></if> |
**Installed**
And working well on 3.6.7 :) |
In the Postbit Template, v. 3.6.8, I could find only:
Quote:
Quote:
On Edit: Also in the PB Legacy I found: Quote:
Quote:
|
Hi. I'm running 3.6.8 and I couldn't find the code required for replacement. So I couldn't install it. Sorry :o
|
I'm running 3.6.8 and just added the code under:
Quote:
|
Worked great for me! Thanks again Kerry-Anne.
|
Thanks so much... very useful..
|
I was wondering, once pm is click on that post, the link to that post will be posted also ? for that pm sent ? well that is the reason of sending pm from that post !!!
|
Quote:
https://vborg.vbsupport.ru/showthread.php?t=151163 |
INSTALLED
i couldnt find what you said to search for because i have a custom style called ARIA from vbstyles but i just added it under <td class="postbit_br" align="$stylevar[right]"> instead and it worked great.. (if you cant find what it says try looking for that) |
Thank you ;)
|
:up: Installed. Thankyou.
|
Good work!
|
Today speaking with an user of the forum tells me that she cannot see the button to send the private one from those post of the forum
As it is possible this if it is a modification of a you Template yourself :confused::confused: |
Can we put this button in only the specified forums? OR how can we do this?
|
I added this:
<if condition="$post[userid] != $bbuserinfo[userid]"><if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" target="_blank" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="sendpm.gif" title="<phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if></if> after controls, and that did it. Thank you! |
I added the above suggested language in postbit after "<!-- controls -->": (as illustrated below):
<if condition="$post[userid] != $bbuserinfo[userid]"><if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&u=$post[userid]" target="_blank" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="sendpm.gif" title="<phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if></if> :up: |
Should this modification see it all the users of the forum? alone we see it the administrators
|
Thanks For This :)
Tried And Worked Thanks |
Hi
I got this working but it opens the private message box in a new screen. Any idea how to make it open in the same window. |
Quote:
|
Quote:
HTML Code:
target="_blank" HTH, Jacquii. |
Or change it to:
HTML Code:
target="_top" |
All times are GMT. The time now is 10:12 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|