Hi, I’m tryng to create an edit profile form.
I’ve already readed many threads about.
I want to update only custom fields.
Tryed to turn off Secure Forms processing.
Nothing seems to work.
Here my code:
<h2>Benvenuto {screen_name} Aggiorna il tuo profilo</h2>
{if embed:redirect}
{assign_variable:return="{embed:redirect}"}
{if:else}
{assign_variable:return="main/index"}
{/if}
{exp:user:edit member_id="{member_id}" group_id="5" form_name="usredit" form_id="usredit{member_id}"}
<p><label for="nome">* Nome:</label><br /><input type="text" name="nome" value="{nome}" id="nome" class="input" /></p>
<p><label for="cognome">* Cognome:</label><br /><input type="text" name="cognome" value="{cognome}" id="cognome" class="input" /></p>
<p><label for="indirizzo">* Indirizzo:</label><br /><input type="text" name="indirizzo" value="{indirizzo}" id="indirizzo" class="input" /></p>
<p><label for="citta">* Città:</label><br /><input type="text" name="citta" value="{citta}" id="citta" class="input" /></p>
<p><label for="cap">* Cap:</label><br /><input type="text" name="cap" value="{cap}" id="cap" class="input" /></p>
<p><input type="submit" value="submit" class="submit" /></p>
{/exp:user:edit}
This code is used via the embed function
Every time i get the same “You are not allowed...” error.
I’ve set the “Email is username” option on on User module preferences.
THe registration page is created using the User module and just works fine.
EE: 1.6.3.
Freeform installed.
Any ideas?
(PS: Sorry for my english)
