modify search form

This forum is now closed as part of retiring phpBB2.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

This forum is now closed due to phpBB2.0 being retired.
Post Reply
bestel
Registered User
Posts: 1
Joined: Fri Mar 28, 2008 10:05 pm

modify search form

Post by bestel » Fri Mar 28, 2008 10:25 pm

Hi everyone.

A friend of mine asked me to help him with his forum.

He wanted members to be able to declare wich sport they practise, and to search the oher members who practice one or several sports.

What I've done first, is to change the mod Gender, to make it show a dropdown list to propose some sports to the members (I've only change the displayed labels).

Now, my problem is to change the search form, to allow search by sport by selecting on (or several) check boxes.

Could some one tell me how to do that ?

Thanks ;)

User avatar
drathbun
Former Team Member
Posts: 12204
Joined: Thu Jun 06, 2002 3:51 pm
Location: TOPICS_TABLE
Contact:

Re: modify search form

Post by drathbun » Sat Mar 29, 2008 12:38 am

Hi, since you are looking for help with some coding the best place to post in the MOD Writers forum. You don't have to be writing a "MOD" (code modification) for publication, just writing some code related to phpBB in some way. Moving your topic now, best of luck with your project.
I blog about phpBB: phpBBDoctor blog
Still using phpbb2? So am I! Click below for details
Image

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 21034
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: modify search form

Post by RMcGirr83 » Sat Mar 29, 2008 1:09 pm

IIRC, the gender mod uses integers to delimit between none, male and female. If all you did was change the wording you would have, I am guessing, three options. You could modify the memberlist sorting to account for this.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

Post Reply

Return to “[2.0.x] MOD Writers Discussion”