- This topic has 2 replies, 2 voices, and was last updated 12 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › Search does not work
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
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'])."%'";
}
Thank you for pointing this out. We will fix it in the next release.