Author |
Topic  |
marc
Junior Member
 
Belgium
175 Posts |
Posted - 24 November 2000 : 07:05:03
|
Is there a way to remove someone from the Snitz Forum database using just one URL ? I want to add at the end of each message a direct URL to let the user remove his name from the database. Is it possible ?
<font color=green><b><i>Marc Valentin</i></b> </font id=green> |
 |
|
jwilkens
New Member

65 Posts |
Posted - 27 November 2000 : 09:51:57
|
Any progress on this... I'd like to just send one message out, rather than 100 individual.
The message would be to "forum admin" and bcc the selected users...
(great mod)
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> Bravo Marc very useful tool. I implemented it and I will use it. 2 changes I will make when I'll get time <img src=icon_smile.gif border=0 align=middle> 1- Select moderators only 2- Put all the recipients on copy instead of sending an email by recipient
Until that, I'll use your notification addon
Thanks
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
|
 |
|
marc
Junior Member
 
Belgium
175 Posts |
Posted - 12 December 2000 : 09:07:58
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> Downloaded the e_notification mod.........followed the instructions.......when I got to the modify your pop_profile.asp I could not for the life of me find the area in the file to modify to make this most excellant mod work? Could it be I am using the wrong release? Any help appreciated. Thanks guys<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> Hi, The MOD was done for version 3.0 and the pop_profile.asp has changed a lot in 3.1. You can try this :
Approx. Line 617 replace this section: if strAuthType = "db" then strSql = strSql & " AND M_PASSWORD = '" & ChkString(Request.Form("Password"),"password") & "'" end if
with: if strAuthType = "db" then if Request.Form("Password")<>"" then strSql = strSql & " AND M_PASSWORD = '" & ChkString(Request.Form("Password"),"password") & "'" else strSql = strSql & " AND M_PASSWORD = '" & ChkString(Request.querystring("Password"),"password") & "'" end if end if
However, I am not sure it's going to work. The problem is that I still have version 3.0 installed on my system so I can't test the script. Please tell me if it works. If it doesn't, I will look deaper into the code.
<font color=green><b><i>Marc Valentin</i></b> </font id=green> |
 |
|
Redmanz
Starting Member
Canada
21 Posts |
Posted - 12 December 2000 : 13:19:26
|
Okay tried that code....it doesn't bring back any errors, but all it does is create a endless loop everytime you click the link in the admin panel it brings you back to login to the admin panel...........?wierd. Once back in the admin panel you click the link again and presto your back to the login panel
|
 |
|
Da_Stimulator
DEV Team Forum Moderator
    
USA
3373 Posts |
Posted - 12 December 2000 : 13:39:54
|
Does this send email through a component such as ASPMail or does it open up an Outlook or Communicator window through Mailto: ?
<font color=red>Da_Stimulator</font id=red> <font color=red>http://www.cfm-resources.com/s/stimmy/</font id=red> <font color=blue>response.write("I know what you coded last summer!")</font id=blue> http://www.tek-tips.com - The community where computer proffesionals meet and talk. |
 |
|
Redmanz
Starting Member
Canada
21 Posts |
Posted - 12 December 2000 : 14:23:00
|
I do beleive it uses the mail program you initially selected when installing your forum. I might be wrong on this but I think thats how it works. BTW I tried to download your smiles_mod but the link appears to be broken. Sounds like a fun mod to try out.<img src=icon_smile_cool.gif border=0 align=middle>
|
 |
|
Da_Stimulator
DEV Team Forum Moderator
    
USA
3373 Posts |
Posted - 12 December 2000 : 15:26:26
|
yeah, I cant access it through FTP either, the server's down... sux.
I'm gonna move it over to cfm-resources.com where I can get to it more reliably
<font color=red>Da_Stimulator</font id=red> <font color=red>http://www.cfm-resources.com/s/stimmy/</font id=red> <font color=blue>response.write("I know what you coded last summer!")</font id=blue> http://www.tek-tips.com - The community where computer proffesionals meet and talk. |
 |
|
Davio
Development Team Member
    
