miniBB ® miniBB®
miniBB Support Forums
 | Forums | Register | Reply | Search | Statistics | Manual |
Suggestions miniBB Support Forums / Suggestions /   

circumventing $enableNewRegistrations=FALSE

Author DirkF
Registered
#1 | Posted: 31 Aug 2015 10:13 
In the english language file, the base message to appear in forums in the case of not logged-in guests,
"Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first."

The last words are a direct link to the register form, allowing a new guest to register even when the main register option on the front page has been disabled by the setting $enableNewRegistrations=FALSE

In my case, I simply removed that part of the text in the language file to prevent unwanted user registration. You should at minimum make a comment at the part of the manual handling $enableNewRegistrations=FALSE, or add code to check the setting and remove the link if new registrations are blocked.

Author Paul
Lead Developer
#2 | Posted: 31 Aug 2015 17:25 
Thanks a lot for your suggestion / notice.

Even if such a direct link is present, it will lead to the starting forums page in the case of $enableNewRegistrations=FALSE, so registration won't be possible anyway.

However we'll take your suggestions into the consideration upon releasing the newer version of miniBB, which should come in September.

Author DirkF
Registered
#3 | Posted: 9 Sep 2015 18:19 | Edited by: Moderator 
Paul:
Even if such a direct link is present, it will lead to the starting forums page in the case of $enableNewRegistrations=FALSE,

Unfortunately that is not the case. The link is the same override you gave in your manual to enable the admin to register someone, and it goes not to the main page but to the "confirm acceptance of the rules"-page of the registration process.

The code (copied directly from the eng.php file) is

$l_anonDisallowed='Only registered users are allowed to post here. Please enter your login/password details upon posting a message, or <a href="'.$main_url.'/'.$indexphp.'action=registernew" target="_blank">sign up first</a>.';


Author Paul
Lead Developer
#4 | Posted: 11 Sep 2015 20:52 | Edited by: Paul 
DirkF:
Unfortunately that is not the case. The link is the same override you gave in your manual to enable the admin to register someone, and it goes not to the main page but to the "confirm acceptance of the rules"-page of the registration process.

Yes - but it should happen only if you're logged-in as the Admin, or does it happen also to all guests?

Suggestions miniBB Support Forums / Suggestions / circumventing $enableNewRegistrations=FALSE Top

Your Reply Click this icon to move up to the quoted message

 Short link for this topic:

 ?
Only registered users are allowed to post here. Please, enter your username/password details upon posting a message, or register first.


Before posting, make sure your message is compliant with our forum posting rules. If not, it may be locked or deleted with no explanation.
 
miniBB Support Forums Powered by Forum Software miniBB ® Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contacts
Get the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB