The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PM symbol in postbit
I'd love to see a private message symbol in the postbit, like there is for the vPager. In the bar next to the rep symbol, bad post symbol, etc.
|
#2
|
|||
|
|||
That's quite easy to do.
For legacy postbits, in template postbit_legacy find: Code:
$post[iplogged] Code:
<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]/pmimage.gif" alt="pmimage.gif" title="<phrase 1="$post[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if></if> This will display a PM link that opens in a new window (remove target="_blank" to make it open in the same window). It also should only show the button to members, and should not show it in your own posts as you wouldn't normally PM yourself! For standard postbits the same code can be used, and I imagine it could go in the same place, but I don't use standard postbits so I can't check. But instead of editing the template 'postbit_legacy', edit the template 'postbit'. |
#3
|
|||
|
|||
wonderful!!!! thank you Mark *kiss*
|
#4
|
||||
|
||||
Hi,
i did exactly as you explained , but it's not working. efil. |
#5
|
|||
|
|||
Quote:
|
#6
|
||||
|
||||
Quote:
|
#7
|
|||
|
|||
Quote:
|
#8
|
||||
|
||||
Ok, whatever.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|