Skip to Content.
Sympa Menu

Subject: The mailing list for listmasters using Sympa

List archive

Chronological Thread  
  • From: address@concealed
  • To: address@concealed
  • Subject:
  • Date: Sun, 15 Feb 2004 13:39:44 +0100

Hi all,

I don't know which part of code to change in wwsympa.fcgi to add an extra
field to be updated in the database.

I have additoinal field "Company_Name" i have added it in sympa.conf and i
have added it in the mysql database itself.

and i have edited in wwsympa.fcgi in the part of DUPLICATE ENTERY IN
USER_TABLE

## Duplicate entry in user_table
unless (&List::is_user_db($in{'new_email'})) {

my $user_pref = &List::get_user_db($in{'email'});
$user_pref->{'email'} = $in{'new_email'};
&List::add_user_db($user_pref);
}

$update->{'email'} = $in{'new_email'};
}

$update->{'gecos'} = $in{'gecos'} if $in{'gecos'};
$update->{'Company_Name'} = $in{'Company_Name'} if $in{'Company_Name'};

i have added the line of $update -> {'Company_Name'} .....

is there something else shall i add in wwsympa.fcgi ??

Johnny


  • [no subject], j_riphell, 02/15/2004

Archive powered by MHonArc 2.6.19+.

Top of Page