Version 3.1.4

This commit is contained in:
Neo committed 2025-12-19 00:32:22 -08:00
1 parent 1d4720f3e2
commit ae5c01cc78
2563 files changed
+283048 -240689

No files matched your search

@@ -1,18 +1,20 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.0.5
* IP.Board v3.1.4
* Group editing form interface
* Last Updated: $Date: 2009-02-04 15:03:36 -0500 (Wed, 04 Feb 2009) $
* Last Updated: $Date: 2010-01-15 10:18:44 -0500 (Fri, 15 Jan 2010) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package Invision Power Board
* @link http://www.iinvisionpower.com
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @link http://www.invisionpower.com
* @since June 10 2008
* @version $Revision: 3887 $
* @version $Revision: 5713 $
*/
interface admin_group_form
@@ -1 +1,10 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
@@ -1,18 +1,20 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.0.5
* IP.Board v3.1.4
* Member form plugin interface
* Last Updated: $Date: 2009-02-04 18:12:36 -0500 (Wed, 04 Feb 2009) $
* Last Updated: $Date: 2010-01-15 10:18:44 -0500 (Fri, 15 Jan 2010) $
* </pre>
*
* @author $Author: bfarber $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package Invision Power Board
* @link http://www.iinvisionpower.com
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @link http://www.invisionpower.com
* @since IP.Board 3.0
* @version $Revision: 3890 $
* @version $Revision: 5713 $
*/
interface admin_member_form
+10 -1
View File
@@ -1 +1,10 @@
<html>␍<head><title>IP.Board - Bulletin Board System</title></head>␍<body>␍<h1>403: IP.Board -> Forbidden</h1>␍<hr>␍You have reached this page in error, please use your back button to return to the forum.␍<hr>␍<a href="http://www.invisionboard.com/">IP.Board</a>␍</body>␍</html>␍
<html>
<head><title>IP.Board - Bulletin Board System</title></head>
<body>
<h1>403: IP.Board -&gt; Forbidden</h1>
<hr>
You have reached this page in error, please use your back button to return to the forum.
<hr>
<a href="http://www.invisionboard.com/">IP.Board</a>
</body>
</html>
@@ -1,48 +1,51 @@
<?php
/**
* Invision Power Services
* IP.Board v3.0.5
* Custom bbcode plugin interfaces
*
* @author $author$
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package Invision Power Board
* @link http://www.iinvisionpower.com
* @version $Rev: 3890 $
**/
interface bbcodePlugin
{
/**
* Method that is run before the content is stored in the database
* You are responsible for ensuring you mark the replaced text appropriately so that you
* are able to unparse it, if you wish to have bbcode parsed on save
*
* @access public
* @param string $txt BBCode text from submission to be stored in database
* @return string Formatted content, ready for display
*/
public function preDbParse( $txt );
/**
* Method that is run before the content is displayed to the user
* This is the safest method of parsing, as the original submitted text is left in tact.
* No markers are necessary if you use parse on display.
*
* @access public
* @param string $txt BBCode/parsed text from database to be displayed
* @return string Formatted content, ready for display
*/
public function preDisplayParse( $txt );
/**
* Method that is run before the content is placed into an editor for editing
* If you use "parse on display" you may simply return $txt
*
* @access public
* @param string $txt Parsed text from database to be edited
* @return string BBCode content, ready for editing
*/
public function preEditParse( $txt );
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* Custom bbcode plugin interfaces
* Last Updated: $Date: 2010-04-15 15:46:26 -0400 (Thu, 15 Apr 2010) $
* </pre>
*
* @author $author$
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @link http://www.invisionpower.com
* @version $Rev: 6133 $
**/
interface bbcodePlugin
{
/**
* Method that is run before the content is stored in the database
* You are responsible for ensuring you mark the replaced text appropriately so that you
* are able to unparse it, if you wish to have bbcode parsed on save
*
* @access public
* @param string $txt BBCode text from submission to be stored in database
* @return string Formatted content, ready for display
*/
public function preDbParse( $txt );
/**
* Method that is run before the content is displayed to the user
* This is the safest method of parsing, as the original submitted text is left in tact.
* No markers are necessary if you use parse on display.
*
* @access public
* @param string $txt BBCode/parsed text from database to be displayed
* @return string Formatted content, ready for display
*/
public function preDisplayParse( $txt );
/**
* Method that is run before the content is placed into an editor for editing
* If you use "parse on display" you may simply return $txt
*
* @access public
* @param string $txt Parsed text from database to be edited
* @return string BBCode content, ready for editing
*/
public function preEditParse( $txt );
}
@@ -1,78 +1,80 @@
<?php
/**
* Invision Power Services
* IP.Board v3.0.5
* Output formats interface
* Last Updated: $Date: 2009-02-04 15:03:36 -0500 (Wed, 04 Feb 2009) $
*
* @author MattMecham
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package Invision Power Board
* @link http://www.iinvisionpower.com
* @since Wednesday 28th May 2008 16:42 GMT
* @version $Revision: 3887 $
*
*/
interface interface_output
{
/**
* Prints any header information for this output module
*
* @access public
* @return void Prints header() information
*/
public function printHeader();
/**
* Fetches the output
*
* @access public
* @param string Output gathered
* @param string Title of the document
* @param array Navigation gathered
* @param array Array of document head items
* @param array Array of JS loader items
* @param array Array of extra data
* @return string Output to be printed to the client
*/
public function fetchOutput( $output, $title, $navigation, $documentHeadItems, $jsLoaderItems, $extraData=array() );
/**
* Finish / clean up after sending output
*
* @access public
* @return null
*/
public function finishUp();
/**
* Adds more items into the document header like CSS / RSS, etc
*
* @access public
* @return null
*/
public function addHeadItems();
/**
* Replace IPS tags
* Converts over <#IMG_DIR#>, etc
*
* @access public
* @param string
* @return string
*/
public function parseIPSTags( $text );
/**
* Silent redirect (Redirects without a screen or other notification)
*
* @access public
* @param URL
* @return mixed
*/
public function silentRedirect( $url );
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* Output formats interface
* Last Updated: $Date: 2010-01-15 10:18:44 -0500 (Fri, 15 Jan 2010) $
* </pre>
*
* @author MattMecham
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @link http://www.invisionpower.com
* @since Wednesday 28th May 2008 16:42 GMT
* @version $Revision: 5713 $
*
*/
interface interface_output
{
/**
* Prints any header information for this output module
*
* @access public
* @return void Prints header() information
*/
public function printHeader();
/**
* Fetches the output
*
* @access public
* @param string Output gathered
* @param string Title of the document
* @param array Navigation gathered
* @param array Array of document head items
* @param array Array of JS loader items
* @param array Array of extra data
* @return string Output to be printed to the client
*/
public function fetchOutput( $output, $title, $navigation, $documentHeadItems, $jsLoaderItems, $extraData=array() );
/**
* Finish / clean up after sending output
*
* @access public
* @return null
*/
public function finishUp();
/**
* Adds more items into the document header like CSS / RSS, etc
*
* @access public
* @return null
*/
public function addHeadItems();
/**
* Replace IPS tags
* Converts over <#IMG_DIR#>, etc
*
* @access public
* @param string
* @return string
*/
public function parseIPSTags( $text );
/**
* Silent redirect (Redirects without a screen or other notification)
*
* @access public
* @param URL
* @return mixed
*/
public function silentRedirect( $url );
}
@@ -1,137 +1,140 @@
<?php
/**
* Invision Power Services
* IP.Board v3.0.5
* Search Interfaces
*
* @author $author$
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package Invision Power Board
* @link http://www.iinvisionpower.com
* @version $Rev: 4440 $
**/
interface iSearchRebuild
{
/**
* Clears the search index for the app
*
* @access public
* @return void
*/
public function clear();
/**
* Function to handle rebuilding the search index
*
* @access public
* @param integer $st Position to start indexing
* @param integer $per_go Number of entries to process
* @return integer Number of entries processed
*/
public function doRebuild( $st, $per_go );
}
interface iSearchDisplay
{
/**
* Formats the search result for display
*
* @access public
* @param array $search_row Array of data from search_index
* @return string Formatted content, ready for display
*/
public function formatContent( $search_row );
/**
* Retuns the html for displaying the filter box on the advanced search page
*
* @access public
* @return string
*/
public function getFilterHTML();
/**
* Returns an array used in the searchplugin's setCondition method
*
* @access public
* @param array $data Array of data for filtering
* @return array Array with column, operator, and value keys, for use in the setCondition call
*/
public function buildFilterSQL( $data );
}
/* May end up making this an abstract class */
interface iSearchIndexPlugin
{
/**
* Performs search and returns an array of results
*
* @access public
* @param string $search_term
* @param array $limit_clause The param should be array( begin, end )
* @param string $sort_by Either relevance or date
* @param string [$group_by] Field to group on
* @param bool $content_title_only Only search title records
* @return array
*/
public function getSearchResults( $search_term, $limit_clause, $sort_by, $group_by='', $content_title_only=false );
/**
* Performs live search and returns an array of results
*
* @access public
* @param string $search_term
* @return array
*/
public function getLiveSearchResults( $search_term );
/**
* Returns the total number of results the search will return
*
* @access public
* @param string $search_term
* @param string $group_by
* @param bool $content_title_only
* @return integer
*/
public function getSearchCount( $search_term, $group_by='', $content_title_only=false );
/**
* Restrict the date range that the search is performed on
*
* @access public
* @param timestamp $begin
* @param timestamp [$end]
* @return void
*/
public function setDateRange( $begin, $end=0 );
/**
* Generic function for adding special search conditions
*
* @access public
* @param string $column sql table column for this condition
* @param string $operator Operation to perform for this condition, ex: =, <>, IN, NOT IN
* @param mixed $value Value to check with
* @return void
*/
public function setCondition( $column, $operator, $value );
/**
* Reassigns fields in a way the index exepcts
*
* @param array $r
* @return array
**/
public function formatFieldsForIndex( $r );
/**
* This function grabs the actual results for display
*
* @param array $ids
* @return query result
**/
public function getResultsForSphinx( $ids );
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* Search Interfaces
* Last Updated: $Date: 2010-09-27 18:18:35 -0400 (Mon, 27 Sep 2010) $
* </pre>
*
* @author $author$
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @link http://www.invisionpower.com
* @version $Rev: 6917 $
**/
interface iSearchRebuild
{
/**
* Clears the search index for the app
*
* @access public
* @return void
*/
public function clear();
/**
* Function to handle rebuilding the search index
*
* @access public
* @param integer $st Position to start indexing
* @param integer $per_go Number of entries to process
* @return integer Number of entries processed
*/
public function doRebuild( $st, $per_go );
}
interface iSearchDisplay
{
/**
* Formats the search result for display
*
* @access public
* @param array $search_row Array of data
* @return string Formatted content, ready for display
*/
public function formatContent( $search_row );
/**
* Retuns the html for displaying the filter box on the advanced search page
*
* @access public
* @return string
*/
public function getFilterHTML();
/**
* Returns an array used in the searchplugin's setCondition method
*
* @access public
* @param array $data Array of data for filtering
* @return array Array with column, operator, and value keys, for use in the setCondition call
*/
public function buildFilterSQL( $data );
}
/* May end up making this an abstract class */
interface iSearchIndexPlugin
{
/**
* Performs search and returns an array of results
*
* @access public
* @param string $search_term
* @param array $limit_clause The param should be array( begin, end )
* @param string $sort_by Either relevance or date
* @param string [$group_by] Field to group on
* @param bool $content_title_only Only search title records
* @return array
*/
public function getSearchResults( $search_term, $limit_clause, $sort_by, $group_by='', $content_title_only=false );
/**
* Performs live search and returns an array of results
*
* @access public
* @param string $search_term
* @return array
*/
public function getLiveSearchResults( $search_term );
/**
* Returns the total number of results the search will return
*
* @access public
* @param string $search_term
* @param string $group_by
* @param bool $content_title_only
* @return integer
*/
public function getSearchCount( $search_term, $group_by='', $content_title_only=false );
/**
* Restrict the date range that the search is performed on
*
* @access public
* @param timestamp $begin
* @param timestamp [$end]
* @return void
*/
public function setDateRange( $begin, $end=0 );
/**
* Generic function for adding special search conditions
*
* @access public
* @param string $column sql table column for this condition
* @param string $operator Operation to perform for this condition, ex: =, <>, IN, NOT IN
* @param mixed $value Value to check with
* @return void
*/
public function setCondition( $column, $operator, $value );
/**
* Reassigns fields in a way the index exepcts
*
* @param array $r
* @return array
**/
public function formatFieldsForIndex( $r );
/**
* This function grabs the actual results for display
*
* @param array $ids
* @return query result
**/
public function getResultsForSphinx( $ids );
}
@@ -1,85 +1,87 @@
<?php
/**
* Invision Power Services
* IP.Board v3.0.5
* User CP: Handles form display / saving as well as custom events
* Last Updated: $Date: 2009-02-04 15:03:36 -0500 (Wed, 04 Feb 2009) $
*
* @author MattMecham
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package Invision Power Board
* @link http://www.iinvisionpower.com
* @since Wednesday 28th May 2008 16:42 GMT
* @version $Revision: 3887 $
*
*/
interface interface_usercp
{
/**
* Return links for this tab
* You may return an empty array or FALSE to not have
* any links show in the tab.
*
* The links must have 'area=xxxxx'. The rest of the URL
* is added automatically.
* 'area' can only be a-z A-Z 0-9 - _
*
* @access public
* @author Matt Mecham
* @return array Array of links
*/
public function getLinks();
/**
* Initiates the module. You can put any global set-up in this section!
*
* @access public
* @author Matt mecham
* @return void
*/
public function init();
/**
* Run custom event
*
* If you pass a 'do' in the URL / post form that is not either:
* save / save_form or show / show_form then this function is loaded
* instead. You can return a HTML chunk to be used in the UserCP (the
* tabs and footer are auto loaded) or redirect to a link.
*
* If you are returning HTML, you can use $this->hide_form_and_save_button = 1;
* to remove the form and save button that is automatically placed there.
*
* @access public
* @author Matt Mecham
* @param string The current area as retrieved from 'area=xxxx' in the URL
* @return mixed html or void
*/
public function runCustomEvent( $currentArea );
/**
* UserCP Form Show
*
* @access public
* @author Matt Mecham
* @param string Current area as defined by 'getLinks'
* @param array Error array
* @return string Processed HTML
*/
public function showForm( $current_area, $errors=array() );
/**
* UserCP Form Save
*
* @access public
* @author Matt Mecham
* @param string Current area as defined by 'getLinks'
* @return void
*/
public function saveForm( $current_area );
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* User CP: Handles form display / saving as well as custom events
* Last Updated: $Date: 2010-01-15 10:18:44 -0500 (Fri, 15 Jan 2010) $
* </pre>
*
* @author MattMecham
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @link http://www.invisionpower.com
* @since Wednesday 28th May 2008 16:42 GMT
* @version $Revision: 5713 $
*
*/
interface interface_usercp
{
/**
* Return links for this tab
* You may return an empty array or FALSE to not have
* any links show in the tab.
*
* The links must have 'area=xxxxx'. The rest of the URL
* is added automatically.
* 'area' can only be a-z A-Z 0-9 - _
*
* @access public
* @author Matt Mecham
* @return array Array of links
*/
public function getLinks();
/**
* Initiates the module. You can put any global set-up in this section!
*
* @access public
* @author Matt mecham
* @return void
*/
public function init();
/**
* Run custom event
*
* If you pass a 'do' in the URL / post form that is not either:
* save / save_form or show / show_form then this function is loaded
* instead. You can return a HTML chunk to be used in the UserCP (the
* tabs and footer are auto loaded) or redirect to a link.
*
* If you are returning HTML, you can use $this->hide_form_and_save_button = 1;
* to remove the form and save button that is automatically placed there.
*
* @access public
* @author Matt Mecham
* @param string The current area as retrieved from 'area=xxxx' in the URL
* @return mixed html or void
*/
public function runCustomEvent( $currentArea );
/**
* UserCP Form Show
*
* @access public
* @author Matt Mecham
* @param string Current area as defined by 'getLinks'
* @param array Error array
* @return string Processed HTML
*/
public function showForm( $current_area, $errors=array() );
/**
* UserCP Form Save
*
* @access public
* @author Matt Mecham
* @param string Current area as defined by 'getLinks'
* @return void
*/
public function saveForm( $current_area );
}