Logged in User Menu?

This topic contains 30 replies, has 4 voices, and was last updated by  Ozzie Ozkay-Villa 8 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #164569

    Ozzie Ozkay-Villa
    Expired Member
    Post count: 36

    Hi,

    When I log in with my test user, It doesn’t take me to my profile to make changes. It only takes me to the homepage and then I have no idea where or how to get to my profile page to be able to make changes.

    I’m not using the Dashboard feature, could this be the reason?
    I don’t like the way the dashboard looks which is why I disabled it.

    If there was a way to enable the dashboard ONLY for users that are logged in, I would consider that. Can that be done? Is this even relevant to my problem above?

    Thanks so much!

    #164584

    Guust
    Moderator
    Post count: 29970

    The GD profile page link is dynamically generated and indeed needs the GD login widget to work.
    You can show the widget only to logged in users by using https://wordpress.org/plugins/widget-logic/

    #164734

    Ozzie Ozkay-Villa
    Expired Member
    Post count: 36

    Hi Guust! 🙂

    So just to be clear, I do not need to activate the Dashboard widget? I need this widget instead? https://wordpress.org/plugins/widget-logic/
    And where do I put the widget?

    #164735

    Ozzie Ozkay-Villa
    Expired Member
    Post count: 36

    and what does this mean? It sounds scary…PLEASE NOTE The widget logic you introduce is EVAL’d directly. Anyone who has access to edit widget appearance will have the right to add any code, including malicious and possibly destructive functions. There is an optional filter ‘widget_logic_eval_override’ which you can use to bypass the EVAL with your own code if needed.

    #164738

    Guust
    Moderator
    Post count: 29970

    Install the logic widget.
    Then add the GD login to some sidebar or footer area.
    There will be a box as part of the widget where you can put some logic, put this there:

    is_user_logged_in()

    That means the GD login widget will only show if a user is logged in.

    “Anyone who has access to edit widget appearance” means administrators are the only ones that can put code in the widgets.

    #164741

    Ozzie Ozkay-Villa
    Expired Member
    Post count: 36

    And then when they login, this widget will be what they click on to edit their profile page?

    #164783

    Guust
    Moderator
    Post count: 29970

    It will take them to the author page: https://wpgeodirectory.com/docs/core-design/#author

    #165062

    Ozzie Ozkay-Villa
    Expired Member
    Post count: 36

    Thanks Guust! I was able to install the plugin and added that code to the widget logic section. I’m logged in as a user and I don’t see any changes…?

    #165073

    Ozzie Ozkay-Villa
    Expired Member
    Post count: 36
    This reply has been marked as private.
    #165127

    Guust
    Moderator
    Post count: 29970

    I can see it in the sidebar of http://pearsource.com/author/pearsourceceoozzie/?geodir_dashbord=true&stype=gd_place

    But you will need to add it to a different place as well, because you cannot get to that page without the widget.

    #165691

    Ozzie Ozkay-Villa
    Expired Member
    Post count: 36

    What page should it be applied to?

    I have a “sign in” under the page “My Account”

    What I want is that they will sign in from that page and then be taken their profile page where they can make edits.

    That makes the most sense to me. So where should I put the widget for that to happen?

    #165837

    Guust
    Moderator
    Post count: 29970

    Anywhere you like, but not only on the profile page.
    The problem is that you have no sidebars anywhere, I suggest to re-instate the sidebar on the detail page and add the login widget there.
    Or you can create a separate WP page linked from “ACCOUNT” and add the widget there maybe.

    #165904

    Ozzie Ozkay-Villa
    Expired Member
    Post count: 36

    Thanks Guust, where would I reinstate the sidebar on the detail page? Here?
    “display detail sidebar on left side of detail page”?

    #166120

    Guust
    Moderator
    Post count: 29970

    We added the sidebar, please check.

    #168978

    Ozzie Ozkay-Villa
    Expired Member
    Post count: 36

    Hi Guust, wow thanks!! Is there a way to move it to the right side, or can we only have it on the left side?

Viewing 15 posts - 1 through 15 (of 31 total)

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

Open Support Ticket