Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 10 Replies) WhoReg 1.2a YaBB2 only (Read 5661 times)
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
WhoReg 1.2a YaBB2 only
Jun 18th, 2005 at 4:28pm
Print Post  
WhoReg 1.2a YaBB2 only
--------------------------------------------------------

This mod allows only an admin to define what email addresses a user can register with allowing him/her the power of who can register.  This also affects the "Add New Member" function in the Admin Center.  The email addresses are added in the admin center.  If the box is blank, any registrant can use any email address.

I run a message board at school and needed something to keep out unauthorized people, that's how this came about.

Compatability
--------------
YaBB 2 only


Installation
----------------------------
1)  Mod the finals (Admin.pl, AdminSubList.pl, AdminIndex.pl, ModList.pl & Register.pl) and upload in ASCII
2)  Upload in ASCII woreg.lng to the language folder.
3)  In the Admin center, use the option to send a random password or pre-registration, so that even if someone spoofs a registrant the email owner will know it.


History
---------------
v1.1 - Original
v1.2 - Fixed small error concerning nested quotations
v1.2a - Updated for Y2 Final Release

Hope this is useful.

astro-pilot
« Last Edit: Oct 1st, 2005 at 7:46pm by astropilot »  

Whoreg_Mod_beta_12a.zip ( 2 KB | Downloads )

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
Karl-Heinz
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 24
Joined: Feb 18th, 2005
Re: WhoReg beta 1.1 YaBB2 only
Reply #1 - Jul 11th, 2005 at 5:59am
Print Post  
Hi,

when i call "Installed mods", i get this message:

"Bareword found where operator expected at ./Admin/ModList.pl line 45, near ""WhoReg_YaBB2|astro-pilot|This mod allows only an admin to define what email addresses a user can register with allowing him/her the power of who can register. This also affects the "Add" "

Karl-Heinz
  
Back to top
 
IP Logged
 
LoonyPandora
God Member
*****
Offline


Daft Cow?

Posts: 1705
Location: London
Joined: Jun 27th, 2002
Gender: Male
Re: WhoReg beta 1.1 YaBB2 only
Reply #2 - Jul 11th, 2005 at 9:22am
Print Post  
Looks like a little probelm with escaping quotes - I would reccomend this fix in the mod file

Find:

Code
Select All
<search for>
### END BOARDMOD ANCHOR ###
</search for>

<add after>
	$whoreg_mod = "WhoReg_YaBB2|astro-pilot|This mod allows only an admin to define what email addresses a user can register with allowing him/her the power of who can register.  This also affects the "Add New Member" function in the Admin Center.  The email addresses are added in the admin center.  If the box is blank, any registrant can use any email address.|1.1|6/16/05";
	push (@installed_mods, "$whoreg_mod");
</add after> 



replace with:

Code
Select All
<search for>
### END BOARDMOD ANCHOR ###
</search for>

<add before>
	$whoreg_mod = q~WhoReg_YaBB2|astro-pilot|This mod allows only an admin to define what email addresses a user can register with allowing him/her the power of who can register.  This also affects the "Add New Member" function in the Admin Center.  The email addresses are added in the admin center.  If the box is blank, any registrant can use any email address.|1.1|6/16/05~;
	push (@installed_mods, "$whoreg_mod");
</add before> 



Note I changed it from double quotes to 'q~  ~;' - and also changed it to an 'add before' rather than an add after.
  

