Version 3.4.8
This commit is contained in:
1 parent
b45ea0dffb
commit
c603205a25
1398 files changed
+36675
-31023
No files matched your search
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Remote API integration gateway file
|
||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Remote API integration gateway file
|
||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
IP.Board
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -3,17 +3,17 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Remote API Server
|
||||
* Last Updated: $Date: 2013-03-21 17:38:09 -0400 (Thu, 21 Mar 2013) $
|
||||
* Last Updated: $Date: 2014-12-31 17:46:06 -0500 (Wed, 31 Dec 2014) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: AndyMillne $
|
||||
* @author $Author: rashbrook $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @version $Rev: 12109 $
|
||||
* @version $Rev: 12581 $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -341,7 +341,7 @@ class API_Server
|
||||
* @param string $post_content Posted content
|
||||
* @return string xml
|
||||
*/
|
||||
public function postTopic( $api_key, $api_module, $member_field, $member_key, $forum_id, $topic_title, $post_content )
|
||||
public function postTopic( $api_key, $api_module, $member_field, $member_key, $forum_id, $topic_title, $post_content, $post_htmlstate )
|
||||
{
|
||||
//-----------------------------------------
|
||||
// INIT
|
||||
@@ -353,6 +353,7 @@ class API_Server
|
||||
$member_key = IPSText::parseCleanValue( $member_key );
|
||||
$topic_title = IPSText::parseCleanValue( $topic_title );
|
||||
$forum_id = intval( $forum_id );
|
||||
$post_htmlstate = ( intval( $post_htmlstate ) > 0 ) ? 1 : 0;
|
||||
$UNCLEANED_post_content = $post_content;
|
||||
|
||||
//-----------------------------------------
|
||||
@@ -403,12 +404,19 @@ class API_Server
|
||||
$_postClass->setIsPreview( false );
|
||||
$_postClass->setForumData( $this->registry->getClass('class_forums')->forum_by_id[ $forum_id ] );
|
||||
$_postClass->setForumID( $forum_id );
|
||||
$_postClass->setPostContent( $UNCLEANED_post_content );
|
||||
if ( $post_htmlstate == 1 )
|
||||
{
|
||||
$_postClass->setPostContentPreFormatted( $UNCLEANED_post_content );
|
||||
}
|
||||
else
|
||||
{
|
||||
$_postClass->setPostContent( $UNCLEANED_post_content );
|
||||
}
|
||||
$_postClass->setAuthor( $member['member_id'] );
|
||||
$_postClass->setPublished( true );
|
||||
$_postClass->setSettings( array( 'enableSignature' => 1,
|
||||
'enableEmoticons' => 1,
|
||||
'post_htmlstatus' => 0,
|
||||
'post_htmlstatus' => $post_htmlstate,
|
||||
'enableTracker' => 0 ) );
|
||||
$_postClass->setTopicTitle( $topic_title );
|
||||
|
||||
@@ -448,7 +456,7 @@ class API_Server
|
||||
* @param string $post_content Posted content
|
||||
* @return string xml
|
||||
*/
|
||||
public function postReply( $api_key, $api_module, $member_field, $member_key, $topic_id, $post_content )
|
||||
public function postReply( $api_key, $api_module, $member_field, $member_key, $topic_id, $post_content, $post_htmlstate )
|
||||
{
|
||||
//-----------------------------------------
|
||||
// INIT
|
||||
@@ -459,6 +467,7 @@ class API_Server
|
||||
$member_field = IPSText::parseCleanValue( $member_field );
|
||||
$member_key = IPSText::parseCleanValue( $member_key );
|
||||
$topic_id = intval( $topic_id );
|
||||
$post_htmlstate = ( intval( $post_htmlstate ) > 0 ) ? 1 : 0;
|
||||
$UNCLEANED_post_content = $post_content;
|
||||
|
||||
//-----------------------------------------
|
||||
@@ -517,12 +526,19 @@ class API_Server
|
||||
$_postClass->setForumID( $topic['forum_id'] );
|
||||
$_postClass->setTopicID( $topic_id );
|
||||
$_postClass->setTopicData( $topic );
|
||||
$_postClass->setPostContent( $UNCLEANED_post_content );
|
||||
if ( $post_htmlstate == 1 )
|
||||
{
|
||||
$_postClass->setPostContentPreFormatted( $UNCLEANED_post_content );
|
||||
}
|
||||
else
|
||||
{
|
||||
$_postClass->setPostContent( $UNCLEANED_post_content );
|
||||
}
|
||||
$_postClass->setAuthor( $member['member_id'] );
|
||||
$_postClass->setPublished( true );
|
||||
$_postClass->setSettings( array( 'enableSignature' => 1,
|
||||
'enableEmoticons' => 1,
|
||||
'post_htmlstatus' => 0,
|
||||
'post_htmlstatus' => $post_htmlstate,
|
||||
'enableTracker' => 0 ) );
|
||||
|
||||
/**
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Remote API Server configuration
|
||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
IP.Board
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -3,17 +3,17 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Defines the allowed methods a remote server may request and the in/out parameters
|
||||
* Last Updated: $Date: 2013-03-21 17:38:09 -0400 (Thu, 21 Mar 2013) $
|
||||
* Last Updated: $Date: 2014-12-31 17:46:06 -0500 (Wed, 31 Dec 2014) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: AndyMillne $
|
||||
* @author $Author: rashbrook $
|
||||
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @version $Rev: 12109 $
|
||||
* @version $Rev: 12581 $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -112,6 +112,7 @@ $ALLOWED_METHODS['postReply'] = array(
|
||||
'member_key' => 'string',
|
||||
'topic_id' => 'integer',
|
||||
'post_content' => 'string',
|
||||
'post_htmlstate' => 'integer',
|
||||
),
|
||||
'out' => array(
|
||||
'response' => 'xmlrpc'
|
||||
@@ -127,6 +128,7 @@ $ALLOWED_METHODS['postTopic'] = array(
|
||||
'forum_id' => 'integer',
|
||||
'topic_title' => 'string',
|
||||
'post_content' => 'string',
|
||||
'post_htmlstate' => 'integer',
|
||||
),
|
||||
'out' => array(
|
||||
'response' => 'xmlrpc'
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
|
||||
===============================================================
|
||||
|
||||
Ñêà÷àíî ñ ñàéòà www.Skripter.info
|
||||
|
||||
===============================================================
|
||||
|
||||
Ó íàñ íà ñàéòå Âû íàéäåòå:
|
||||
|
||||
Datalife Engine
|
||||
Wordpress
|
||||
Joomla
|
||||
phpBB
|
||||
IPB
|
||||
vBulletin
|
||||
Èãðîâûå CMS .....è ò.ä.
|
||||
|
||||
Âñå îò ìîäóëåé è øàáëîíîâ äî óðîêîâ ïî èíòåðåñóþùèì âàñ âîïðîñàì.
|
||||
|
||||
----------------------------------------------------------------
|
||||
|
||||
Äîáðî ïîæàëîâàòü íà íàø ñàéò !!!
|
||||
|
||||
----------------------------------------------------------------
|
||||
|
||||
Àäìèíèñòðàöèÿ ñàéòà Skripter.info
|
||||
|
||||
==============================================
|
||||
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
||||
===============================================================
|
||||
|
||||
Download from www.Skripter.info
|
||||
|
||||
===============================================================
|
||||
|
||||
At our site you will find:
|
||||
|
||||
Datalife Engine
|
||||
Wordpress
|
||||
Joomla
|
||||
phpBB
|
||||
IPB
|
||||
vBulletin
|
||||
Gaming CMS ..... etc.
|
||||
|
||||
All of the modules and templates to lessons on your questions.
|
||||
|
||||
----------------------------------------------------------------
|
||||
|
||||
Welcome to our site!
|
||||
|
||||
----------------------------------------------------------------
|
||||
|
||||
The website administration Skripter.info
|
||||
|
||||
==============================================
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
IP.Board
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -3,15 +3,15 @@
|
||||
/**
|
||||
* Invision Power Services
|
||||
* Incoming Email Handler - Piping
|
||||
* Last Updated: $Date: 2012-06-06 05:13:39 -0400 (Wed, 06 Jun 2012) $
|
||||
* Last Updated: $Date: 2014-04-15 13:33:36 -0400 (Tue, 15 Apr 2014) $
|
||||
*
|
||||
* @author $Author: mark $
|
||||
* @author $Author: AndyMillne $
|
||||
* @copyright (c) 2010 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @since 12th February 2010
|
||||
* @version $Revision: 10871 $
|
||||
* @version $Revision: 12465 $
|
||||
*/
|
||||
|
||||
$writeDebug = FALSE;
|
||||
@@ -20,11 +20,17 @@
|
||||
//--------------------------------------
|
||||
// Init
|
||||
//--------------------------------------
|
||||
|
||||
if ( isset( $_SERVER['REQUEST_METHOD'] ) or !isset( $_SERVER['argv'] ) or substr( str_replace( '\\', '/', $_SERVER['argv'][0] ), -26 ) !== 'interface/email/piping.php' or strpos( $_SERVER['argv'][0], '?' ) !== FALSE )
|
||||
{
|
||||
echo "CLI Only\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
define( 'IPS_ENFORCE_ACCESS', TRUE );
|
||||
define( 'IPB_THIS_SCRIPT', 'public' );
|
||||
|
||||
require_once( str_replace( 'interface/email/piping.php', '', ( isset( $_SERVER['argv'][0] ) ? $_SERVER['argv'][0] : $_SERVER['SCRIPT_FILENAME'] ) ) . 'initdata.php' );/*noLibHook*/
|
||||
require_once( str_replace( 'interface/email/piping.php', '', ( isset( $_SERVER['argv'][0] ) ? str_replace( '\\', '/', $_SERVER['argv'][0] ) : str_replace( '\\', '/', $_SERVER['SCRIPT_FILENAME'] ) ) ) . 'initdata.php' );/*noLibHook*/
|
||||
require_once( IPS_ROOT_PATH . 'sources/base/ipsRegistry.php' );/*noLibHook*/
|
||||
require_once( IPS_ROOT_PATH . 'sources/base/ipsController.php' );/*noLibHook*/
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Facebook channel file
|
||||
* Last Updated: $Date: 2012-01-31 11:24:24 +0000 (Tue, 31 Jan 2012) $
|
||||
* </pre>
|
||||
@@ -25,4 +25,4 @@ header("Pragma: public");
|
||||
header("Cache-Control: max-age=".$cache_expire);
|
||||
header('Expires: ' . gmdate('D, d M Y H:i:s', time()+$cache_expire) . ' GMT');
|
||||
?>
|
||||
<script src="//connect.facebook.net/en_US/all.js"></script>
|
||||
<script src="//connect.facebook.net/en_US/sdk.js"></script>
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
IP.Board
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -2,18 +2,18 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Main public executable wrapper.
|
||||
* Set-up and load module to run
|
||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||
* Last Updated: $Date: 2014-10-07 21:14:20 -0400 (Tue, 07 Oct 2014) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @author $Author: rashbrook $
|
||||
* @copyright (c) 2001 - 2008 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @link http://www.invisionpower.com
|
||||
* @version $Rev: 10721 $
|
||||
* @version $Rev: 12529 $
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -37,9 +37,10 @@ if ( ! $_REQUEST['code'] AND $_REQUEST['do'] )
|
||||
}
|
||||
|
||||
/* User pinging the un-install app? */
|
||||
if ( $_POST['fb_sig'] AND $_POST['fb_sig_uninstall'] )
|
||||
if ( isset( $_GET['error'] ) AND $_GET['error_reason'] == 'user_denied' )
|
||||
{
|
||||
$facebook->userHasRemovedApp();
|
||||
$registry->getClass('output')->silentRedirect( ipsRegistry::$settings['board_url'] );
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Last Updated: $LastChangedDate: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||
* </pre>
|
||||
*
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Last Updated: $LastChangedDate: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||
* </pre>
|
||||
*
|
||||
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
IP.Board
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -5,6 +5,6 @@
|
||||
<hr>
|
||||
You have reached this page in error, please use your back button to return to the forum.
|
||||
<hr>
|
||||
IP.Board
|
||||
<a href="http://www.invisionpower.com">IP.Board</a>
|
||||
</body>
|
||||
</html>
|
||||
@@ -31,6 +31,7 @@ class ipsConnect
|
||||
|
||||
define( 'IPS_ENFORCE_ACCESS', TRUE );
|
||||
define( 'IPB_THIS_SCRIPT', 'public' );
|
||||
define( 'IPS_PUBLIC_SCRIPT', 'index.php' );
|
||||
require_once( '../../initdata.php' );
|
||||
|
||||
require_once( IPS_ROOT_PATH . 'sources/base/ipsRegistry.php' );
|
||||
@@ -97,6 +98,18 @@ class ipsConnect
|
||||
/* Check */
|
||||
if ( in_array( $identifier, array( 'id', 'email', 'username' ) ) )
|
||||
{
|
||||
if( $identifier == 'id' )
|
||||
{
|
||||
if( is_array( $identifierValue ) )
|
||||
{
|
||||
$identifierValue = IPSLib::cleanIntArray( $identifierValue );
|
||||
}
|
||||
else
|
||||
{
|
||||
$identifierValue = intval( $identifierValue );
|
||||
}
|
||||
}
|
||||
|
||||
$member = IPSMember::load( $identifierValue, 'none', $identifier );
|
||||
if ( $member['member_id'] )
|
||||
{
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Mobile API
|
||||
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
|
||||
* </pre>
|
||||
|
||||
@@ -3,31 +3,32 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Task Handler
|
||||
* Last Updated: $Date: 2013-05-13 20:42:41 -0400 (Mon, 13 May 2013) $
|
||||
* Last Updated: $Date: 2014-04-15 13:33:36 -0400 (Tue, 15 Apr 2014) $
|
||||
* </pre>
|
||||
*
|
||||
* @author $Author: bfarber $
|
||||
* @author $Author: AndyMillne $
|
||||
* @copyright © 2011 Invision Power Services, Inc.
|
||||
* @license http://www.invisionpower.com/company/standards.php#license
|
||||
* @package IP.Board
|
||||
* @subpackage Core
|
||||
* @link http://www.invisionpower.com
|
||||
* @version $Revision: 12249 $
|
||||
* @version $Revision: 12465 $
|
||||
*/
|
||||
|
||||
//ini_set( 'display_errors', 'off' );
|
||||
|
||||
if ( !isset($_SERVER['argv'] ) )
|
||||
if ( isset( $_SERVER['REQUEST_METHOD'] ) or !isset($_SERVER['argv'] ) or substr( str_replace( '\\', '/', $_SERVER['argv'][0] ), -18 ) !== 'interface/task.php' or strpos( $_SERVER['argv'][0], '?' ) !== FALSE )
|
||||
{
|
||||
die;
|
||||
echo "CLI Only\n";
|
||||
exit;
|
||||
}
|
||||
|
||||
define( 'IPS_ENFORCE_ACCESS', TRUE );
|
||||
define( 'IPS_IS_SHELL', TRUE );
|
||||
define( 'NO_SESSION_UPDATE', TRUE );
|
||||
require_once( str_replace( '/interface/task.php', '/initdata.php', $_SERVER['argv'][0] ) );/*noLibHook*/
|
||||
require_once( str_replace( '/interface/task.php', '/initdata.php', str_replace( '\\', '/', $_SERVER['argv'][0] ) ) );/*noLibHook*/
|
||||
|
||||
require_once( IPS_ROOT_PATH . 'sources/base/ipsRegistry.php' );/*noLibHook*/
|
||||
require_once( IPS_ROOT_PATH . 'sources/base/ipsController.php' );/*noLibHook*/
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* <pre>
|
||||
* Invision Power Services
|
||||
* IP.Board v3.4.6
|
||||
* IP.Board v3.4.8
|
||||
* Main public executable wrapper.
|
||||
* Set-up and load module to run
|
||||
* Last Updated: $Date: 2013-02-06 10:51:28 -0500 (Wed, 06 Feb 2013) $
|
||||
|
||||
Reference in new issue
Block a user