The email automatically is not inserted from a database... The email automatically is not inserted from a database...
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

The email automatically is not inserted from a database...

Started by Ivan, December 06, 2003, 05:21:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Ivan

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. :(
Ivan

Oasis

$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?
Pixnet Gallery: http://www.pixnet.net
iNSiGNiA Weblog: http://www.jayliu.org