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)
 Members Email Notification
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 4

KenDude
New Member

USA
87 Posts

Posted - 21 December 2000 :  10:06:39  Show Profile  Visit KenDude's Homepage
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I tried to follow the instructions for modifying the pop_profile.asp but can not find the location in the file to replace the code.

I am using the last release (prior to the latest one) I think it is SR2.

Updated: I think I found the spot in the pop_profile.asp to change but am now stuck in the loop from the admin page to log-in boxes. I looked at the earlier post with the required changes but there is nothing in the post - just says here is the code but is blank. Can anyone help out?



Thanks.



Richard Hay
Webmaster/Forum Admin
http://AnotherWin95.com
http://AnotherWin95.com/forum

Edited by - anotherwin95 on 21 December 2000 06:16:49

Edited by - anotherwin95 on 21 December 2000 06:19:31
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Happy to help since I had to figure this one out myself (author of mod and previous responders seem to be AWOL during the holiday! <img src=icon_smile.gif border=0 align=middle>)

At the top of each file is a one line statement that checks a session variable to see if you are an admin. This variable check is before a couple of includes.

First thing you need to do is open admin_home.asp and copy that same line that checks for a session number because it now also checks for a cookie. Replace each of the lines at the top of the 3 additional ASP files with the updated version of the line from admin_home.asp.

But wait, there's more!

You MUST also move the check down after the first two includes, I believe those are config.asp and inc_functions.asp off the top of my head. Once you do this it will work.


There is another <b>PROBLEM</b> with this method of sending email to everyone. I wanted to send out a newsletter to my members, it was oh I don't know 250 words, maybe 300, and upon doing so it crashes the form. Evidently there is a limit to how much text can be in your email to everyone so what I had to end up doing was including a hyperlink in the email back to a message in the Forum that had all the contents that I wanted to send them. Since this method uses the URL line for the response to send as email I don't think there is a way to fix this, but I'm all ears if someone has an idea.


KenDude was Here!
Go to Top of Page

Redmanz
Starting Member

Canada
21 Posts

Posted - 21 December 2000 :  12:11:11  Show Profile
If you check back in this topic I think you will not only find the answers you need but also the updated mods needed. I experienced this problem and started this thread looking for a solution to why I couldn't find the lines in pop_profile that i was supposed to edit. I do have the updated mods if there are no longer available with the download link in a previous post. Merry Christmas<img src=icon_smile_cool.gif border=0 align=middle>

Go to Top of Page

Redmanz
Starting Member

Canada
21 Posts

Posted - 21 December 2000 :  12:16:26  Show Profile
However having said that has anyone resolved this problem? When I send a mailout the mailout includes this information on the bottom of the mailout. I would like this removed if possible. Any solutions guys. Or rather is this happening to you ppl as well.

HERE IS THE STUFF THAT IS INCLUDED ON THE BOTTOM OF MY MAILOUTS.
Please complete your profile at this address :
http://www.nativeart.ws/PATH/pop_profile.asp?mode=goEdit&id=1&Name=Fah&Password=XXXXXXXX




Go to Top of Page

KenDude
New Member

USA
87 Posts

Posted - 21 December 2000 :  12:22:27  Show Profile  Visit KenDude's Homepage
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
If you check back in this topic I think you will not only find the answers you need but also the updated mods needed. I experienced this problem and started this thread looking for a solution to why I couldn't find the lines in pop_profile that i was supposed to edit. I do have the updated mods if there are no longer available with the download link in a previous post. Merry Christmas<img src=icon_smile_cool.gif border=0 align=middle>


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

The items I answered appear to have been answered before, but the text of exactly what to replace and how to replace it is gone, something looks "screwy" with the first page of this topic thread, thus another answer was needed.

The lines in pop_profile.asp are closer to line 610 or so in the updated code.

I have found, however, that while the pop_profile code works and each email contains the hyperlink to the profile page with the correct username/password in the URL, clicking on the URL doesn't work. You will receive an error message and be asked to enter your username and password to update your profile, which pretty much renders the hyperlink moot. I even tried manually entering the URL and it just plain doesn't work, even with the correct username and password.

Anyone else try this? I ended up just removing the lines that append this hyperlink to each email anyway...

KenDude was Here!
Go to Top of Page

