Forum

Notifications
Clear all

Closing new member registrations?

amyelizabeth
(@amyelizabeth)
New Member

I searched for an answer to this, but couldn't find one. My archive is currently dealing with a wave of duplicate and spam accounts and I was wondering if it was possible to put a temporary stop to new member registrations?

Thank you.

Quote
Topic starter Posted : 14/09/2015 6:38 am
muhkuh
(@muhkuh)
Eminent Member

As far as I know there is no way to disable the user registration right out of the box.
Have you enabled captcha verification as a first step?

Otherwise the only way I can see to easily toggle registration on and off would be a module.

Quick and dirty:

In file user/register.php edit the empy line 24 and add the following code:

header("Location: index.php");

This will redirect back to the starting page.
Really quick and really dirty 😉
You would be better of trying captcha verifications first!
(To do so, you have to login as admin first, then follow: Admin -> Settings -> Site Settings -> set the bottom dropdown to "yes". This requires GD-Library though, which is not installed on every webhost)

ReplyQuote
Posted : 14/09/2015 9:46 pm
amyelizabeth
(@amyelizabeth)
New Member

Thank you for your reply! We do have captcha on. The main problem is existing (non spam) members creating multiple accounts pretending to be different people (I believe one was up to 50+ ... no clue why.)

I tried to do the quick and dirty way, but when I uploaded the edited register.php file and clicked on the register link, instead of redirecting to the index page, this error was at the top of the register page, with the registration form still visible:

Warning: Cannot modify header information - headers already sent by (output started at /home/---/---/header.php:215) in /home/---/---/user/register.php on line 24

Is it possible with eFiction to use another type of page redirect? I tried inserting both HTML and Javascript redirect code into the same line (24), but that only resulted in different errors.

ReplyQuote
Topic starter Posted : 15/09/2015 6:13 am
Alvina
(@alvina)
New Member

I don't know if you still have this problem but have you tried the meta tag redirect like this:


echo '<META http-equiv="refresh" content="0;URL=YOUR_URL">';
exit;

Change the YOUR_URL to the URL you want it to redirect to.

(The exit; part isn't neccesary. It just means that it wont show the rest of the code before the redirect.)

~

http://deepinmysoul.net
http://fanfictiondirectory.com
http://backstreetboys.directory

ReplyQuote
Posted : 25/09/2015 2:35 pm
tagsit
(@tagsit)
Active Member

My site is experiencing this same issue. I do have the captcha feature enabled for new registrations but we keep getting hit with fake/spam accounts. We're getting about 20/week. I can lock the account, delete it through my php files and block the IP address through my web host, but they just keep coming. Anybody got any other ideas how to deal with this issue. Thanks.  🙁

ReplyQuote
Posted : 22/08/2016 12:07 am
HPFanFicArchive.Com
(@hpfanficarchive-com)
Eminent Member

Start with this: http://efiction.org/forums/index.php?topic=8901.0

It should help with some of the bots.

Thanks,
Chad

http://www.FicSavers.Com
http://www.HPFanFicArchive.Com
http://www.FavoritesTracker.Org

ReplyQuote
Posted : 22/08/2016 4:11 pm
tagsit
(@tagsit)
Active Member

Thank you so much for linking me to this. I just got hit again today by that same damn autobestpreis.eu bot.  :cursing: I really appreciate the help. TAG

ReplyQuote
Posted : 27/08/2016 8:28 pm
lucy
 lucy
(@lucy)
Trusted Member

Thank you for pointing this out. I've now added it to my site.

ReplyQuote
Posted : 31/08/2016 3:02 pm
Kate
 Kate
(@kate)
Estimable Member

Hi

I just deleted 500 plus spam and hacker accounts from my website today, search form and ended up deleting the register.php file out off the
user. If you click on the link it just give 404 error message page not found. I also inactivated the login block for good measure and turned on captcha just in case.

it doesn't harm the site and u can download the efiction anytime and just upload register.php when you want members.

regards, kate

ReplyQuote
Posted : 19/12/2017 8:56 pm
Share: