WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Paid Memberships Pro] How to add more field to registration form?

[Resolved] [Plugin: Paid Memberships Pro] How to add more field to registration form?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Jason Coleman
    Participant

    @strangerstudios

    Here is an example of how to do that:
    https://gist.github.com/1389944

    TC.K
    Participant

    @wp_dummy

    wow…Thanks!!

    TC.K
    Participant

    @wp_dummy

    Hi, I found the code you provided is great, however when I tried it in debug mode, it give me Notice: Undefined index warning for $firstname, $lastname, $companyname and $repname. Though this is not a big problem, but is there any way to get rid of this problem?

    Also, i also get the similar warning Notice: Undefined offset: -1 …plugins/paid-memberships-pro/paid-memberships-pro.php on line 49 upon latest version of PMP activated.

    Plugin Author Jason Coleman
    Participant

    @strangerstudios

    Thanks for the heads up RE the notices/warnings. Will get them fixed with the next push.

    (Those warnings shouldn’t affect anything if you turn off debug mode or otherwise squelch the warnings and notices.)

    Plugin Author Jason Coleman
    Participant

    @strangerstudios

    FYI, I updated the gist to have some more checks to prevent those warnings.
    https://gist.github.com/1389944

    1.4.9 should be out soon with the fix for that other warning. (I think it has to do with running PMPro from one word domains like ‘localhost’ or maybe IP addresses. Anyway, 1.4.9 should handle them.)

    lemonhead101
    Member

    @lemonhead101

    Hello,

    This code is just what I seem to need. But could you advise… exactly where do I put it in the plugin files? Or is there are ready made/ amended version I can download.

    Also, could you not add this as standard so it can be switched on or off in the plugin config. to help non-coders like myself?

    Thanks in advance, 🙂

    L-

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: Paid Memberships Pro] How to add more field to registration form?’ is closed to new replies.