Support only during business hours : Monday to friday, from 8:30 am – 5:30 pm CEST

Due to the decrease in our staff due to vacations, our response time may be longer.

Be sure we're doing our best to manage your topic as soon as possible.

Male/Female member swap

This topic is resolved
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • kam
    Participant
    • 40 Topics
    • 139 Posts
    @harryshapes

    Hi,

    I am using the code snippet provided to create 2 pages of gender member swap.

    1. Female member swap
    2. Male member swap

    The code I am using for male is:

    [bps_directory template=”members/index-swap” field_35=”male”]

    I use the same code and change male to female for female member swap.. is this correct?

    When I test on each member swap page I created it doesn’t seem to show just the specific gender swaps.. instead it just shows all members still?

    What am I doing wrong?

    Please advise

    Thanks

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1675 Posts
    @themosaurus

    Hi Kam,

    Usually, there’s really not more to it. (Please review the screenshot to seen how we did on our demo.)

    Can you please make sure:
    – The field ID is correct on your instance as it might differ from the field from our tutorial?
    – The first letter is uppercase (Male or Female) if that what’s displayed on your website. BuddyPress compares and stores text field values by keeping track of their cases. So please make sure the values compared are exactly the same.

    Regards

    kam
    Participant
    • 40 Topics
    • 139 Posts
    @harryshapes

    In regards to the Field ID

    How do I check what field ID I should be using.

    Sorry just want to clarify..

    Thanks

    Themosaurus
    Keymaster
    Themosaurus Support
    • 1 Topics
    • 1675 Posts
    @themosaurus

    Hi Kam,

    Sorry, I should have provided you with this info too.
    You can find the field_id parameter in your admin URL when editing the field.

    Just navigate to “Users > Profile Fields”, select your field and click Edit. Please check the URL and look for the &field_id=

    We hope this helps.

    Best,

    kam
    Participant
    • 40 Topics
    • 139 Posts
    @harryshapes

    Hi

    I did this and my field ID for gender is 3.

    So I change this update and test and I can still see both male and female on both searches. Male swap and female swap?

    🙁

    kam
    Participant
    • 40 Topics
    • 139 Posts
    @harryshapes

    Wait.. seems to be working now.. I was a bit quick off the mark that’s all!

    Great job guys! Thanks for the quick response

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Male/Female member swap’ is closed to new replies.

Troubleshooting Demo Imports

You're trying to setup your theme but you're experiencing errors when importing the demo content? Or you've just followed the setup guide but your website doesn't look exactly like our demo? These are common issues for which you can find easy and quick fixes.

Happy With our Support So Far?

Feel free to review our theme on Themeforest! It helps us making our products more known to new potential customers, which allow us more time to improve the quality and develop new features. #SharingIsCaring ❤️

Discover MatchPress

Skip • Like • Super-Like

Add powerful matching features like Member likes, skips, super likes, conditional private messaging and much more.

Setup Your Cera or Gwangi powered Community Website and Turn it into an iOS and Android App

15% discount for Cera users

To unleash the full power of your Cera or Gwangi theme, we have partnered with the Zipline team. Your community website can now be fully setup and turned into your very own custom app for iOS and Android.

Whether you've newly acquired the theme or already got your site up and running, Zipline got you covered. And we got you an incredible discount.

Holiday, Weather & Festive effects
to pimp your WordPress Site