Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

eMember: make default gender female in Add/Edit Members screen

by

Tips and Tricks HQ Support Portal › Forums › WP eMember › eMember: make default gender female in Add/Edit Members screen

  • This topic has 2 replies, 2 voices, and was last updated 10 years, 4 months ago by johnw1965.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • November 18, 2012 at 4:24 am #7940
    johnw1965
    Member

    When entering new members into eMember via the Add/Edit Members screen, is it possible to set the default gender for new members to be female?

    I’m assisting a non-profit whose membership is 95% female and this simple setting would save lots of unnecessary, repetitive mouse clicks for the secretary.

    November 18, 2012 at 6:59 pm #51503
    nur
    Member

    Yes. Thats possible with a tweak. open add_member_view.php and swap the following line with each other:

    Code:
    <option <?php echo ($editingrecord[‘gender’] ===’male’)? “selected=’selected'” : null;?> value=”male”>Male</option>
    <option <?php echo ($editingrecord[‘gender’] ===’female’)? “selected=’selected'” : null;?> value=”female”>Female</option>

    so after modification, its gonna look like :

    Code:
    <option <?php echo ($editingrecord[‘gender’] ===’female’)? “selected=’selected'” : null;?> value=”female”>Female</option>
    <option <?php echo ($editingrecord[‘gender’] ===’male’)? “selected=’selected'” : null;?> value=”male”>Male</option>

    November 19, 2012 at 12:19 am #51504
    johnw1965
    Member

    Thanks. Now done and working fine. Appreciate your help.

    So will I have to do this mod every time I update the eMember plugin to the latest version?

    I presume that every update will overwrite the modified add_member_view.php file.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • WP PDF Stamper Documentation
  • WP Photo Seller Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial
  • WP Photo Seller Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Download Monitor

Copyright © 2023 | Tips and Tricks HQ