alfex68
03-12-2009, 11:13 PM
Hello all,
I've made a custom page that uses this piece of code:
eval(fetch_email_phrases('yourimage'));
vbmail($vbulletin->GPC['sendtoemail'], $subject, ($message = construct_phrase($vbphrase[message], $albuminfo[albumid], $pictureinfo[pictureid)), $vbulletin->GPC['name'], $vbulletin->GPC['email']);
($hook = vBulletinHook::fetch_hook('sendmessage_dosendtofri end_complete')) ? eval($hook) : false;
Here is the phrase:
Your image url $vboptions[bburl]/album.php?albumid=${1}&pictureid=${2}
I have it working...I just can't get the message body to take the variables into the phrase
I even remembered to take out the single quotes.
I'm pretty sure my syntax in regards to $message is wrong
Any suggestions and/or insight?
I've made a custom page that uses this piece of code:
eval(fetch_email_phrases('yourimage'));
vbmail($vbulletin->GPC['sendtoemail'], $subject, ($message = construct_phrase($vbphrase[message], $albuminfo[albumid], $pictureinfo[pictureid)), $vbulletin->GPC['name'], $vbulletin->GPC['email']);
($hook = vBulletinHook::fetch_hook('sendmessage_dosendtofri end_complete')) ? eval($hook) : false;
Here is the phrase:
Your image url $vboptions[bburl]/album.php?albumid=${1}&pictureid=${2}
I have it working...I just can't get the message body to take the variables into the phrase
I even remembered to take out the single quotes.
I'm pretty sure my syntax in regards to $message is wrong
Any suggestions and/or insight?