Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 DEV-Group
 DEV Discussions (General)
 Volunteer to write some Snitz code

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
HuwR Posted - 02 July 2009 : 13:06:17
I would like someone to write a mod (unless there is already something around) for the pending members page so that if select to delete someone's pending approval that it adds their email to an automatic banned list at the same time, which can then be checked during the registration process

I would do it myself, but just don't have the time at the moment.
11   L A T E S T    R E P L I E S    (Newest First)
HuwR Posted - 01 August 2009 : 12:15:05
it's not necesary for what I want, I am only interested in preventing the same email address from repeat registrations if I do not approve them.
modifichicci Posted - 01 August 2009 : 11:53:51
You need to update pop profile also, in changing email
Carefree Posted - 31 July 2009 : 06:57:04
You're welcome. Shout if there's something I missed. Posted to mods w/ code.
HuwR Posted - 31 July 2009 : 04:31:34
thanks carefree, I will take a look when I get home later
Carefree Posted - 31 July 2009 : 02:57:40
Here Huwr:

Save following as dbs_banmail.asp and run from Admin:

Banned Email 1.0

[DROP]
BANNED
[END]

[CREATE]
BANNED

BANNED#VARCHAR(75)###
[END]

Next, in "register.asp", look for the following lines (appx 406-409 after security fixes):

			if Request.Form("Email") <> Request.Form("Email3") then
				Err_Msg = Err_Msg & "<li>Your E-mail Addresses didn't match.</li>"
			end if
		end if


After them, insert the following:


		strSql="SELECT BANNED FROM " & strTablePrefix & "BANNED"
		set rsMailCheck=my_Conn.Execute(strSql)
		if not rsMailCheck.EOF then
			rsMailCheck.MoveFirst
			do until rsMailCheck.EOF
				if Request.Form("Email") = rsMailCheck("Banned") then
					'	Banned Account
					Err_Msg = Err_Msg & "<li>E-mail Address is Banned on this Server.</li>"
				end if
				rsMailCheck.MoveNext
			loop
			rsMailCheck.Close
		end if
		set rsMailCheck=Nothing


Finally, in "admin_accounts_pendng.asp", look for the following line (appx 187):

elseif strAction = "delete" then

After it, insert the following:


	strSql = "SELECT M_EMAIL FROM " & strMemberTablePrefix & "MEMBERS_PENDING WHERE M_STATUS = 0 AND M_LEVEL = -1"
	set rsBanned = my_Conn.Execute(strSql)
	if not rsBanned.EOF then
		rsBanned.MoveFirst
		do until rsBanned.EOF
			strSql = "INSERT INTO " & strTablePrefis & "BANNED (BANNED) VALUES ('" & rsBanned("M_EMAIL") & "')"
			rsFinished=my_Conn.Execute(strSql)
			rsBanned.MoveNext
		loop
		rsBanned.Close
	end if
	set rsBanned=Nothing



That should about do it.
Etymon Posted - 15 July 2009 : 08:15:33
I came across this today which might be of interest:

http://javascript.internet.com/forms/form-screener.html
HuwR Posted - 15 July 2009 : 07:41:58
I don't want an api, I just want to ban an email address if I delete it's pending registration.
HuwR Posted - 15 July 2009 : 07:40:24
quote:
Originally posted by Etymon

What kind of columns were you wanting for the banned list, Huw?



just the email address would be fine, I just want to prevent people re-registering with the same email address after I have deleted the pending registration, currently the only way is to allow the registration and then lock the account which is a bloody pain in the arse.
ruirib Posted - 15 July 2009 : 06:20:48
Huw, want to email me the details and I will code it?
Etymon Posted - 15 July 2009 : 04:33:25
Hey Huw, what about something like an API? Like this:

http://www.stopforumspam.com/apis

Or, what about this?:

http://temerc.com/forums/viewtopic.php?f=71&t=6234&sid=3a6b83437b9047aa0488cb6e78940271

Well, what I mean is in addition to what you are requesting. As in, maybe it will help in making an informed decision. Perhaps, have an additional column to flag known spammers with a description like "Black Listed As SPAM Threat" i.e. BLAST or something like that. Just a thought.
Etymon Posted - 15 July 2009 : 03:13:46
What kind of columns were you wanting for the banned list, Huw?

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.07 seconds. Powered By: Snitz Forums 2000 Version 3.4.07