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: MOD Implementation
 New problem for today. Email link to post
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

nickw
Junior Member

Ireland
193 Posts

Posted - 10 May 2006 :  15:15:34  Show Profile
Hi Guys,

Does anyone know how to MOD the code so that the Subscription email notification gives a link to the LAST page of the thread?

Right now, the link goes to the first page.

Be gentle :)

Nick

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 11 May 2006 :  05:29:14  Show Profile
See my second last reply in this topic. You'll also need to add whichpage=-1 to the querystring when linking members to topic.asp from your subscription e-mails. This will bring subscribers to the last reply on the last page of a 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

nickw
Junior Member

Ireland
193 Posts

Posted - 23 May 2006 :  10:37:15  Show Profile
thank you!

Nick
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 23 May 2006 :  10:46:45  Show Profile
You're welcome, Nick.


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 - 23 May 2006 :  10:59:41  Show Profile
Sorry Shaggy,

I have added the code to the topic.asp and it has not appeared to give me any issue.

How do I modify the subscription email part?

Nick
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 23 May 2006 :  11:10:37  Show Profile
Find the following on line 188 of inc_subscription.asp and add the code in green:
strMessage = strMessage & "You can view the posting at " & strForumURL & "topic.asp?TOPIC_ID=" & TopicId & "?whichpage=-1" & vbNewline

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 - 23 May 2006 :  11:13:01  Show Profile
Thanks man! I would have been ages finding that. I really appreciate the support given here.

Nick
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 23 May 2006 :  11:13:59  Show Profile
No problem.


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 - 23 May 2006 :  11:45:56  Show Profile
Shaggy,

Put that live and some users are reporting issues:

First is that subscriptions have stopped working (however, manual email message using the forums still work).

The second is that *some* readers are giving the following error on the rss.asp file:

ADODB.Recordset error '800a0bb9'

Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.

/forum/topic.asp, line 411

Line 411 is:

rsReplies.absolutepage = mypage '**



Nick
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 23 May 2006 :  11:57:35  Show Profile
For some reason there's a ? above where there should be a &; corrected below.
strMessage = strMessage & "You can view the posting at " & strForumURL & "topic.asp?TOPIC_ID=" & TopicId & "&whichpage=-1" & vbNewline
What's rss.asp and why's it pulling an error from topic.asp? The line you reference is unrelated to the changes I provided you with.


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 - 23 May 2006 :  12:07:31  Show Profile
rss.asp is the RSS feed for the forum. (another mod).

I will give this change a go. BRB

Nick
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 23 May 2006 :  12:10:10  Show Profile
Here... take a look.... this is what is happening now... (I pasted the code above)
http://web2.minasi.com/forum/topic.asp?whichpage=0&TOPIC_ID=18324#78065

Nick
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 23 May 2006 :  12:37:28  Show Profile
Can you post a link to a *.txt copy of your topic.asp file? Do you have any topics that are more than 1 page long?


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 - 23 May 2006 :  12:39:22  Show Profile
OK, where I am seeing the problem is as follows....

On topics that have only 1 page, this error happens. On topics that have three pages, the link takes me to the second page only. Make sense? It is almost like it should add a 1 to the number all the time?

http://web2.minasi.com/forum/topic.txt
http://web2.minasi.com/forum/inc_subscription.txt

Sorry for the editing of this topic... if you want a long post to test this on try:
http://web2.minasi.com/forum/topic.asp?TOPIC_ID=16211

As you can see the "-1" takes you to page 15 and not 16.

Nick

Edited by - nickw on 23 May 2006 12:44:00
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 23 May 2006 :  12:48:15  Show Profile
If this is happening consistently across all topics then there's a quick fix that I can give you, but you'll need to test a few topics with differing numbers of replies (including 0) before applying the fix as, if it's not a consistent problem, it'll just break something else. Would love to know why it's happening like this for you, but I can only assume it's clashing with a mod you have installed.


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.”

Edited by - Shaggy on 23 May 2006 12:48:41
Go to Top of Page

nickw
Junior Member

Ireland
193 Posts

Posted - 23 May 2006 :  12:52:04  Show Profile
I am thinking the poll mod.... but I am not sure yet.

Nick
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next Page
 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.24 seconds. Powered By: Snitz Forums 2000 Version 3.4.07