Home Forums Theme Support Dokan Dokan Plugin: Show Register and Login when not logged in and Logout when Logged

This topic is: not resolved

This topic contains 5 replies, has 3 voices, and was last updated by  towhid 4 years, 7 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #31724

    roderswiss
    Member
    Post count: 63

    Hi,

    I see this problem on the plugin. I can't display correctly the Register or Login links when users are not logged in, and Logout button (only) when users are logged in.

    Can you please advise?

    #31796

    towhid
    Participant
    Post count: 4505

    Hello Roderswiss,

    Make sure you have enable anyone register option in WordPress Settings page. If not please navigate to Settings->General->Membership-> Anyone can register (enable the checkbox) and let me know the result. Hope it will solve your problem.

    Thank You ๐Ÿ™‚

    #31868

    roderswiss
    Member
    Post count: 63

    Hello Towhid,

    maybe I didn't make my self clear enough. When you have the Dokan Theme you see at the top bar the login button when your not logged in. When you're logged in you see the logout button. Further more the Seller Dashboard is only shown if the registered user is a Seller not a Customer.

    So basically it helps to navigate through the features.

    The problem is that when using the Dokan Plugin we will always see the Login button no matter if we are already logged in. Seller Dashboard link will be shown to everyone no matter if they are not a Seller at all.

    So there's no logic running in the backend to know whether to show the login or logout link nor the seller dashboard.

    Hope it's clearer now.

    Thanks once more.

    #31894

    Roberto
    Member
    Post count: 59

    There are hundreds of plugins (baw login-logout, wordpress access control & so on ) that allows you to create multiple menus for logged-in loggedd-out or to protect pages. Check them out!

    Cheers

    #31905

    roderswiss
    Member
    Post count: 63

    Dear Roberto thanks for your tips.

    Even if one of those hundreds of plugin would work it won't certainly work to protect the Seller Dashboard as it is a Dokan only feature.

    Still waiting the Dokan team to respond.

    Thanks!

    #31953

    towhid
    Participant
    Post count: 4505

    Hello Roderswiss,

    If You want to show dashboard and top bar for customer then there no provision. You can make all the customer as a seller and it is the solution . It is not necessary to search any function. For that you must be delete the register as a customer functional code block.

    Hope you understand.

    Thank You ๐Ÿ™‚

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

The topic ‘Dokan Plugin: Show Register and Login when not logged in and Logout when Logged’ is closed to new replies.