FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Changing membership list
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Changing membership list [message #26087] Mon, 04 July 2005 15:46 Go to next message
keneisman is currently offline  keneisman   United States
Messages: 68
Registered: May 2005
Karma: 0
Member
Is there a way to change (add) the fields displayed in the 'Members' list? Specifically I'd like to add the location and occupation fields to the list for all members to see. I looked in the template editor but didn't see anything obvious.

Thanks
Ken
Re: Changing membership list [message #26089 is a reply to message #26087] Mon, 04 July 2005 16:41 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Just change the finduser.tmpl template, for additional fields you will need to modify the data retreival query inside finduser.php.t with the fields you want.

FUDforum Core Developer
Re: Changing membership list [message #26094 is a reply to message #26089] Mon, 04 July 2005 19:05 Go to previous messageGo to next message
keneisman is currently offline  keneisman   United States
Messages: 68
Registered: May 2005
Karma: 0
Member
Thanks for pointing me in the right direction.

I must say, I'm pretty proud of myself for getting it to work. I really know diddly-squat about PHP so it was kind of a trial and error ordeal. The only thing I couldn't figure out was how to get the columns to sort like the original columns do. It's not that important so I didn't spend much time on it.

Do you have any hints/best practices for me to keep the changes I made when I upgrade to a new version?

Thanks again
Ken
Re: Changing membership list [message #26096 is a reply to message #26094] Mon, 04 July 2005 19:20 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
My best suggestion would be to generate a "diff" using the diff utility based on the original and the modified file. If after the upgrade your changes are lost, you can re-apply them by using the generated diff and patch utility.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Member passwords
Next Topic: How to order by locked status first, date secondly?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 21:03:06 GMT 2024

Total time taken to generate the page: 0.02495 seconds