The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Need help with userfield
We moderate our user sign ups and send out an email to them letting them know their username has been excepted or rejected.
In the email that is sent out with a rejection I want to add in userfield[field15] into the email. Right now it sends out $username just fine. But when I try to use $userfield[field15] or $bbuserfield[field15] nothing is sent out. What variable would I need to use in the email so that the userfield is sent out too? Thanks, Parker |
#2
|
|||
|
|||
You'll need to modify a PHP file because I'm pretty sure it can't be done with a plugin. I'vedone it before but I forget exactly what I've done.
I'll get back to you in a few minutes. Open admincp/email.php Find: PHP Code:
PHP Code:
This is untested. |
#3
|
|||
|
|||
Thanks for the help. That didn't work. Would the fact that the userfield[field15] is in a separate column than the user column in the database be a factor?
If I postbit_legacy template I use $post[field15] to post that field. Thanks, Parker |
#4
|
|||
|
|||
I'll see what's wrong and get back to you.
|
#5
|
|||
|
|||
Thanks
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|