miniBB ® 

miniBB

®
Support Forums
  
 | Start | Register | Search | Statistics | File Bank | 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
Partaker
#5 | Posted: 24 Jun 2007 10:17 
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 
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
 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.


  ⇑