Version 3.4.8

This commit is contained in:
Neo committed 2025-12-19 00:42:42 -08:00
1 parent b45ea0dffb
commit c603205a25
1398 files changed
+36675 -31023

No files matched your search

@@ -7,7 +7,7 @@
* $Author: ips_terabyte $
* @since -
* $LastChangedDate: 2011-03-03 13:09:09 -0500 (Thu, 03 Mar 2011) $
* @version v3.4.6
* @version v3.4.8
* $Revision: 7948 $
*/
@@ -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,7 +3,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Member property updater (AJAX)
* 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>
@@ -2,7 +2,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* IP.Board post attachments plugin
* Last Updated: $Date: 2012-12-06 17:57:19 -0500 (Thu, 06 Dec 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>
@@ -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>
@@ -2,7 +2,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Forum permissions mappings
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
@@ -346,7 +346,7 @@ class forumsPermMappingForum
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Item Marking
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
@@ -493,7 +493,7 @@ class itemMarking__forums
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Fetch Skin
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
@@ -597,7 +597,7 @@ class fetchSkin__forums
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Library: Handle public session data
* 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
* Core variables extensions
* Defines the reset array, which caches to load, how to recache those caches, and the bitwise array
* Last Updated: $Date: 2012-09-12 11:58:11 -0400 (Wed, 12 Sep 2012) $
@@ -2,7 +2,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Define data hook locations (Forums)
* 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
* BBCode Management : Determines if bbcode can be used in this section
* 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
* RSS output plugin :: posts
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
@@ -2,7 +2,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Sets up SEO templates
* Last Updated: $Date: 2012-07-31 09:39:50 -0400 (Tue, 31 Jul 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>
@@ -7,7 +7,7 @@
* $Author: mmecham $
* @since 15th Feb 2011
* $LastChangedDate: 2013-03-26 11:49:49 -0400 (Tue, 26 Mar 2013) $
* @version v3.4.6
* @version v3.4.8
* $Revision: 12124 $
*/
@@ -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>
@@ -4,10 +4,10 @@
*~TERABYTE_DOC_READY~
* $Copyright: (c) 2001 - 2011 Invision Power Services, Inc.$
* $License: http://www.invisionpower.com/company/standards.php#license$
* $Author: bfarber $
* $LastChangedDate: 2012-12-04 18:13:22 -0500 (Tue, 04 Dec 2012) $
* @version v3.4.6
* $Revision: 11679 $
* $Author: rashbrook $
* $LastChangedDate: 2014-10-30 14:22:29 -0400 (Thu, 30 Oct 2014) $
* @version v3.4.8
* $Revision: 12558 $
*/
if ( ! defined( 'IN_IPB' ) )
@@ -137,7 +137,7 @@ class like_forums_topics_composite extends classes_like_composite
/* Set member */
$this->registry->getClass('class_forums')->setMemberData( $metaData );
$result = $this->registry->getClass('class_forums')->forumsCheckAccess( $forum['id'], 0, 'forum', $topic, true );
$result = $this->registry->getClass('class_forums')->forumsCheckAccess( $forum['id'], 0, 'topic', $topic, true );
/* reset */
$this->registry->getClass('class_forums')->setMemberData( $this->memberData );
@@ -197,7 +197,7 @@ class like_forums_topics_composite extends classes_like_composite
/* Set member */
$this->registry->getClass('class_forums')->setMemberData( $data );
$result = $this->registry->getClass('class_forums')->forumsCheckAccess( $forum['id'], 0, 'forum', $topic, true );
$result = $this->registry->getClass('class_forums')->forumsCheckAccess( $forum['id'], 0, 'topic', $topic, true );
/* reset */
$this->registry->getClass('class_forums')->setMemberData( $this->memberData );
@@ -3,7 +3,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Forum permissions mappings
* 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>
@@ -7,7 +7,7 @@
* $Author: bfarber $
* @since 2/18/2011
* $LastChangedDate: 2013-04-26 17:18:56 -0400 (Fri, 26 Apr 2013) $
* @version v3.4.6
* @version v3.4.8
* $Revision: 12203 $
*/
@@ -7,7 +7,7 @@
* $Author: ips_terabyte $
* @since 2/15/2011
* $LastChangedDate: 2012-05-22 13:10:11 -0400 (Tue, 22 May 2012) $
* @version v3.4.6
* @version v3.4.8
* $Revision: 10783 $
*/
@@ -7,7 +7,7 @@
* $Author: ips_terabyte $
* @since 2/15/2011
* $LastChangedDate: 2012-05-22 13:10:11 -0400 (Tue, 22 May 2012) $
* @version v3.4.6
* @version v3.4.8
* $Revision: 10783 $
*/
@@ -7,7 +7,7 @@
* $Author: mark $
* @since 2/15/2011
* $LastChangedDate: 2012-09-21 10:15:19 -0400 (Fri, 21 Sep 2012) $
* @version v3.4.6
* @version v3.4.8
* $Revision: 11360 $
*/
@@ -7,7 +7,7 @@
* $Author: mark $
* @since 2/15/2011
* $LastChangedDate: 2012-09-21 10:15:19 -0400 (Fri, 21 Sep 2012) $
* @version v3.4.6
* @version v3.4.8
* $Revision: 11360 $
*/
@@ -6,7 +6,7 @@
* $Author: ips_terabyte $
* @since 3/8/2011
* $LastChangedDate: 2011-03-31 06:17:44 -0400 (Thu, 31 Mar 2011) $
* @version v3.4.6
* @version v3.4.8
* $Revision: 8229 $
*/
@@ -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,7 +3,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Define the core notification types
* 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>
@@ -2,7 +2,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Config for posts plugin
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
@@ -2,7 +2,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Profile Plugin Library
* Last Updated: $Date: 2012-10-08 13:24:39 -0400 (Mon, 08 Oct 2012) $
* </pre>
@@ -2,7 +2,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Config for topics plugin
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
@@ -2,7 +2,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Profile Plugin Library
* Last Updated: $Date: 2012-10-08 13:24:39 -0400 (Mon, 08 Oct 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>
@@ -2,19 +2,19 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Report Center :: Posts plugin
* Last Updated: $LastChangedDate: 2013-05-08 17:43:20 -0400 (Wed, 08 May 2013) $
* Last Updated: $LastChangedDate: 2013-12-13 13:41:34 -0500 (Fri, 13 Dec 2013) $
* </pre>
*
* @author $Author: bfarber $
* @author $Author: rashbrook $
* @author Based on original "Report Center" by Luke Scott
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @subpackage Forums
* @link http://www.invisionpower.com
* @version $Rev: 12240 $
* @version $Rev: 12428 $
*/
if ( ! defined( 'IN_IPB' ) )
@@ -267,8 +267,8 @@ class post_plugin
}
$uid = md5( 'topic_' . $topic_id . '_' . $post_id . '_' . $forum_id . '_' . $com_dat['com_id'] );
$url = 'showtopic=' . intval($topic_id) . '&view=findpost&p=' . intval($post_id);
//$url = 'showtopic=' . intval($topic_id) . '&view=findpost&p=' . intval($post_id);
$url = 'app=forums&module=forums&section=findpost&pid=' . intval( $post_id );
$save_url = str_replace( '&', '&amp;', $url);
$status = array();
@@ -337,7 +337,7 @@ class post_plugin
'status' => $status['new'],
'url' => '/index.php?' . $save_url,
'seoname' => $data['title_seo'],
'seotemplate' => 'showtopic',
'seotemplate' => '',
'rc_class' => $com_dat['com_id'],
'updated_by' => $this->memberData['member_id'],
'date_updated' => time(),
@@ -382,7 +382,7 @@ class post_plugin
'SAVED_URL' => '/index.php?' . $save_url,
'REPORT' => $build_report['report'],
'SEOTITLE' => $data['title_seo'],
'TEMPLATE' => 'showtopic',
'TEMPLATE' => '',
);
return $return_data;
@@ -403,7 +403,7 @@ class post_plugin
'SAVED_URL' => str_replace( '&amp;', '&', $report_data['url'] ),
'REPORT' => '',
'SEOTITLE' => $report_data['seoname'],
'TEMPLATE' => 'showtopic',
'TEMPLATE' => '',
);
}
@@ -2,9 +2,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Reputation configuration for application
* Last Updated: $Date: 2013-10-16 12:57:41 -0400 (Wed, 16 Oct 2013) $
* Last Updated: $Date: 2014-10-16 12:59:33 -0400 (Thu, 16 Oct 2014) $
* </pre>
*
* @author $author$
@@ -13,7 +13,7 @@
* @package IP.Board
* @subpackage Forums
* @link http://www.invisionpower.com
* @version $Rev: 12380 $
* @version $Rev: 12553 $
*/
if ( ! defined( 'IN_IPB' ) )
@@ -157,6 +157,11 @@ class reputation_forums
IPSText::getTextClass('bbcode')->parsing_mgroup_others = $member['mgroup_others'];
$row['post'] = IPSText::getTextClass('bbcode')->preDisplayParse( $row['post'] );
if ( ipsRegistry::getClass('permissions')->check( 'download', $forumData ) === FALSE )
{
ipsRegistry::$settings['show_img_upload'] = 0;
}
/* Parse attachments */
$messageHTML = array( $row['pid'] => $row['post'] );
$attachHTML = $this->class_attach->renderAttachments( $messageHTML, array( $row['pid'] ) );
@@ -2,7 +2,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* RSS output plugin :: posts
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
@@ -2,7 +2,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Config 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>
File diff suppressed because it is too large. Load diff
@@ -2,18 +2,18 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Basic Forum Search
* Last Updated: $Date: 2013-05-21 20:51:17 -0400 (Tue, 21 May 2013) $
* Last Updated: $Date: 2014-11-11 15:53:26 -0500 (Tue, 11 Nov 2014) $
* </pre>
*
* @author $Author: bfarber $
* @author $Author: rashbrook $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @subpackage Forums
* @link http://www.invisionpower.com
* @version $Rev: 12263 $
* @version $Rev: 12568 $
*/
if ( ! defined( 'IN_IPB' ) )
@@ -167,7 +167,7 @@ class search_engine_forums extends search_engine
if ( ! IPSSearchRegistry::searchTitleOnly() )
{
/* Do the search */
$this->DB->build( array(
$o = $this->DB->build( array(
'select' => "p.{$this->table['pid']} as id, p.{$this->table['post_date']}, p.{$this->table['topic_id']}",
'from' => array( $this->table['_table_'] => 'p' ),
'where' => $this->_buildWhereStatement( $search_term, IPSSearchRegistry::searchTitleOnly(), '', null, ( IPSSearchRegistry::get('opt.searchType') == 'content' || IPSSearchRegistry::get('in.search_author') ) ? false : true ),
@@ -184,7 +184,7 @@ class search_engine_forums extends search_engine
IPSSearchRegistry::set('set.returnType', 'tids' );
/* Do the search */
$this->DB->build( array(
$o = $this->DB->build( array(
'select' => "t.tid as id, t.tid as topic_id, t.title, t.posts, t.views, t.last_post",
'from' => 'topics t',
'where' => str_replace( 'p.' . $this->table['author_id'], 't.starter_id', $this->_buildWhereStatement( $search_term, IPSSearchRegistry::searchTitleOnly() ) ),
@@ -192,7 +192,7 @@ class search_engine_forums extends search_engine
'order' => 't.'.$sortKey . ' ' . $sort_order ) );
}
$DB = $this->DB->execute();
$DB = $this->DB->execute( $o );
/* Fetch all to sort */
while( $r = $this->DB->fetch( $DB ) )
@@ -923,7 +923,7 @@ class search_engine_forums extends search_engine
$sortKey = '';
$sortType = '';
$cType = IPSSearchRegistry::get('contextual.type');
$cId = IPSSearchRegistry::get('contextual.id' );
$cId = intval( IPSSearchRegistry::get('contextual.id' ) );
$search_tags = IPSSearchRegistry::get('in.raw_search_tags');
/* Loop through the forums and build a list of forums we're allowed access to */
@@ -1082,7 +1082,7 @@ class search_engine_forums extends search_engine
if( $content_title_only )
{
$where_clause[] = $this->DB->buildSearchStatement( 't.title', $search_term, true, false, ipsRegistry::$settings['use_fulltext'] );
$where_clause[] = $this->DB->buildSearchStatement( 't.title', $search_term, true, false, ipsRegistry::$settings['use_fulltext'], ipsRegistry::$settings['s_andor_type'] );
IPSSearchRegistry::set('set.returnType', 'tids' );
}
@@ -1090,7 +1090,7 @@ class search_engine_forums extends search_engine
{
if ( $onlyPosts )
{
$where_clause[] = $this->DB->buildSearchStatement( 'p.' . $this->table['post'], $search_term, true, false, ipsRegistry::$settings['use_fulltext'] );
$where_clause[] = $this->DB->buildSearchStatement( 'p.' . $this->table['post'], $search_term, true, false, ipsRegistry::$settings['use_fulltext'], ipsRegistry::$settings['s_andor_type'] );
IPSSearchRegistry::set('set.returnType', 'pids' );
}
else
@@ -2,7 +2,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Returns HTML for the form (optional class, not required)
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
* </pre>
@@ -2,9 +2,9 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Formats forum search results
* Last Updated: $Date: 2013-06-26 16:40:20 -0400 (Wed, 26 Jun 2013) $
* Last Updated: $Date: 2015-03-16 17:25:51 -0400 (Mon, 16 Mar 2015) $
* </pre>
*
* @author $author$
@@ -13,7 +13,7 @@
* @package IP.Board
* @subpackage Forums
* @link http://www.invisionpower.com
* @version $Rev: 12314 $
* @version $Rev: 12611 $
*/
if ( ! defined( 'IN_IPB' ) )
@@ -48,6 +48,10 @@ class search_format_forums extends search_format
}
/* Get live or archive */
if ( ! is_array( ipsRegistry::$request['search_app_filters'] ) )
{
ipsRegistry::$request['search_app_filters'] = array();
}
$this->searchArchives = ( ipsRegistry::$request['search_app_filters']['forums']['liveOrArchive'] == 'archive' ) ? true : false;
if ( $this->searchArchives )
@@ -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,7 +3,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Sphinx template 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,7 +3,7 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Tagging: Forums/Topics Class
* Matt Mecham
* Last Updated: $Date: 2012-05-10 16:10:13 -0400 (Thu, 10 May 2012) $
@@ -7,7 +7,7 @@
* $Author: ips_terabyte $ (Original: Mark)
* @since -
* $LastChangedDate: 2012-04-05 12:35:31 -0400 (Thu, 05 Apr 2012) $
* @version v3.4.6
* @version v3.4.8
* $Revision: 10571 $
*/