Advertisement:

Author Topic: Display Custom Profile Fields in Results of Member List Search  (Read 772 times)

Offline pepa

  • Jr. Member
  • **
  • Posts: 183
Display Custom Profile Fields in Results of Member List Search
« on: January 27, 2018, 06:27:35 AM »
I have posted a Mod request for a more complex version of this ... in the interim.

When you create a custom profile field and check "searchable" a button appears in the member list search box for that field(s).  However the search output does not display the contents of that field instead it displays the usual 'standard output'.

I would like to be able to display, as well as the standard output, the contents of the profile field in the search results.  Anyone know how to do this?

Offline Aleksi "Lex" Kilpinen

  • Support Specialist
  • SMF Super Hero
  • *
  • Posts: 16,710
  • Gender: Male
  • Don't worry, I'm n00b friendly
    • Aleksi.Kilpinen on Facebook
    • aleksi-kilpinen on LinkedIn
Re: Display Custom Profile Fields in Results of Member List Search
« Reply #1 on: January 27, 2018, 08:36:10 AM »
Perhaps this topic could help a bit, Custom profile fields in Who is online and Memberlist
A Finnish Support Specialist
 Happily running multiple SMF 2.0 installations.

"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum.
 Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

Offline pepa

  • Jr. Member
  • **
  • Posts: 183
Re: Display Custom Profile Fields in Results of Member List Search
« Reply #2 on: January 29, 2018, 04:15:01 AM »
Perhaps this topic could help a bit, Custom profile fields in Who is online and Memberlist

Went through that thread, it's an old mod, couldn't get it to install on 2.0.15 and unfortunately my coding days are so many years ago that the code in the mod isn't a lot of help to me.  I posted there if anyone has had any success to please enlighten us.  There does seem to be a lot of interest over time in the profile fields and many people wanting them to be displayed in search results, so surprising there hasn't been another mod developed ... might have to PM the author of this one if no-one is interested in helping with this.