Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

blocking email addresses while signing up

Quote Reply
blocking email addresses while signing up
Hi,

http://www.gossamer-threads.com/forum/Products_C9/Gossamer_Links_C5/Discussions_F18/Re%3A_%5Bkriis%5D_Block_Domains_P300587/#p300587

I saw this thread and plugin downloaded > installed.

But problem is I am not seeing any 'Settings' in left menu to enter domains/email addresses.

thanks.
Quote Reply
Re: [hegu] blocking email addresses while signing up In reply to
Forgot to mention ...

My LinksSQL version : 3.3.0
Quote Reply
Re: [hegu] blocking email addresses while signing up In reply to
Hi,

The "Block_Domains" one I believe only blocks the URLs, which you should see a new option in the "Validate Links" section. This sounds more like what you want:

http://www.gossamer-threads.com/...ess_P306496/#p306496

Hope that helps.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] blocking email addresses while signing up In reply to
Andy,

That is the one I installed. After installing I am not seeing this plugin menu in left side menu. So I can not enter the email addresses that I want to block during signup.
Quote Reply
Re: [hegu] blocking email addresses while signing up In reply to
Read the thread Wink

The emails are actually set in the .pm file. It was a quick free plugin I wrote, which is why I didn't add an option for it.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] blocking email addresses while signing up In reply to
Ooops ... thanks. Will try that.Blush
Quote Reply
Re: [hegu] blocking email addresses while signing up In reply to
I changed the line:

Code:
my @banned_addresses = qw/*@hotmail.com andy.newby@gmail.com/;


TO:

Code:
my @banned_addresses = *@hotmail.com;



This is the error I am getting:



A fatal error has occured:

GT::Plugins (1795): Error running plugin 'PRE' hook 'Plugins::BlockEmailUserSignup::user_signup':
syntax error at /home/USER/public_html/cgi-bin/resources/admin/Plugins/BlockEmailUserSignup.pm line 29, near "*@hotmail" Compilation failed in require at GT::Plugins::_load_hook line 290. at /home/USER/public_html/cgi-bin/resources/admin/Links/User/Login.pm line 31.


Last edited by:

hegu: Jun 18, 2012, 9:25 PM
Quote Reply
Re: [hegu] blocking email addresses while signing up In reply to
You need to quote the string and it's supposed to be a list. It should be:

Code:
my @banned_addresses = qw/*@hotmail.com/;

Adrian