Script Summary: Mondo Pita v2.0 is for phpBB version 2.x forums. It allows users to permanently filter posts on phpBB 2.x boards from their view based upon the author or content in a message post based on custom criteria. Now with quote filtering support.
Version 2.0 updated June 16, 2008: Mondo Pita is a script for websites using the phpBB version 2.x forum software. It allows users to permanently filter out posts on phpBB 2.x boards from their view based upon the author or content in a message post. Deletions are based on text or regular expression patterns, optionally case sensitive and limited to whole words. Mondo Pita has been tested on Firefox 2.x with multiple operating systems. Version 2.0 adds support for filtering out embedded quotes in message posts from authors in the filter list.
Note: Depending on the phpBB version 2.x style, modifications, and version, Mondo Pita may not work with a particular board.
To make the Mondo Pita script work with your board, you must first add the board's address to the list of boards that Mondo Pita recognizes. This requires an easy modification to the script. At the beginning of the script are several boards prefixed by an:
You may remove the existing board list (it was used for testing), or simply add more entries to the list. To add your own entry, figure out what address or addresses are used by the board, for example,
Add the line:
// @include http://www.example.com/phpBB2/*
Unless you are sure only index.php is used, put the * wildcard at the end since phpBB may use other pages with the base address.
After navigating to a phpBB 2.x board that Mondo Pita recognizes through the // @include entry in the script, Mondo Pita presents a list box in the lower right corner of the browser display. There are two selections: Delete-Filter and Manage.
Delete-Filter: Displays a dialog box allowing you to choose how to filter out messages on PitaFilter you do not want to see. Select the text or pattern to scan for; choose whether the text to match is located in the posts' content, footer, or content and footer; whether to remove the post or make it invisible; and how long the filter should be active. Checkboxes allow further control by matching only whole words, and choosing whether to make the pattern match as a regular expression. All Delete-Filter entries are permanent until deleted through the Manage selection, although Manage also allows deactivating all active filters.
In addition to the message body, Mondo Pita will attempt to filter out the navigation and separator bar of the filtered message.
Manage: The Manage selection allows you to delete a Delete-Filter entry
The Mondo Pita dropdown box in the lower right corner can optionally be set to appear and disappear based on mouse movements. This behavior is activated by setting user preferences with the about:config editor in the browser address bar. Filter for Mondo Pita.dropdownpeekaboo. Change the string type from value false to value true and reload the page.When this setting is active, the dropdown box will only appear if the mouse is moved from the left or right side of the browser to the other side and back again within 3 seconds. The mouse cursor must hit within 50 pixels of the side of the browser. The width, second count, and number of times to hit the opposite browser side may be changed within the Mondo Pita code.
[Further information and details at Mondo Pita's home page].