anotherwin95
Junior Member

USA
140 Posts

Posted - 21 December 2000 :  12:24:20  Show Profile  Visit anotherwin95's Homepage  Send anotherwin95 an ICQ Message
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
If you check back in this topic I think you will not only find the answers you need but also the updated mods needed. I experienced this problem and started this thread looking for a solution to why I couldn't find the lines in pop_profile that i was supposed to edit. I do have the updated mods if there are no longer available with the download link in a previous post. Merry Christmas<img src=icon_smile_cool.gif border=0 align=middle>


<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

A very valid point - I went back to the post with the changes and could see them - for some reason I could not see the changes he had posted at work. I have now made those changes and the mod works great! Thanks for all the help.



Richard Hay
Webmaster/Forum Admin
http://AnotherWin95.com
http://AnotherWin95.com/forum
Go to Top of Page

Redmanz
Starting Member

Canada
21 Posts

Posted - 21 December 2000 :  13:24:33  Show Profile
exactly what did you remove to get rid of the offending lines Ken.........I'm sort of code challenged with this one and have had some problems trying to edit the pages to get rid of these lines.<img src=icon_smile_question.gif border=0 align=middle>

Go to Top of Page

KenDude
New Member

USA
87 Posts

Posted - 21 December 2000 :  13:40:29  Show Profile  Visit KenDude's Homepage
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
exactly what did you remove to get rid of the offending lines Ken.........I'm sort of code challenged with this one and have had some problems trying to edit the pages to get rid of these lines.<img src=icon_smile_question.gif border=0 align=middle>

<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Sure, in the file e_send_it.asp

strMessage = oFormVars("body")

'strMessage = oFormVars("body") & chr(13) & chr(13) & _
' "Information : " & chr(13) & _
' "Your 'User Name' is : " & oRS.Fields("M_NAME") & chr(13) & _
' "Your 'password' is : " & oRS.Fields("M_PASSWORD") & chr(13) & _
' "Please complete your profile at this address : " & chr(13) & _
' "http://www.spyderweb.net/forum2/pop_profile.asp?mode=goEdit&id=" & _
' oRS.Fields("MEMBER_ID") & "&Name=" & Server.URLEncode (oRS.Fields("M_NAME")) & _
' "&Password=" & Server.URLEncode (oRS.Fields("M_PASSWORD"))
%>
<!--#INCLUDE FILE="inc_mail.asp" -->

Just comment out those lines.




KenDude was Here!
Go to Top of Page

anotherwin95
Junior Member

USA
140 Posts

Posted - 21 December 2000 :  17:06:57  Show Profile  Visit anotherwin95's Homepage  Send anotherwin95 an ICQ Message
Thanks Ken - I would much rather just put my standard signature in the message instead of sending the username and password when it was not asked for.

This worked perfect - I had also been fighting the code all evening!

Richard Hay
Webmaster/Forum Admin
http://AnotherWin95.com
http://AnotherWin95.com/forum
Go to Top of Page

Redmanz
Starting Member

Canada
21 Posts

Posted - 21 December 2000 :  17:12:23  Show Profile
Yeah thanks Ken that worked for me also..........hey win how are you getting it to stick in a signature,,,,,,instead of the stuff we been trying to get rid of.......<img src=icon_smile_big.gif border=0 align=middle>

Go to Top of Page

anotherwin95
Junior Member

USA
140 Posts

Posted - 21 December 2000 :  17:19:05  Show Profile  Visit anotherwin95's Homepage  Send anotherwin95 an ICQ Message
I just type in my normal signature block manually in the message block after the message I want to send.

I see me using this for short message - just an attempt to remind folks that the forums still exists and to remind them to return. Since they post software listings at my site for others to view I can do short emails to accomplish my goal of just reminding them what is going on.

I intend to just send weekly or so stats on the site - try to keep them interested.

Richard Hay
Webmaster/Forum Admin
http://AnotherWin95.com
http://AnotherWin95.com/forum
Go to Top of Page

jw
Starting Member

USA
6 Posts

Posted - 26 December 2000 :  09:55:06  Show Profile  Send jw an ICQ Message
I cannot get to this link, can someone tell me what the patch was?
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Try to add this line on top of the e_send_it.asp file : <% Server.ScriptTimeout = 3600 %>
I found the information at this adress : http://194.198.228.171/safileupdocs/install_tailor_scripttimeout.htm

