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

Change Registration

Author Anonymous
Guest
#1 | Posted: 23 Jun 2007 12:51 
Is there a way to change the url

http://www.domain.com/index.php?action=register

to

http://www.domain.com/index.php?action=SOMETHINGELSE

I have removed the link from the site, but people continue to use this to register because they know the url.

Author Paul
Lead Developer
#2 | Posted: 23 Jun 2007 13:22 
Set $enableNewRegistrations=FALSE; in setup_options.php and nobody will be allowed to sign up even using direct link.

Author Anonymous
Guest
#3 | Posted: 23 Jun 2007 18:11 
I tried to set it to FALSE, and it still allows me to go directly to the URL.

Author Anonymous
Guest
#4 | Posted: 23 Jun 2007 18:19 
and I can still sign up. This is strange.

Author USB20
Registered
#5 | Posted: 24 Jun 2007 10:17 | Edited by: USB20 
open bb_functions.php and find!

if($GLOBALS['action']!='registernew' and $GLOBALS['user_id']==0 and $GLOBALS['adminPanel']!=1 and $GLOBALS['enableNewRegistrations']) $GLOBALS['l_menu'][2]="{$GLOBALS['l_sepr']} <a href=\"{$GLOBALS['main_url']}/{$GLOBALS['indexphp']}action=registernew\">{$GLOBALS['l_menu'][2]}</a> "; else $GLOBALS['l_menu'][2]='';


;)

Author Anonymous
Guest
#6 | Posted: 24 Jun 2007 15:06 
Yeah, wish that would have worked also. When I changed it, I still was able to get through to the registernew.

Something is not right here...

Author porlaconchetuma re
Guest
#7 | Posted: 24 Jun 2007 20:32 
open index.php and find

elseif($action=='registernew' and ($user_id==1 or $enableNewRegistrations)) {$step=0;require($pathToFiles.'bb_func_regusr.php');}

Author Paul
Lead Developer
#8 | Posted: 25 Jun 2007 04:34 | Edited by: Paul 
Something is not right here on your side definitely.

Maybe you have forgot to upload the modified file on server? :-)

My solution absolutely works with the latest release, I have tested it. It should work with any miniBB version 2.x incl. first beta releases. What version do you have?

Other suggestions just disable displaying of the registration form, but they do not disable the registering script itself, which is catched by action='register' not 'registernew'.

Specific miniBB Support Forums / Specific / Change Registration Top

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

 Short link for this topic:

 ?
You are welcome to post anonymously, by entering a nickname with no password (if the similar Username has not been taken yet), or by leaving both fields empty. If you have a forums account, you can also sign in from this page without posting a message, or sign in and post at once.


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
Check out the Captcha add-on: protect your miniBB-forums from the automated spam and flood.
Captcha Addon for miniBB