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

Search does not work

by

Simple Membership Plugin › Forums › Simple Membership Plugin › Search does not work

This topic contains 2 replies, has 2 voices, and was last updated by  admin 6 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • August 7, 2014 at 3:36 pm #138

    shift
    Participant

    In the administration of wordpress, the search system is not looking for any parameter.
    Do not search by name, not by ID search, no search by email.

    I need this quest with some urgency.
    Help me, please

    Thank you

    August 7, 2014 at 4:19 pm #139

    shift
    Participant

    I managed to make it work
    Below is the change I made for those who have the same problem

    ————————

    arquivo classes/class.bMembers.php

    if (isset($_POST['s'])){
       $query .= " WHERE user_name LIKE '%".addslashes($_POST['s'])."%'
    	OR first_name LIKE '%".addslashes($_POST['s'])."%'
    	OR last_name LIKE '%".addslashes($_POST['s'])."%'
    	OR email LIKE '%".addslashes($_POST['s'])."%'";
    }
    August 8, 2014 at 5:35 am #146

    admin
    Keymaster

    Thank you for pointing this out. We will fix it in the next release.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Please read this message before you start using our plugin.

Search

Featured Addons and Extensions

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

Copyright © 2021 | Simple Membership Plugin | Privacy Policy