Title: Ultimate Member Plugin Integeration
Last modified: June 23, 2022

---

# Ultimate Member Plugin Integeration

 *  Resolved [fegs1204](https://wordpress.org/support/users/fegs1204/)
 * (@fegs1204)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/ultimate-member-plugin-integeration/)
 * I was reading the Topic “How to include pool choice in registration form?’” but
   unfortunately it is already closed, and the final solution was not published.
   Can you please share how were you finally able to read/write the league field
   using the plugin Ultimate Member?

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

 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/ultimate-member-plugin-integeration/#post-15762833)
 * Hi, do you have a link to the other topic? The search in this forum is really
   terrible 😀
 * If I have the old topic, maybe I can find something in my notes or email based
   on the info in it.
 *  Thread Starter [fegs1204](https://wordpress.org/support/users/fegs1204/)
 * (@fegs1204)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/ultimate-member-plugin-integeration/#post-15763914)
 * Hi Antoine, thanks for your prompt answer! This is the link:
    [https://wordpress.org/support/topic/how-to-include-pool-choice-in-registration-form/](https://wordpress.org/support/topic/how-to-include-pool-choice-in-registration-form/)
   Best regards!
 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/ultimate-member-plugin-integeration/#post-15764556)
 * The solution is in [this post](https://wordpress.org/support/topic/how-to-include-pool-choice-in-registration-form/#post-9947190).
   You’ll have to save this code fragment as a file in your /wp-contents/plugins
   folder and then activate as any other plugin.
 * Make sure you check if the ID’s of your leagues are the same as the ones in the
   script. If not, then add these lines to your wp-config file with the correct 
   numbers:
 *     ```
       define( 'FPX_LEAGUE_FOR_FREE', 3 );
       define( 'FPX_LEAGUE_FOR_MONEY', 2 );
       ```
   
 * Or change the values in the code fragment.
 * And since the code checks on the exact text values in the select, also change
   the league names in the `switch ( $league )` statement to reflect yours.
 * Hope this helps.
 *  Thread Starter [fegs1204](https://wordpress.org/support/users/fegs1204/)
 * (@fegs1204)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/ultimate-member-plugin-integeration/#post-15768801)
 * Dear Antoine,
    In the post ([https://wordpress.org/support/topic/how-to-include-pool-choice-in-registration-form/#post-9947190](https://wordpress.org/support/topic/how-to-include-pool-choice-in-registration-form/#post-9947190))
   [@pc1271](https://wordpress.org/support/users/pc1271/) says that the code was
   not working and you got to check it. Then he says that you found out that the
   solution was to “translate the strings”, I have not been able to get this code
   to work, maybe i’m missing something regarding the “translation of the strings”?
 *  Plugin Author [AntoineH](https://wordpress.org/support/users/antoineh/)
 * (@antoineh)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/ultimate-member-plugin-integeration/#post-15768809)
 * What I also mentioned in my previous post: the code checks on the exact tests
   that you use in your form field. So if you use ‘for free’ as an option in the
   dropdown it will work, but if you use another name for your league, you’ll have
   to change this part of the code:
 * `case 'for free':`
 * And the same goes for the other league.
 *  Thread Starter [fegs1204](https://wordpress.org/support/users/fegs1204/)
 * (@fegs1204)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/ultimate-member-plugin-integeration/#post-15768925)
 * Thank you Antoine, that was exactly my problem, finally it’s working as expected!
   Best Regards.

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

The topic ‘Ultimate Member Plugin Integeration’ is closed to new replies.

 * ![](https://ps.w.org/football-pool/assets/icon-256x256.png?rev=983880)
 * [Football Pool](https://wordpress.org/plugins/football-pool/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/football-pool/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/football-pool/)
 * [Active Topics](https://wordpress.org/support/plugin/football-pool/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/football-pool/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/football-pool/reviews/)

## Tags

 * [form](https://wordpress.org/support/topic-tag/form/)
 * [Registration](https://wordpress.org/support/topic-tag/registration/)
 * [um](https://wordpress.org/support/topic-tag/um/)

 * 6 replies
 * 2 participants
 * Last reply from: [fegs1204](https://wordpress.org/support/users/fegs1204/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/ultimate-member-plugin-integeration/#post-15768925)
 * Status: resolved