The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with vbmail function
I am trying to edit the 'email' field to change it to a second alternate e-mail address made up of field5@field6. Anyone have any ideas? This line of code is what I am interested in modifying: vbmail($subscription['email'], $subject, $message);
PHP Code:
|
#2
|
||||
|
||||
Just change it? I don't see what the real problem is here. Unless you are talking about using plugins - but that's not possible as there are no hook locations there.
|
#3
|
|||
|
|||
Should it be vbmail($subscription[$field5@$field6], $subject, $message);
OR vbmail($subscription['field5@field6'], $subject, $message); Do I need the dollar signs? Do I need the 's? Is it going to be a problem that I am calling data in vB from vB Dynamics? |
#4
|
||||
|
||||
Custom profile fields are not fetched in that query. You can just add a join to do that (see the existing join).
|
#5
|
|||
|
|||
OK I took another route for some other features, but I am still stuck because I suck at JOIN. Here is the file or plugin I found and added, but now I need to find out how to add the "cellemail" field to the $subscriptions table so I can change the $subscription['email'] to $subscription['cellemail']. Here is spot where I think I need to pull the code for SMS 1.2 I loaded from.
PHP Code:
PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|