coppermine-gallery.com/forum

Support => Italian (Italiano) => Closed boards => Language Specific Support => cpg1.4.x Italian (Italiano) => Topic started by: atty on February 06, 2008, 09:39:32 PM

Title: database delle email degli iscritti..
Post by: atty on February 06, 2008, 09:39:32 PM
non sono molto pratico...volevo sapere se è possibile creare un database con tutte le email dei registrati alla mia gallery (www.playparty.tv) direttamente su ad es Outlook Express...senza fare ogni volta il copia e incolla..non so se sono stato chiaro..vi prego solo di aiutarmi ciaoo e grazie mille
Title: Re: database delle email degli iscritti..
Post by: twist on February 06, 2008, 09:43:34 PM
Allora, con le funzioni base di coppermine non e' possibile, ma se tu posti un "template" di come potrebbe essere un file per importare gli indirizzi nel tuo client vediamo cosa possiamo inventare.
Le possibilita' sono infinite con qualche query al database ;)
Title: Re: database delle email degli iscritti..
Post by: twist on February 06, 2008, 09:54:27 PM
Allora, io ho provato con il client di posta di vista:
Si possono esportare i contatti di windows in un file csv che ha i seguenti campi:
Nome;Cognome;Secondo nome;Nome e cognome;Nome alternativo;Indirizzo di posta elettronica;Via (ab.);Città (ab.);CAP (ab.);Provincia (ab.);Paese (ab.);Telefono (ab.);Via (uff.);Città (uff.);CAP (uff.);Provincia (uff.);Paese (uff.);Telefono (uff.);Società;Posizione


Una cosa del genere ti potrebbe andare bene? Fammelo sapere
Title: Re: database delle email degli iscritti..
Post by: atty on February 06, 2008, 10:01:29 PM
a me serve il nick, l'email ed eventualmente il cellulare...dovrei creare 1 newsletter da inviare agli utenti ogni settimana...e siccome i nuovi iscritti ogni settimana sono più di 200 necessito di questo database automatico...
Title: Re: database delle email degli iscritti..
Post by: twist on February 06, 2008, 10:06:48 PM
Ok ora ho capito, beh allora iniziamo con un consiglio, aggiorna la versione di coppermine, la tua e' vecchia.
Poi in linea di massima e' possibile fare quello che chiedi, domani vedo di buttarci un occhio.

Ciao e buona notte
Title: Re: database delle email degli iscritti..
Post by: atty on February 06, 2008, 10:08:52 PM
GRAZIE MILLE...A DOMANII
Title: Re: database delle email degli iscritti..
Post by: Davide Renda on February 06, 2008, 11:20:08 PM
Quotedovrei creare 1 newsletter da inviare agli utenti ogni settimana
... e perché, invece di "faticare" estrapolando dati da mySQL, non profittare di un plugin già bell'e che fatto? Esiste il plugin Newsletter (http://forum.coppermine-gallery.net/index.php?topic=40304.0), dagli un'occhiata ;-)
Title: Re: database delle email degli iscritti..
Post by: atty on February 06, 2008, 11:36:13 PM
NON SONO MOLTO PRATICO...PERò POTREI DARE I VOSTRI SUGGERIMENTI ALLA PERSONA CHE MI CURA IL SITO...
Title: Re: database delle email degli iscritti..
Post by: twist on February 07, 2008, 06:04:40 AM
Quote from: Lontano on February 06, 2008, 11:20:08 PM
... e perché, invece di "faticare" estrapolando dati da mySQL, non profittare di un plugin già bell'e che fatto? Esiste il plugin Newsletter (http://forum.coppermine-gallery.net/index.php?topic=40304.0), dagli un'occhiata ;-)

