Website Membership - Sign-up Issue
3 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: May 28, 2012 (RSS)
By Perchpole - May 28, 2012
I've run into a small but irritating problem with the sign-up component of the WSM plugin.
My sites are built around a strict category structure. This allows me to load a specific page template according to the $selectedCategory. However, when trying to sign-up with WSM, the whole thing grinds to a halt.
In this instance, the URL of the sign-up page is ./index.php?cat=52
The problem is that when a new user submits the sign-up form, the page reloads as ./index.php?
This means that the correct page template does not load - which in turn means that the submitted data is not being sent to the DB. Nor are there any error messages.
I've added the correct URLs for all the $GLOBALS pages in websiteMembership.php but this appears to make no difference.
What can I do?
:o/
Perchpole
My sites are built around a strict category structure. This allows me to load a specific page template according to the $selectedCategory. However, when trying to sign-up with WSM, the whole thing grinds to a halt.
In this instance, the URL of the sign-up page is ./index.php?cat=52
The problem is that when a new user submits the sign-up form, the page reloads as ./index.php?
This means that the correct page template does not load - which in turn means that the submitted data is not being sent to the DB. Nor are there any error messages.
I've added the correct URLs for all the $GLOBALS pages in websiteMembership.php but this appears to make no difference.
What can I do?
:o/
Perchpole
Re: [Perchpole] Website Membership - Sign-up Issue
By Jason - May 28, 2012
Hi Perch,
If First, change $GLOBALS['WEBSITE_LOGIN_SIGNUP'] to "index.php?cat=52" (sounds like you may have already done this.
Next, in your signup page, look for this line:
This is the signup form. The action = "?" attribute is the reason why you get "index.php?" upon submission. Try replacing this line like this:
Hope this helps
If First, change $GLOBALS['WEBSITE_LOGIN_SIGNUP'] to "index.php?cat=52" (sounds like you may have already done this.
Next, in your signup page, look for this line:
<form method="post" action="?">
This is the signup form. The action = "?" attribute is the reason why you get "index.php?" upon submission. Try replacing this line like this:
<form method="post" action="<?php echo $GLOBALS['WEBSITE_LOGIN_SIGNUP_URL'];?> ">
Hope this helps
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/
Re: [Jason] Website Membership - Sign-up Issue
By Perchpole - May 28, 2012
Clearly I'm just going to have to get on the boat to Canada and buy everyone a very large drink!
:0)
:0)