• Resolved rish30990

    (@rish30990)


    I want public to register on site. For that I put registrations shortcode ([wppb-register] ) on page and it shows message “Only an administrator can add new users.” instead of form. Any suggestions?

    • This topic was modified 7 years, 4 months ago by rish30990.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter rish30990

    (@rish30990)

    Ok got the solution of this one. Settings -> General. There click on anyone can register.

    • This reply was modified 7 years, 4 months ago by rish30990.
    Plugin Author Georgian Cocora

    (@raster02)

    Hello @rish30990,

    Yes, our plugin needs that option checked before users will be able to register themselves.

    Regards.

    Thread Starter rish30990

    (@rish30990)

    Hello @raster02 I have one more question. Can I show logout link and user name on header section? Because right now after login user has to go to login page again to logout. It would be better if user get logout option on header so they can do logout from any page.

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

    (@rish30990)

    Hello @raster02 I have one more question. Can I show logout link and user name on header section? Because right now after login user has to go to login page again to logout. It would be better if user get logout option on header so they can do logout from any page.

    Plugin Author Georgian Cocora

    (@raster02)

    Hello @rish30990,

    You can use the [wppb-logout] shortcode to generate a logout link. Check our documentation page, the text that is displayed can be modified as well.

    For example, this shortcode will display: Hello FIRST_NAME. Logout>>
    [wppb-logout text="Hello {{meta_first_name}}"]

    Let me know if this works.

    Regards.

    Thread Starter rish30990

    (@rish30990)

    It worked as I wanted. Thanks for solution ?? . One last thing I want to confirm. Can we write shortcode in template file (Theme’s php file)? Something like do_shorcode(). Although I can find a way without using template file but if php shortcode is available then it would be better. Your linked documentation didn’t mention about php shortcode.

    Regards

    • This reply was modified 7 years, 4 months ago by rish30990.
    • This reply was modified 7 years, 4 months ago by rish30990.
    Plugin Author Georgian Cocora

    (@raster02)

    Yes, you can use do_shortcode() over it as well.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Only admin allowed to add user’ is closed to new replies.