Membership login to admin backend
14 posts by 4 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: January 1, 2011 (RSS)
By (Deleted User) - December 8, 2010
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
Where is your login page? Is it also on http://www.smesa.co.za/?
Chris
Re: [chris] Membership login to admin backend
By (Deleted User) - December 8, 2010
The login page is http://www.smesa.co.za/login.php
Re: [smesa] Membership login to admin backend
By Chris - December 8, 2010
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.
Chris
Re: [chris] Membership login to admin backend
By (Deleted User) - December 9, 2010
Done as requested. Looking forward to hearing back.
regards
Shawn
Re: [smesa] Membership login to admin backend
By (Deleted User) - December 9, 2010
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: [smesa] Membership login to admin backend
By Chris - December 9, 2010
Jason is looking into the session issue right now.
In my experience, spam bots usually target uncustomizable web software so they can exploit thousands of websites without human input.
I think the simplest way to avoid spammers is to manually approve new members by having your signup form insert new accounts with disabled = 1, and also send an email to someone (such as yourself) to let them know that a new user needs approval.
If this doesn't work for you, another option would be to include a CAPTCHA. We don't have a CAPTCHA plugin, but there are many free PHP CAPTCHA scripts available on the web which could be integrated.
Depending on how much traffic your site gets, spammers might not be an issue at all. It might be more cost effective to simply do nothing until spam becomes a problem.
I hope this helps!
Chris
Re: [chris] Membership login to admin backend
By (Deleted User) - December 10, 2010
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
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
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. :)
Chris