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
 Last Post MOD error
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

dayve
Forum Moderator

USA
5820 Posts

Posted - 05 August 2002 :  14:19:53  Show Profile  Visit dayve's Homepage
post_info.asp
http://dayve.d2g.com/forum/display_source.asp?page=post_info.asp

I did notice that post_info.asp is looking for intReplyID and my code gets intReplyID from another piece of code.

http://www.nineinchnailz.com

Snitz Exchange | Snitz Icons | Do's and Dont's


Edited by - dayve on 05 August 2002 14:26:30
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 05 August 2002 :  16:55:05  Show Profile  Visit crash's Homepage
quote:
How is that related to this Mod?

well, since Doramoon told me she/he has that in her/his file post_info.asp, i was confused because i did not see the relation to the Last Post mod, i thought i'd better ask...

dayve, thanks for the code! your file, and mine, look the same (where the code for the LP Mod is concerned)

i thank you guys/girls for the time taken to help me out! i it appreciated!



Crash's Site | Crash is from
Go to Top of Page

DoraMoon
Average Member

Taiwan
661 Posts

Posted - 06 August 2002 :  00:22:21  Show Profile
quote:

How is that related to this Mod?


i think the only thing we need here is intReplyID...
trying the Dayve's method to get inrReplyID.. it also work good !!
and it seem look more easily to understand than the @@...
but anyway, this @@Identity... also work for me ~ (is this @@Identity a legal SQL statement ???)
quote:

LastPost(rsForum("FORUM_ID")) 'call lastpost function


yes~ it also like this in my default.asp page

and i check my LastPost modified files again. it seem no other problem by now...

in inc_functions.asp
LastTopicID = rsLast_Post("TOPIC_ID")
LastSubject = ChkString(rsLast_Post("T_SUBJECT"),"title") '<-- i think this line added by myself.. it need add T_SUBJECT query above
Last_Post[/blue] = rsLast_Post("T_LAST_POSTER") '<-- i don't know why i change LastPost to Last_Post...
mxpages = (rsLast_Post("T_REPLIES") / strPageSize)
if mxpages <> cint(mxpages) then
mxpages = int(mxpages) + 1
end if
Response.Write " <a href=""topic.asp?TOPIC_ID=" & LastTopicID
if mxpages > 1 then
Response.Write "&whichpage=" & mxpages
end if
if Last_Post <> "0" then Response.Write "#" & Last_Post
Response.Write " "" title='Topic Subject: " & LastSubject & "' [/blue]><img src=""" & strImageURL & "lastpost.gif"" border=0 align='absmiddle'></a>"


and it's all, hope you got this great MOD successful !!



~~ ¡¹ ¡¸ ¡¸¡¹ ¡¸ ¡¹ ~~

YA!!! I Got A One STAR !!!..... ....

Edited by - DoraMoon on 06 August 2002 00:30:05
Go to Top of Page

crash
Advanced Member

Netherlands
2064 Posts

Posted - 06 August 2002 :  02:52:16  Show Profile  Visit crash's Homepage
thanks DoraMoon! the mod is running fine now!

again: a big thanks goes out to all who have helped!



Crash's Site | Crash is from
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.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07