WordPress.org

Ready to get started?Download WordPress

Forums

WP-Members
[resolved] Registration Form Not Working (28 posts)

  1. didi_loves_wordpress
    Member
    Posted 3 years ago #

    I made a members only area for my site as per the instructions from http://wordpress.org/extend/plugins/wp-members/installation/, by pasting <!--members-area--> into a page. However, the new users registration on the page is a form with only one field: username.

    When I try to register with this form, I get the Warning: array_reverse() [function.array-reverse]: The argument should be an array in /home/cofed/didi.cofed.org/wp-content/plugins/wp-members-register.php on line 35

    And when I try to make a separate registration area (<!--reg-area--> into a new page) the page turns up blank.

  2. Chad Butler
    Member
    Plugin Author

    Posted 3 years ago #

    The error you are getting indicates that the option that contains the array of registration fields was not installed when the plugin activated.

    Are you running any type of caching plugin such as WP Super Cache or Total Cache? This could cause problems with the installation process.

  3. didi_loves_wordpress
    Member
    Posted 3 years ago #

    I re-activated the plugin and it works! Thanks.

    However, the <!--reg-area--> page I am making still turns up blank..

  4. Chad Butler
    Member
    Plugin Author

    Posted 3 years ago #

    Here's a couple thoughts on that...

    • Check to make sure you have put <!--reg-area--> in HTML view in the editor. (This is a legacy issue going back the very early versions of this pluin with early versions of WP when there was no visual editor and no short code API. We'll probably change this to the shortcode API structure in a future version.)
    • Are you using default permalinks? (i.e. http://mysite.com/?p=123) If so, be certain that your page is titled "Register".
    • If you are not using default permalinks but have opted for (the nicer looking) "pretty" permalinks, make sure the page slug is "register".

    Hope that helps!

  5. didi_loves_wordpress
    Member
    Posted 3 years ago #

    Sorry I've been working on something else these few days. Thanks for your help. It seems like changing the page title to "register" did the trick. Thanks a lot!

  6. teluguhouston
    Member
    Posted 3 years ago #

    Hi,
    Thanks for the wonderful plug-in. It was working fine but after I recently upgraded wp 3.1 and Arras 1.5, I noticed the members area and registration are not working. I recreated the pages with correct slug name still not working.

    Any help is appreciated.

    Regards

  7. Chad Butler
    Member
    Plugin Author

    Posted 3 years ago #

    Some questions -

    What version of the plugin are you using?

    When you recreated the pages, did you use the HTML view (if using the legacy version) or Visual (if using shortcode)?

    What are you permalink settings?

    Is the site live? Can you post a link so I can take a look?

  8. teluguhouston
    Member
    Posted 3 years ago #

    plugin version 2.2.2
    used HTML and made sure the slug name is Members-Area
    (I changed the permalink settings to (month/etc) other than default to change the slug name)

    site http://www.teluguhouston.org

    I had to remove the page as it is not showing any form. Please notify if you want me to add the page.

    Regards

  9. Chad Butler
    Member
    Plugin Author

    Posted 3 years ago #

    If the form is not showing, I would check to make sure that have put in <!--members-area--> for the members area using the HTML view of the editor. If you put it in using the Visual view, it will render as & lt;!--members-area--& gt;, which the parser will not recognize.

    You could also try the shortcode version. For this you would use the Visual view of the editor (which is what most people have it on and leave it on anyway). The shortcodes you can use are:

    • [wp-members page="members-area"]
    • [wp-members page="register"]
    • [wp-members page="login"]

    For any of these, you no longer need to worry about the page name. So, if you wanted to call the page "Members Settings," you could do that using the shortcode.

  10. teluguhouston
    Member
    Posted 3 years ago #

    Thanks for the response. Sorry to bug you with this issue.

    For the previous line I was using HTML. It didnt work.

    Now, I used the shortcode as specified above in visual mode on a test page but the page is just displaying the short code as below.
    ==================
    test wpm
    [wp-members page="register"]
    ====================

    No form, as if it is not recognizing the wp-members. I verified and the plugin is active. My WP version is 3.1.1 and Arras 1.5

    Regards

  11. Chad Butler
    Member
    Plugin Author

    Posted 3 years ago #

    That is rather perplexing as we can tell that the shortcodes are not being parsed. That means that the plugin in this instance is not being fired. As you stated, the plugin is showing active in the admin panel, but clearly, when the members area is being called, it is not seen as active.

    I would suggest starting with a clean install of the plugin.

    1. make note of any settings you have set for the plugin as you will be flushing the database of these
    2. deactivate the plugin
    3. select "delete" in the plugin admin panel (must be done from plugin admin panel otherwise the uninstall function will not clear the db settings)
    4. download the most recent version of the plugin (go to Plugins > Add New and search by term wp-members
    5. install and activate
    6. reset any of your previous settings
  12. teluguhouston
    Member
    Posted 3 years ago #

    I did as per your notes. Much better :) almost there.

    Things looking much better. But, noticed the registration form appearing 2 times on my webpage. At the top of the page before the banner followed by a banner and the form.

    Can you please check the register form under the Members-area
    http://www.teluguhouston.org/tcahouston

    Thanks again for your help on this nice plug-in.

    Regards

  13. Chad Butler
    Member
    Plugin Author

    Posted 3 years ago #

    This is generally caused by more than one instance of the Loop on a page. There are themes and plugins that will utilize an instance of the Loop in the header. Looking at the generated source, I see that the forms are being placed in the header, which confirms that is the case.

    When fired, WP-Members replaces the_content in the Loop with the login/registration information. When there are multiple loop instances, this creates a conflict.

    There is not really a workaround for this. You basically need to track down the offending script and figure out whether that could be removed, or changed, or not. That means basically deactivating all plugins except WP-Members, then testing. If the problem persists, it is in your theme. If not, bring up your other plugins one-by-one and retest each time to track down if it is an incompatible plugin.

  14. teluguhouston
    Member
    Posted 3 years ago #

    Don't recall but this has started with WP 3.1.1 or Arras 1.5
    Is this plugin compatible with the these versions? Not sure how to go from here as I have not many plugins.
    Going to 3.1.2 will fix this?

    thanks.

  15. Chad Butler
    Member
    Plugin Author

    Posted 3 years ago #

    This plugin is compatible with WP 3+ including 3.1.2.

    I did take a look at the Arras theme and in this case, the incompatibility is a function in the theme header called arras_document_description() which uses an instance of the Loop to get the post excerpt and write it to a meta tag.

    You have a few options.

    • The easiest thing to do would be to comment out this function in the theme's header.php. However, that's not an upgradeable fix as the change would be overwritten if you upgrade the theme.
    • I reviewed the function, and if the plugins Platinum SEO Pack or All-in-one SEO Pack are present, it defaults to them for meta tags, thus not using this extra Loop instance. I would suggest installing one of those.
  16. teluguhouston
    Member
    Posted 3 years ago #

    Thanks a lot. I installed Platinum SEO and everything working great.

    Appreciate all your help.

  17. Chad Butler
    Member
    Plugin Author

    Posted 3 years ago #

    Good news - glad you got it working!

  18. teluguhouston
    Member
    Posted 3 years ago #

    Thanks for all your help. One last question :)
    It may not be related. When a user changes pwd, it is showing message that an email is sent to the user's email but it didn't do that. Which email it is looking to send? Any direction please?

  19. Chad Butler
    Member
    Plugin Author

    Posted 3 years ago #

    I don't think that's related. But first let me ask is this when the user changes a password, or resets a password? If a logged in user changes their password, there is no email sent for that action. However, if a user forgets their password, they have the opportunity to reset it by entering their username and email address. A new random password is sent via email in that case and then the user can log in to change it.

    If an email is not being sent, you do need to do some troubleshooting. The plugin uses the native WP function wp_mail for all of the emails that it sends. So, the first thing to check would be to find out if it is sending emails at all, and specifically from WP itself.

    To check that wp_mail is functioning properly, create a new user in WP via the Users admin panel. When you do this, make sure (1) you use an email address that you have access to, and (2) check the box that says "Send this password to the new user by email." If you do not receive an email via that process, wp_mail is not functioning in which case it is not the plugin and you'll need to do some deeper troubleshooting as this is beyond the plugin.

    If you do receive that message, then I would check to see if the plugin is sending other messages. First I would ask, have any changes been made to the plugin code customization-wise? The process of resetting a password uses wpmem_reset_password() in wp-members-core.php. That function uses wpmem_inc_regemail() in wp-members-email.php. If any changes were made to either of those two functions (or files), you could have introduced a bug. If not, and WP is sending emails, then we need to test to see if the plugin is sending other emails.

    In the plugin admin panel, check the box "Notify admin." Then create a new user via the plugin in the frontend of the site. Did you receive messages from that process (one for the new user and one for the admin)?

    If none of these are being sent, we need to look into why. Are you using another plugin that has anything to email that could cause a conflict?

    If those are being sent, then it seems odd that this one particular email is not. Have you checked your junk mail folder? Also, you might wait a period of time just to make sure that it is not being delayed for some reason, either by your server or your mail server.

    Hopefully, that gives you something to go on. Let me know if you track down the issue.

  20. teluguhouston
    Member
    Posted 3 years ago #

    Hi sorry to give you more and problems.

    You are right the issue is my WP Email. I installed a plugin WP MAIL SMTP to fix this and all emails are going fine from WB-Members.

    Really this is an excellent Plugin. Appreciate all your help to the folks.

    Now I have to dig into how to load data to the members database using a CSV file but I will try. I gave enough trouble already :)

    Regards

  21. Chad Butler
    Member
    Plugin Author

    Posted 3 years ago #

    No problem! Hope that goes well. There are several user import plugins out there. Depending on the fields you are using and if you use one of these scripts, you might need to do some slight modification to accommodate the custom fields.

    Good luck!

  22. teluguhouston
    Member
    Posted 3 years ago #

    Hi,
    Small email related issue. Any help?

    When a user registers on the site, NO email is going to the user with the a userid/pwd. Even as an admin i tried to add a user (checked the box to send an email to the user) but still no email.

    But, the reset pwd option is sending the temporary pwd to the user.

    I have not made any changes to the plugin.

    Appreciate any suggestions.

  23. teluguhouston
    Member
    Posted 3 years ago #

    Sorry. I think I am getting the mail but little slow.
    No issues for now.

    Regards

  24. olivda2
    Member
    Posted 3 years ago #

    Hi,

    I was getting a blank content area when using the 'register' shortcode. I found that it was down to the generic WordPress issue which is acsusd when you copy and paste short codes with speechmarks in. For some reason WordPress does not like curly speech marks. The solution with a lot of these bugs is to overtype the pasted speech marks "" with fresh ones "". Sounds crazy, it is, but it works!

  25. teluguhouston
    Member
    Posted 3 years ago #

    Chad,
    Back again with another issue. This is not related to WP-members but appreciate any direction.

    I changed the hosting company and website domain to tcahouston.org

    Enabled smtp and wp-mail etc..the registration pages are working fine.
    But the cforms are not submitting the form and not receiving any emails.

    Any help.

    Regards.

  26. Chad Butler
    Member
    Plugin Author

    Posted 3 years ago #

    hmmmm... do you have the site setup in a subdirectory (i.e. http://mydomain.com/myblog/ rather than http://myblog.com)?

  27. teluguhouston
    Member
    Posted 2 years ago #

    Thanks for the response. None of the forms were submitting and I finally turn off the Ajax in the cforms and it is working now.

    BUT, we are getting many spam registrations. Is there a way to control this. Appreciate any help on this.

    Regards

  28. Chad Butler
    Member
    Plugin Author

    Posted 2 years ago #

    Probably the best way to avoid spam registrations is to turn on the reCAPTCHA option

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags