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
 Split Topic Mod; T_LAST_POST is incorrect
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 04 November 2005 :  08:32:26  Show Profile  Visit MarcelG's Homepage
I guess I've broken something, but I'm not sure what...
The situation is this:
If I split a topic right after the first post (so, split it at the first reply), the original topic does not get updated with the original 'last_post_date'.

Example:
Post 1 @ 12:00
Reply 1 @ 12:05
Reply 2 @ 12:06
Reply 3 @ 12:07
Reply 4 @ 12:08

I split it at Reply 1, and take all replies out to a new topic.
New topic:
Post 1 @ 12:05
Reply 1 @ 12:06
Reply 2 @ 12:07
Reply 3 @ 12:08


The original topic then should be
Post 1 @ 12:00
However, it is shown as Post 1 made at 12:00, but in the forum overview, and active.asp it's shown with the last post at 12:08...

So...errr...I know I've got to dive into post_info.asp, but I'm a bit lost of which specific location to look for.

portfolio - linkshrinker - oxle - twitter

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 04 November 2005 :  09:02:47  Show Profile  Visit MarcelG's Homepage
Sorry, solved it...I guess it was the first implementation of the split topic mod I was using at oxle.com ; took the one made from the later version at my scoutingsite (which didn't have that problem), and ran an intensive compare of differences.
It's working now.

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 04 November 2005 :  13:38:39  Show Profile
Whew. Thought I had to look into the code again for that problem. Because I know I did extensive testing on this mod to make sure everything was updated after a split.

Don't scare me like that again.

Support Snitz Forums
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 05 November 2005 :  07:37:28  Show Profile  Visit MarcelG's Homepage
hehe, just testing your reflexes.

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

net83it
Starting Member

18 Posts

Posted - 27 November 2005 :  09:24:57  Show Profile  Visit net83it's Homepage
hello
i have a problem
sorry for my bad english

i'm using snitz 3.4.03 with other mods (avatar, poll mod) and mysql

when i use this mod, the post when the split starts is lost and it is replaced by another post. i really don't realize from when this post is taken out!

example

original topic

post 1
reply 1
reply 2
reply 3, author is BigMac
reply 4, author is Hamburger
reply 5, author is MilkShake
...
...
last reply, author is Chips

i select to split from the 3° reply to the last reply

new topic

post 1, it isn't the reply 3 of BigMac but another post (i name it OUTSIDER)
reply 1, it is the reply of hamburger
reply 2, it is the reply of milkshake
...
...
last reply, reply of Chips

only the start of the new topic is wrong. the new topic doesn't start with the first reply i selected.

with any topic i try to split i have always the same problem: the post when the split starts is lost and it is replaced always by the same post (OUTSIDER).

i searched and deleted the orginal OUTSIDER and tried to split again. and again the problem: this time the first post of the news topic isn't OUTSIDER (it is deleted) but it is a new OUTSIDER.

please help. this mod i very usefull but i don't get to work it.

thank you
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 27 November 2005 :  16:45:21  Show Profile
net83it. In what order do you have the replies sorted when you are splitting the replies? Ascending or descending?

Create a new topic on your forum so that you and I can test the problem. Also if you can create an account (or give me an existing account) with moderator rights for the forum, so i can test the split problem myself.

Email me the username and password for the account.

Also post a link to a txt version of your post_info.asp page here, so i can check the code is correct.

Support Snitz Forums
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.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07