Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) Only Admin Can Register for SP1.4 (Read 11013 times)
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Only Admin Can Register for SP1.4
Dec 19th, 2004 at 12:37am
Print Post  
This ia a SP1.3.2/1.4 compatible port of the old "Only Admin Can Register" mod. All it does is to deny anyone but admins to register new accounts.

Download: only_admin_can_register_v12a_sp132_sp14.mod
  

The Administrator.
Back to top
WWW  
IP Logged
 
Karl-Heinz
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 24
Joined: Feb 18th, 2005
Re: Only Admin Can Register for SP1.4
Reply #1 - May 13th, 2005 at 6:44am
Print Post  
Hi Michael,

will you do a version for Yabb 2?

Karl
  
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Only Admin Can Register for SP1.4
Reply #2 - May 13th, 2005 at 11:18am
Print Post  
Sure, however I'll wait till the final version is out before porting my mods. Otherwise I'd have to fix them for every weekly release.
  

The Administrator.
Back to top
WWW  
IP Logged
 
ajos
Guest


Re: Only Admin Can Register for SP1.4
Reply #3 - May 23rd, 2005 at 8:15pm
Print Post  
Hi,

I have run the mod through BoardMod, and uploaded the affected files and checked my permissions, and the option is still not available in my Settings. Any advice would be appreciated.

Thank you,
ajos
  
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Only Admin Can Register for SP1.4
Reply #4 - May 24th, 2005 at 4:56pm
Print Post  
In case the admin center doesn't show the option, you could still add the needed setting manually to your Settings.pl:

Code
Select All
$registerbyadminonly = 1; 



Note however that if the option doesn't show in your admin center, it's very likely that other parts of the mod are missing too and that it won't work properly. In that case, double-check that you uploaded all modified files.
  

The Administrator.
Back to top
WWW  
IP Logged
 
ajos
Guest


Re: Only Admin Can Register for SP1.4
Reply #5 - May 24th, 2005 at 5:07pm
Print Post  
I really appreciate the help, I will put the information to good use.. Thank you, ajos
  
Back to top
 
IP Logged
 
mxy
Guest


Re: Only Admin Can Register for SP1.4
Reply #6 - Jul 15th, 2005 at 10:33pm
Print Post  
Hello! Great mod thanks for doing it.

I was hoping for some help. I would like to modify the message that is displayed when some one tries to register right now the message reads:

Quote:
Sorry, only the administator can register new members. Please contact him for an account.


I would really like to change HIM to the email address that people need to send the request to. And even make the address click-able to make an email. Multiple emaill addresses would be nice too.

I know its a lot to ask for but any help would be greatly appreciated!

How do I do this? I have no knowledge of code so please be gentle. Smiley

Oh and I am running 1.3.1

TIA!
Mxy
  
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Only Admin Can Register for SP1.4
Reply #7 - Jul 16th, 2005 at 8:44am
Print Post  
No big deal, just change this code in Register.pl:

Code
Select All
	$yymain .= "<CENTER>Sorry, only the administator can register new members. Please contact him for an account.</CENTER>"; 



Note: this occures twice, so you may want to change both.
Oh and try not to use " characters in the link, use ' or \", otherwise you might get a 500 error.
  

The Administrator.
Back to top
WWW  
IP Logged
 
Mxy
Guest


Re: Only Admin Can Register for SP1.4
Reply #8 - Jul 16th, 2005 at 1:23pm
Print Post  
Thanks Michael!

This is what I tried

[code]$yymain .= "<CENTER>Sorry, only the administator can register new members. Please contact admin@yoursite.com for an account.</CENTER>"; [/code]

Then when I tested it out the messaage read: [quote]Sorry, only the administator can register new members. Please contact admin.com for an account.[/quote]

I am guessing that it does not like the @ sign.

Am I missing something?

Thanks for the help!

  
Back to top
 
IP Logged
 
Administrator
Forum Administrator
*****
Offline


Yummm

Posts: 7
Location: Modders Rile
Joined: Oct 7th, 2014
Gender: Male
Re: Only Admin Can Register for SP1.4
Reply #9 - Jul 17th, 2005 at 9:21am
Print Post  
Try \@ instead.
  

The Administrator.
Back to top
WWW  
IP Logged
 
Mxy
Guest


Re: Only Admin Can Register for SP1.4
Reply #10 - Jul 17th, 2005 at 10:08pm
Print Post  
Awesome!

Thank you Michael! I really appreciate it!

Cheers
  
Back to top
 
IP Logged
 
LJHigh
Guest


Re: Only Admin Can Register for SP1.4
Reply #11 - Sep 1st, 2005 at 1:21pm
Print Post  
Ive just tried adding this "register" mod to my YaBB Gold SP 1.4 and all seems to be in order, ive checked the setting.pl for the:-

$registerbyadminonly = 0;  as stated on an above message and uploaded all the changes but i still do not have any new options in my preferences.

Ive also checked my cache.

Any ideas?
  
Back to top
 
IP Logged
 
ljhigh
New Member
*
Offline


The Master!

Posts: 11
Location: Coventry UK
Joined: Sep 1st, 2005
Gender: Male
Re: Only Admin Can Register for SP1.4
Reply #12 - Sep 5th, 2005 at 10:37am
Print Post  
Anybody wanna help me out here?
  
Back to top
 
IP Logged
 
Dam Yankee
God Member
*****
Offline



Posts: 1538
Location: Maryville
Joined: Jun 13th, 2003
Gender: Female
Re: Only Admin Can Register for SP1.4
Reply #13 - Sep 12th, 2005 at 2:24pm
Print Post  
According to Michael's signature, he is on vacation until tomorrow.

In your admin center, under forum prefs and settings, you should have the option "Only admin is allowed to register new users". If you don't have that option, then you either did not apply the mod correctly or you did not upload all of the modified files.

As Michael stated above, you can also set this option manually by editing Settings.pl and changing...

Code
Select All
$registerbyadminonly = 0; 



to...

Code
Select All
$registerbyadminonly = 1; 

  
Back to top
WWW  
IP Logged
 
yuki
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 8
Location: Tokyo
Joined: Jan 11th, 2005
Gender: Female
Re: Only Admin Can Register for SP1.4
Reply #14 - Dec 4th, 2006 at 3:42pm
Print Post  
Hi, I've got both the "only admin can register" and "Disallow guests from doing anything but login or register" checked.

My login page shows this message "Only registered members are allowed to access this forum." But the members cannot register and there isn't anywhere a registration option is shown.

Is there a way for me to change the above message to something that reads like "Sorry, only the administator can register new members. Please contact  XXXXX@XXXX.com for an account."

Thanks in advance for all the help.
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint