Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

Restrict the search to logged in users

Simple Membership Plugin › Forums › Simple Membership Plugin › Restrict the search to logged in users

Tagged: search

  • This topic has 4 replies, 2 voices, and was last updated 9 years ago by bcalles.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • November 17, 2017 at 5:38 pm #12492
    bcalles
    Participant

    Is there any tips on how to restrict the search for non logged in users? I have the search option on a protected page, this works OK. But any user who uses /?s= in the browsers link field will get all titles of pages, so is there a way to stop searches for non logged in users?

    /Bo

    November 18, 2017 at 6:12 am #12502
    mbrsolution
    Moderator

    Hi, can you provide an example of what you mean?

    Thank you

    November 18, 2017 at 11:54 am #12507
    bcalles
    Participant

    Hi, in the meantime the developer of the search plugin Relevanssi did help me solve the issue, as he gave me some few code lines who takes user login status from Simple Membership into account before allowing the search to start.

    /Bo

    November 18, 2017 at 9:04 pm #12512
    mbrsolution
    Moderator

    Hi, that is great news.

    Perhaps you might like to share your solution for others who may run into a similar situation as yours.

    Thank you

    November 19, 2017 at 5:48 pm #12521
    bcalles
    Participant

    Hi there,
    Not sure if I can share, so anybody with this issue should contact Relevanssi directly.
    /Bo

  • Author
    Posts
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy