miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | Manual |
Suggestions miniBB Support Forums / Suggestions /  
 

circumventing $enableNewRegistrations=FALSE

 
Author DirkF
Partaker
#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
Partaker
#3 | Posted: 9 Sep 2015 18:19 
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 
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
 Share Topic's Link

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


  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Try the Captcha add-on: protect your miniBB-forums from the automated spam and flood.


  ⇑