Per fortuna c'e' lontano :)
Title: Re: database delle email degli iscritti..
Post by: atty on February 07, 2008, 11:05:27 AM
mi potresti dire come faccio ad inserire questo plug-in?? nella gallery ci sta una cartella pluggins inserisco la cartella newsletters lì??:D
Title: Re: database delle email degli iscritti..
Post by: twist on February 07, 2008, 11:13:56 AM
Esattamente, cmq una buona lettura qua (http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#plugin) non guasterebbe  ::)
Title: Re: database delle email degli iscritti..
Post by: atty on February 07, 2008, 01:32:02 PM
FATTO...SOLO CHE MI DICE ERRORE CRITICO...
Title: Re: database delle email degli iscritti..
Post by: atty on February 07, 2008, 01:50:34 PM
Errore Critico     
   
Si è verificato un errore eseguendo una query al database
Title: Re: database delle email degli iscritti..
Post by: twist on February 07, 2008, 03:03:22 PM
Attiva il debug e controlla esattamente dove sta il problema nella finestra che ti comparera' in basso
Title: Re: database delle email degli iscritti..
Post by: atty on February 07, 2008, 03:08:43 PM
SCUSA L'IGNORANZA:D

NON MI POTRESTI SPIEGARECOME SI FA???

SO NEGAT COMPLETAMENT
Title: Re: database delle email degli iscritti..
Post by: atty on February 07, 2008, 03:15:04 PM
ECCO L'ERRORE

While executing query "SELECT count(user_id) AS num FROM `Sql169210_1`.cpg14x_users  WHERE user_email <> '' AND  = '1' AND user_active = 'YES'" on

mySQL error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '= '1' AND user_active = 'YES'' at line 1


DEBUG

USER:
------------------
Array
(
    [ID] => 0c09d5f671bc42b11831bd22815d7d79
    [am] => 1
    [lang] => italian
    [liv] => Array
        (
        )

)

==========================
USER DATA:
------------------
Array
(
    [user_id] => 66
    [user_name] => PLAYPARTY.TV
    [groups] => Array
        (
            [0] => 1
        )

    [disk_max] => 0
    [disk_min] => 0
    [can_rate_pictures] => 1
    [can_send_ecards] => 1
    [ufc_max] => 3
    [ufc_min] => 3
    [custom_user_upload] => 0
    [num_file_upload] => 5
    [num_URI_upload] => 3
    [can_post_comments] => 1
    [can_upload_pictures] => 1
    [can_create_albums] => 1
    [has_admin_access] => 1
    [pub_upl_need_approval] => 0
    [priv_upl_need_approval] => 0
    [group_name] => Administrators
    [upload_form_config] => 3
    [group_quota] => 0
    [can_see_all_albums] => 1
    [group_id] => 1
)

==========================
Queries:
------------------
Array
(
    [0] => SELECT extension, mime, content, player FROM cpg14x_filetypes; (0s)
    [1] => select * from cpg14x_plugins order by priority asc; (0s)
    [2] => delete from `Sql169210_1`.cpg14x_sessions where time<1202389987 and remember=0; (0.001s)
    [3] => delete from `Sql169210_1`.cpg14x_sessions where time<1201183987; (0.001s)
    [4] => select user_id from `Sql169210_1`.cpg14x_sessions where session_id=md5("05029dc998a05a3f1be1f8c64477c3a1d2bbb3b1b5431c49808a4237beb8a8e4"); (0.004s)
    [5] => select user_id as id, user_password as password from `Sql169210_1`.cpg14x_users where user_id=66 (0s)
    [6] => SELECT u.user_id AS id, u.user_name AS username, u.user_password AS password, u.user_group+100 AS group_id FROM `Sql169210_1`.cpg14x_users AS u INNER JOIN `Sql169210_1`.cpg14x_usergroups AS g ON u.user_group=g.group_id WHERE u.user_id='66' (0s)
    [7] => SELECT user_group_list FROM `Sql169210_1`.cpg14x_users AS u WHERE user_id='66' and user_group_list <> ''; (0s)
    [8] => SELECT MAX(group_quota) as disk_max, MIN(group_quota) as disk_min, MAX(can_rate_pictures) as can_rate_pictures, MAX(can_send_ecards) as can_send_ecards, MAX(upload_form_config) as ufc_max, MIN(upload_form_config) as ufc_min, MAX(custom_user_upload) as custom_user_upload, MAX(num_file_upload) as num_file_upload, MAX(num_URI_upload) as num_URI_upload, MAX(can_post_comments) as can_post_comments, MAX(can_upload_pictures) as can_upload_pictures, MAX(can_create_albums) as can_create_albums, MAX(has_admin_access) as has_admin_access, MIN(pub_upl_need_approval) as pub_upl_need_approval, MIN( priv_upl_need_approval) as  priv_upl_need_approval FROM cpg14x_usergroups WHERE group_id in (1) (0s)
    [9] => SELECT group_name FROM  cpg14x_usergroups WHERE group_id= 1 (0s)
    [10] => update `Sql169210_1`.cpg14x_sessions set time='1202393587' where session_id=md5('05029dc998a05a3f1be1f8c64477c3a1d2bbb3b1b5431c49808a4237beb8a8e4'); (0s)
    [11] => SELECT user_favpics FROM cpg14x_favpics WHERE user_id = 66 (0s)
    [12] => DELETE FROM cpg14x_banned WHERE expiry < '2008-02-07 14:13:08' (0s)
    [13] => SELECT * FROM cpg14x_banned WHERE (ip_addr='213.140.21.236' OR ip_addr='213.140.21.236' OR user_id=66) AND brute_force=0 (0s)
    [14] => SELECT COUNT(*) FROM cpg14x_pictures WHERE approved = 'NO' (0.001s)
    [15] => SELECT count(user_id) AS num FROM `Sql169210_1`.cpg14x_users  WHERE user_email <> '' AND  = '1' AND user_active = 'YES' (0.001s)
)

==========================
GET :
------------------
Array
(
    [file] => newsletter/newsletter
)

==========================
POST :
------------------
Array
(
)

==========================
VERSION INFO :
------------------
PHP version: 4.4.7 - OK
------------------
mySQL version: 5.0.45-community-log
------------------
Coppermine version: 1.4.14(stable)
==========================
Module: GD
------------------
GD Version: bundled (2.0.28 compatible)
FreeType Support: 1
FreeType Linkage: with freetype
T1Lib Support: 1
GIF Read Support: 1
GIF Create Support: 1
JPG Support: 1
PNG Support: 1
WBMP Support: 1
XBM Support: 1
JIS-mapped Japanese Font Support:

==========================
Module: mysql
------------------
MySQL Supportenabled
Active Persistent Links 0
Active Links 1
Client API version 5.0.22
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient 
==========================
Module: zlib
------------------
ZLib Support enabled
Compiled Version 1.2.3
Linked Version 1.2.3
==========================
Server restrictions (safe mode)?
------------------
Directive | Local Value | Master Value
safe_mode | Off | Off
safe_mode_exec_dir | no value | no value
safe_mode_gid | Off | Off
safe_mode_include_dir | no value | no value
safe_mode_exec_dir | no value | no value
sql.safe_mode | Off | Off
disable_functions | no value | no value
file_uploads | On | On
include_path | .:/php/lib/php/ | .:/php/lib/php/
open_basedir | no value | no value
==========================
email
------------------
Directive | Local Value | Master Value
sendmail_from | me@localhost.com | me@localhost.com
sendmail_path | /usr/sbin/sendmail -t -i  | /usr/sbin/sendmail -t -i
SMTP | localhost | localhost
smtp_port | 25 | 25
==========================
Size and Time
------------------
Directive | Local Value | Master Value
max_execution_time | 0 | 120
max_input_time | -1 | -1
upload_max_filesize | 50M | 50M
post_max_size | 8M | 8M
==========================
Page generated in 0.255 seconds - 16 queries in 0.008 seconds - Album set : ; Meta set: ;

Title: Re: database delle email degli iscritti..
Post by: twist on February 07, 2008, 03:24:35 PM
Hai letto il post di stramm? Esattamente la frase in grassetto? :)
Title: Re: database delle email degli iscritti..
Post by: atty on February 07, 2008, 03:35:29 PM
si però non mastico bene l'inglese...potresti aiutarmi??sto impazzendo
Title: Re: database delle email degli iscritti..
Post by: twist on February 07, 2008, 03:38:19 PM
Eh e' scritto chiaramente che funziona solo se hai installato il modpack di stramm.
Oltretutto se avessi proseguito la lettura, un altro utente aveva postato esattamente il tuo stesso errore.

