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)
 Actual Post Count
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

HarshReality
Junior Member

USA
128 Posts

Posted - 16 May 2002 :  14:48:20  Show Profile  Visit HarshReality's Homepage  Send HarshReality an AOL message  Send HarshReality an ICQ Message  Send HarshReality a Yahoo! Message
Does anybody know of a Mod that will put the actual post count in a post, would work similar to the post stamp mod. have toyed with the idea but cant get it hammered out and wondering if anybody knows of a Mod anywhere.

Oh what wonders await we the ****ed in exile, for in a single act of rage I have slain what little humanity I have left and all that remains is the beast....

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 16 May 2002 :  19:09:14  Show Profile  Visit Gremlin's Homepage
Something like this ?

http://www.eq-halo.com/forum/topic.asp?TOPIC_ID=3985

At the topic of the topic there is an 'info' box where I have things like topic views, post counts etc.

www.daoc-halo.com
Go to Top of Page

HarshReality
Junior Member

USA
128 Posts

Posted - 17 May 2002 :  02:28:09  Show Profile  Visit HarshReality's Homepage  Send HarshReality an AOL message  Send HarshReality an ICQ Message  Send HarshReality a Yahoo! Message
No but that is a kewl mod, I was thinking along the lines of dayve's idea. I asked but he has been so busy I don't want to like hound at him.

http://dayve.d2g.com:8010/forum/topic.asp?TOPIC_ID=1596

if you look in the lower right of a post its labeled as "Post ID:"
that number represents the posts placment in the whole or the actual post number.


Update: Figured it out, now just have to establish how to update pre-existing posts with the number.

Oh what wonders await we the ****ed in exile, for in a single act of rage I have slain what little humanity I have left and all that remains is the beast....

Edited by - HarshReality on 17 May 2002 04:00:50
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 17 May 2002 :  05:00:22  Show Profile  Visit Gremlin's Homepage
I had that mod installed a long time ago, from memory an extra column was inserted into _TOPICS and _REPLIES that contained the users current post count, and this was just used in conjunction with their total post count to display the info.

To update you databases with past post info your just going to have to write a script to go through and update each topic and reply for each member. If you've got a large database this could be troublesome to get working though with timeouts etc.

www.daoc-halo.com
Go to Top of Page

HarshReality
Junior Member

USA
128 Posts

Posted - 17 May 2002 :  06:51:16  Show Profile  Visit HarshReality's Homepage  Send HarshReality an AOL message  Send HarshReality an ICQ Message  Send HarshReality a Yahoo! Message
ahh the mod your talking about is the post stamp, have that already in and can be turned on or off from admin options ;).

What I have to do now is locate a script that will take all posts/topics and number them in the order they were written in the order they were written (by date) into the fields added to topics and reply (T_POST_NO and R_POST_NO) I get a headache just trying to think about it, lol

Oh what wonders await we the ****ed in exile, for in a single act of rage I have slain what little humanity I have left and all that remains is the beast....
Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 17 May 2002 :  09:34:34  Show Profile  Visit Gremlin's Homepage
That paritcular mod originally was supplied with a script to do just that conversion.

www.daoc-halo.com
Go to Top of Page

HarshReality
Junior Member

USA
128 Posts

Posted - 18 May 2002 :  22:03:20  Show Profile  Visit HarshReality's Homepage  Send HarshReality an AOL message  Send HarshReality an ICQ Message  Send HarshReality a Yahoo! Message
Actually no, they are 2 different mods, one (the one your talking about) was the post # and count per member the mod I just got going is for post # and count for the forum whole reguardless of member.

there are 2 areas and 2 different tables that would have to be numbered in sequence. T_POSTS and R_POSTS each would have to be ordered and numbered accordingly by date and then the numbers placed into T_POST_NO for T_POSTS and R_POST_NO for R_POSTS. I know it sounds simple but for me I can see it but doing it seems an impossibility. I guess it would be simple to organize each table and then number it by date but to do BOTH tables and have it number accordingly I cant even begin to imagine.

Oh what wonders await we the ****ed in exile, for in a single act of rage I have slain what little humanity I have left and all that remains is the beast....
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 18 May 2002 :  23:48:29  Show Profile  Send ruirib a Yahoo! Message
quote:

I guess it would be simple to organize each table and then number it by date but to do BOTH tables and have it number accordingly I cant even begin to imagine.


A union query can do that easily...

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 18 May 2002 :  23:56:02  Show Profile  Send ruirib a Yahoo! Message
Ok, here you have the SQL:


SELECT FORUM_TOPICS.TOPIC_ID, FORUM_TOPICS.T_DATE, 'T' AS Type
FROM FORUM_TOPICS
ORDER BY T_DATE

UNION

SELECT FORUM_REPLY.REPLY_ID, FORUM_REPLY.R_DATE, 'R' AS Type
FROM FORUM_REPLY
ORDER BY T_DATE ;


This will create a recordset with all the topics and replies, ordered ascending by date, with the Type column, indicating whether each record is a topic or a reply, so that you know where did it come from.

I guess this allows you to solve your problem, no?

<edit>Forgot to mention that this will not work on the most popular database for the Linux OS, MySQL. They don't support UNIONs yet...</edit>

-------------------------------------------------
Installation Guide | Do's and Dont's | MODs


Edited by - ruirib on 19 May 2002 00:08:55
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.45 seconds. Powered By: Snitz Forums 2000 Version 3.4.07