Quote:
Originally Posted by why-not
Hi
what file are you talking about! ( the one that contains the email code)
Are you using these!
Code:
$bbuserinfo['field20'];
$bbuserinfo['field21'];
Sonia
|
thanks but it didn't work
here's what i want to do:
In vb admin there is the ability to email users in the users dropdown. We use that all the time, and it works great!
Some variables are allowed automatically such as $username so I can make an email like
hello $username
this is a test email
that would output the right username for that particular email.
I want to extend it to grab information from other tables like the "userfield" table from vb to be able to input the firstname lastname into the email instead of the username.
obviously if vb would have stored these custom fields in the same table it would be a cakewalk and allready built in, but since the data i want resides in another table entirelly it's not built in.....
I hope this makes more sense and thanks for the help.
When I tried your idea it just output the $bbuserinfo['field20'] in the email that was sent and made no attempt to parse that into the field20 which is in our setup the first name of the member.
I am guessing that the file I have to modify is in /admincp/email.php in order to give it the logic to look at another table.. just not sure is all, nor what to change