The email automatically is not inserted from a database...
Send an e-card
=====
From
Your name: (automatic inserting my name)
Your email address: (my address is not inserted from a database)
=====
I use bridge to vBulletin 2.3.2 (\bridge\vbulletin.inc.php).
In database for vBulletin 2.3.2 in table "user" in field "email" my email is presented.
How to force Coppermine 1.2.0 Final to insert automatically my email into a field "Your email address:"?
=== ecard.php ===
if (!USER_ID) {
$USER['name'] = $sender_name;
$USER['email'] = $sender_email;
}
======
$USER['name'] = $sender_name; - It works correctly.
$USER['email'] = $sender_email; - It does not work. :(
$sender_name = get_post_var('sender_name', USER_ID ? USER_NAME : (isset($USER['name']) ? $USER['name'] : ''));
$sender_email = get_post_var('sender_email', USER_ID ? $USER_DATA['user_email'] : (isset($USER['email']) ? $USER['email']
$USER_DATA['user_email']
is the name of the email field different in vbulletin?