I didn't try the e_notifaction script with a lot of email yet. Maybe other users can share their experience...<img src=icon_smile.gif border=0 align=middle>


<font color=green><b><i>Marc Valentin</i></b>
</font id=green>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Go to Top of Page

marc
Junior Member

Belgium
175 Posts

Posted - 27 December 2000 :  09:02:09  Show Profile
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
I cannot get to this link, can someone tell me what the patch was?
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Maybe this link doesn't work anymore but you don't really need to get to this link.
This link was just an information source where I found the information about adding "<% Server.ScriptTimeout = 3600 %>" at the beginning of the e_send_it.asp file...

<font color=green><b><i>Marc Valentin</i></b>
</font id=green>
Go to Top of Page

paulj
Starting Member

6 Posts

Posted - 02 January 2001 :  23:29:24  Show Profile
Is there any way to extend the amount of text that is possible. I wanted to use this as a newsletter, but need to have more text available.

Thanks,

Paul

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
There is another <b>PROBLEM</b> with this method of sending email to everyone. I wanted to send out a newsletter to my members, it was oh I don't know 250 words, maybe 300, and upon doing so it crashes the form. Evidently there is a limit to how much text can be in your email to everyone so what I had to end up doing was including a hyperlink in the email back to a message in the Forum that had all the contents that I wanted to send them. Since this method uses the URL line for the response to send as email I don't think there is a way to fix this, but I'm all ears if someone has an idea.


KenDude was Here!
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Go to Top of Page

KenDude
New Member

USA
87 Posts

Posted - 03 January 2001 :  12:28:48  Show Profile  Visit KenDude's Homepage
I do not know of a way to fix this, and no one seems to be doing any work on it. You will likely have to go with the solution I did and that is to include a hyperlink in the email to your users that points them back to the newsletter and hope that they click on it!

KenDude was Here!
Go to Top of Page

StockholmStudent
Junior Member

Sweden
329 Posts

Posted - 17 January 2001 :  07:44:57  Show Profile  Visit StockholmStudent's Homepage  Send StockholmStudent an ICQ Message
quote:

I made this add-on based on the client email notification application written by Richard Walker (http://www.aspalliance.com/richardwalker/email/clientemail/). It will enable the Forum Admin to send email to all or selected members. suggestions, bugs and fixes please post here.
(Please use at your own risks... )

d/l : http://www.abeditions.com/forums/e_notification.zip



I can't get it work! For the first:

In the instruction it says like this:
quote:


Approx. Line 208 replace this section:

if strAuthType = "db" then

strSql = strSql & " WHERE M_NAME = '" & ChkString(Request.Form("Name"),"name") & "' "

strSql = strSql & " AND M_PASSWORD = '" & ChkString(Request.Form("Password"),"password") & "'"

end if



with:

if strAuthType = "db" then

if Request.Form("Name")<>"" then

strSql = strSql & " WHERE M_NAME = '" & ChkString(Request.Form("Name"),"name") & "' "

strSql = strSql & " AND M_PASSWORD = '" & ChkString(Request.Form("Password"),"password") & "'"

else

strSql = strSql & " WHERE M_NAME = '" & ChkString(Request.querystring("Name"),"name") & "' "

strSql = strSql & " AND M_PASSWORD = '" & ChkString(Request.querystring("Password"),"password") & "'"

end if

end if







I can't find an exact line of what you're reffering to. I can find this though:
quote:

if strAuthType = "db" then
strSql = strSql & " AND M_PASSWORD = '" & ChkString(Request.Form("Password"),"password") & "'"
end if



But there is one line missin in that one!

Why!?
When I've replaced that line with the lines you suggest. Than pop_profile works great. The bug that I can see is that when Im in the Admin home, adn Im clicking on the new link I've created, it sends me to the "admin_home" login-page!! It asks me to login again to the admin_home! Why!?

cheers
/CHEETAH
Go to Top of Page
Page: of 4 Previous Topic Topic Next Topic  
Previous Page | Next Page
 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.14 seconds. Powered By: Snitz Forums 2000 Version 3.4.07