Author |
Topic |
tec
Starting Member
10 Posts |
Posted - 03 May 2002 : 04:33:26
|
I was wondering if there is a modified code for viewing the Reply message in the subscription notification e-mail so that one doesn't actually have to log on to the site to view the reply?
This was actually the case in a mod to a previous version of Snitz before subscription was included as default.
Hoping for help...
Tinna
Edited by - tec on 13 May 2002 04:21:26
Edited by - Nathan on 15 May 2002 01:19:59 |
|
tec
Starting Member
10 Posts |
Posted - 13 May 2002 : 04:22:55
|
bump
|
|
|
Nathan
Help Moderator
USA
7664 Posts |
Posted - 13 May 2002 : 22:58:01
|
There has been much talk of making one, but I have never seen a product.
Look around, you will find many threads on the subject.
Nathan Bales Snitz Exchange | Do's and Dont's |
|
|
Snowblind
Starting Member
USA
2 Posts |
Posted - 15 May 2002 : 01:09:50
|
OK.. I'm a newbie to the SNITZ forum, but I took a little time to figure out how to add the posting body, to the subscription e-mail notice. Here is the mod as I made them:
## To add the posting body to the subscription list, make the following edits. In the file: post_info.asp Locate the calls to the function: ProcessSubscriptions There are two of them. They should look like: ProcessSubscriptions rs("Member_ID"), Cat_ID, Forum_ID, Topic_ID Change both of them to be: ProcessSubscriptions rs("Member_ID"), Cat_ID, Forum_ID, Topic_ID, CleanCode(txtMessage)
In the file: inc_subscription.asp Locate the line that looks like: This is around line 166 sub ProcessSubscriptions (MemberId, CatID, ForumId, TopicId) Change it to: sub ProcessSubscriptions (MemberId, CatID, ForumId, TopicId, txtMessage)
In the same file, a little further below, we need to add the text to the body of the e-mail. The original lines are: strMessage = strMessage & "Regarding the subject - " & TopicName & "." & vbNewline & vbNewline strMessage = strMessage & "You can view the posting at " & strForumURL & "link.asp?TOPIC_ID=" & TopicId & vbNewline The updated lines of code are: strMessage = strMessage & vbNewLine & vbNewLine & "Subject: " & TopicName & vbNewline & vbNewline & txtMessage & vbNewLine & vbNewLine strMessage = strMessage & "You can view the full posting at " & strForumURL & "link.asp?TOPIC_ID=" & TopicId & vbNewline
## End of Mods
|
|
|
Nathan
Help Moderator
USA
7664 Posts |
|
tec
Starting Member
10 Posts |
Posted - 15 May 2002 : 03:02:35
|
Before I read your post Snowblind, I did find a modification in the archived posts which works fine and only adds two extra lines in inc_subsciption.asp.
See topic here: http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=16549
You may have to add one or two extra line breaks (& vbNewline) in order for it to look good in the e-mail but it works fine.
But thanks anyway - sorry I was late getting back on that.
tec
|
|
|
Snowblind
Starting Member
USA
2 Posts |
Posted - 15 May 2002 : 10:09:13
|
Tec,
That's what I love about these forums. There is always a better way. Thanks for pointing it out. I'm all for minimizing the amount of work in a mod.
Kevin
|
|
|
UKLKhan
Starting Member
5 Posts |
Posted - 15 May 2002 : 10:31:20
|
Is there a MOD for Snitz that automatically e-mail's when someone's replied to the topic WITHOUT having to subscribe [Automatically]
Thanks,
Khan
http://www.uklans.com
|
|
|
XavierSlater
Junior Member
United Kingdom
137 Posts |
Posted - 15 May 2002 : 11:37:49
|
We implemented something like this on our forum, where it included the message content as part of the Subscription post.
We then found out that if you allowed "board wide subscriptions", emails went out that included content from HIDDEN forums, including ones that were used to contain business sensitive information.
Just a word of warning to test this before you implement it.
Regards,
Stuart
|
|
|
UKLKhan
Starting Member
5 Posts |
Posted - 15 May 2002 : 11:41:08
|
Thanks for the info, But what I'm looking for is a MOD that when you post a topic it automatically will e-mail you and all the ohters that have replied when a user replys to the post.
Do you know what I mean? [without having to subscribe to a forum]
Cheers
Khan
http://www.uklans.com
|
|
|
Astralis
Senior Member
USA
1218 Posts |
Posted - 16 May 2002 : 19:33:21
|
That feature was eliminated from the previous version of Snitz Forum last year and replaced with Subscriptions. I like the idea of subscriptions but I think it's intuitive to have "email when someone replies to this post".
Perhaps someone will know how to turn that feature back on.
|
|
|
Astralis
Senior Member
USA
1218 Posts |
Posted - 18 May 2002 : 17:05:47
|
quote:
Before I read your post Snowblind, I did find a modification in the archived posts which works fine and only adds two extra lines in inc_subsciption.asp.
See topic here: http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=16549
You may have to add one or two extra line breaks (& vbNewline) in order for it to look good in the e-mail but it works fine.
But thanks anyway - sorry I was late getting back on that.
tec
I checked this out and found some problems: your message:
quote:
actually, I found a MUCH easier solution: the message body can still be retrieved at this point by a simple request.form("message") so now, around line 300 of inc_subscription.asp, after strMessage = strMessage & fLangN(strLangInc_Subscription00160, TopicName) & "." & vbNewline & vbNewline
I added strMessage = strMessage & "Message:" & request.form("Message") & "."
and it works!
The code in inc_Subscriptions after line 300 does not exist anywhere in the document so I'm hesitant to add any code in case there are problems.
|
|
|
johngo33
Starting Member
14 Posts |
|
joatham
Junior Member
United Kingdom
169 Posts |
Posted - 21 May 2002 : 11:12:05
|
My ccHTMLMail mod does this, but only if the mail is sent in html format. I could add the code to the normal format email if you want me to though, let me know if you require it and I will take a look at putting it into the standard Snitz code for non-html mail.
John
For snitz mods and information, see the Cosmic Cat Snitz Mods Homepage |
|
|
Classicmotorcycling
Development Team Leader
Australia
2084 Posts |
Posted - 21 May 2002 : 17:06:00
|
John,
I wouldn't mind it for my forum. I have the ccHTMLMail installed, but would like it to email the content for non-html as well.
quote:
My ccHTMLMail mod does this, but only if the mail is sent in html format. I could add the code to the normal format email if you want me to though, let me know if you require it and I will take a look at putting it into the standard Snitz code for non-html mail.
John
For snitz mods and information, see the Cosmic Cat Snitz Mods Homepage
Regards,
Webmaster @ Classic Motorycling Australia Classic Motorcycling Australia |
|
|
joatham
Junior Member
United Kingdom
169 Posts |
Posted - 23 May 2002 : 20:32:44
|
I will take a look at it this weekend, will post a follow-up here when it's ready!
John |
|
|
Topic |
|