• I am using this with the Events Calendar Community Events that lets members add events.
    The page to submit events does not have a page edit section to set what levels of membership I want to restrict it to however.

    Is there a code or a way to make it so only logged in members could access this page?
    maybe a way to manually put that restriction in?

    https://www.ads-software.com/plugins/simple-membership/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi you might have to use a different plugin to restrict access to this calendar. Does the calendar plugin have any type of security access level set up? Does it uses shorcodes? What I mean is, does the calendar page use a shortcode to display the calendar in the page?

    Thread Starter reclifford

    (@reclifford)

    Not that I am aware of but I am awaiting a response from plugin about adding it to another page to regularly restrict it.

    The only thing it allows like that is to make it public or for members (WP members).

    Is there a way to add a code in the functions and restrict the form page based on the membership ID based on whatever code is added to the pages restricted that I could add to the form via ftp?

    Thread Starter reclifford

    (@reclifford)

    Or something to add to make memberships recognized like a WP account?

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, thank you for reporting back. I look forward to your reply.

    Thread Starter reclifford

    (@reclifford)

    They do not have shortcodes at this time.
    Is there a way to add the restriction based on the membership ID# for a URL or someway to manually put that restriction onto a pages URL or template?

    Thread Starter reclifford

    (@reclifford)

    Perhaps something That I can add into the forms?

    They have this code for inserting content BEFORE the form so I could probably fill some code in its place.

    `add_action(‘tribe_events_community_form_before_template’, ‘my_custom_text’); function my_custom_text() { echo ”

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, try the following PHP tweaks. There might be some code there that might put you on the right track. Does the events calendar allow you to embed the code into a template?

    Thread Starter reclifford

    (@reclifford)

    Yes it allows to put in the template.
    They told me what template to enter the code in. I just can’t find what code it is that is entered usually in the protected pages to enter in the template file.

    Thread Starter reclifford

    (@reclifford)

    I need whatever code is added to protected sites to restrict access only to membership level IDs 3-8

    Plugin Support mbrsolution

    (@mbrsolution)

    Hi, the plugin developers will investigate further your request.

    Thank you

    Plugin Author wp.insider

    (@wpinsider-1)

    This is custom coding. You will need to hire a developer for this. I really don’t understand your requirement and also I can’t custom code for users.

    Thread Starter reclifford

    (@reclifford)

    Our requirement is to restrict a page that is generated by a plugin and doesn’t show on regular pages section. We have the file to that is the template for that page but do not know what code is entered on pages or where a URL is added in SM that we can add into the template file for this page.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Manually restrict plugin page?’ is closed to new replies.