Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Inline Moderation Tools (v1.2.1) Details »»
Inline Moderation Tools (v1.2.1)
Version: 1.2.1, by rob_daemon rob_daemon is offline
Developer Last Online: Sep 2019 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 08-27-2004 Last Update: 12-10-2004 Installs: 122
 
No support by the author.

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
  • 1.2.0
    • Fixed problems with merging threads
    • Enhancement to the merge thread screen
  • 1.1.0
    • (Hopefully) resolved all JavaScript issues
    • Merge threads
    • Removed search results moderation ability (it was too much work to maintain and a user could bypass the protection if he knew how the hack operated)
    • Bug with not updating all user fields in post merge
    • Bug with checking for the wrong permissions when deleting a post
    • Template caching
    • Selection boxes only appear when a user is a moderator
  • 1.0.0
    • Fixed search results
    • Added small announcement patch

Fixes For 1.2.1
The following fixes are in in the next version:
On The To-Do List
  • Usergroup permission for inline moderation

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #202  
Old 03-17-2005, 04:28 AM
rob_daemon's Avatar
rob_daemon rob_daemon is offline
 
Join Date: Sep 2003
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad you go this fixed . Interesting problem, I'm not sure why exactly it'd happen, though.
Reply With Quote
  #203  
Old 03-19-2005, 08:25 PM
YLP1 YLP1 is offline
 
Join Date: Aug 2004
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I still can't get this mod to work for invidivual posts...works for for topics.....this is going to drive me to drink! LOL

I did as you asked and created a new style with no parent, but still have the problem.

Any other ideas?
Reply With Quote
  #204  
Old 03-21-2005, 05:29 PM
psico psico is offline
 
Join Date: Oct 2001
Location: Buenos Aires, Argentina
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by honestjohn
It was related to another javascript applet running on the site - all fixed!
What Javascript? Because I?m having the same problem.

Tnx in advance.
Reply With Quote
  #205  
Old 03-23-2005, 08:33 PM
Kei Kurono's Avatar
Kei Kurono Kei Kurono is offline
 
Join Date: Mar 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

One thing i felt that can be improved is the inline deletion.

It does soft deletion.

But i want to physically delete a mass of thread, which i cannot do with the inline moderation tool.

maybe you should make so when you tick the forum threads, and select inline option delete, it then prompts, soft ot physical deletion.

just an opinion.
Reply With Quote
  #206  
Old 03-25-2005, 02:37 PM
EscortCossie EscortCossie is offline
 
Join Date: Jun 2004
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have the same problem with moving threads.

Does someone have a fix for this?

Edit:

I tired using Firefox insted of IE.. haven't got any problems yet (after moving approx 1000 threads )
Reply With Quote
  #207  
Old 03-28-2005, 07:24 PM
msimplay's Avatar
msimplay msimplay is offline
 
Join Date: Aug 2002
Location: UK
Posts: 1,059
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have one problem i merged two posts and one of them had attachments and those seemed to disappear when the posts were merged
Reply With Quote
  #208  
Old 03-29-2005, 01:11 AM
Neutral Singh's Avatar
Neutral Singh Neutral Singh is offline
 
Join Date: Sep 2004
Location: Sikh Philosophy Network
Posts: 545
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Exellent Hack !! I remember the first time i installed this hack, it created a real mess on my forum but this time around it installed like a charm... thanks for this gr8 handy tool !!

Regards
Reply With Quote
  #209  
Old 03-29-2005, 10:47 AM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I didn't went through the whole thread again, this hack works wonders, since it was installed, but I have a question/suggestion.

In our forums, the moderator are instructed never to delete a post/thread before creating a copy in a specific forum. In that way, if the user who posted the post/thread complains, we have the initial text for resolution.

In some cases, the mods want to copy a single post (or multiples, that's irrelevant) to the specified forum, but also edit the existing post in its original location. Would it be possible to have something similar to split, but which will copy the selected posts in a new thread in a selected forum, while still leaving the original one in its original position, for further action (like editing)? This would be extremely helpful, this hack covers all our moderator needs, but that.

Needless to say, I am at the authors disposal, if I need to elaborate.

UPDATE: I tried to do this myself, but I just do not have the coding expertise and the time to do it. It's pretty similar to splitting, the difference being that new posts have to be created, in addition to a new thread. And that's when I had to go pick up the twins from the nursery. With the twins at home, every coding effort is ... canceled.

Rgds
Reply With Quote
  #210  
Old 03-30-2005, 01:03 PM
sv1cec sv1cec is offline
 
Join Date: May 2004
Location: Athens, Greece
Posts: 2,091
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kei Kurono
One thing i felt that can be improved is the inline deletion.

It does soft deletion.

But i want to physically delete a mass of thread, which i cannot do with the inline moderation tool.

maybe you should make so when you tick the forum threads, and select inline option delete, it then prompts, soft ot physical deletion.

just an opinion.
This is the part of code you should use to permanently delete threads. Go in your inlinemod.php and find:

PHP Code:
        // -------------------------------------------------------------------
        
        
default:
            
print_no_permission();
        break;
    }
}

// ###################################################################
// Handle output

if (defined('PRINT_TPL'))
{
    
$navbits construct_navbits(array('' => 'Inline Moderation Options'));
    eval(
'$navbar = "'fetch_template('navbar') . '";');
    eval(
'$HTML = "' fetch_template(PRINT_TPL) . '";');
    eval(
'print_output("' fetch_template('THREADADMIN') . '");');
}
?> 
Right above that, add:

PHP Code:
        // -------------------------------------------------------------------
        
        
case 'remove':
            if (!
can_moderate($vars['forumid'], 'caneditthreads'))
            {
                
print_no_permission();
            }
            if (!
is_array($vars['threads']))
            {
                eval(
print_standard_error('error_invalidid'));
            }
            if (empty(
$_POST['do']))
                {
                    
define('PRINT_TPL''inline_remove_thread');
                }
            else
                {
                    if (
$_POST['confirm'] == 'Yes')
                    {
                        foreach (
$vars['threads'] AS $threadid)
                        {
                            
delete_thread($threadid$vars['forum']['countposts'], 1, array('userid' => $bbuserinfo['userid'], 'username' => $bbuserinfo['username'], 'reason' => '''keepattachments' => 1));
                        }
                        
build_forum_counters($vars['forumid']);
                    }
                    if (
$vars['forumid'])
                    {
                        
$url "forumdisplay.php?$session[sessionurl]f=$vars[forumid]&mod=1";
                    }
                    eval(
print_standard_redirect('redirect_deletethread'));
                }
        
        break; 
You will also need a template, called inline_remove_thread, which should contain the followings:

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="thread" />
<input type="hidden" name="inlinemodact" value="remove" />

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">Physically Remove Threads</td>
</tr>
<tr>
	<td class="thead">Forum $vbphrase[title]: <span style="font-weight:normal">{$vars['forum']['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>Confirmation</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>You have selected to physically remove some threads from this forum. <b>This cannot be undone.</b><P>Are you sure you want to proceed?</td>
				</tr>
				<tr>
					<td>
						Confirm removal: 
						<select name="confirm"><option value='No' selected>No</option><option value='Yes'>Yes</option></select>
					</td>
				</tr>
				</table>
			</fieldset>
		
		</div>
	</div>
	
	<div style="margin-top:$stylevar[cellpadding]px">
		<input type="submit" class="button" value="Proceed" accesskey="s" />
		<input type="button" class="button" value="$vbphrase[cancel]" accesskey="c" onclick="history.back(1)" />
	</div>
	</td>
</tr>
</table>

</form>
Then go to your FORUMDISPLAY template and find:

HTML Code:
<option value="undelete">Undelete Threads</option>
Below that, add:

HTML Code:
<if condition="$bbuserinfo['userid']==1">
<option value="remove">Physically Remove Threads</option>
</if>
As you understand, I like to reserve the rights for permanent deletion, only for myself. If you want your mods to be able to use it too, just remove the if and the /if things.

Rgds
Reply With Quote
  #211  
Old 03-31-2005, 04:11 AM
Kei Kurono's Avatar
Kei Kurono Kei Kurono is offline
 
Join Date: Mar 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thx buddy *muaks

Kudos =^_^=;
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:18 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07796 seconds
  • Memory Usage 2,356KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_html
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete