Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter nagge

    (@nagge)

    where do i vote?

    Thread Starter nagge

    (@nagge)

    Thanks Predrag! It didn’t work at first, but then I realized I have 2 login widgets on the same page so I changed the second widget as well, and Voila! It worked. Thanks a lot! And it was as simple as it can get! ??

    • This reply was modified 7 years, 7 months ago by nagge.
    Thread Starter nagge

    (@nagge)

    In that thread it said:

    “This code solved the issue for the pages where membership access is not enabled, Sorry but I am getting this issue if a non logged in user access the page where MU plugin is enabled for example https://smartminds.io/staging is scrolled to bottom if you access it without logging in for this page membership2 pro is enabled and this https://smartminds.io/staging/about-us/ is working fine after adding above code even for non loggedin users can you please help me accordingly.

    Thanks.

    Tue Jan 24 2017, 12:20:17 PM

    Rupok Support Ninja: Earn your WPMU DEV membership
    1,811 pts: Hero points 9,255 pts: Rep. points LEVEL 27: DEV MAN’s Sidekick
    Hi Dinakar,

    I logged in your site with Support Access and commented out this line:
    jQuery(“input#user_login”).removeClass(“focus”);

    And added the following line:
    window.scrollTo(0, 0);

    That fixed your issue.

    Have a nice day. Cheers!
    Rupok

    __________________________

    It is the same problem that I have and I do not not know how to fix it since I have no knowledge in how and where to comment out this line that Rupok talked about:
    jQuery(“input#user_login”).removeClass(“focus”);

    And added the following line:
    window.scrollTo(0, 0);

    This other guy, Rupok, did this for that person, and I would like for you to do the same for me, since your other suggestion did not solve the problem.

    • This reply was modified 7 years, 7 months ago by nagge.
    • This reply was modified 7 years, 7 months ago by nagge.
    Thread Starter nagge

    (@nagge)

    Where do I place this code?

    Thread Starter nagge

    (@nagge)

    I am not using any of them, I think my issue is the same problem another guy experienced and wrote about here earlier this year. The following was the end of the thread and conversation between your support and this guy:
    ___________
    “Sorry but I am getting this issue if a non logged in user access the page where MU plugin is enabled for example https://smartminds.io/staging is scrolled to bottom if you access it without logging in for this page membership2 pro is enabled and this https://smartminds.io/staging/about-us/ is working fine after adding above code even for non loggedin users can you please help me accordingly.

    Thanks.”

    “Tue Jan 24 2017, 12:20:17 PM
    Rupok Support Ninja:

    Hi Dinakar,

    I logged in your site with Support Access and commented out this line:
    jQuery(“input#user_login”).removeClass(“focus”);

    And added the following line:
    window.scrollTo(0, 0);

    That fixed your issue.”

    ___________

    The problem for me is that I do not know HOW and WHERE to change the code, so if you somehow could help me with that?

Viewing 5 replies - 1 through 5 (of 5 total)