PDA

View Full Version : Moderators Functions - Quick Move Posts by BOP5 for VB 3.x and VB 4.x


BirdOPrey5
04-12-2012, 10:00 PM
Brought to you by BirdOPrey5
www.Qapla.com (http://www.qapla.com/mods/)

Version 1.1 - Added option to disable by style
Version 1.01 - JavaScript Bug Fix
Version 1.0 - Initial Release

If you employ some sort of "Post Recycle Bin" where you move all inappropriate or off-topic posts then this mod is for you.

This mod will be active (when enabled) for all users with permission to "Manage Threads" in any given forum.

You can disable this mod in selected forums if you choose.

It will allow you or your moderators to quickly move posts to a single designated "catch all" thread. Any user with permission to "manage threads" will see this new option in every postbit.

You can optionally disable this for the first post of threads.

If you are browsing the "catch all" thread then the quick-move option won't show in that thread (sine you can't move posts to the thread they are already in.)

Since all posts are already in a <form> and you can't place a new <form> inside and existing HTML <form> this mod uses JavaScript to dynamically create the form only when needed- therefore it requires JavaScript to work.

In addition JavaScript is used to create a pop-up confirmation so yo don't accidentally move a post by a stray mouse click.

Some of the JavaScript used is publicly available at:
Using Javascript to POST data between pages Mental Jetsam (http://mentaljetsam.wordpress.com/2008/06/02/using-javascript-to-post-data-between-pages/)

I needed this mod on my OT forum so I could move posts that were disrupting existing threads. I did not want to delete those posts however because sometimes they contained useful information- just not useful to the topic of discussion. So I made a "catch all" thread and my mod staff and I can now quickly clean some of the "junk" out of threads without having to go through like 10 steps to otherwise move a post. :eek:

This is compatible with VB 3.8.x and all VB 4.x versions released to date. I expect it will work on older and newer VB versions as well. Tested on VB 3.8.7, 4.0.8, and 4.1.12.

VB 3.x users will want to upload the included .png image that will be used as the "Quick Move Button" in the postbit. VB 4.x uses a text link "QM" so no image is needed.

There are 2 Phrases:
bop5_qmp_quick_move_post - "Quick Move Post" (Tool tip)
bop5_qmp_are_you_sure - "Are you sure?" (Confirmation dialog box)

VBSEO Users - See This Post (https://vborg.vbsupport.ru/showthread.php?p=2319898#post2319898)

Please Mark as Installed if you use this.
Donations Always Appreciated. :up:

BirdOPrey5
04-13-2012, 07:26 PM
Reserved.

v123shine
04-14-2012, 06:10 AM
I need this plugin...thank you BOP5 :)

CoffeeLovesYou
04-15-2012, 07:04 AM
Awesome thanks!

BirdOPrey5
04-15-2012, 10:56 AM
Thanks. Please "Mark as Installed" if you are using this. :)

Hornstar
04-17-2012, 07:07 AM
You are on fire lately, will give this a go on my test board :)

BirdOPrey5
04-17-2012, 10:22 AM
You are on fire lately, will give this a go on my test board :)

Just trying to get some of my stuff that was sitting 90% done out... I had a bunch of mods that probably only needed another hour or two to be releasable- and they were building up.

I enjoy doing the coding... It's the making documentation, taking screenshots, and writing out release threads that bore me.

BirdOPrey5
05-14-2012, 05:50 PM
Added option to disable by style.

Artistichaven
06-19-2012, 03:13 PM
Is there any chance of you adding an option to allow for different quick moves in different sections? We utilize different archives and this would be SO useful if we could setup independent quick moves.

BirdOPrey5
06-20-2012, 01:01 AM
It's something I'm going to try to add in a later version but I have no estimate when it will be right now.

CoffeeLovesYou
07-22-2012, 01:23 PM
Possible you could make a non-Javascript version? This is not working for some of my staff in IE8 and IE9.

BirdOPrey5
07-22-2012, 02:43 PM
This can't work without JavaScript. I've tested in on IE9. Make sue IE9 users aren't in compatibility mode, I can't test on IE8.

CoffeeLovesYou
07-23-2012, 08:51 PM
What should they have enabled to use this? Just Javascript?

BirdOPrey5
07-24-2012, 10:55 AM
As far as I know just JavaScript is required.

yoximusprime
08-03-2012, 10:06 PM
Is it possible to have this reload the current thread instead of pulling you into the catchall? Just a minor annoyance in a great mod.

BirdOPrey5
08-03-2012, 10:23 PM
I'll look into it but it's basically using vbulletin's built in move posts code so I don't see how I could change that behavior off hand.

yoximusprime
08-03-2012, 11:20 PM
I see, I appreciate the quick response. Like I said, its just a minor issue. Great mod nevertheless.