Logged in User Menu?
This topic contains 30 replies, has 4 voices, and was last updated by Ozzie Ozkay-Villa 9 years, 5 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
April 16, 2016 at 6:48 pm #164569
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!
April 17, 2016 at 12:01 am #164584The 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/April 17, 2016 at 2:15 am #164734Hi 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?April 17, 2016 at 2:30 am #164735and 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.
April 17, 2016 at 3:15 am #164738Install 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.
April 17, 2016 at 3:29 am #164741And then when they login, this widget will be what they click on to edit their profile page?
April 17, 2016 at 4:27 am #164783It will take them to the author page: https://wpgeodirectory.com/docs/core-design/#author
April 17, 2016 at 6:00 pm #165062Thanks 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…?
April 17, 2016 at 6:03 pm #165073This reply has been marked as private.April 17, 2016 at 10:07 pm #165127I 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.
April 18, 2016 at 6:55 pm #165691What 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?
April 18, 2016 at 9:25 pm #165837Anywhere 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.April 18, 2016 at 10:40 pm #165904Thanks Guust, where would I reinstate the sidebar on the detail page? Here?
“display detail sidebar on left side of detail page”?April 19, 2016 at 9:53 am #166120We added the sidebar, please check.
April 22, 2016 at 8:58 pm #168978Hi Guust, wow thanks!! Is there a way to move it to the right side, or can we only have it on the left side?
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket