miniBB ®

miniBB

®
Support Forums
  
 · Start · Sign in · Register · Search · Statistics · File Bank · Manual ·
Specific miniBB Support Forums / Specific /  
 

Change Registration

 
Author Anonymous
Guest
#1 · Posted: 23 Jun 2007 12:51Reply Quote
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 Lead Developer
#2 · Posted: 23 Jun 2007 13:22Reply Quote
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:11Reply Quote
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:19Reply Quote
and I can still sign up. This is strange.

Author USB20
Partaker
#5 · Posted: 24 Jun 2007 10:17Reply Quote
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:06Reply Quote
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:32Reply Quote
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 Lead Developer
#8 · Posted: 25 Jun 2007 04:34Reply Quote
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

BB code for the Bold StyleBB code for the Italic StyleBB Code for the PictureBB code for the URLUpload a File

  ?
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
Get the File and Picture Attachments add-on: extend your miniBB-forums, attaching images and files.