phpBB2Refugees.com Logo
Not affiliated with or endorsed by the phpBB Group

Register •  Login 

Continue the legacy...

Welcome to all phpBB2 Refugees!Wave Smilie

This site is intended to continue support for the legacy 2.x line of the phpBB2 bulletin board package. If you are a fan of phpBB2, please, by all means register, post, and help us out by offering your suggestions. We are primarily a community and support network. Our secondary goal is to provide a phpBB2 MOD Author and Styles area.

[RC] Registration Auth Code - 0.0.3 - RAC

Goto page 1, 2  Next
 
Search this topic... | Search MOD Development... | Search Box
Register or Login to Post    Index » MOD Development  Previous TopicPrint TopicNext Topic
Author Message
JLA
Board Member



Joined: 30 Apr 2009

Posts: 310
Location: U.S.A


flag
PostPosted: Fri Sep 30, 2011 5:50 pm 
Post subject: [RC] Registration Auth Code - 0.0.3 - RAC

MOD Title: Registration Auth Code (RAC)

MOD Author: JLA FORUMS - http://www.jlaforums.com

MOD Description: This MOD is based on the "VIP Code MOD" by Martin Aignesberger. and an update of verion 0.0.2 by Marshalrusty < marshalrusty@phpbb.com > (Yuriy Rusko) http://www.phpbb.com/community/viewtopic.php?f=1&t=427852 . A number of improvements have been made to the aforementioned MODs including:


1) Proper usage of language variables
2) Proper usage of the phpBB MOD Template
3) The removal of 2 unnecessary steps
4) More detailed instructions
5) Configuration of Question Title, Question, Answer and Error message via the Admin Control Panel (ACP)

This MOD will require users to enter an auth code or answer a question during registration, which is defined by the administrator in the ACP. Alternatively, the administrator may wish to ask a question which can be answered to let the registration proceed.

Here are two examples of what this screenshots of what this looks like:

http://www.jlaforums.com/images/JLARAC1.jpg
http://www.jlaforums.com/images/JLARAC2.jpg

MOD Version: 0.0.3

Installation Level: Easy
Installation Time: ~10 Minutes

(4) MYSQL Insert Statements on phpbb_config

Files To Edit:
includes/usercp_register.php
language/lang_english/lang_main.php
templates/subSilver/profile_add_body.tpl
language/lang_english/lang_admin.php
templates/subSilver/admin/board_config_body.tpl
admin/admin_board.php

MOD History:
2011-09-30 - Version 0.0.3 - JLA UPDATE VERSION
2007-07-22 - Version 0.0.2
- More user friendly error
2007-01-01 - Version 0.0.1



JLARAC.txt
 Description:
Registration Auth Code (RAC) - 0.0.3

Download
 Filename:  JLARAC.txt
 Filesize:  12.33 KB
 Downloaded:  2617 Time(s)


_________________
http://www.jlaforums.com
Back to top
Salvatos
Board Member



Joined: 19 Feb 2009

Posts: 430
Location: Québec


flag
PostPosted: Fri Sep 30, 2011 8:00 pm 
Post subject: Re: [RC] Registration Auth Code - 0.0.3 - RAC

Does it do anything more/better than ABQ?
Back to top
JLA
Board Member



Joined: 30 Apr 2009

Posts: 310
Location: U.S.A


flag
PostPosted: Fri Sep 30, 2011 8:27 pm 
Post subject: Re: [RC] Registration Auth Code - 0.0.3 - RAC

Salvatos wrote:
Does it do anything more/better than ABQ?


Actually, this is an update to the original RAC mod adding ACP configuration that wasn't originally included.

I would say that this MOD is probably alot easier to install and uses less resources to run that the ABQ mod you linked.

_________________
http://www.jlaforums.com
Back to top
Salvatos
Board Member



Joined: 19 Feb 2009

Posts: 430
Location: Québec


flag
PostPosted: Fri Sep 30, 2011 8:47 pm 
Post subject: Re: [RC] Registration Auth Code - 0.0.3 - RAC

But ABQ can choose from multiple questions randomly and be applied to Guest posting. RAC does neither, I think?
Back to top
JLA
Board Member



Joined: 30 Apr 2009

Posts: 310
Location: U.S.A


flag
PostPosted: Fri Sep 30, 2011 11:41 pm 
Post subject: Re: [RC] Registration Auth Code - 0.0.3 - RAC

Salvatos wrote:
But ABQ can choose from multiple questions randomly and be applied to Guest posting. RAC does neither, I think?


No, this mod is very specific to just registration and specification of one static question and answer.

You can configure, the question, answer, question type title, error message and appearance in the ACP.

The previous version had all of this hard coded. We just made it so it can be configured completely via the ACP.

_________________
http://www.jlaforums.com
Back to top
lumpy burgertushie
Board Member



Joined: 19 Nov 2008

Posts: 224


flag
PostPosted: Thu Oct 06, 2011 3:23 am 
Post subject: Re: [RC] Registration Auth Code - 0.0.3 - RAC

and just as in the way phpbb3 q&a captcha works, there is no need for multiple questions. one question that can not be googled for the answer is all you need.

for instance:
type the last four letters of the word beetle in the box:

answer: etle

no register bot will be able to answer this so you stop them before they can complete the registration form so they don't even show up as having attempted to register.


robert
Back to top
Salvatos
Board Member



Joined: 19 Feb 2009

Posts: 430
Location: Québec


flag
PostPosted: Thu Oct 06, 2011 3:39 am 
Post subject: Re: [RC] Registration Auth Code - 0.0.3 - RAC

What do you mean by "can't be Googled"? Stuff like equations, or general knowledge?
Back to top
JLA
Board Member



Joined: 30 Apr 2009

Posts: 310
Location: U.S.A


flag
PostPosted: Thu Oct 06, 2011 5:12 am 
Post subject: Re: [RC] Registration Auth Code - 0.0.3 - RAC

Salvatos wrote:
What do you mean by "can't be Googled"? Stuff like equations, or general knowledge?


I think something a bot could automatically query google and generate an answer to post to the form.

Have any of you tried our new version out?

_________________
http://www.jlaforums.com
Back to top
JLA
Board Member



Joined: 30 Apr 2009

Posts: 310
Location: U.S.A


flag
PostPosted: Fri Oct 07, 2011 3:23 am 
Post subject: Re: [RC] Registration Auth Code - 0.0.3 - RAC

Updated version 0.0.4 released.

Fixed minor bug to explain in ACP that answers must be entered in lower case characters since answers in registration are case insensitive.



JLARAC.txt
 Description:
Registration Auth Code (RAC) 0.0.4

Download
 Filename:  JLARAC.txt
 Filesize:  12.46 KB
 Downloaded:  1206 Time(s)


_________________
http://www.jlaforums.com
Back to top
Salvatos
Board Member



Joined: 19 Feb 2009

Posts: 430
Location: Québec


flag
PostPosted: Fri Oct 07, 2011 6:27 am 
Post subject: Re: [RC] Registration Auth Code - 0.0.3 - RAC

Isn't that contradictory? Case-insensitive means that whichever case is used won't affect the outcome.
Back to top
JLA
Board Member



Joined: 30 Apr 2009

Posts: 310
Location: U.S.A


flag
PostPosted: Fri Oct 07, 2011 7:32 am 
Post subject: Re: [RC] Registration Auth Code - 0.0.3 - RAC

Salvatos wrote:
Isn't that contradictory? Case-insensitive means that whichever case is used won't affect the outcome.


We found that if the answer was entered into the ACP in upper case, then the user would received the error message that the answer was incorrect even through they entered it corrected (either upper, lower or exact match combination). When we entered the answer in ACP lower case, it worked correctly for the user provided they entered the corrected answer (either upper lower or any combination)

So it appears that the answer has to be specified lower case in ACP.

_________________
http://www.jlaforums.com
Back to top
Salvatos
Board Member



Joined: 19 Feb 2009

Posts: 430
Location: Québec


flag
PostPosted: Fri Oct 07, 2011 11:38 am 
Post subject: Re: [RC] Registration Auth Code - 0.0.3 - RAC

That is quite peculiar! Wouldn't this solve it?

