WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] how to change "Unauthorized Access" to something custom? (6 posts)

  1. radi_v
    Member
    Posted 1 year ago #

    So I have EM on my site and have it setup so only register users can post events. Currently if guest goes to the page he will see

    Unauthorized Access
    You do not have the rights to manage this Event.

    Is there a way to change this message to something custom?

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 1 year ago #

    yes, try to modify template file at wp-content/plugins/events-manager/templates/forms/event-editor.php

    to use templates - http://wp-events-plugin.com/documentation/using-template-files/

  3. radi_v
    Member
    Posted 1 year ago #

    thanks, that worked.
    btw why you did not include that option into the settings of the plugin?

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    i guess we could add it one day, but in this case I'd say your guests shouldn't be allowed to access that page in the first place if only restricted to logged in users (e.g. make it private, or add use http://wordpress.org/extend/plugins/redirection/ to redirect them somewhere more sensible).

  5. radi_v
    Member
    Posted 1 year ago #

    Well I am not sure why would you want to redirect your users to other pages.

    The idea is that if you are not logged in, you will see a message that will let you know that you need to login before you can post events...

    The "Unauthorized Access" message is not telling the user why he/she cannot post events.

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    I mean redirect them to a page with more explanations. Or, alternatively, modify the template file.

    Just giving you the options you have atm :) in the future we'd certainly adding something to the settings page, but we have a lot of feature requests and are working through them.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.