Jamaica
12217 Posts |
Posted - 12 December 2000 : 23:01:45
|
I had to make a few changes to this mod to get it to work with 3.1. At the top of each file there is this code: <pre id=code><font face=courier size=2 id=code><% If Session("Approval") = "15916941253" Then %> <!-- #include FILE="config.asp" --> <!-- #include FILE="inc_functions.asp" --> <!-- #include FILE="inc_top.asp" --></font id=code></pre id=code>
Changed it to this:<pre id=code><font face=courier size=2 id=code><!-- #include FILE="config.asp" --> <% If Session(strCookieURL & "Approval") = "15916941253" Then %> <!-- #include FILE="inc_functions.asp" --> <!-- #include FILE="inc_top.asp" --> </font id=code></pre id=code>
This will stop the continous looping when accessing the mod from the admin options. When replacing, don't overwrite the script.timeout code in the file e_send_it.asp
Also, I saw no need for the 'UserName' column if I wasn't using NT authenication. So I added the following 'if' statement to the username table data code:<pre id=code><font face=courier size=2 id=code><font color=red><% if strAuthType = "nt" then %></font id=red> <TH bgColor="<% =strPopUpTableColor %>" align="center"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>">UserName</FONT></TH> <font color=red><% end if %></font id=red></font id=code></pre id=code>
And a quick question to marc, what does the code change in the pop_profile.asp file do? I couldn't figure out what your email mod and the profile had in common. <img src=icon_smile.gif border=0 align=middle>
<center><font color=green>*----*----*----*----*----*----*----*----* <font size=2>"To Get To Heaven, It's Who You Know That Counts."</font id=size2> *----*----*----*----*----*----*----*----*</font id=green></center> |
 |
|
jwilkens
New Member

65 Posts |
Posted - 12 December 2000 : 23:10:49
|
This is also what I did... worked like a charm. Sorry I didn't post earlier :)
Has anyone had any success (or even tried) in getting the server to send out one message, instead of X (x = number of users selected)?
I'd like to have it BCC them, that way they don't see the other recipients... It just seems like there is greater room for error and/or possible server load issues if the page waits for each msg to be sent.
Thoughts?
|
 |
|
marc
Junior Member
 
Belgium
175 Posts |
Posted - 13 December 2000 : 12:57:07
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> Does this send email through a component such as ASPMail or does it open up an Outlook or Communicator window through Mailto: ? <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote> The code uses the Snitz default code for email (I don't remember the asp page name). So, it's a component.
<font color=green><b><i>Marc Valentin</i></b> </font id=green> |
 |
|
marc
Junior Member
 
Belgium
175 Posts |
Posted - 13 December 2000 : 13:06:52
|
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> And a quick question to marc, what does the code change in the pop_profile.asp file do? I couldn't figure out what your email mod and the profile had in common. <img src=icon_smile.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> Actually they don't have anything in common. <img src=icon_smile_big.gif border=0 align=middle> I wanted to add a url at the bottom of the message to let the user modify his profile directly (=quick access to his/her profile). But for this to work, in the pop_profile.asp code, You must have the "Request.querystring" instruction to retrieve variables values and not "Request.Form". See what I mean ? Another usefull url would be a direct url to delete or disable the user (self-delete). <BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote> I'd like to have it BCC them, that way they don't see the other recipients... It just seems like there is greater room for error and/or possible server load issues if the page waits for each msg to be sent. Thoughts? <hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote> Your are right, but what if the user has an anti-spam filter to send each message not specificaly addressed to him to the trashcan ? With this MOD, the message is really personnal. About server load : some email components have an option to "spool" the sending of the messages. You could add this option in the email asp page of Snitz forum if your component supports it... (I didn't try yet).
<font color=green><b><i>Marc Valentin</i></b> </font id=green>
Edited by - marc on 13 December 2000 13:14:19 |
 |
|
Redmanz
Starting Member
Canada
21 Posts |
Posted - 15 December 2000 : 22:50:29
|
Okay sorry it took so long to respond. The email mod works fine except for one small problem.........it brings back this stuff on the bottom of the sent email! Could this be something to do with the questioned pop_profile.asp modification? Thanks guys.
Please complete your profile at this address : http://www.nativeart.ws/snitz/pop_profile.asp?mode=goEdit&id=1&Name=Fah&Password=XXXXXXXX
Would like to get this thing working cause **** its got some powerfull uses.
|
 |
|
KenDude
New Member

USA
87 Posts |
Posted - 20 December 2000 : 12:58:05
|
I installed this modification and made the changes so I didn't get caught in the infinite loop problem. I get to the form for the email, fill it out and click SEND and nothing happens, it just sits there. I can click RESET and it will clear the form, but when I click SEND, nothing happens. What's wrong???
KenDude was Here! |
 |
|
slemieux
Junior Member
 
USA
234 Posts |
Posted - 20 December 2000 : 14:38:45
|
Has anyone here every used Gammadyne Mailer http://www.gammadyne.com/mmail.htm?
I use it and love it! Sends HTML/Text e-mail with sniffers. Can pull info straight from your database and isn't web based so you don't have to worry about it killing your server. Has a ton of great features and only costs $80.
The interface is ugly but it is an extremely powerful app! Well worth every penny!!
Scott LeMieux |
 |
|
anotherwin95
Junior Member
 
USA
140 Posts |
Posted - 21 December 2000 : 06:02:01
|
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 |
 |
|
Topic  |
|