Code:
CHANGE
if (strtolower($HTTP_POST_VARS['RAC']) != $board_config['registration_question_answer'])

TO
if (strtolower($HTTP_POST_VARS['RAC']) != strtolower($board_config['registration_question_answer']))
Back to top
JLA
Board Member



Joined: 30 Apr 2009

Posts: 310
Location: U.S.A


flag
PostPosted: Fri Oct 07, 2011 2:03 pm 
Post subject: Re: [RC] Registration Auth Code - 0.0.3 - RAC

Salvatos wrote:
That is quite peculiar! Wouldn't this solve it?

Code:
CHANGE
if (strtolower($HTTP_POST_VARS['RAC']) != $board_config['registration_question_answer'])

TO
if (strtolower($HTTP_POST_VARS['RAC']) != strtolower($board_config['registration_question_answer']))


I'd imagine so. It was late so didn't have time to hunt down that line. I'll test it and make sure.

_________________
http://www.jlaforums.com
Back to top
StarWolf3000
Board Member



Joined: 10 Jun 2010

Posts: 103
Location: Germany


flag
PostPosted: Sun Oct 09, 2011 12:31 pm 
Post subject: Re: [RC] Registration Auth Code - 0.0.3 - RAC

JLA, why do you lock out visitors from your Site using the Opera browser?

You cannot regulate visitors which browser(s) they have to use to visit your site (apart from very old versions). icon_mad.gif
Back to top
JLA
Board Member



Joined: 30 Apr 2009

Posts: 310
Location: U.S.A


flag
PostPosted: Sun Oct 09, 2011 7:57 pm 
Post subject: Re: [RC] Registration Auth Code - 0.0.3 - RAC

StarWolf3000 wrote:
JLA, why do you lock out visitors from your Site using the Opera browser?

You cannot regulate visitors which browser(s) they have to use to visit your site (apart from very old versions). icon_mad.gif


After analyzing data for the past three years with the past year holding the most importance we have found that over 90% of visitors with a reported user agent of Opera are related to scraping or other undesired activities which violate our Terms of Service. The remaining users usually understand to either change their user agent or use an alternate browser. The others (bots, etc) are usually are not aware enough to do so which is consistent with why they were blocked to begin with.

Keep in mind that users with those reported user agents are just an extremely small fraction of the total visitors to the site. The block makes sense considering this along with the fact that the great majority of them are undesirable and have potential to effect the viewing experience for the much larger (and important) majority.

One thing you have to understand is the overwhelming amount of attempts and undesired activity which takes place against a site such as a large forum. Most board owners are either completely oblivious and have absolutely no concept of the sheer amount of this type of activity that takes place 24 hours a day/7 days a week. There are so many companies/entities and individuals out there taking part in these activities that to completely understand the scope of it all would really leave many site owner's/webmaster's heads spinning. 1st there are companies such as Brandwatch, Brand Dimensions, brandprotect, Radian R6, SalesForce, Alterian, Techridgy along with multitudes of other claimed legitimate "social media monitoring" outfits who are constantly attempting to scrape your data and content to resell it at a profit (all without your knowledge, permission or regard). Add to that individuals originating directly from/or from proxies in China, India, Brazil, Latin America, Africa, Russia, Eastern Europe, France, Spain, Germany, UK, US Data Centers among others - you are just starting to scrape the tip of the iceberg. Where do you think the growing pollution epidemic of the search space (and part of the reason for events such as the Google Panda update) originates?

_________________
http://www.jlaforums.com
Back to top
Display posts from previous:   
Register or Login to Post    Index » MOD Development  Previous TopicPrint TopicNext Topic
Page 1 of 2 All times are GMT
Goto page 1, 2  Next
 
Jump to:  

Index • About • FAQ • Rules • Privacy • Search •  Register •  Login 
Not affiliated with or endorsed by the phpBB Group
Powered by phpBB2 © phpBB Group
Generated in 0.0313 seconds using 17 queries. (SQL 0.0024 Parse 0.0025 Other 0.0264)
phpBB Customizations by the phpBBDoctor.com
Template Design by DeLFlo and MomentsOfLight.com Moments of Light Logo