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
  #72  
Old 10-26-2004, 03:25 PM
rob_daemon's Avatar
rob_daemon rob_daemon is offline
 
Join Date: Sep 2003
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'll check these both out when I get home tonight, but I'm not sure what is causing them.
Reply With Quote
  #73  
Old 11-03-2004, 05:55 PM
Andy R's Avatar
Andy R Andy R is offline
 
Join Date: Feb 2002
Location: Traveling...
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for such a useful tool!

Is there anyway to have a "select all" feaure? I sue this tool to search for off-topic keywords and then from the serach results want to delete pages of posts. Clicking each is taking forever. Since that is a Javascript function, I was thinking it might be an easy addition???
Reply With Quote
  #74  
Old 11-04-2004, 03:17 AM
rob_daemon's Avatar
rob_daemon rob_daemon is offline
 
Join Date: Sep 2003
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by organic-hosting
Thanks for such a useful tool!

Is there anyway to have a "select all" feaure? I sue this tool to search for off-topic keywords and then from the serach results want to delete pages of posts. Clicking each is taking forever. Since that is a Javascript function, I was thinking it might be an easy addition???
I looked into a "select all" feature and it's a little more complicated than one would think. I'll check out some solutions for this, though.
Reply With Quote
  #75  
Old 11-05-2004, 10:46 AM
Revan's Avatar
Revan Revan is offline
 
Join Date: Jan 2004
Location: Norway
Posts: 1,671
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Um...doesnt using the internal jscript function "js_select_all(this)" (or something like that, its used in the backup.php in acp if you want to know the exact code) work?
I know it will if the IMT uses a form to submit the selected boxes... I didnt look for this in the code, Im just throwing off hopefully helpful suggestions
Reply With Quote
  #76  
Old 11-05-2004, 01:43 PM
rob_daemon's Avatar
rob_daemon rob_daemon is offline
 
Join Date: Sep 2003
Posts: 197
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm... I'll play around with the code but I'm not sure how that function works so I can't vie a definite answer. Thanks for the suggestion
Reply With Quote
  #77  
Old 11-06-2004, 05:00 AM
seraphex seraphex is offline
 
Join Date: Feb 2004
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here's what I did to remedy the script errors mentioned above. I don't know if this is the correct way to do it and I'm not a coder.

After the hack is installed..

FORUMDISPLAY TEMPLATE

Find:
Code:
<script type="text/javascript" src="clientscript/inline_moderation.js"></script>

<body onload="inline_init($foruminfo[forumid], 'thread'); <if condition="$_REQUEST['mod'] == 1">inline_reset();</if>">
Replace with:
Code:
<if condition="can_moderate()">
<script type="text/javascript" src="clientscript/inline_moderation.js"></script>
<body onload="inline_init($foruminfo[forumid], 'thread'); <if condition="$_REQUEST['mod'] == 1">inline_reset();</if>">
</if>
<else /><body><else />
SHOWTHREAD TEMPLATE**

Find:
Code:
<script type="text/javascript" src="clientscript/inline_moderation.js"></script>
</head>
<body onload="inline_init($thread[threadid], 'post');$onload">
Replace with:
Code:
<if condition="can_moderate()"><script type="text/javascript" src="clientscript/inline_moderation.js"></script>
</head>
<body onload="inline_init($thread[threadid], 'post');$onload">
</if>

<else />
</head>
<body>
<else />
search_results TEMPLATE

Find:
Code:
<script type="text/javascript" src="clientscript/inline_moderation.js"></script>
<body onload="inline_init(0, 'thread'); <if condition="$_REQUEST['mod'] == 1">inline_reset();</if>">
Replace with:
Code:
<if condition="can_moderate()"><script type="text/javascript" src="clientscript/inline_moderation.js"></script>
<body onload="inline_init(0, 'thread'); <if condition="$_REQUEST['mod'] == 1">inline_reset();</if>">
</if>
<else /><body><else />
Users see an extra row between views and forum without this edit

In the same file..

Find:
Code:
<td class="thead" nowrap="nowrap">&nbsp;</td>
Replace with:
Code:
<if condition="can_moderate()">
<td class="thead" nowrap="nowrap">&nbsp;</td>
</if>
or if you want some text above the checkboxes describing what they are for use:

Code:
<if condition="can_moderate()">
<td class="thead" nowrap="nowrap">&nbsp;Moderate?&nbsp;</td>
</if>


** Edit: Fixed a typo.. thanks for pointing it out O-H..
Reply With Quote
  #78  
Old 11-07-2004, 02:52 AM
Andy R's Avatar
Andy R Andy R is offline
 
Join Date: Feb 2002
Location: Traveling...
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I noticed that the Private Message Interface has a select all feature. It looks like the javascript for it is in the pm_messagelist template.
Reply With Quote
  #79  
Old 11-11-2004, 11:44 PM
Amavisca Amavisca is offline
 
Join Date: Oct 2003
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a small problem. I install everything fine, my Mod said everything is working however the del funtion when they try to use it, it said they dont have permision. How can i fix it?
Reply With Quote
  #80  
Old 11-11-2004, 11:47 PM
theArchitect's Avatar
theArchitect theArchitect is offline
 
Join Date: Sep 2004
Location: Sydney
Posts: 417
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Amavisca
I have a small problem. I install everything fine, my Mod said everything is working however the del funtion when they try to use it, it said they dont have permision. How can i fix it?
You may need to check your permissions for moderators. So long as they have the power to delete posts it should work fine.
Reply With Quote
  #81  
Old 11-15-2004, 03:49 AM
Zoints Zoints is offline
 
Join Date: Feb 2004
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It looks like your tamplates aren't cached? I know inline_merge isn't.

Another question, is it possible to limit the ability to use these tools by usergroup? I only want my admin, supermods, and mods to be able to use and see it. Right now I have some users who are moderators of private forums but aren't REAL moderators. They can see and use this right now which I don't want.

Thanks! And great hack!
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 11:05 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04751 seconds
  • Memory Usage 2,322KB
  • 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
  • (9)bbcode_code
  • (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