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)
 Subscription Email. First reply only and Page.
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

nickw
Junior Member

Ireland
193 Posts

Posted - 20 September 2005 :  16:27:57  Show Profile
Hi All, I did search, but came up blank...

Two questions if you have a moment... First, can the subscription be set to only send one reply per topic reply... (for the first reply after you post only)

Second, can the hyperlink in the notification email be set to always go to the last page (or the page where that last post was)?

Nick

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 20 September 2005 :  17:47:56  Show Profile  Send ruirib a Yahoo! Message
Hmmm... the first seems to be the hardest to achieve, since in order to get that, you'd need to delete the subscription, something that would be possible only if the forum was configured to allow Topic subscriptions. Other than that, you'd need to maintain a lotta info about post times and reply times, besides the subscription itself. Not impossible, but certainly hard.

The second would probably be easier. You'd need to find the reply id for the last reply and change the link so that topic.asp would be open for the last reply. Not difficult to do.

Anyway, both situations require code changes.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 21 September 2005 :  05:03:29  Show Profile
Actually, your second question reminds me that I was going to look into modifying the jump to last post feature so it wouldn't require the REPLY_ID, I'll try to free up some time later in the week to do so.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 21 September 2005 :  08:00:05  Show Profile
Thank you both :)

Our forum is getting busier and busier... the second one is the most important to me, and if you could do it (I am no coder) I would be in your debt

In regard to the first issue, maybe a DEV request for the next version of Snitz could be made?

Nick
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 21 September 2005 :  08:28:47  Show Profile  Send ruirib a Yahoo! Message
When Shaggy does what he stated in his last post, it will be very easy to change subscriptions to have what you asked for.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 21 September 2005 :  08:41:33  Show Profile
If, Rui, if!


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

net83it
Starting Member

18 Posts

Posted - 23 September 2005 :  11:24:40  Show Profile  Visit net83it's Homepage
hello people
any news on the second question?
thank you very much
Go to Top of Page

net83it
Starting Member

18 Posts

Posted - 25 September 2005 :  06:27:21  Show Profile  Visit net83it's Homepage
it seems it is possible to link each reply individually

http://www.ioguadagno.biz/forum/topic.asp?TOPIC_ID=7946&whichpage=3#66720

in this way i linked the reply #66720 of the topic #7946 in the 3rd page.
so the script should retrieve:
- the id of the reply
- the page which the reply is in
and then send the email of notification.

any idea about how to achieve it?
Go to Top of Page

natcolley
Starting Member

USA
2 Posts

Posted - 27 September 2005 :  20:09:54  Show Profile  Visit natcolley's Homepage  Send natcolley an AOL message  Send natcolley a Yahoo! Message
Ok, Newby here. I'm not clear on the basic question of subscriptions. Are they set for all posters by default? I ask because I don't see any 'subscribe to this topic' option here on this board. I suppose I'll get an answer in my email sooner or later, but in case I don't, I thought I'd ask...
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 28 September 2005 :  03:38:01  Show Profile  Send ruirib a Yahoo! Message
Subscriptions aren't even enabled by default. They need to be enabled by you, and then each category and forum must have their properties changed to have a subscription level compatible with the level defined for the board. Only after that will users be able to subscribe, but they will need to do it explicitly.

This board only allows subscriptions to the Announcements: Security Related Bug Fixes


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

lucapan
Starting Member

9 Posts

Posted - 22 February 2006 :  09:33:39  Show Profile  Visit lucapan's Homepage
I solved the second question

First of all make a backup copy of inc_subscription.asp and post_info.asp. Then edit the following files:

--------------------
inc_subscription.asp
--------------------

Line 36. Find the code:

sub ProcessSubscriptions (pMemberId, CatID, ForumId, TopicId, Moderation)

and REPLACE it with:

sub ProcessSubscriptions (pMemberId, CatID, ForumId, TopicId, Moderation)
ProcessSubscriptionsEx pMemberId, CatID, ForumId, TopicId, Moderation, 0
end sub
sub ProcessSubscriptionsEx (pMemberId, CatID, ForumId, TopicId, Moderation, NewReplyId)

Line 210. Find the code:

strMessage = strMessage & "You can view the posting at " & strForumURL & "topic.asp?TOPIC_ID=" & TopicId & vbNewline

and REPLACE it with:

strMessage = strMessage & "You can view the posting at " & strForumURL & "topic.asp?TOPIC_ID=" & TopicId
if NewReplyId > 0 then strMessage = strMessage & "&whichpage=-1&REPLY_ID=" & NewReplyId
strMessage = strMessage & vbNewline


-------------
post_info.asp
-------------

Line 1087. Find the code:

ProcessSubscriptions rs("MEMBER_ID"), Cat_ID, Forum_ID, Topic_ID, Moderation

and REPLACE it with:

ProcessSubscriptionsEx rs("MEMBER_ID"), Cat_ID, Forum_ID, Topic_ID, Moderation, NewReplyID


----------------
THAT's ALL FOLKS

http://www.gpfun.net
GP Races with Grand Prix Legends

Edited by - lucapan on 22 February 2006 09:37:45
Go to Top of Page

volition
Starting Member

USA
49 Posts

Posted - 10 January 2007 :  13:31:58  Show Profile  Visit volition's Homepage
Thanks. I just came here to ask the same question (if it was not already asked) and here it is. This should get added to the next version.

Volition® - The Net's Oldest Free-Stuff Site

Snitz Forum at http://forum.volition.com/
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 11 January 2007 :  03:46:44  Show Profile
This has already been implemented in v3.4.06 using a different method than the one posted by Lucapan.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

gpspassion
Junior Member

260 Posts

Posted - 24 November 2007 :  20:09:01  Show Profile  Visit gpspassion's Homepage
Do you know if the 3.4.06 method can be used with 3.4.05, maybe by a replacing a few files ? If not I'll look into Lucapan's mod.

UPDATE - never mind, used Lucapan's mod and I'm all set. Didn't realize you could "short" the page number by using -1 !

Edited by - gpspassion on 24 November 2007 20:34:08
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 26 November 2007 :  05:20:14  Show Profile
This is the one that was added to the base code. Be sure to read the entire topic.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
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 0.4 seconds. Powered By: Snitz Forums 2000 Version 3.4.07