Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Looking on April 19, 2016, 10:08:58 AM

Title: Search Custom Field
Post by: Looking on April 19, 2016, 10:08:58 AM
Is that ability to search a custom field available in SMF2? I need this for admin search for members by 'x' custom field. I did some searches in the community but got mixed answers with some people saying there was a select option to search by custom field - is that a mod or something available in SMF1?

I am hoping I will not have to custom code with a join to the smf_themes table.
Title: Re: Search Custom Field
Post by: nfmovil on October 25, 2016, 09:48:47 PM
I found this but is not working with the latest version, I need this mod too.

http://custom.simplemachines.org/mods/index.php?mod=2566
Title: Re: Search Custom Field
Post by: Dzonny on October 26, 2016, 08:21:25 AM
Please take a look at this manual and see if you can install that mod on your SMF version:
How can I install a mod that doesn't work in my SMF version? (http://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version)
Title: Re: Search Custom Field
Post by: aegersz on October 26, 2016, 11:29:44 AM
wait up !, for the "Search Focus Dropdown", this is more like it: http://custom.simplemachines.org/mods/index.php?mod=1634

i use both, actually but that's because i never got around to removing mod=2566.
Title: Re: Search Custom Field
Post by: Illori on October 26, 2016, 11:54:28 AM
That mod does not search for the custom profile fields.
Title: Re: Search Custom Field
Post by: aegersz on October 26, 2016, 11:58:15 AM
apologies, i didn't take that in when i read it ... so how does this forum have those nice dropdown options then ?
Title: Re: Search Custom Field
Post by: Illori on October 26, 2016, 12:47:15 PM
It is some custom code
Title: Re: Search Custom Field
Post by: aegersz on October 26, 2016, 12:57:30 PM
i figured that, much like how you handle your adverts etc.

do you package the code up as mods but that remain proprietary  ?

if so, why not share that code either as a default feature or as an installable Package ?
Title: Re: Search Custom Field
Post by: Illori on October 26, 2016, 01:05:23 PM
At this time the team does not wish to release such code.
Title: Re: Search Custom Field
Post by: aegersz on October 26, 2016, 01:21:37 PM
AHA !! just as i suspected, you guys are keeping all the good code to yourselves ;)

hell, i'm just grateful for the code that you DO release.

all good ... i won't pursue it any further and the mod i recommended can always be modified to come closer to what the OP wants, i guess that's one option.