My favorites | Sign in
Project Home Downloads Wiki Issues Source
Search
for
InlineMod  
Introduction and installation for Inline Moderation
Product-InlineMod, Featured, Phase-Deploy
Updated Feb 4, 2010 by the.sk89q

Note: This script still uses an old codebase, and there are no plans to update it at the moment. Demand for this add-on is low.

What does this do?

This is Inline Moderation for InvisionFree forums. Its behavior is to allow administrators and moderators to moderate a forum's topics without having to use the Mod CP. This introduces no security holes (as it can't) because it utilizes existing moderation features of your forum. Little check images are added to each topic entry as so the topic can be selected to be moderated. The selections carry over as you browse other forums or pages. Moderation controls are in the bottom right. Additionally, a topic's title can be edited quickly (except in Opera) by double clicking its background.

For this to work, an individual's browser must have cookies enabled, JavaScript enabled, and support DOM functionality, the innerHTML property, and AJAX functionality. This has been tested in Firefox 1.5, Internet Explorer 6.0 (Win), Opera 8.5 to work with little or no problems. Editing topic titles is not available in Opera. This should not work under Safari, but it will not break anything.

Inline Moderation supports closing, opening, pinning, unpinning, renaming, and deleting topics.

Demonstration

A demonstration of Inline Moderation can be found at: http://s3.invisionfree.com/IF_Addons_Demo/

Installation

The following code can be placed in the footer area of your forum. Go to the Admin CP, Skinning & Styles, Board Wrappers, and place the code below anywhere in the Footer area.

<!-- Inline Moderation @ http://code.google.com/p/ifaddons/ -->
<style type="text/css">
<!--
.imdfgui { display: block; margin-top: 10px }
.imdfgui .submit { border: 1px solid #4C77B6; padding: 2px; background: #DFE6EF }
.imdfgui .working { border: 1px solid #999999; background: #FFFFE5 }
.imdtt { border: 1px solid #999999; padding: 4px; padding-top: 6px; color: #000000; background: #FFFFFF; height: 27px }
.imdtt-field-working { background: #FFFFFF url(http://ifaddons.googlecode.com/svn/inlinemod/release/support/working.gif) repeat-x top left; }
-->
</style>
<script type="text/javascript" src="http://ifaddons.googlecode.com/svn/inlinemod/release/1.0.0.js"></script>
<script type="text/javascript">
<!--
var imdunsel='<img src="http://ifaddons.googlecode.com/svn/inlinemod/release/support/unsel.gif" />';
var imdsel='<img src="http://ifaddons.googlecode.com/svn/inlinemod/release/support/sel.gif" />';
imdsetup()
//-->
</script>

The images for the selection buttons can be changed by changing the image codes above.

For no styling, do not use the STYLE block when copying.

Styling

You can apply custom styles if you want. The form can be styled using CSS.

The following classes are available:

  • imdfgui (contains the form)
  • submit (within imdfgui; With Selected button)
  • working (within imdfgui; With Selected button when it is working)

Styling Quick Topic Edit

The text input's class is imdtt. There is also a special class for the text input field for when it is working: imdtt-field-working.

Usage

Click the check images (if original images are used) to the far right of post entries to select the post. You may browse from page to page and continue selecting more posts. When you are done selecting topics, on the bottom right of a forum page, select what to do with the selected topics and press the submit button.

To quickly edit a topic's title, right click the background area around a topic's title on a forum view page. Edit the title and then press Enter to save the edit. Press Esc to cancel. This feature is unavailable under Opera.

Incompatibilities

There are no known incompatibilities.

Known Issues

  • Opera and Konqueror do not have quick topic title edit available.
Comment by seife...@gmail.com, Dec 30, 2007

Wow, this is handy :D. There's a bug that has two of the checkboxes show up below the copyright, though.


Sign in to add a comment
Powered by Google Project Hosting