Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 New Link notice for the Listing MOD
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Bob
New Member

USA
79 Posts

Posted - 13 March 2001 :  08:20:37  Show Profile  Visit Bob's Homepage
I fixed the addurl.asp page to send me an email notice when someone submits a new link for inclusion in the Listing Mod.
Just modifiy the code starting with if been_here_before="No" then
down to the closing %> tag




if been_here_before="No" then
sql = "insert into link2 (name, url, keyword, category, description, email, postdate, parentID) values ('" & name & "', '" & url & "', '" & key & "', '" & cat & "', '" & description & "', '" & email & "', '" & today & "', '" & parent & "')"

set rsput = my_Conn.Execute (sql)

Body = "A new link has arrived for you to approve."
Body = Body & vbCrLf & "go to http://www.yourdomain.com/forum/admin_listings_main.asp to approve."

Set Mailer = Server.CreateObject("CDONTS.NewMail")
Mailer.To = "you@yourdomain.net"
Mailer.From = "links@yourdomain.com"
Mailer.Subject = "New link to approve"
Mailer.Body = Body

Mailer.Send
Set Mailer = nothing
%>

Bob
New Member

USA
79 Posts

Posted - 14 March 2001 :  15:04:59  Show Profile  Visit Bob's Homepage
Did anyone find this useful?

Bob Smith
www.zooweb.com
http://www.imageworks.net/fp2000/forum/default.asp
Go to Top of Page

Intrepidone
Average Member

Canada
515 Posts

Posted - 14 March 2001 :  22:50:33  Show Profile
I am going to implement your change now Bob, and I am sure it will be useful.

BTW, I found ALOT more files that had to be edited for Netscape, but I finally got them all. Most of the others were in the Admin pages

Intrepidone
Go to Top of Page

fu
Starting Member

Taiwan
3 Posts

Posted - 16 March 2001 :  11:52:46  Show Profile
wonderful!!!
and i found it also work in

guestbook.asp
classPlaceAd.asp
post_info.asp

some change is needed.

thank a lot.



Edited by - fu on 16 March 2001 11:54:22
Go to Top of Page

rick7165
Senior Member

USA
1094 Posts

Posted - 14 May 2001 :  06:49:09  Show Profile  Visit rick7165's Homepage
Can anyone get this to work with the New Links Manager 2?
If so can you post what needs to be done?

Thanks,
Rick


Test Site
www.eastpasco.com
HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.18 seconds. Powered By: Snitz Forums 2000 Version 3.4.07