coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: RF on January 14, 2004, 05:12:17 AM

Title: Email List
Post by: RF on January 14, 2004, 05:12:17 AM
Quick question.. is there a way to access the email list that users input once they register.  I'm not really an expert with this, but i figure since it's stored in some database.. there might be a way to retrieve it.. thanks for any help
Title: Email List
Post by: Joachim Müller on January 14, 2004, 08:49:45 AM
use a tool like phpMyAdmin and take a look at the cpg11d_users table or code some small query in php to do this for you. At the moment there's no built-in function to do this.

GauGau
Title: Re: Email List
Post by: rostros on January 15, 2004, 05:15:55 PM
Quote from: "RF"Quick question.. is there a way to access the email list that users input once they register.  I'm not really an expert with this, but i figure since it's stored in some database.. there might be a way to retrieve it.. thanks for any help

I have added email to my user information list. Rename the usrmgr to usrmgrx.php or create a backup of the original, in this text there will be some code that prints out the table structure for displaying the user_id etc , where it says Occupation rename to i think it is email_address or whatever it is, if you need the code please ask, i will post it, upload the usrmgrx.php and run directly from the web browser http://www.whatever.com/cpg/usrmgrx.php, volla you should see the email address.
Title: Email List
Post by: Casper on January 15, 2004, 05:55:52 PM
Hi,
There is also a way to add additional fields to the user information, without having to change one of the existing.  I have done this on my site.

see thread http://forum.coppermine-gallery.net/index.php?topic=2492
Title: Email List
Post by: MaThIbUs on January 15, 2004, 07:31:07 PM
casper > that sounds interesting..

however I'd like to see how rostros did this :)