View Full Version : Profile Field in private message
NoMatt3r
08-24-2013, 08:50 PM
Hi.
I would like to add a user profile field in my private message. Like: "Hello, are you really from ['field10']?"
Is this possible?
Regards
NoMatt3r
08-28-2013, 11:38 AM
Shall i ask vbulletin support instead?
ForceHSS
08-28-2013, 12:36 PM
Do you mean you want like a message sent to each member or this default message to be part of each pm they send or get
NoMatt3r
08-28-2013, 04:04 PM
I use an addon which sends pm's to users who donated. In this message i want to show them the input of their profile field.
Like:
Hi, {username}
thank you for your support. Your Server ID is [field5].
Is it possible to show profile fields in private messages?
RickyH
08-31-2013, 08:05 AM
I would imagine it is possible, just drag and drop the code from the Postbit_Legacy template. Pretty sure it's a <vb:if condition> code. I'll try find this for you.
--------------- Added 1377940031 at 1377940031 ---------------
Found it,
<vb:if condition="$post['field5']">Thank you for your support. Your Server ID is {vb:raw post.field5}</vb:if>
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.