Apple Technical Support
Code
Select All
#!/usr/bin/perl --
($sig ='ddiissjjttuuffss ddaoouu ssffaee uuiijjtt
jj ssvvmmff auu qqffssmm ttmmaoohhjjoohh nnauuddiifftt')
=~y~b-v~a-z~s;
print $sig; 

Back to top
WWWICQ  
IP Logged
 
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: WhoReg beta 1.1 YaBB2 only
Reply #3 - Jul 11th, 2005 at 12:24pm
Print Post  
qq(Those nested quotation marks get me every time.);

Updated the mod.
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
Kong
God Member
*****
Offline


Is it just me or is my
back hairy???

Posts: 858
Joined: Aug 2nd, 2002
Gender: Male
Re: WhoReg beta 1.1 YaBB2 only
Reply #4 - Jul 11th, 2005 at 7:18pm
Print Post  
astropilot wrote on Jul 11th, 2005 at 12:24pm:
qq(Those nested quotation marks get me every time.);

Updated the mod.

Ya they do for me too.  In those situations I tend to use &quot; .
  


Back to top
 
IP Logged
 
LoonyPandora
God Member
*****
Offline


Daft Cow?

Posts: 1705
Location: London
Joined: Jun 27th, 2002
Gender: Male
Re: WhoReg beta 1.2 YaBB2 only
Reply #5 - Jul 11th, 2005 at 10:34pm
Print Post  
They get me quite often too Wink - My way around it is to use qq~~; or q~~; - like I mentioned.

Different ways to do everything Grin
  

Apple Technical Support
Code
Select All
#!/usr/bin/perl --
($sig ='ddiissjjttuuffss ddaoouu ssffaee uuiijjtt
jj ssvvmmff auu qqffssmm ttmmaoohhjjoohh nnauuddiifftt')
=~y~b-v~a-z~s;
print $sig; 

Back to top
WWWICQ  
IP Logged
 
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: WhoReg beta 1.2a YaBB2 only
Reply #6 - Sep 30th, 2005 at 7:14pm
Print Post  
- Updated for Y2 Final Release

ap
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
CasRas
Junior Member
**
Offline



Posts: 98
Location: Terra, the blue planet
Joined: Jun 7th, 2005
Gender: Male
Re: WhoReg 1.2a YaBB2 only
Reply #7 - Oct 27th, 2005 at 11:23am
Print Post  
Is it possible to define a domain?
eg the email must be of the form xxx@domain.de?
I want to restrict the reg options to emails from a certain domain. I do not want to declare all emails which may reg.
  

See Ya CasRas
aka RasCas
aka Vip2002
Back to top
 
IP Logged
 
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: WhoReg 1.2a YaBB2 only
Reply #8 - Oct 27th, 2005 at 10:32pm
Print Post  
Its possible, but there was a specific mod for that made by Carsten.  It may even be out, but if not I might put something together.  Because real life stuff, I've slowed way down.  And right now, I am working on this large mod. So, try Carsten first.

ap
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
CasRas
Junior Member
**
Offline



Posts: 98
Location: Terra, the blue planet
Joined: Jun 7th, 2005
Gender: Male
Re: WhoReg 1.2a YaBB2 only
Reply #9 - Oct 28th, 2005 at 6:26am
Print Post  
Hm, got a tip where i can get it?
I haven't found the one you are talking about on boardmod.
  

See Ya CasRas
aka RasCas
aka Vip2002
Back to top
 
IP Logged
 
tompocz
Full Member
***
Offline


The WORST day fishing
is better than the BEST
day

Posts: 124
Location: Adelaide
Joined: Dec 27th, 2002
Gender: Male
Re: WhoReg 1.2a YaBB2 only
Reply #10 - Oct 29th, 2005 at 11:47pm
Print Post  
@astropilot

I concur that by highlighting a email domain would be of more use, given that I block free email addresses like hotmail on my current board which is a 1.3.1.

If you can find the time to have this feature, then that would be great. I too cannot find the one you are talking about from Carsten, so any info on this one would be appreciated.

cheers
Tripod
  

The WORST day fishing is better than the BEST day working !
Back to top
WWW  
IP Logged
 
astropilot
God Member
*****
Offline



Posts: 828
Location: Louisville
Joined: Jun 18th, 2003
Gender: Male
Re: WhoReg 1.2a YaBB2 only
Reply #11 - Oct 30th, 2005 at 2:23pm
Print Post  
I wrote this mod with my forum in mind only.  It is very particular to my needs, but I released it just in case someone could find any use of it.

As for the the mod you suggest, Carsten wrote one for 1.3, but I do not think he updated it for Y2.  If I find time (where I do not know), I might write my version of such a mod.

ap
  

"For I am not ashamed of the gospel of Christ..."
Romans 1:16
---
http://www.ssflynn.com
www.flynnfarmsofkentucky.com
Back to top
 
IP Logged
 
tompocz
Full Member
***
Offline


The WORST day fishing
is better than the BEST
day

Posts: 124
Location: Adelaide
Joined: Dec 27th, 2002
Gender: Male
Re: WhoReg 1.2a YaBB2 only
Reply #12 - Oct 30th, 2005 at 7:56pm
Print Post  
appreciate the feedback. I sense how busy you are, and I will simply have to wait for this feature. Until then unfortunately I cannot update to Y2 till this is in place, as having this feature, to a degree, reduce the idiots I get in joining my forum.

cheer and thanks
Tom
  

The WORST day fishing is better than the BEST day working !
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint