zp-masonry issue with register user script

ayan Member
The registeruser.php script isnt working properly. When i am typing the password and then trying to confirm the password in the comfirm password text box, it is not accepting any input and remains inactive. And the show password checkbox isnt also showing up the password i type. But with it selected registration gets successful but with it deactivated registration doesnt occur.My password strength has been set to 10 but it isnt working even if i set a password of length 20. My browser and admin logs are free of errors. All javascripts are functioning properly.

Comments

  • ayan Member
    Any help with the topic??
  • acrylian Administrator, Developer
    Apparently not as you see. Please no bumping of topics. Thanks.
  • ayan Member
    i did an experiment with the register script. I copied a register script from a default theme and overwrote the register file that came with masonry. I saw it was working fine then on masonry theme. Then as soon i included the header file in the register script, the file broke.
  • acrylian Administrator, Developer
    Which all sounds like the theme has an issue. Given its version states <1.4.3 it might require updates, especially 1.4.5 is ahead (though that does not change that much but of course the forms html changes).

    Edit: It has version 1.4.4.3 of course so should be up to date as gjr does great theme. But only he can answer what this might be.
  • ayan Member
    wish his help arrives fast..
  • fretzl Administrator, Developer
    Somehow the `printUserLogin_out()` function conflicts with `printRegistrationForm()`

    If you remove the `printUserLogin_out()` call in `inc_menu.php`, the registration form works.

    I have no idea why this happens.
  • Both forms will have a password field that is identical.
  • ayan Member
    Yep! Its exactly happening as you are telling @fretzl.

    So what should i be doing? @fretzl and @sbillard...
  • Use different pages for each item.
  • ayan Member
    That means register page is not gonna have the login/out script right?
    From which line to which line i need to remove from the menu file?
  • You are correct. (Not at all sure why someone would be logging in from the register user page anyway, no need to register if they h ave already got credentials.)

    As to where to remove, I do not know that theme. The login form is typically produced by a call on the `printUserLogin_out()` function.
  • gjr Member
    Cannot verify since I no longer have a support build for testing. But based on above troubleshooting around line 29 of inc-menu.php, replace:

    `

    <?php if ((!zp_loggedin()) && (function_exists('printUserLogin_out'))) { ?>

    `

    with:

    `

    <?php if ( (!zp_loggedin()) && ($_zp_gallery_page != 'register.php') && (function_exists('printUserLogin_out')) ) { ?>

    `
  • ayan Member
    Thanks..it worked. But the addthis isnt displaying still as mentioned in my another thread relating to it.
Sign In or Register to comment.