Snitz™ Forums 2000
https://forum.snitz.com/forumTopic/Posts/56103?pagenum=1
05 November 2025, 03:52
Topic
Davio
Split Topic Mod
13 December 2004, 12:14
Mod Name: Split Topic Mod Version: 1.2 Snitz Forums Tested with: 3.4.05 (should be able to work with all 3.4 versions) Database support: All database types supported Author: Davio Last Updated: March 21, 2005.
Description: This mod allows admins and moderators to move replies from one topic into a new topic. Very helpful when users in your forum go off-topic. Just move thier posts into a new topic.
This mod will NOT move the replies into an existing topic.
Download: Primary site: http://www.snitzbitz.com/mods/details.asp?Version=All&mid=202 Secondary site: http://www.dsilvera.com/download.asp?file_id=110
Change Log: March 21
- Fixed bug that made the newest selected reply the topic, when the replies were sorted in ascending order, on split.asp.
- Fixed bug that didn't correctly update the topic and forum count after spliting a topic to a new forum.
December 28
- Added sorting for replies on split.asp page - Fixed first reply being converted to html after a topic was split - Removed the split topic icon from topic.asp page when no replies are in a topic - Other small fixes
Works like a champ. One bug in your html page for post_info.asp, though. The very last "select all" points to the text box above it.
<
Dubie
13 December 2004, 13:23
Nice job.
Thanks for takeing the time to do it.
Will help me out a lot.
Peace, Dubie<
Davio
13 December 2004, 13:30
Oops. Sorry about that. It has been fixed.<
ruirib
13 December 2004, 13:44
Well done :). This was very needed.<
rasure
13 December 2004, 14:18
Thank you so much davio for this long awaited mod, going to install now<
masterao
13 December 2004, 14:41
Thanks Davio. This is a very useful mod, one which I guess has a chance of becoming part of the main forum-code with time.<
Davio
13 December 2004, 15:14
Originally posted by masterao Thanks Davio. This is a very useful mod, one which I guess has a chance of becoming part of the main forum-code with time.
Ssshh! <
muzishun
13 December 2004, 18:09
Thanks for the MOD, Davio. Got it installed in just a few minutes, and it's working great.<
Da_Stimulator
13 December 2004, 22:41
Good work davio! I especially like the documentation, you've been getting good at that huh? <
dayve
13 December 2004, 22:44
good god almighty... this is gonna really make my moderators earn their **** pay! looking forward to implementing it, but right now I gotta study for finals <
MarcelG
14 December 2004, 03:13
We've got a WINNER!!!!! This one looks like one for the basecode! Great mod (gonna have to search for a more appropriate icon though, but that's all )<
richfed
14 December 2004, 05:52
Thank you for this, Davio. Wanted to be able to do this for a long time! Will implement it over the weekend ...<
rasure
14 December 2004, 06:22
Originally posted by Da_Stimulator This is what I came up with... I like # 2 & 3 better
1. 2. 3.
then obviously just change the icon size in inc_iconfiles.asp to |15|15<
MarcelG
14 December 2004, 14:54
Number 3 !!! a good one!! is that a zipper ? <
Classicmotorcycling
14 December 2004, 16:19
I know it is a great mod and agree it should be in the base code. After all how many idio.., sorry users go off on a tangent of their own and it had nothing to do with the topic.
Originally posted by marcelgoertz This one looks like one for the basecode!
Just put it on one of my sites and tested it. Fantastic job there Davio. Only took me abut 2 minutes to install and that was taking the time (for me anyway) to get it right.<
Davio
14 December 2004, 16:47
Thanks guys. My original design was to modify the post.asp page. But my beta testers suggested to use a seperate page which would make the mod easier to install and maintain. Because modifying the post.asp to add the code needed for this mod, was really a tedious task.
There are some small things that need to be taken care of in this mod: - When there are no replies in a topic, don't want to display the split topic option. Or probably put a graceful error message when trying to split a topic with mod replies.
- When trying to split a topic in an archive, to give a more meaningful error message, since that is not allowed in the archives.
Minor stuff. <
MarcelG
14 December 2004, 17:08
You could put a check before the piece where you display the Split Topic icon:
Code:
if NOT (Request.QueryString("ARCHIVE") = true OR rsTopic(T_REPLIES) = 0) then ' display the icon end if
Mmmm...I think I am talking jibberish now...don't have any Snitz code available, and have been working for 14 hours straight now....<
Davio
14 December 2004, 18:00
I'll find the easier solution. I would rather edit the split.asp page, since all users would need to do is overwrite the file with the new one. Unless they start to make changes to split.asp page.<
Gargoyle
14 December 2004, 18:52
Who would make changes to the split.asp page ???? <
modifichicci
15 December 2004, 03:22
Hi, I would like to know, before tryng this mod (very interesting!) what modifications need when there are some mods installed, such as events, poll, message icons etc.
It's enought to modify the routine write reply as new topic adding in the MySql string the fields required?
Or more changes are needed?
<
hellind
15 December 2004, 05:36
Well done @Davio. Nice Mod
Wondering how easy would it be to implement the MERGE THREAD function with this mod. I am not requesting, just asking. I've seen this MERGE feature in vbulletin.<
rasure
15 December 2004, 05:46
Originally posted by modifichicci Hi, I would like to know, before tryng this mod (very interesting!) what modifications need when there are some mods installed, such as events, poll, message icons etc.
My forum is heavily moded and I didn't have any problems at all installing the mod, the mod is well documented<
Davio
15 December 2004, 05:53
A merge topic mod wouldn't be too hard either. But that's not a discussion to be discussed here. Please start a new topic about that in the appropriate forum.
Modifichicci, I don't know what modifications would be needed to make the mod work with the different mods. You will need to test the mod, see what problems occur and deal with them. If you run into problems ask your question in the Help: MOD Implementation forum. There are users that will help you get the mod working with other mods.<
Ranko
15 December 2004, 09:47
Well I just tested it on a clean 3,4,05 and when I split a topic it turns all the forum code into html for the first post only. Which is kinda irritating, because the <> get converted to html.
Anyone? What did I do?<
Davio
15 December 2004, 17:45
Ranko, Support --> Help: MOD Implentation forum.<
Ranko
15 December 2004, 21:21
Sorry, for some reason I thought this was it.
Now why didn't you just split it ?<
OneWayMule
16 December 2004, 00:35
Davio, one suggestion: I'd like to see a option where you can choose how the replies are ordered, while using this MOD I found out that especially for topics with lots of replies it would be less confusing with posts sorted by "oldest post first".
Anyway, nice MOD! <
GarethMoore1979
16 December 2004, 09:13
nice work Davio....just off hand how easy would it be to do the reverse to what you have done here?? 'merging topics'?<
MarcelG
16 December 2004, 10:55
Originally posted by Da_Stimulator This is what I came up with... I like # 2 & 3 better 1.
2.
3.
then obviously just change the icon size in inc_iconfiles.asp to |15|15
I took this one to fit with my other icons:
It's from the Korilla skin for Maxthon <
modifichicci
16 December 2004, 16:34
Implemented! It works fine and I have had to add only R_MSICONS to complete for my Mod. Polls and events aren't signed in REPLY, so they don't affect the mod. Great!<
modifichicci
18 December 2004, 11:11
That is true Image!
But... I think there is a problem in our mod with MySql... or better, I have some problems...
<
Davio
20 December 2004, 00:40
Ok, we got a few bugs to fix in the mod, which I should update during the week.
So I would advise new users to hold off on installing until the bugs are worked out.
The main bug being that when you select a reply to split, that contains forum tags, it is converted to html, which messes up the reply. I have posted the fix here: http://forum.snitz.com/forum/topic.asp?TOPIC_ID=56141<
golfmann
21 December 2004, 20:34
What happens when you have say 6 or 7 pages? Can you select a certain page?<
Davio
21 December 2004, 21:25
The replies are not grouped. All the replies are shown on the split.asp page. You just select which replies you want to move from that topic.<
golfmann
21 December 2004, 22:03
ok thanks...
awaiting your update, whenever it's ready <
Davio
25 December 2004, 09:45
I was thinking of removing the topic from the split.asp page and just show the replies. Do you guys want the topic to be shown on the split.asp page?
I also think the sql queries I used in the post_info.asp page could do with some rework. I think there is too many queries being executed and some of them might not be needed or combined into one. If suggestions on them would be helpful.<
Gargoyle
25 December 2004, 13:04
I would like it if the topic stayed. I think it would make it easier to decide what stays and what gets split. <
golfmann
25 December 2004, 14:49
I don't need the topic. maybe the topic subject in some way. <
MarcelG
25 December 2004, 18:03
Originally posted by Davio I was thinking of removing the topic from the split.asp page and just show the replies. Do you guys want the topic to be shown on the split.asp page?
I would like it to be left there. It's nice to be reminded what the topic was all about, if you're picking the offtopic-posts out of the topic.<
rasure
25 December 2004, 18:22
Originally posted by Gargoyle I would like it if the topic stayed. I think it would make it easier to decide what stays and what gets split.
Yes me too<
Davio
25 December 2004, 21:32
Interesting...so while you are reading the topic, you don't decide then which replies need moving and then go look for those replies on the split.asp page? You guys are wierd. Golfmann, looks like we are out voted.<
modifichicci
26 December 2004, 18:28
Why instead of a new page to select the reply we cannot have an icon in the reply clikking on it we start a new topic with it? And if we could choose if also the following or not have to be splitted?
<
Davio
26 December 2004, 21:12
modifichicci, this mod allows you to select more than 1 reply, and move them to a new topic. What you are suggesting would limit the mod to just move 1 reply to a new topic. Not very convenient.<
Gargoyle
26 December 2004, 21:23
To be honest Davio I see a topic getting off track then I immediatly go to the split.asp page and decide what the posts are that are going to be moved while I am looking at them in the split.asp page. Sometimes they are scattered and it's nice to look at the original topic and then decide whether or not that specific post will stay...
Wierd.... Probably... LOL!!!<
Davio
26 December 2004, 22:09
But if you don't read through the entire topic, how do you know which replies to split into a new topic?
Anyways I'll be keeping it in, so no worries.
Hopefully should get it out during this week. Christmas time is really hectic. Busy busy busy.<
Gargoyle
27 December 2004, 13:29
Err... I guess I'm just lazy.... LOL!! <
Davio
28 December 2004, 21:08
I have updated the mod with the fixes and some of the features you guys have requested.
And may I ask, how come no one has rated the mod at SnitzBitz yet? Do I need to bend your arms to get you guys to rate my mods? grrrrr So if you like or don't like the mod, please rate it at SnitzBitz. It's good to know if the mod is any good. Go young modders! http://www.snitzbitz.com/mods/details.asp?Version=All&mid=202
<
Gargoyle
28 December 2004, 21:55
I rate it a five!! (out of five that is)<
golfmann
28 December 2004, 22:15
Ok done...
thank you Davio...
You have a 10 vote <
Andy Humm
29 December 2004, 14:35
Will this Mod work with forum v3.4.04 and Active Users MOD and Birthdays MOD already incorprated..
regards andy<
Davio
29 December 2004, 16:00
It has not been tested with previous versions. You will have to test it for yourself.
And you will also have to test it with those other mods installed.
If you run into errors start a new topic in the Mod: Help Implentation forum. Someone will be able to help you get it working with the other mods.<
Trefenwyd
29 December 2004, 23:05
is it possible to see a demo of this mod please?<
Davio
29 December 2004, 23:39
A demo? Uhmm...there is a screenshot in the readme file. Maybe other users can provide some screen shots.<
Trefenwyd
30 December 2004, 09:28
is there a possibility that in the future this mod will add the ability to move a single post on an existing topic? it would be a lot more flexible...
thank you!<
Davio
30 December 2004, 12:15
No this mod will not do that. If anything, that feature will be a future mod.<
Davio
04 January 2005, 01:37
Hmmm, no feedback on the update guys? Does that mean it fixed all previously mentioned problems you were having?<
rasure
04 January 2005, 09:39
Hi davio, I must admit I never had or noticed any problems with the first release? although I have updated the mod with the recent changes. The mod works great thanks for the work you have put into it<
tribaliztic
07 January 2005, 10:46
Didn't see any errors with the first release either, but I did it all from the beginning (on the live server this time..) and it's working really nice =) Thanks alot!
<
Davio
07 January 2005, 13:03
Well, I was particularly interested for feedback from those persons who reported the problems in the first release. But it seems they are satisfied. Otherwise, they would back here complaining to me how it doesn't work. <
jodonnell
17 January 2005, 15:57
Just installed it, no problems at all (with PMs, active users, birthdays installed) - worked first time & amazingly simple to use.
One feature which might be nice is ability to create new topic content or edit the lead topic in the new topic as you're splitting it (to add a post/note to say replies have been moved). Not a problem though - at least editing is easily done after split.
Great work.
John
<
golfmann
19 January 2005, 09:36
Originally posted by Davio Well, I was particularly interested for feedback from those persons who reported the problems in the first release. But it seems they are satisfied. Otherwise, they would back here complaining to me how it doesn't work.
Well I didn't want to complain, but no it's not fixed on oours... <
Davio
19 January 2005, 12:33
Well I didn't want to complain, but no it's not fixed on oours...
*Davio swears under his breath at golfmann and gives him a menacing look* Start a new topic so we can work on fixing it. I'm almost convinced it's not the mod but the modifications you have on your forum.<
RevDaveB
20 January 2005, 16:31
I am definately having no luck with mods today! Installed it easily, lovely job. Clicked the split Icon, it asked me to set the forum and subject and select the posts to split, lovely! Did all that, then it just cleared the screen from header down and sat there picking its nose for 5 mins. I hit the home button, went to the topic I had just split, and there were all the posts, laughing at me!
I think I will go off and have a cry now<
matko
26 January 2005, 19:34
I have implemented it succesfully and I am very happy about it. My most commonly used mod at the present. Thanks Davio.
P.S. I will give it full rank in snitzbit <
Bassman
29 January 2005, 08:06
This mod is just what I was looking for. I have used it now on many topics with success, thanks Davio.<
samyot
07 March 2005, 11:42
oops! moved this reply to the Help: MOD Implementation forum....<
samyot
07 March 2005, 14:21
Actually I have a question....
Do I have to select "Newest Replies First" so that the oldest message picked becomes the topic?<
Davio
07 March 2005, 14:32
Samyot, no. The oldest selected post will be the topic. Doesn't matter what how you sorted the posts before you split them.<
samyot
07 March 2005, 14:37
ok, thanks
I just had a newer reply become the topic and though it was because of the sorting!
I will test this out again and if the problem persists, I will start a new thread in the Help: MOD Implementation forum
Thank you<
Davio
21 March 2005, 02:51
The Split Topic mod has been updated, with bug fixes.
I would advise all current users that have the mod installed to update thier files.<
masterao
21 March 2005, 16:03
I have discovered a new bug with version 1.2.
If I choose to sort the replies with oldest first and then splits the topic, the last reply (newest post) chosen isn't moved to the new topic. If I choose to sort with the newest first, all chosen replies are moved to the new topic.<
Davio
21 March 2005, 16:46
Start a new topic masterao. You know that already don't you? <
masterao
21 March 2005, 17:21
My bad. I missed the part about or bugs in Please direct all problems, errors or bugs you find in the mod in the Help: MOD Implementation Forum. New topic started.<
BushyTea
25 March 2005, 21:20
I know it has been asked before but is there or will there be a mod to allow you to move a topic with no replys yet? That seems to be what would get used a lot as well.
Great mod as well...easy install.
Mike<
Davio
25 March 2005, 22:25
Huh? LoL! Edit the topic, change the forum you want to move the topic to, and Submit. <
BushyTea
26 March 2005, 00:01
Well yeah, I knew to do that.
Just thought I would give an idea along with the few others that have. thanks. <
Classicmotorcycling
04 April 2005, 18:53
All I am going to say, is that this is a brilliant MOD. No issues with getting it to work first go and upsetting a few of my users who think they could get away with not creating a new topic. Great work Davio.<
MarcelG
05 April 2005, 02:20
[and the crowd yells]
base code! base code! base code! [/and the crowd yells]<
Davio
05 April 2005, 02:22
Thanks David. Appreciate it. LoL @ marcel!<
corinaw
24 March 2006, 03:36
I'm not sure why this is not installing for me. seems like the whole world loves it.
all the frames in the readme are blenk or not found. Have you moved the files instructions or files? It looks like there are instruction specific to "inc_iconfiles.asp", "post_info.asp" , "topic.asp" I installed the mod, but did not modify these files pending instructions. (frames are blank)
please let me know.
regards, corina<
TonyB7
24 March 2006, 22:49
I just downloaded it again and it's working fine. Simply extract the .zip to a folder, and run the readme.htm file. Clicking on the links to the above files will display instructions in the frame below.<
ernieek
13 June 2006, 16:59
Hello,
i have also installed this options, but i have a problem when i use IE. Firefox it wil work oke but not in internet explorer.
I use ie 6.
The error is on split.asp line 218 the value length is emty or not an object.
function check(checkBoxID) { var box = document.getElementById("replyid" + checkBoxID) if (box.checked) { box.checked = false; } else { box.checked = true; } }
Con someone help me?<
Davio
13 June 2006, 17:32
This isn't the place to ask for help. The support forum is here: http://forum.snitz.com/forum/forum.asp?FORUM_ID=94<