I make a traditional dating site.

On registration, user has a choice to choose
"I'm a Woman Seeking a Man" or "I'm a man seeking a Woman"
/ Taxonomy - Add Vocabulary - Gender - Add terms: I'm a Woman Seeking a Man .......
Profile2 module - Add field - Gender - Term reference .../

I have is a simple view that the lists were registered all users.

My job is a display only the users, that users are interested in. And vice versa.
In other words:
I need a view of what the users are logged on. The Women would show only the Men, the Man, only the Womens.

I have been trying to do this for many days but no luck.

I think that there is a way to do this in drupal 7. Every kind of help is welcome.
Any suggestions?

Comments

Stefan Lehmann’s picture

The only way I can find, without installing another module is using a filter like: Last access < -20 minutes, see: https://www.drupal.org/node/843288 .. which sounds good enough to me.

I like cookies!

PetyaKmet’s picture

I apologize that I can only little english.
My task:
For example, if I chose when registering that I'm a man, I should see only women.
If someone is registered as a woman, she only see men.
The current user should see the opposite sex.

Stefan Lehmann’s picture

Well there are not only straight people on this planet or? You could add a field: Interested in? and add this as a contextual filter to the view. Alternatively you could just fill this field by yourself as a helper for tasks like this.

I like cookies!