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

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 N° + title of the subject into object in e-mail
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

clemouel
Starting Member

2 Posts

Posted - 09 February 2005 :  17:24:51  Show Profile
Hello,

With each contribution in the forums, the members receive an e-mail automatically if they are subscribed with the forum or the subject in question.

For reasons of conveniences, it is possible to put in the object of e-mail the number (TOPIC_ID) and the heading of the subject, such as for example:

[57030] - N° + title of the subject into object in e-mail

Thank you for your assistance

Cyril

Edited by - clemouel on 09 February 2005 17:25:12

Da_Stimulator
DEV Team Forum Moderator

USA
3373 Posts

Posted - 09 February 2005 :  18:04:27  Show Profile  Send Da_Stimulator an AOL message  Send Da_Stimulator a Yahoo! Message
Find the following code in inc_subscription.asp


				if LoopCatID > 0 then
					if LoopForumID > 0 then
						if LoopTopicID > 0 then
							strSubject = strForumTitle & " - Reply to a posting"
							strMessage = strMessage & MemberName & " has replied to a topic on " & strForumTitle & " that you requested notification to. "
						else
							strSubject = strForumTitle & " - New posting"
							strMessage = strMessage & MemberName & " has posted to the forum '" & ForumName & "' at " & strForumTitle & " that you requested notification on. "
						end if
					else
						strSubject = strForumTitle & " - New posting"
						strMessage = strMessage & MemberName & " has posted to the category '" & CatName & "' at " & StrForumTitle & " that you requested notification on. "
					end if
				else
					strSubject = strForumTitle & " - New posting"
					strMessage = strMessage & MemberName & " has posted to the " & strForumTitle & " board that you requested notification on. "
				end if


Then add the following where you want the topic id to appear


 & LoopTopicID & 


Example:

				if LoopCatID > 0 then
					if LoopForumID > 0 then
						if LoopTopicID > 0 then
							strSubject = strForumTitle & "[" & LoopTopicID & "] - Reply to a posting"
							strMessage = strMessage & MemberName & " has replied to a topic on " & strForumTitle & " that you requested notification to. "
						else
							strSubject = strForumTitle & "[" & LoopTopicID & "] - New posting"
							strMessage = strMessage & MemberName & " has posted to the forum '" & ForumName & "' at " & strForumTitle & " that you requested notification on. "
						end if
					else
						strSubject = strForumTitle & "[" & LoopTopicID & "] - New posting"
						strMessage = strMessage & MemberName & " has posted to the category '" & CatName & "' at " & StrForumTitle & " that you requested notification on. "
					end if
				else
					strSubject = strForumTitle & " - New posting"
					strMessage = strMessage & MemberName & " has posted to the " & strForumTitle & " board that you requested notification on. "
				end if

-Stim
Go to Top of Page

clemouel
Starting Member

2 Posts

Posted - 10 February 2005 :  18:29:03  Show Profile
Good evening Da_Stimulator,

Thank you very much of this fast answer.

Yours sincerely.

Cyril
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 1.01 seconds. Powered By: Snitz Forums 2000 Version 3.4.07