Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] How to clear the previous registration form data?

  • @4ella

    Participant

    From some moment ( I remember that once one of the users added Greek alphabet NAME in the register.php form , I had the problem with cleaning one of the fields of the registration form data , after successful registration one of the field (NAME) is always filled up with one of the values previously from some user inserted , so now every new member see fullfilled “Name” field and he has to remove it before he inserts its own , what can I do to remove that value from registration form ?
    you can see it here : http://www.4ella.com/register , value field NAME : Club 111 OLBIA is unwanted

Viewing 6 replies - 1 through 6 (of 6 total)
  • @r-a-y

    Keymaster

    I encountered this weird behavior as well when I was doing some testing on a BP site.

    A workaround is to open up /wp-content/themes/YOUR-THEME/registration/register.php.

    Find this code snippet:
    if ( bp_has_profile( 'profile_group_id=1' ) ) :

    And change it to:
    if ( bp_has_profile( 'user_id=-1&profile_group_id=1' ) ) :

    @4ella

    Participant

    @r-a-y Thank you very much !! works perfectly your code snippet :-)

    @djpaul

    Keymaster

    Is this still happening on BP 1.5.4? Can anyone figure out how to reliably recreate it?

    @becskr

    Participant

    I had this problem too! Thanks for the help, I’ve spent ages trying to work it out…The username field is still filled in when I go to register – is that because I already have an account and it’s stored in browser cookies?

    @4ella

    Participant

    Hi Paul , sorry I didnt see your question in the past , YES unfortunately this is still happening in latest 1.5.6 buddypress , I have WP 3.4.1 and buddypress 1.5.6 installed , but little hack from @ray works perfect , maybe you should implement this snippet into a newer versions ?

    @pescholar

    Member
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] How to clear the previous registration form data?’ is closed to new replies.
Skip to toolbar