Page Index Toggle Pages: 1
Topic Tools
Normal Topic Forum's Error log (Read 1,051 times)
Elrick.
Forum Moderator
YaBB Moderators
Beta Testers
*****
Offline



Posts: 165
Location: Edge of the Abyss

YaBB 2.6.1
Forum's Error log
Aug 28th, 2012 at 12:25pm
Post Tools
Hi Wizards!


On the forum’s Error Log how can one change the output error message…

Code
Select All
You may not register with, post as a guest or change your email address
 to one from the domain @gmail.com 




To something like….


Code
Select All
You may not register with, post as a guest or change your email address
to one from the domain @gmail.com ..or any other free, disposable or
toxic email domain. Please use the email address provided by your ISP. 




Thanks folks!

  

There is no direct experience of reality without interpretation; and all interpretation is corrupted by the cultural and personal prejudices or prejudgments of the interpreter. ~ Elrick
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: Forum's Error log
Reply #1 - Aug 28th, 2012 at 12:52pm
Post Tools
Hi Elrick,

In Sources/Security.pl find:

Code (Perl)
Select All
                &fatal_error("domain_not_allowed","$_") if $checkdomain =~ m/$_/i; 


And change to:

Code (Perl)
Select All
                &fatal_error("domain_not_allowed","$_ ..or any other free, disposable or toxic email domain. Please use the email address provided by your ISP.") if $checkdomain =~ m/$_/i; 


If you don't want it to be hardcoded, then let me know and I'll show you how to add it to the language file.
« Last Edit: Aug 28th, 2012 at 2:19pm by Derek Barnstorm »  
Back to top
 
IP Logged
 
Elrick.
Forum Moderator
YaBB Moderators
Beta Testers
*****
Offline



Posts: 165
Location: Edge of the Abyss

YaBB 2.6.1
Re: Forum's Error log
Reply #2 - Aug 29th, 2012 at 10:51am
Post Tools
Hi Derek!

That was superfast support reply! Shocked - Privileges of Premium member? Smiley

Can't find the Beer-donate button to say thank you here!

Will give it a try to implement it. Very many thanks!!

Code
Select All
It worked a treat!!! TKS VM... This will save genuine applicants several
 tries with different disposable email domains and keep forum free of
 spammers!!!
 

« Last Edit: Aug 29th, 2012 at 4:02pm by Elrick. »  

There is no direct experience of reality without interpretation; and all interpretation is corrupted by the cultural and personal prejudices or prejudgments of the interpreter. ~ Elrick
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: Forum's Error log
Reply #3 - Aug 29th, 2012 at 4:03pm
Post Tools
No problem, Elrick.
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 4,031
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: Forum's Error log
Reply #4 - Aug 29th, 2012 at 9:29pm
Post Tools
We are working on the 'beer-donate' button, also cider & stout taps!  Cheesy

Smiley
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
Elrick.
Forum Moderator
YaBB Moderators
Beta Testers
*****
Offline



Posts: 165
Location: Edge of the Abyss

YaBB 2.6.1
Re: Forum's Error log
Reply #5 - Aug 30th, 2012 at 2:03pm
Post Tools
JonB wrote on Aug 29th, 2012 at 9:29pm:
We are working on the 'beer-donate' button, also cider & stout taps!  Cheesy

Smiley



Every Support-Team member should have this button on their profile:-  Cheesy



  

There is no direct experience of reality without interpretation; and all interpretation is corrupted by the cultural and personal prejudices or prejudgments of the interpreter. ~ Elrick
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools