Membership login to admin backend

By (Deleted User) - December 8, 2010

Hi Guys

How do I redirect logged in users to the admin backend (http://www.smesa.co.za/cmsAdmin/admin.php) using the sample login page that I got with the membership plugin?

I've tried this below but it just makes me login again:

$GLOBALS['WEBSITE_LOGIN_POST_LOGIN_URL'] = 'http://www.smesa.co.za/cmsAdmin/admin.php'; // user gets redirected here after login

Kind regards
Shawn

Re: [smesa] Membership login to admin backend

By Chris - December 8, 2010

Hi Shawn,

Where is your login page? Is it also on http://www.smesa.co.za/?
All the best,
Chris

Re: [chris] Membership login to admin backend

By (Deleted User) - December 8, 2010

HI Chris,

The login page is http://www.smesa.co.za/login.php

Re: [smesa] Membership login to admin backend

By Chris - December 8, 2010

Hi smesa,

That should be working.

Can I take a look at your site via FTP? Please fill out a [url http://interactivetools.com/support/]Second Level Support Request[/url] with your FTP information and a link to this forum post.
All the best,
Chris

Re: [chris] Membership login to admin backend

By (Deleted User) - December 9, 2010

Hi Chris,

Done as requested. Looking forward to hearing back.

regards

Shawn

Re: [smesa] Membership login to admin backend

By (Deleted User) - December 9, 2010

Hi Chris,

Another question: How do you stop spam bots submitting the sample signup form? I managed to setup a fake account just inputting rubbish.

The last thing I want to be doing daily is deleting dozens of spam user accounts.

regards

Shawn

Re: [chris] Membership login to admin backend

By (Deleted User) - December 10, 2010

Hi Chris,

Thanks very much. Please just ask Jason to let me know what pages (if any) he changed so that I don't overwrite the changes. And let me know when he's done then I can carry on working.

If spam does become an issue then we can cross that bridge at a later time.

regards

Shawn

Re: [smesa] Membership login to admin backend

By (Deleted User) - December 10, 2010

Hi Chris,

Just noticed a problem with my RSS which could be caused by something Jason updated:

XML Parsing Error: syntax error
Location: http://www.smesa.co.za/rss/rss1.xml.php
Line Number 3, Column 1:Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/smesacoz/public_html/rss/rss1.xml.php:1) in /home/smesacoz/public_html/cmsAdmin/lib/init.php on line 325
^

Can you look into it for me?

regards

Shawn

Re: [smesa] Membership login to admin backend

By Chris - December 10, 2010

Hi Shawn,

I fixed this by moving this line of code down below "load viewer functions":

<?php echo '<?xml version="1.0" encoding="UTF-8"?>'; ?>

It works now. :)
All the best,
Chris