Home › Forum › Plugin e temi di WP › Integrare form di regsitrazione e login nelle pagine
-
AutorePost
-
-
19 Marzo 2009 alle 21:37 #9861Nessunowin32Partecipante
Si, mi ricordo che esiste un plugins per fare questo, che lo trovato per caso ma non mi ricordo il nome. Qualcuno mi può aiutare?
PS: se c’è anche comn la possibilità personalizzare i form (cambiar ecolore, grandezza, ecc…)
Ringrazio in anticipo
-
20 Marzo 2009 alle 13:30 #63955ErfoPartecipante
Ci sono due tipo di cose…
Se vuoi semplicemente un form con i campi “username” e “password” nella sidebar allora inserisci questo codice: http://garcya.us/downloads/sidebar-login.txt
Od il rispetivo plugin: Sidebar plugin.
In questi due esempi avrai solamente il form di login nella sidebar, mentre se volessi avere sia il form di login, di registrazione e di recupero password sempre nella sidebar puoi dare un’occhiata al plugin Ajax Login con il relativo blog e quindi credo anche supporto.
L’ultimo plugin secondo me è perfetto, se mi funzionasse!!!`
-
20 Marzo 2009 alle 14:42 #63963Nessunowin32Partecipante
graziem perla risposta ma non ci siamo prorpio capiti. ti dico cosa voelvo facendoti un’ esempio: (l’ url non essite e nemmeno il permanlink)
Indirizzo pagina di wordpress: http://www.iltuostio.it/id=1 (la registrazionem integrata nella pagina)
Indirizzo padina di wordpress: http://www.iltuostio.it/id=2 (il login integrato nella pagina)
-
20 Marzo 2009 alle 17:25 #63987ErfoPartecipante
Ah ok, adesso ho capito, credo LOL!!!
In pratica vuoi questo.
Lo sto facendo in questo momento sul mio wordpress…
Praticamente devi modificare il file wp-login.php il quale modificherà sia quello della registrazione, sia quello di “hai perso la password” e sia quello del login.
Apri e inserisci il codice che c’è nel “page template”(page.php) del tema del tuo wordpress.
Dunque, innanzitutto devi trovare questo codice:
wp_admin_css( ‘login’, true );
wp_admin_css( ‘colors-fresh’, true );
do_action(‘login_head’);
il quale si trova subito dopo l’apertura dell’head e cancelli wp_admin_css( ‘login’, true ); e wp_admin_css( ‘colors-fresh’, true );
In pratica il primo è il CSS del della pagina del login (sai quando vedi quella riga grigia con in alto con dentro il link per ritornare al tuo blog?), mentre il secondo è il CSS del form del login (dove c’è anche l’immagine di WordPress).
Questi li cancelli, o almeno il primo css lo cancelli, perchè andrà in conflitto con il CSS del tuo template.
Dopo aver fatto questo devi (sempre su wp-login.php) inserire il codice che c’è nel page template (page.php)…
Insomma, dopo la chiusura dell’head aggiungi l’include per l’header
<?php get_header(); ?>
e poi metti il resto,
esempio del mio template:
<div id="container"><?php get_header(); ?><div id="content">
Non chiudere per ora i tag div... subito dopo ci sarà tutto il codice del login...
Vai alla fine del file wp-login.php e trovi:
<script type="text/javascript">
try{document.getElementById('user_login').focus();}catch(e){}
</script>
Prima di questo script chiudi i tag DIV che hai messo all'inizio...
e qui dovresti mettere l'include al footer...
Non so se è considerato spam, comunque lascio il link alla mia pagina login Login cosଠda vedere in tempo reale il risultato...
Ora come stavo dicendo, tutto funziona bene, l'header è stato integrato perfettamente, il form del login funziona alla perfeziona, non mi risultano due cose: il footer non riesco a posizionarlo in fondo alla pagina, e poi non riesco ad inserire le sidebar poichè mi restituisce un errore...
Spero che era quello che cercavi e di essere stata chiara, perchè ho il cervello in fumo !E spero di trovare la soluzione al mio piccolo problema...
-
20 Marzo 2009 alle 17:49 #63989Nessunowin32Partecipante
grande, provo poi ti faccio sapere
-
21 Marzo 2009 alle 11:42 #63998Nessunowin32Partecipante
non ho ancora provato ma dopo il codice del form di login e registrazione qual’ è?
-
29 Marzo 2009 alle 13:46 #64190ErfoPartecipante
Adesso scrivo una guida, perchè effettivamente è un po’ caotico cosଅ
-
31 Marzo 2009 alle 10:58 #64230PasqualePartecipante
Adesso scrivo una guida, perchè effettivamente è un po’ caotico cosଅ
Se scrivi una guida per questa cosa ti mando un regalo giuro, è una vita che devo fa sta cosa e no ci riesco.
Saluti
-
17 Aprile 2009 alle 15:10 #64665ErfoPartecipante
Ok, finalmente ho fatto una guida, adesso dovrebbe essere tutto un po’ più chiaro.
La guida per integrare il form di login nelle pagine weordpress potete trovarla => guida form di login e potete vedere il risultato (devo sistemare qualcosa nel template, ma ci siamo) qui
-
19 Aprile 2009 alle 16:17 #64702Nessunowin32Partecipante
Smanettando su Google sono entrato in un blog e girando qua e la in che cosa mi sono imbattuto? Come integrare il form di registrazione, di login e smarriemtno password con tanto di redirect in una pagina di wordpress usando un leggerrissimo plugins amministrabile dal pannello:si chiama Theme My Login, è bellissimo, l’ ho sperimentato su un blog che ho fatto in precedenza.
COMUNQUE GRAZIE PER LA GUIDA CHE HAI FATTO
-
26 Settembre 2011 alle 8:04 #88420Albert EinsteinPartecipante
Ciao, a me rimane sempre questo dubbio! Ma nel form di registrazione e login è possibile anche inserire altri parametri? oltre questi, cioè aggiungere e-mail, message, numero di telefono, ecc… ?
-
-
AutorePost
- Devi essere connesso per rispondere a questo topic.