Hi, SO over at http://afterthemouse.com/members i have a list of everyone who has joined the site (so far to test... honest i do have more friends than this!) but my issue is that this list is EVERYONE... what i wanted to do was have a checkbox to split out sub groups, say male vs female etc. so i created a form.... but how do i use the members module to pick up on one field to list only those who have ticked that box?

many thanks

Mouse

Comments

Tistur’s picture

Hi,

I struggled with this too, and ended up hacking together a module to make it work. Then I saw http://drupal.org/project/members - After installing, go to Admin > User Management > Members

Hope that helps some,

Tistur

Tistur’s picture

Ack, I reread what you asked. If you're using the default profile module, try

profile/<profile_field_name>/<desired_value>

On my site, for example, I have a field named profile_gender, and I use

View all members that are <a href="http://www.mysite.com/profile/profile_gender/Male">men</a> or all members that are <a href="http://www.mysite.com/profile/profile_gender/Female">women</a>.

Hope this helped,

Tistur

mouse77e’s picture

Better explanation

Following on from http://drupal.org/node/155883

Ok so here’s what I want to create as the basis for my site, what I would like is for someone to tell me the best way to get the results I have had in my old site http://mouse.nodstrum.com/index.php

Firstly: I have Drupal 5.x, with CCK, Members and Organic Groups installed.

The site is a reunion site for old friends to contact each other… a social network. At present the test is at http://www.afterthemouse.com/members

The Group dynamics:
The site members are divided into around eight sub-groups.
These groups are roughly worked out on location.
Some members may have worked in more than one location.
Each member is invited to list the years during which they worked in each location.
In each location there are around twenty sub groups based on job.

I would like each user to sign up, tick the appropriate boxes and then be grouped appropriately.
Previously I had used http://mouse.nodstrum.com/form2.php
to collect the info and displaying each group as… http://mouse.nodstrum.com/results.php?results.php&action=wholeResort&res...
and then each member as e.g. http://mouse.nodstrum.com/full_profile.php?u=11

Any and all help would be appreciated…

Many thanks

p.s. i am both Dyslexic and new to Drupal so please, if this isn't clear let me know.

Tistur’s picture

Nice sign up, by the way. Very pretty.

Welll...

You could create the location groups as groups, and use OG Subgroups to create the job groups.

Or

You could create the location groups as groups, and jobs as a user role. Then the registration could to allow users to choose their own role for jobs and choose which location group.

Or..

You could make both location and jobs roles, and use: this module to set up a complicated system matching everything up.

There are probably other ways, too. Is this helping at all, or am I headed down the wrong path again? ;-)

Tistur