Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

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
  #62  
Old 10-12-2004, 10:39 PM
korg korg is offline
 
Join Date: Oct 2004
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
postbit or postbit_legacy

Find:
Code:
$post[iplogged]
Add after:
Code:
			<if condition="can_moderate()"><input type="checkbox" id="inlinemod_$post[postid]" name="inlinemod_$post[postid]" value="1" onclick="select_item($post[postid], this);" /></if>
I did this only in postbit, as you said either one.....or you meant both?

This is my modification:
Quote:
<else />&nbsp;</if>
<div style="padding:0px 0px 1px 0px;"></div>
<div align="center">$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] <if condition="$show['reportlink']"><a href="report.php?$session[sessionurl]p=$post[postid]"><img src="$stylevar[imgdir_button]/report.gif" alt="$vbphrase[report_bad_post]" border="0" /></a> </if>$post[iplogged]<if condition="can_moderate()"><input type="checkbox" id="inlinemod_$post[postid]" name="inlinemod_$post[postid]" value="1" onclick="select_item($post[postid], this);" /></if></div>
</td>
Reply With Quote
  #63  
Old 10-12-2004, 11:17 PM
rob_daemon's Avatar
rob_daemon rob_daemon is offline
 
Join Date: Sep 2003
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you want the checkbox to appear on the left-style postbit, edit postbit_legacy. If you want it to appear on the top-style postbit, edit postbit.
Reply With Quote
  #64  
Old 10-16-2004, 03:56 AM
psico psico is offline
 
Join Date: Oct 2001
Location: Buenos Aires, Argentina
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rob_daemon
If you want the checkbox to appear on the left-style postbit, edit postbit_legacy. If you want it to appear on the top-style postbit, edit postbit.
The split option is not working... I?ve checked 2 or more post in a thread and then select Split Posts from the pop-down menu and the I received this error:
"You must specify some posts to split off from this thread."
Reply With Quote
  #65  
Old 10-16-2004, 05:39 AM
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Location: Sydney
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*theArchitect clicks install. And is very impressed with one of the best and most useful hacks he has seen.*

What is the progress of the fix for check boxes being displayed even when a moderator does not have permission to moderate that forum?
Reply With Quote
  #66  
Old 10-16-2004, 07:46 AM
rob_daemon's Avatar
rob_daemon rob_daemon is offline
 
Join Date: Sep 2003
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
The split option is not working... I?ve checked 2 or more post in a thread and then select Split Posts from the pop-down menu and the I received this error:
"You must specify some posts to split off from this thread."
I'm not sure what is happening. I haven't had any problems. Are you sure that you uploaded the JavaScript file into the clientscript folder and that you made the JavaScript file included on the proper pages?

Quote:
*theArchitect clicks install. And is very impressed with one of the best and most useful hacks he has seen.*
Glad you like it.

Quote:
What is the progress of the fix for check boxes being displayed even when a moderator does not have permission to moderate that forum?
I'll look into doing this but I'm not sure when I'll have time to work on this hack; school keeps me pretty busy.
Reply With Quote
  #67  
Old 10-19-2004, 12:34 AM
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Location: Sydney
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have just had a bug reported from one of my users. When he click on any page that utilises the inline_moderation.js file he gets the attached error.

Though the strange thing is that I am not getting this error, nor are 99% of my users.

If you could help me with this it would be most appreciated as I do not wish to ditch the inline tool but do want to spare my members the hassle of having to cancel an error message box every time they view a thread.
Reply With Quote
  #68  
Old 10-19-2004, 04:50 AM
rob_daemon's Avatar
rob_daemon rob_daemon is offline
 
Join Date: Sep 2003
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For now, do the following:

Open up all the templates in which you added
HTML Code:
<script type="text/javascript" src="clientscript/inline_moderation.js"></script>
And wrap that line in this condition:

HTML Code:
<if condition="can_moderate()"></if>
Leaving you with

HTML Code:
<if condition="can_moderate()"><script type="text/javascript" src="clientscript/inline_moderation.js"></script></if>
And that should hide all the errors from him. I'm not sure why it's choking on line 99, however.

By the way, I'll add this in the next update (when it's ready).
Reply With Quote
  #69  
Old 10-19-2004, 06:14 AM
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Location: Sydney
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rob_daemon
For now, do the following:

Open up all the templates in which you added
HTML Code:
<script type="text/javascript" src="clientscript/inline_moderation.js"></script>
And wrap that line in this condition:

HTML Code:
<if condition="can_moderate()"></if>
Leaving you with

HTML Code:
<if condition="can_moderate()"><script type="text/javascript" src="clientscript/inline_moderation.js"></script></if>
And that should hide all the errors from him. I'm not sure why it's choking on line 99, however.

By the way, I'll add this in the next update (when it's ready).
Many thanks for your speedy response.

I have made the changes and am just waiting to hear back from the user with the problem.
Reply With Quote
  #70  
Old 10-24-2004, 09:30 AM
DJ WaBBiT DJ WaBBiT is offline
 
Join Date: Sep 2004
Location: Netherlands
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and my moderators are verry gratefull 2 you

nice work thanx allot.
Reply With Quote
  #71  
Old 10-26-2004, 05:35 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having some errors.
1. In my UserCP, udner Subscribed Threads, I see the checkboxes but no Inline Mod Tools buttons for thread managing. Checking these boxes displays the following error (loosely translated from Norwegian): "A runtime error has occurred. Do you wish to debug?
Line: 523
Error: Expected an object"

2. Whenever I (Admin, so not related to problem above with the can_moderate() fix) view forumdisplay?f=$forumid, I get this error: "A runtime error has occurred. Do you wish to debug?
Line: 93
Error: 'null' is null or not an object"


Otherwise, this hack has recieved great responses from my coadmin (and me)
cheers
Reply With Quote
Reply

Thread Tools

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 07:57 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.08576 seconds
  • Memory Usage 2,323KB
  • Queries Executed 25 (?)
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
  • (2)bbcode_code
  • (6)bbcode_html
  • (7)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_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