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
 Unable to View archived posts due to Active Users
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 10 August 2002 :  21:53:42  Show Profile  Send ruirib a Yahoo! Message
Ok, I'm just guessing here, cause I don't have the code for that version but I'll give it a try:
Add the lines in red and make the replacement in green.


Case "topic.asp"
if Request.QueryString("ARCHIVE") = "true" Then
strOnlineLocation = strOnlineLocation & "Viewing Archived Message"
strActivePrefix = strTablePrefix & "A_"
else
strActivePrefix = strTablePrefix
if Request.Querystring("TOPIC_ID") <> "" Then
set rst = my_conn.execute("SELECT FORUM_ID,TOPIC_ID, T_SUBJECT FROM " & strActivePrefix & "TOPICS WHERE TOPIC_ID = " & Request.Querystring("TOPIC_ID"))
Topic_Subject = rst("T_SUBJECT")
intOnlineForumType = rst("FORUM_ID")
rst.close
set rst = nothing
if ChkForumType(intOnlineForumType) then
strOnlineLocation = "Viewing Topic: <a href=""link.asp?TOPIC_ID=" & Request.QueryString("TOPIC_ID") & """>"
strOnlineLocation = strOnlineLocation & Topic_Subject
else
strOnlineLocation = "Viewing Topic in: <a href=""link.asp?TOPIC_ID=" & Request.QueryString("TOPIC_ID") & """>Private Forums"
end if
end if
end if


Let me know how it goes.


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - ruirib on 10 August 2002 21:58:09
Go to Top of Page

Rasyr
Junior Member

USA
199 Posts

Posted - 11 August 2002 :  11:35:14  Show Profile
OK, did that, but it did not work.......

But I noticed something. If the file has more than one page, the little page links work just fine, it is the main link that doesn't work.

So.. I went ahead and looked at search.asp and made the following change on line 283 (my addition is in red)


<td bgcolor="<% =strForumCellColor %>"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><a href="topic.asp?TOPIC_ID=<% =rs("TOPIC_ID") %>&ARCHIVE=<%=ArchiveView %>"><% =ChkString(left(rs("T_SUBJECT"), 50),"display") %></a> </font><% if strShowPaging = "1" then TopicPaging() end if%></td>


and this fixed it!! Yippee!!!!!!!!!

**TANSTAAFL**
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 11 August 2002 :  11:52:36  Show Profile  Send ruirib a Yahoo! Message
Glad you fixed it.


Snitz 3.4 Readme | Like the support? Support Snitz too

Edited by - ruirib on 11 August 2002 11:53:02
Go to Top of Page

Rasyr
Junior Member

USA
199 Posts

Posted - 11 August 2002 :  12:38:41  Show Profile
hehe.. so am I....

Thanks for all the help!!!

**TANSTAAFL**
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 11 August 2002 :  12:40:23  Show Profile  Send ruirib a Yahoo! Message
Didn't help much, buy you're welcome nevertheless .


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

retro
Junior Member

123 Posts

Posted - 27 August 2002 :  23:14:39  Show Profile
Rasyr,

Thanks for the fix! Ran into the exact same problem tonight and your code fixed it up!

--Retro

Sean
Go to Top of Page

retro
Junior Member

123 Posts

Posted - 29 August 2002 :  23:02:35  Show Profile
Uh Oh!

There's another big problem here. Although I added the code that Rasyr suggested (and it fixed the link problem) now there is a problem whenever someone tries to edit an archived post or whenever they try to view page 2, page 3, etc... of a post. Any ideas where I would add Rasyr's code to resolve those two issues??

Thanks!

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