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

@@ -0,0 +1,10 @@
<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>
+69 -11
View File
@@ -1,20 +1,23 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.0.5
* IP.Board v3.1.4
* Main public executable wrapper.
* Set-up and load module to run
* Last Updated: $Date: 2009-07-08 21:23:44 -0400 (Wed, 08 Jul 2009) $
* Last Updated: $Date: 2010-06-25 06:36:57 -0400 (Fri, 25 Jun 2010) $
* </pre>
*
* @author $Author: bfarber $
* @author $Author: matt $
* @copyright (c) 2001 - 2008 Invision Power Services, Inc.
* @license http://www.iinvisionpower.com/community/board/license.html
* @package Invision Power Board
* @link http://www.iinvisionpower.com
* @version $Rev: 4856 $
* @license http://www.invisionpower.com/community/board/license.html
* @package IP.Board
* @link http://www.invisionpower.com
* @version $Rev: 6574 $
*
*/
define( 'IPS_ENFORCE_ACCESS', TRUE );
define( 'IPB_THIS_SCRIPT', 'public' );
require_once( '../../initdata.php' );
@@ -24,10 +27,65 @@ require_once( IPS_ROOT_PATH . 'sources/base/ipsController.php' );
$registry = ipsRegistry::instance();
$registry->init();
IPSDebug::addLogMessage( 'fbc', 'fbc', $_POST );
require_once( IPS_ROOT_PATH . 'sources/classes/facebook/connect.php' );
$facebook = new facebook_connect( $registry );
//require_once( IPS_ROOT_PATH . 'sources/base/ipsController.php' );
/* IPB fiddles with CODE to make it DO */
if ( ! $_REQUEST['code'] AND $_REQUEST['do'] )
{
$_REQUEST['code'] = $_REQUEST['do'];
}
//ipsController::run();
/* User pinging the un-install app? */
if ( $_POST['fb_sig'] AND $_POST['fb_sig_uninstall'] )
{
$facebook->userHasRemovedApp();
exit();
}
exit();
if ( $_REQUEST['code'] )
{
/* From the log in page */
if ( $_REQUEST['key'] )
{
try
{
if ( ! intval( $_REQUEST['m'] ) )
{
$facebook->finishLogin();
}
else
{
$facebook->finishConnection();
}
}
catch( Exception $error )
{
$msg = $error->getMessage();
switch( $msg )
{
default:
$registry->getClass('output')->showError( 'fb_ohnoes', 999990, null, null, 403 );
break;
case 'FACEBOOK_NOT_SET_UP':
$registry->getClass('output')->showError( 'fb_not_on', 999991, null, null, 403 );
case 'NOT_REMOTE_MEMBER':
$registry->getClass('output')->showError( 'fb_not_remote', 999992, null, null, 403 );
break;
}
}
}
else
{
$facebook->finishConnection();
}
}
else
{
$facebook->redirectToConnectPage();
}
exit();
?>
+17
View File
@@ -1,5 +1,22 @@
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* Last Updated: $LastChangedDate: 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.invisionpower.com/community/board/license.html
* @package IP.Board
* @link http://www.invisionpower.com
* @since 3.0.0
* @version $Rev: 5713 $
*
*/
// cache the xd_receiver
header('Cache-Control: max-age=225065900');
header('Expires:');
+45 -28
View File
@@ -1,28 +1,45 @@
<?php
// cache the xd_receiver
header('Cache-Control: max-age=225065900');
header('Expires:');
header('Pragma:');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>cross domain receiver page</title>
</head>
<body>
<!--
This is a cross domain (XD) receiver page. It needs to be placed on your domain so that the Javascript
library can communicate within the iframe permission model. Put it here:
http://www.example.com/xd_receiver.php
-->
<script
src="https://ssl.connect.facebook.com/js/api_lib/v0.4/XdCommReceiver.js"
type="text/javascript"></script>
</body>
</html>
<?php
/**
* <pre>
* Invision Power Services
* IP.Board v3.1.4
* Last Updated: $LastChangedDate: 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.invisionpower.com/community/board/license.html
* @package IP.Board
* @link http://www.invisionpower.com
* @since 3.0.0
* @version $Rev: 5713 $
*
*/
// cache the xd_receiver
header('Cache-Control: max-age=225065900');
header('Expires:');
header('Pragma:');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
<title>cross domain receiver page</title>
</head>
<body>
<!--
This is a cross domain (XD) receiver page. It needs to be placed on your domain so that the Javascript
library can communicate within the iframe permission model. Put it here:
http://www.example.com/xd_receiver.php
-->
<script
src="https://ssl.connect.facebook.com/js/api_lib/v0.4/XdCommReceiver.js"
type="text/javascript"></script>
</body>
</html>