Nome utente:



Recupero password

Utenti Online
27 utente(i) online
(3 utente(i) in Tutorial)

Iscritti: 0
Ospiti: 27

Tutorial :: Sviluppo e Hack :: Hack per Xoops 2.0.x

Invio password utente nell'email di attivazione

Due piccole modifiche al core di xoops per aggiungere comodità (penalizzando la sicurezza per gli utenti più distratti) ai nuovi iscritti.
Aggiungere la variabile {X_UPASSWORD} al template register.tpl
Se volete, per comodità dell'utente, inviare anche la password di iscrizione nell'email di attivazione (quando questo tipo di conferma è abilitato) potete seguire questa semplice procedura:

Modificare il file /register.php

aggiungere a

if ($xoopsConfigUser['activation_type'] == 0) {
$xoopsMailer =& getMailer();
$xoopsMailer->setToUsers(new XoopsUser($newid));
            if ( !
$xoopsMailer->send() ) {
            } else {

la riga


in questo modo


Modificare per ogni lingua i file /language/LINGUA/mail_template
impostando ad esempio, per l'italiano:

Ciao {X_UNAME},

Grazie per aver compilato il modulo di registrazione su {SITENAME}.

Come utente registrato potrai:
inviare messaggi privati ai vari utenti
partecipare attivamente al forum
inviare contenuti
e molto altro ancora...

L'indirizzo email ({X_UEMAIL}) è stato usato per registrare l'account.
La password che hai impostato per il login è {X_UPASSWORD}. Ti ricordiamo di mantenerla riservata e di proteggere questa email o cancellarla per sicurezza.

Per divenire a tutti gli effetti un utente registrato di {SITENAME}, conferma
la tua richiesta di registrazione cliccando seguente il link


Distinti saluti

dove potete notare l'aggiunta della riga:

La password che hai impostato per il login è {X_UPASSWORD}. Ti ricordiamo di mantenerla riservata e di proteggere questa email o cancellarla per sicurezza.

A questo punto dovrebbe funzionare tutto. Cancellate la cache se avete qualche problema e riprovate.
<< Justin Erenkrantz, Presidente della Apache Software Foundation, è entrato ufficialmente nella XOOPS Advisory Board
Copyright© Hanicker & Xoops Italia
I commenti sono di proprietà degli autori. Si declina ogni responsibilità sul loro contenuto.

Autore Contenuto
Data di invio: 17/7/2012 3:09  Aggiornato: 17/7/2012 3:09
 Re: Invio password utente nell'email di attivazione
operating duplicate, fake tag heuer fake tag heuer many people assume it is just a good offer they accomplish their purpose of searching good and preserve a great deal of Set sail with self confidence and fashion to factors mysterious using this common Omega Seamaster chrome steel men's automated chronometer observe, a very correct timepiece which is as cozy negotiating bargains inside the boardroom since it is navigating the breaking seas tag heuer replica canada tag heuer replica canada . It is also an excellent diving observe, with drinking water resistance to 300 meters and also a helium escape valve rolex 14063 rolex 14063 , which permits helium to flee from inside of the view should the duplicate watches is worn in very pressurized environments. Definitively masculine in style fake rloex fake rloex replica watches replica watches , breightling watches breightling watches Visualizza immagine originale it attributes a midsized, fake rolexes cheap fake rolexes cheap spherical silver stainless-steel look at situation that blends brushed and polished surfaces and steps 38mm vast and eleven. 5mm deep. The silver

Autore Contenuto
Data di invio: 5/9/2012 11:32  Aggiornato: 5/9/2012 11:32
Iscritto: 5/9/2012
Inviati: 164
replica armani swiss watch replica armani swiss watch moreover a contact of glamour to spice issues up a tad. Visualizza immagine originale DKNY Diamond Crystal D Observe Pics GalleryFamous for any contradicting character that will involve small enjoy producing custom and intensely progressive mechanisms, the newcomer manufacturer TX Observe Corporation has confirmed that a brand name can grown within a pair of a long time as other manufacturers inside a life time. The keenness with which TX View Business has taken above the view producing market place is amazing and denotes that it will require much more than abilities and need to turn into prosperous, it absolutely requires enthusiasm. replica swiss emporio armani watches replica swiss emporio armani watches The expertise of its designers managed to generate from a little firm of look at production Audemars Piguet Classique Perpetual Calendar Replica Audemars Piguet Classique Perpetual Calendar Replica replica swiss emporio armani watches replica swiss emporio armani watches , armani replica armani replica armani swiss watch armani swiss watch among the ideal appreciated brand names about the marketplace with large accomplishment among children and look at fans cheap fake watches cheap fake watches . replica omega watches replica omega watches The

Autore Contenuto
Data di invio: 12/9/2012 2:52  Aggiornato: 12/9/2012 2:52
Iscritto: 5/9/2012
Inviati: 164
 vacheron constantin replica
replica franck muller watches replica franck muller watches others. The best recommendations come from a parent whose child have or has had braces. You also can ask your friends who may have braces. You will want to get a list of names of orthodontic professionals that have been utilized by these people. replica richard mille replica richard mille You also should inquire as to what their opinion and experience was with the professional, with it was nice or not so nice. replica omega replica omega Visualizza immagine originale The not so nice names are ones to cross off your list. Once you have a few names of orthodontic specialists written down, you will need to contact your insurance carrier. Some insurance carriers will have certain restrictions on a select few orthos you can work with replica rado watches replica rado watches . Find out if any names on your list are ones you can use. Orthodontic work is costly, replica audemars piguet replica audemars piguet even with insurance replica vacheron constantin watches replica vacheron constantin watches . graham replica watches graham replica watches You should call American Association of Orthodontics as well as

Autore Contenuto
Data di invio: 12/9/2012 3:44  Aggiornato: 12/9/2012 3:44
Iscritto: 5/9/2012
Inviati: 164
 hermes replica
replica enicar replica enicar backyard barbeque and farmyard chic! Wedding Vendors Photographer pershing replica watches pershing replica watches : ChadAnastasia Photography Floral Designer: Proline Trading Reception Venue: UBC Farms DJ: Hot Hit Productions ChadAnastasia Photography ChadAnastasia Photography ChadAnastasia Photography ChadAnastasia Photography ChadAnastasia Photography ChadAnastasia Photography ChadAnastasia Photography ChadAnastasia Photography ChadAnastasia? After hot distortion of how to do hair? Select perm water Gucci Replica replica omega replica omega , every mark has the entire series, graham replica watches graham replica watches you absence to ascertain the most appropriate cilia perm solution and hair volume. Visualizza immagine originale blancpain replica blancpain replica Perm proxies to choose no only the perm, but likewise to inspire the degree of injury hair. Carefully to understand, you tin query the hairdresser to make the right hairstyle because you a. 1 replica bvlgari watches replica bvlgari watches . perm should be added replica breguet watches replica breguet watches
Sostieni XoopsItalia!
Ultimi Tutorial
Ultime Traduzioni
XOOPS ITALIA © 2002-2012 - Powered by XOOPS