Quindi sai gia' che fare
Title: Re: database delle email degli iscritti..
Post by: atty on February 07, 2008, 03:44:55 PM
non capisco una mazza di inglese...e non so nulla di programmazione ed altro...x questo avevo chiesto 1 aiuto sul forum.
Title: Re: database delle email degli iscritti..
Post by: twist on February 07, 2008, 03:51:44 PM
Certo ma stiamo parlando della prima riga del post di stramm, non ti sei chiesto perche' fosse in grassetto quella frase?
Una semplice traduzione con google o babelfish ti avrebbe chiarito esattamente il problema.

Se vuoi cimentarti in queste cose, ci vuole una buona dose di pazienza, e leggere, leggere molto
Title: Re: database delle email degli iscritti..
Post by: atty on February 07, 2008, 05:50:50 PM
come si installa il modpack???qualcono può aiutarmI?? ??? ??? ???
Title: Re: database delle email degli iscritti..
Post by: twist on February 07, 2008, 08:49:11 PM
Per favore, attieniti alle regole del forum, 1 domanda per ogni topic
Title: Re: database delle email degli iscritti..
Post by: Davide Renda on February 07, 2008, 09:12:21 PM
FAQ in italiano (http://forum.coppermine-gallery.net/index.php?topic=43605.msg207301#msg207301), stanno in bella mostra fra i topic in evidenza di questa sezione ;-)
Title: Re: database delle email degli iscritti..
Post by: atty on February 08, 2008, 11:41:53 AM
CI SONO RIUSCITO:D