Web Hosting Talk







View Full Version : Membership V2.0 PHP Question


sl0140
04-09-2010, 07:48 AM
Hi there all, looking for some hepl.. I am using the Membership V2.0 on my website with 90% success. A few error messages here and there, but the main thing i would like heklp with is, how do i redirect to another page after they login / register ? At the moment, it jumps back to the same page.

Also have 1 more question, but will leave that next..

many thanks for you help.

Scotty

StephenJacob
04-09-2010, 12:01 PM
I'm not familiar with Membership 2.0 but i imagine it's PHP based? As long as another HEADER hasn't been called, you can easily change your redirection.

header("Location: your-new-page.php");

Zeronrg
09-30-2010, 04:11 AM
Hi there all, looking for some hepl.. I am using the Membership V2.0 on my website with 90% success. A few error messages here and there, but the main thing i would like heklp with is, how do i redirect to another page after they login / register ? At the moment, it jumps back to the same page.

Also have 1 more question, but will leave that next..

many thanks for you help.

Scotty

I cant seem to put the register or log in into a html any suggestions would be great, and i cant seem to do the redirection either? im sorry everyone but im a noob with php:blush::( Plz HELP!!!

Driver01
09-30-2010, 08:37 AM
When you say it goes back to the same page, I'm not sure what you mean?

After Successful login you should go to the profile page?

After Registration you should see a message and instructions on how to procede?

Hybride
09-30-2010, 08:59 AM
I cant seem to put the register or log in into a html any suggestions would be great, and i cant seem to do the redirection either? im sorry everyone but im a noob with php:blush::( Plz HELP!!!
You can't parse PHP in HTML unless you have it set up in your .htaccess file. Otherwise, your file extension has to be .php.

funkybeatz
09-30-2010, 04:41 PM
I think you really need to look at the documentation that comes with Membership 2.0 as the things you are trying to make it do *should* be pretty easy to achieve.

SilkBC
12-12-2010, 04:31 AM
After Successful login you should go to the profile page?

I just got this installed, and my initial impressions are positive. I have noticed that once a user logs in, they go to their profile page, but there are no links to go elsewhere.

Can I create my own login form that redirects elsewhere instead of the profile page? If I can, do I juts simply point the "action" to the "login.php"?

Thanks for your help! :-)