The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Inline Moderation Tools (v1.2.1) Details »» | |||||||||||||||||||||||||
Note: Development of this hack has stopped.
The built-in version is far superior to this hack and has better controls and permission checking. For those of you who will remain on 3.0.x, I will try to support this hack as best I can, but it won't be a top priority. If you plan on moving to 3.5, I hope this hack made your life a little bit easier while you waited . Current Version: 1.2.1 (Wed Dec 11 15:26:30 PDT 2004) What this is? This hack will allow you and your moderators to do your job more effectively by allowing you to mass-moderate. You can perform the same action on multiple threads and posts without leaving the current page! What is required? In order to use this hack, you must have cookies and JavaScript enabled! If you don't, this hack will not work. (Note: there is no "alternative display" for people without JavaScript enabled). How many changes? Uploads: 2 File edits: 2 And template additions/edits Support I will provide all support here in this thread. Bugs I have thoroughly tested this hack with as many different combinations I could think of. But I probably have either over looked one or two, or just didn't think of some. If you find any odd behaviour, please let me know! Changes Since
Fixes For 1.2.1 The following fixes are in in the next version:
On The To-Do List
If you'd like a moderator action added to this hack, post it below and I'll look into it. What are the screen shots of?
Don't forget to click install!!! Show Your Support
|
Comments |
#212
|
|||
|
|||
As I said before, one thing my mods were asking from this tool, was the ability to copy selected posts to a new thread in a specified forum. Some times, they want to edit a post, but their instructions is always to keep evidence of the original post, for dispute resolution. They usually do that, by making a copy of the thread in a specific forum. But this gets stupid, if you want to edit one post in a 200 posts thread.
So I came up with an addition to this hack, which is similar to split, but doesn't remove the original posts from the original thread, it just creates a new thread with the selected posts, in a selected forum, without touching the originals. In addition, you can select if you want to end up in the new thread's forum, or return to where you were originally (so that you can edit the original post). For those interested, here is what you need to do, to add this functionality to this hack: 1. Open inlinemod.php and find: PHP Code:
PHP Code:
HTML Code:
<form action="inlinemod.php" method="post" name="vbform"> <input type="hidden" name="s" value="$session[sessionhash]" /> <input type="hidden" name="do" value="doproces" /> <input type="hidden" name="type" value="post" /> <input type="hidden" name="inlinemodact" value="copy" /> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="tcat">$vbphrase[copy_thread]</td> </tr> <!-- <tr> <td class="thead">$vbphrase[title]: <span style="font-weight:normal">{$vars['thread']['title']}</span></td> </tr> --> <tr> <td class="panelsurround" align="center"> <div class="panel"> <div style="width:$stylevar[formwidth]" align="$stylevar[left]"> <fieldset class="fieldset"> <legend>Specify new copy thread details</legend> <table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0"> <tr> <td>The selected post(s) will be copied into a new thread in the forum you will specify.<br>You may select the new thread title and in which forum it will be created.<p> New thread $vbphrase[title] (old thread title shown):<br /> <input type="text" class="bginput" name="title" size="50" value="{$vars['thread']['title']}"/> </td> </tr> <tr> <td> New thread $vbphrase[forum]:<br /> <select name="newforumid">$moveforumbits</select> </td> </tr> <tr> <td> Where you want to go after the copy:<br /> <select name="destination"><option value="old">Where I was before</option><option value="new">Where the new thread will be created</option></select> </td> </tr> </table> </fieldset> </div> </div> <div style="margin-top:$stylevar[cellpadding]px"> <input type="submit" class="button" value="$vbphrase[copy_thread]" accesskey="s" /> <input type="reset" class="button" value="$vbphrase[reset_fields]" accesskey="r" /> <input type="button" class="button" value="$vbphrase[cancel]" accesskey="c" onclick="history.back(1)" /> </div> </td> </tr> </table> </form> Then open your SHOWTHREAD template and find: HTML Code:
<select name="inlinemodact"> <option value="merge" selected="selected">Merge Posts</option> <option value="delete">Soft Delete Posts</option> <option value="split">Split Posts</option> HTML Code:
<option value="copy">Copy Posts</option> Type : Front-end redirect messages Name: copyposts Contents: The selected posts have been copied to a new thread, in the forum you specified. You may want to run this query, to change an existing phrase, so that it can be used in copying as well as in splitting: update phrase set text='You must specify some posts to split/copy from this thread.' where varname='nosplitposts' I think this is it, I hope I am not forgetting anything. |
#213
|
|||
|
|||
Quote:
I'm confused with this part of this code. How do I do this? Thanks in advance. |
#214
|
|||
|
|||
Quote:
Code:
UPDATE phrase SET text='You must specify some posts to split/copy from this thread.' WHERE varname='nosplitposts' |
#215
|
|||
|
|||
Heya,
My body onload tag was allready modified by the image resize hack. Currently I changed it to: <body onload="<if condition="can_moderate($thread['forumid']) AND $show['inlinemod']">inline_init($thread[threadid], 'post');</if>$onload ; fiImageResize()"> but this is not working, any idea's what I need to change here?? previously it was: <body onload="$onload; fiImageResize()"> |
#216
|
||||
|
||||
Try this:
HTML Code:
<body onload="<if condition="can_moderate($thread['forumid']) AND $show['inlinemod']">inline_init($thread[threadid], 'post');</if> fiImageResize(); $onload">
|
#217
|
||||
|
||||
Just an update on things:
I'm working on abstracting a lot of the functions to make it easier to keep things organized and working right. This weekend I'm going to be swamped with work, so I probably won't get anything done. Next weekend I have to finish off a few of my own coding projects. Then in three weeks, I should have time to put the final touches on it. My goal is to have it out by the end of the month. |
#218
|
||||
|
||||
hi, my mods say they get a no permission error when using this.. any idea?
|
#219
|
||||
|
||||
Do they have JavaScript enabled? When they click the "Go" button does it have a number in parenthesis or not? What browsers are they using?
|
#220
|
||||
|
||||
they areable to use it but they get permission denied error.. like as if they where not allowed to use script.. IE (Not mods..)
|
#221
|
||||
|
||||
When they're using the tool, at the bottom of the page there's a "Go" button; when they click it is there a number in parenthesis or not?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|