The Arcive of vBulletin Modifications Site. |
|
Adding E-Mail & PM Buttons To Member.php Details »»
|
|||||||||||||||||||||||||
I would like to include the vBulletin e-mail and pm buttons (normally found in the postbit) in the member profile pages, aka member.php. I've tried, but I don't seem to understand the templates well enough to make this work.
I've been successful with ICQ, Yahoo and AIM buttons, but adding the e-mail button escapes me. Thanks in advance! Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
It's already there, you just need to change these templates: getinfo and getinfo_sendpm.
|
|
#3
|
||||
|
||||
|
Chen,
Thanks for the fast reply, but can you be more specific? I'm familiar with the tempaltes used, but I don't see how to add the buttons. I know I could do a hard link to them, but what if the user has disabled PM, wouldn't the button show up anyway? |
|
#4
|
||||
|
||||
|
Just replace the text links in the templates I gave you with buttons. getinfo_sendpm will only show up if the user has enabled PM's.
|
|
#5
|
||||
|
||||
|
Chen,
Ok, thanks to you, I have those two buttons in place. Now I just have one more to go and I'm all done! I installed a small MSN hack [link] and it's working just fine in the postbit [link] by using the following call $ post[msn], however I can't seem to get it to work in the getinfo template. I simply don't understand the $ variables I would guess. The name of the custom template that I'm trying to call is "msnicon," but as stated above the variable used in the postbit is $ post[msn].Can you point a lost newbie in the right direction? |
|
#6
|
||||
|
||||
|
You basically need to follow the same steps but in member.php and not functions.php...
|
|
#7
|
||||
|
||||
|
Ahhh, so it can only happen via a hack. Ok, thanks for clearing this up for me Chen. You've been a BIG help today!
|
|
#8
|
||||
|
||||
|
Worked like a charm Chen. Thanks again!
|
![]() |
|
|