By alexander on Monday, 17 August 2015
Posted in Technical Issues
Likes 0
Views 500
Votes 0
hi guys

I just realised that i'm still having a problem with the searchable admin. Admin as a user can be easily found through advanced search. In the setting admin is disabled from the users listing.
I suspect that it happened because i had to put some details in admin profile but then these things are set a private.
It's only searchable with some searching parameters like "is equal to". Can those parameters be reduced perhaps in the drop downlist?
Thanks
Hi Alexander

Can searching parameters be reduced?


Currently the only way to reduce the search 'parameter' is to edit the php file Take a look at file 'JOOMLA/administrator/components/com_easysocial/includes/advancedsearch/helpers/user.php' at line around 434:


$common = array(
'equal' => JText::_('COM_EASYSOCIAL_ADVANCED_SEARCH_OPERATOR_IS_EQUAL_TO'),
'notequal' => JText::_('COM_EASYSOCIAL_ADVANCED_SEARCH_OPERATOR_IS_NOT_EQUAL_TO'),
'contain' => JText::_('COM_EASYSOCIAL_ADVANCED_SEARCH_OPERATOR_CONTAINS'),
'notcontain' => JText::_('COM_EASYSOCIAL_ADVANCED_SEARCH_OPERATOR_DOES_NOT_CONTAIN'),
'startwith' => JText::_('COM_EASYSOCIAL_ADVANCED_SEARCH_OPERATOR_STARTS_WITH'),
'endwith' => JText::_('COM_EASYSOCIAL_ADVANCED_SEARCH_OPERATOR_ENDS_WITH')
);


Remove the search parameter ( we called it operator hehe ) that you do not want from the array above.

Hope this help
Sam
·
Monday, 17 August 2015 19:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Alexander,

Admin as a user can be easily found through advanced search. In the setting admin is disabled from the users listing.


Currently the 'exclude admin from user listings' is applied to 'browse users' page only. For advanced search, what you can do is to configure the admin users's privacy the 'profile search' to 'only me'. This way, no one but admin him/herself can find their profile in advanced search.

Hope this help
Sam
·
Monday, 17 August 2015 19:11
·
0 Likes
·
0 Votes
·
0 Comments
·
I was able to fix it by setting the security settings in the admin profile to the max ones. So admin is not searchable now, well it's kind of searchable but not visible, which is fine. Just one question about searching criteria, can those parameters be reduced? I don't all 6, 2 will be enough for me to be honest.
·
Monday, 17 August 2015 19:15
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sam

Thanks for the answer, you posted it just 10 secs before me
Can searching parameters be reduced?
·
Monday, 17 August 2015 19:17
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you so much Sam for that

Can that be that with the next update all the searching operators will be back?
If so i will leave it than, because otherwise i would need to edit it all the time
·
Monday, 17 August 2015 19:56
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Alexander,

You are most welcome

Unfortunately upgrade your EasySocial will overwrite all your changes on the search operator. You will need to re-apply the changes if you upgrade in future

Hope this help.
Sam
·
Monday, 17 August 2015 20:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Thanks a lot Sam, Have a great weekend.
·
Monday, 17 August 2015 20:09
·
0 Likes
·
0 Votes
·
0 Comments
·
You are most welcome Alexander. Glad that your issue has been resolved now.
·
Tuesday, 18 August 2015 10:38
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post