The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
How can I include a field from the thread starter's profile in the new thread email (The email sent to the "Email Addresses to Notify When there is a New Thread")
We require a couple of custom user profile fields to be completed by the thread starter for threads in certain forums. I would like to include those in a the "thread started email" (which goes to mods on my forum) so that the mods can delete the thread if those fields are not completed. Thanks |
#2
|
|||
|
|||
![]()
Maybe try $bbuserinfo[fieldX] (where X is the field number of course).
|
#3
|
|||
|
|||
![]()
Can anyone tell me what script generates the new thread email when that option is set for a forum? I believe I need to add the profile field to the query in that spot.
|
#4
|
|||
|
|||
![]()
I believe it's sent from function email_moderators() in includes/class_dm_threadpost.php. I guess you're finding that $bbuserinfo doesn't have that field at that point?
|
#5
|
|||
|
|||
![]()
This was way simpler than I anticipated. $bbuserinfo does have the fields.
I just added the following to the email body phrase 'moderator' $bbuserinfo[field5] $bbuserinfo[field2] |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|