Supreme (v1) user dashboard widget – remove email & password

This topic contains 10 replies, has 3 voices, and was last updated by  Ian 4 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #494114

    Ian
    Expired Member
    Post count: 144

    Hi there.

    Just wondering how I can remove the ’email & password’ options from the users ‘my dashboard’ widget?

    I am using Memberpress Plugin and want to only use that login page as i’m using the memberpress recapcha with this (to help prevent logon bot / brute force attacks etc)

    I have added the snippet to re-direct the gd-login as suggested on other pages here (see below) and this works great IF a user clicks on the ‘sign in’ button on the ‘my dashboard’ as this takes then to the Memberpress login page.

    However as its still showing just as an email and password logon with the ‘my dashboard widget users can get around this but just using that.

    So was wondering if there is a way to remove these please (see image attached )

    Also just wondering….i’m presuming that as the gd-login option is still available within the code, then a hacker/ bot/ brute force attempt can still be attempted as a gateway for getting in as it bypasses/ doesn’t need/ request the extra recaptcha step needed via memberpress?. Just wondering if you can clarify this ?

    Thanks as always.

    Ian

    ………………………
    Snippet used for re-direct:

    add_filter(‘geodir_login_url’,’change_geodir_login_url’,10,3);
    function change_geodir_login_url($login_url,$args,$gd_page_id){
    //change the url to whatever you want.
    $login_url = ‘http://your-site.com/my-login-page’;
    return $login_url;
    }

    #494125

    Kor
    Moderator
    Post count: 16516

    Hi Ian,

    Thanks for your post. Sorry, you can’t remove the email and password without customization. Anyway, have you tested the userswp.io plugin that supports recaptcha? https://userswp.io/downloads/recaptcha/

    #494126

    Ian
    Expired Member
    Post count: 144

    Hi Kor.

    Thanks for the quick response, much appreciated.

    I will give the userswp.io a try and see if that works with everything 🙂

    Just a quick question then, will the recaptcha plugin you recommend add a recaptcha to the ‘my dashboard’ widget login ?

    Cheers,

    Ian

    #494214

    Kor
    Moderator
    Post count: 16516

    Hi Ian,

    Thanks for your reply. Yes, it should display recaptcha on all login forms and if it doesn’t, share your Website WP admin access here in private reply and we’ll check this out for you.

    #494384

    Ian
    Expired Member
    Post count: 144

    Hi Kor.

    Thanks for that. I gave it a try and added userswp but it just changed/ messed with a lot of stuff already set up and added more stuff i just didnt want (when all i wanted was a recaptcha on the existing rego form) so i deleted it 🙁

    I think i’ll stick to memberpress login for now but was wondering how else i can link to favorites/ listings etc?

    Else/ or is there a way to only show ‘my dashboard’ when a user is logged on? that way they can still see those functions when logged in, can log out using it but its not visible when logged out and so users cant see/ use the login function and so must use the memberpress one.

    Thanks in advance.

    Ian

    #494535

    Kor
    Moderator
    Post count: 16516

    Hi Ian,

    Thanks for your reply. Unfortunately, we won’t be able to help much if it’s unrelated to our products. Could you tell us a little bit more about the issue when you used the userswp.io plugin?

    it just changed/ messed with a lot of stuff already set up and added more stuff i just didnt want

    #494552

    Alex Rollin
    Moderator
    Post count: 27815

    The Dashboard widget may still work for you, give that a try.
    Also, take a look at GD Listings advanced options, as you can filter by current user.

    #494607

    Ian
    Expired Member
    Post count: 144

    Hi Kor.
    I guess I was just looking for a re-captcha on the Dashboard widget (thats it), which useswp didn’t seem to achieve anyway as it did not add a re-captcha- it redirected a user to gd-login (with re-captcha) once they clicked on the login button.
    It then showed the gd-login page but with 2 error messages saying it needs an email and password, so was all a bit messy really.

    It also changed all the author page etc and added stuff like main image/ author image required, add friends/ see who’s online and stuff like that which is obviously aimed towards buddypress functionality, but i’m using this as a B2B system and all that is just not required nor wanted and is all a bit too causal and unprofessional for a B2B environment to be honest.

    Im sure i could go through a whole heap of settings and turn most of it off or change it but this is then another pluggin mostly turned off to achieve the one thing i wanted…re-captcha on the login, which is not really that helpful from a resource perspective.

    FYI- please understand the above is not a criticism at all- just an observation that it didnt meet my specific needs. There seems to be some good stuff in there- just not that suited to what i needed thats all, but wanted to give feedback as requested:)

    Hope this helps in some way.

    Kind regards,

    Ian

    #494608

    Ian
    Expired Member
    Post count: 144

    Hi Alex.

    Thanks also for the reply.
    Yers Im using the dashboard widget but it is lacking the re-captcha option for this which could potentially lead to security issues.( i know re-captcha isnt a huge fix but it covers off at least slowing any simple hack down)

    Im unsure what your meaning by ‘take a look at GD Listings advanced options, as you can filter by current user.’ ? Can you expand on how this might help hide/ remove the widged for non logged in members?

    Thanks in advance.

    Ian

    #494656

    Alex Rollin
    Moderator
    Post count: 27815

    Oh sorry I was thinking of the GDV2 dashboard widget which does not include a login form.

    For GDV1 you can still use GD Listings to show favorites and my listings.

    https://wpgeodirectory.com/docs/core-shortcodes/#listings

    post_author – Filter by current_user

    #494659

    Ian
    Expired Member
    Post count: 144

    Thanks Alex, that is great and looks like it would help what I’m trying to achieve.

    Cheers.

    Ian

Viewing 11 posts - 1 through 11 (of 11 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket