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)
 Automatic subscription
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Alkampfer
Starting Member

Italy
22 Posts

Posted - 19 November 2002 :  07:16:48  Show Profile  Visit Alkampfer's Homepage
How can automatically subscribe to posts :
- Where I reply to a message
- That I create
?

Is there any mod?

THX

Alkampfer

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 19 November 2002 :  07:24:49  Show Profile  Send ruirib a Yahoo! Message
No, there is no mod that I know of.

Anyway with 3.4 you can always check the Click Here to Subscribe checkbox below the message area, to achieve that.


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

headmaster
Starting Member

16 Posts

Posted - 06 December 2002 :  11:36:52  Show Profile
I use Snitz for a ads styld forum and want the users to be subscribed to anything they reply to.

Can I have the checkbox for "Check Here to Subscribe" checked by default?

How would I do this?

Thanks,
headmaster

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 06 December 2002 :  12:02:01  Show Profile  Send ruirib a Yahoo! Message
Add the red part in line# 287, inc_subscription.asp:


ShowSubLink = "<input type=""checkbox"" name=""Tnotify"" value=""1"" CHECKED/>Check here to subscribe to this topic."


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

samyot
Junior Member

Canada
242 Posts

Posted - 06 December 2002 :  12:19:47  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message
Hi,

Thanks ruirib, that works great!

I there a way to add an IF...THEN around that to only have it checked by default if a member creates a new topic. I don't want it checked if members are replying to posts or editing because it is up to them to decide if they want to subscribe.


Sylvain Amyot
Forum | Home

MY OTHER SITES:
http://www.mypcsecurity.ca
http://www.mynature.ca
http://www.myworkshop.ca
http://www.toptechsites.com
http://www.topsportsites.com
http://www.mysportsforums.net
Go to Top of Page

samyot
Junior Member

Canada
242 Posts

Posted - 06 December 2002 :  12:31:35  Show Profile  Visit samyot's Homepage  Send samyot a Yahoo! Message
I figured it out!

I replaced:

if SubOption = "S" then
ShowSubLink = "<input type=""checkbox"" name=""Tnotify"" value=""1"" />Check here to subscribe to this topic."
else
ShowSubLink = "<input type=""checkbox"" name=""Tnotify"" value=""0"" />Check here to unsubscribe from this topic."
end if

with this:

if SubOption = "S" then
if strRqMethod = "Topic" Then
ShowSubLink = "<input type=""checkbox"" name=""Tnotify"" value=""1"" CHECKED/>Check here to subscribe to this topic."
else

ShowSubLink = "<input type=""checkbox"" name=""Tnotify"" value=""1"" />Check here to subscribe to this topic."
end if
else
ShowSubLink = "<input type=""checkbox"" name=""Tnotify"" value=""0"" />Check here to unsubscribe from this topic."
end if

Sylvain Amyot
Forum | Home

MY OTHER SITES:
http://www.mypcsecurity.ca
http://www.mynature.ca
http://www.myworkshop.ca
http://www.toptechsites.com
http://www.topsportsites.com
http://www.mysportsforums.net

Edited by - samyot on 06 December 2002 12:32:34
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 06 December 2002 :  12:33:31  Show Profile  Send ruirib a Yahoo! Message
Try replacing the whole line 287 by this:


ShowSubLink = "<input type=""checkbox"" name=""Tnotify"" value=""1"""

if strRqMethod = "Topic" then
  ShowSubLink = ShowSubLink & " CHECKED/>Check here to subscribe to this topic."
else
  ShowSubLink = ShowSubLink & "/>Check here to subscribe to this topic."
end if


I haven't tested this, so I do not know whether this will work in all situations where the subprocedure, where this code is located, is called.


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

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 06 December 2002 :  12:34:21  Show Profile  Send ruirib a Yahoo! Message
Lol.


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

headmaster
Starting Member

16 Posts

Posted - 06 December 2002 :  12:35:37  Show Profile
Perfect!

You guys are great!!

Thanks...

headmaster
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 06 December 2002 :  12:41:19  Show Profile  Send ruirib a Yahoo! Message
You're welcome.


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

David K
Junior Member

494 Posts

Posted - 07 December 2002 :  16:06:47  Show Profile  Send David K an AOL message  Send David K an ICQ Message  Send David K a Yahoo! Message
you should modify this line:
if strRqMethod = "Topic" then

to this
if (strRqMethod = "Topic")or(strRqMethod = "TopicQoute") then
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 07 December 2002 :  19:30:45  Show Profile  Send ruirib a Yahoo! Message
David K, I don't think you're right on this one. TopicQuote is the method use for posting replies while quoting the existing topic, while samyot wanted the box to be checked by default only for new topics, not for replies. Quoting a topic is just another way to post a reply.


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

David K
Junior Member

494 Posts

Posted - 08 December 2002 :  06:03:30  Show Profile  Send David K an AOL message  Send David K an ICQ Message  Send David K a Yahoo! Message
TopicQoute isn't a reply, it's a new topic with a qoute, a reply with a qoute is ReplyQoute
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 08 December 2002 :  06:53:31  Show Profile  Send ruirib a Yahoo! Message
No it's not. TopicQuote is a reply quoting a topic. ReplyQuote is a reply quoting another reply. The difference is certainly due to the fact that a topic quote needs the quoted topic from the TOPICS table, while a quoted reply needs the quoted contents to be retrieved from thr replies table.
The concept of a topic quoting another topic is a bit absurd, which is probably the reason that it doesn't exist here. Maybe you should have actually tried the functionality before posting about it...


Snitz 3.4 Readme | Like the support? Support Snitz too
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.62 seconds. Powered By: Snitz Forums 2000 Version 3.4.07