Author |
Topic |
|
Bob
New Member
USA
79 Posts |
Posted - 13 March 2001 : 08:20:37
|
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 |
|
Intrepidone
Average Member
Canada
515 Posts |
Posted - 14 March 2001 : 22:50:33
|
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 |
|
|
fu
Starting Member
Taiwan
3 Posts |
Posted - 16 March 2001 : 11:52:46
|
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 |
|
|
rick7165
Senior Member
USA
1094 Posts |
Posted - 14 May 2001 : 06:49:09
|
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. |
|
|
|
Topic |
|