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

How to make PayPal Email a Required Field for Affiliate Sign-up

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › WP Affiliate F.A.Q/Instructions › How to make PayPal Email a Required Field for Affiliate Sign-up

  • This topic has 13 replies, 9 voices, and was last updated 10 years, 11 months ago by admin.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • October 4, 2010 at 4:31 pm #1963
    mikru2010
    Member

    Hi,

    i want to pay affilaites through PayPal, and so it would be good to have them enter their PayPal email at signup.

    is there a way to do this?

    October 5, 2010 at 2:10 am #25068
    amin007
    Participant

    =================

    Update We have added a checkbox for this option in the settings menu of the affiliate plugin so you do not need to do this customization anymore.

    =================

    You just have to add the following to the input filed that you want to make a required field:

    class="required"

    Specific Step by Step Instruction

    If you don’t understand HTML then the above probably won’t make any sense to you so here is a step by step instruction on what to do.

    1. If you are using the on page affiliate view option


    Open the “register_view.php” file from the “view” directory of the affiliate plugin and search for the following line:

    <input type="text" name="paypal_email" size="20" value="<?php echo $_POST['paypal_email']; ?>">

    Once you find it replace it with the following:

    <input type="text" name="paypal_email" size="20" value="<?php echo $_POST['paypal_email']; ?>" class="required">

    That should make the PayPal email field a required field for signup.

    2. If you are using the stand alone affiliate view option


    Open the “register.php” file from the “affiliates” directory of the affiliate plugin and search for the following line:

    <input type="text" name="paypal_email" size=20 value="<?php echo $_POST['paypal_email']; ?>">

    Once you find it replace it with the following:

    <input type="text" name="paypal_email" size="20" value="<?php echo $_POST['paypal_email']; ?>" class="required">

    That should make the PayPal email field a required field for signup.

    October 10, 2010 at 9:28 am #25069
    mikru2010
    Member

    That did the trick.

    But how to make the * visible at the sign-up page too?

    Do i need to edit css or is the * to be added manually somewhere in the php?

    October 10, 2010 at 11:46 pm #25070
    amin007
    Participant

    The “*” needs to be added in the PHP file. Open the same two files you modified before and search for the following:

    <?php echo AFF_PAYPAL_EMAIL; ?>:

    Once you find it replace it with the following:

    <?php echo AFF_PAYPAL_EMAIL; ?>: *

    June 23, 2011 at 7:56 pm #25071
    milehigh
    Member

    Would be nice to consider having this option as feature in the plugin. I’d like to incorporate this, but don’t want to have to maintain customizations that might inhibit plugin upgrades.

    September 10, 2011 at 8:07 am #25072
    JeffreyL
    Member

    I agree. That would be a feature I would like to have in the plugin. Can it be added to the new feature list?

    Jeff

    September 11, 2011 at 3:37 am #25073
    admin
    Keymaster

    Added this option in the Affiliate Platform settings menu. You can now simply check the following option in the settings:

    Make PayPal Email Address a Required Field

    December 31, 2011 at 10:58 pm #25074
    masmoola
    Member

    I went in to change this according to the directions above and I see the code has changed slightly in the newer version. Can you offer new directions to help me make the paypal email mandatory?

    thanks

    January 1, 2012 at 5:23 am #25075
    Peter
    Member

    Hi,

    Instead of changing the code you can now simply use the new setting as mentioned by admin in the response above.

    Just go to the Affiliate settings page and enable the “Make PayPal Email Address a Required Field” checkbox.

    If you can’t see this field you will need to upload the newest version of Affiliate plugin:

    https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins

    January 1, 2012 at 6:21 am #25076
    masmoola
    Member

    Perfect. Thank you.

    March 27, 2012 at 1:40 am #25077
    insuracell.ca
    Member

    Hello support,

    There are some fields on the affiliate signup page that I wish to have setup as required fields. How can I do this?

    Thanks,

    Chris

    March 27, 2012 at 6:47 am #25078
    admin
    Keymaster

    If you are a developer and know your way around PHP then I can tell you where to look in the code (this is not an easy modification so you need to understand PHP well). Alternatively, contact us using the contact link on our site for customization quote.

    July 19, 2014 at 2:33 pm #25079
    EricMiranda
    Member

    This is great if you just want to make the Paypal address required. How would you go about making other fields (like the address information) required as well?

    July 21, 2014 at 12:55 am #25080
    admin
    Keymaster

    We are working on creating an option so that you can modify/customize the form fields on the signup form via an interface. In the meantime, you can modify the PHP file to change the form fields however you like. Are you a developer?

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

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • 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
  • 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

Our Other Plugins

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

Copyright © 2025 | Tips and Tricks HQ