Duplicate/Dissect Post
Author Message
MyBB has a Split Post moderation tool which is useful for splitting posts off into a different thread if the topic goes for a turn.  However, I find at times, the topic may have gone off-topic half way through a post.

This is where the idea came from.  This plugin adds a post moderation tool which will allow moderators to "dissect" (can't use the word "split") a post, and perhaps, then split the second half of the post into a separate thread.

I also find that some longer posts may work better if split up into multiple posts, but this may be difficult if replies have been made.  This plugin can be useful in these situations as well.

Additionally, if more than one post is checked, it will allow posts to be duplicated.


Note that the automatic post merging may be a little problematic as MyBB's code assumes posts are ordered by pid (not a good assumption to make, but well...).  I haven't tried this.
Other known possible side effects:
- MyBB's AJAX quick reply feature is retarded and orders by pid (instead of dateline, which it _should_ be ordering by).  Basically it means that it is theoretically possible for a user to be redirected to a duplicate post rather than the latest post.
- Duplicating the lastpost of the thread won't update the lastpost link (ie, it will link to the original lastpost)
(This post was last modified: 08-31-2010 07:54 AM by ZiNgA BuRgA.)
Find all posts by this user
Quote this message in a reply
Download: copypost.php (12.38 KB)
Plugin Version: 1.21
Last Updated: 08-31-2010, 07:54 AM

Downloads: 584
MyBB Compatibility: 1.4.x, 1.6.x
Plugin License: WTFPLv2
Uploader: ZiNgA BuRgA
walkman Offline
Junior Member
**
Posts: 36
Joined: May 2010
Post: #2
RE: Duplicate/Dissect Post
It looks like a handy fature to have. I downloaded and will it try it out. Thank you.
06-04-2010 10:40 PM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,327
Joined: Mar 2010
Post: #3
RE: Duplicate/Dissect Post
Yeah! Another useful tool. Thank you very much, Yumi Smile

06-05-2010 11:02 AM
Find all posts by this user Quote this message in a reply
leefish Offline
Hamster
*******
Posts: 1,009
Joined: Apr 2010
Post: #4
RE: Duplicate/Dissect Post
Looks good - course, I need some people to post before I can use this.... Smile


[Image: leelink.gif]
MYBB1.6 & XThreads
06-05-2010 10:17 PM
Visit this user's website Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,338
Joined: Jan 2008
Post: #5
RE: Duplicate/Dissect Post
Thanks for the feedback Smile

My Blog
06-05-2010 10:31 PM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,338
Joined: Jan 2008
Post: #6
RE: Duplicate/Dissect Post
Updated to v1.2:
- fix a MyBB showthread query so that it searches for a post by dateline, rather than pid (may cause a post link to direct a user to the wrong page)
- make most showthread queries order by "dateline,pid" instead of just "dateline".  Hopefully this makes things a little more stable, although I haven't seen issues without this.  Basically, MyBB sorts posts by dateline (and due to them being inconsistent, by pid at times), however duplicating posts will retain the same post date/time as the post being duplicated.  Thus the DBMS (eg MySQL) is not required to guarantee ordering of two posts with the same post date/time.  Forcing it to order by pid as well ensures some order.

-e-
Update to v1.21:
- wtf at me for forgetting to put the control_object function in

My Blog
(This post was last modified: 08-31-2010 07:55 AM by ZiNgA BuRgA.)
08-29-2010 03:01 PM
Find all posts by this user Quote this message in a reply
katib Offline
Junior Member
**
Posts: 20
Joined: Dec 2010
Post: #7
RE: Duplicate/Dissect Post
Another usefull plugin
Thanks a lot
12-06-2010 01:55 AM
Find all posts by this user Quote this message in a reply
katib Offline
Junior Member
**
Posts: 20
Joined: Dec 2010
Post: #8
RE: Duplicate/Dissect Post
EDIT: I am a little bit confused !!
How can I use this feature?
I checked some posts,
Go to quick moderation tool..etc
The post get copied and putted after original post
So now should I use defauld mybb moderation to spllit it again to send it to enother thread?
12-06-2010 03:44 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Administrator
*******
Posts: 2,327
Joined: Mar 2010
Post: #9
RE: Duplicate/Dissect Post
I think you need to do that if you want to split it (the copied posts).

12-06-2010 05:10 AM
Find all posts by this user Quote this message in a reply
katib Offline
Junior Member
**
Posts: 20
Joined: Dec 2010
Post: #10
RE: Duplicate/Dissect Post
THanks for reply
I think so, because it make no sense to  duplicate a post and leave it in original thread !
I was thinking this plugin so two things: duplicate a post and send it to another existing thread or to a new thread
Anyway, as is, it is a great plugin
A big thanks to ZiNgA BuRgA
12-06-2010 07:16 AM
Find all posts by this user Quote this message in a reply


Forum Jump: