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 20th February 2002
* $LastChangedDate: 2011-05-05 12:40:49 -0400 (Thu, 05 May 2011) $
* @version v3.4.6
* @version v3.4.8
* $Revision: 8655 $
*/
@@ -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,19 +3,19 @@
/**
* <pre>
* Invision Power Services
* IP.Board v3.4.6
* IP.Board v3.4.8
* Member list
* Last Updated: $Date: 2013-10-16 19:11:24 -0400 (Wed, 16 Oct 2013) $
* Last Updated: $Date: 2015-05-08 05:55:54 -0400 (Fri, 08 May 2015) $
* </pre>
*
* @author $Author: rashbrook $
* @author $Author: mmecham $
* @copyright (c) 2001 - 2009 Invision Power Services, Inc.
* @license http://www.invisionpower.com/company/standards.php#license
* @package IP.Board
* @subpackage Members
* @link http://www.invisionpower.com
* @since 20th February 2002
* @version $Revision: 12381 $
* @version $Revision: 12635 $
*
*/
@@ -124,14 +124,14 @@ class public_members_list_view extends ipsCommand
$url = array();
$pp_rating_real = isset($this->request['pp_rating_real']) ? intval( $this->request['pp_rating_real'] ) : 0;
$this->first = isset($this->request['st']) ? intval($this->request['st']) : 0;
$this->max_results = !empty($this->request['max_results']) ? $this->request['max_results'] : $this->max_results;
$this->sort_key = !empty($this->request['sort_key']) ? $this->request['sort_key'] : 'members_display_name';
$this->sort_order = !empty($this->request['sort_order']) ? $this->request['sort_order'] : 'asc';
$this->max_results = !empty($this->request['max_results']) ? IPSText::parseCleanValue( $this->request['max_results'] ) : $this->max_results;
$this->sort_key = !empty($this->request['sort_key']) ? IPSText::parseCleanValue( $this->request['sort_key'] ) : 'members_display_name';
$this->sort_order = !empty($this->request['sort_order']) ? IPSText::parseCleanValue( $this->request['sort_order'] ): 'asc';
$this->filter = !empty($this->request['filter']) ? ( $this->request['filter'] == 'ALL' ? 'ALL' : intval( $this->request['filter'] ) ) : 'ALL';
$this->request['showall'] = isset($this->request['showall']) ? intval( $this->request['showall'] ) : 0;
$this->request['name_box'] = isset($this->request['name_box']) ? $this->request['name_box'] : '';
$this->request['quickjump'] = isset($this->request['quickjump']) ? $this->request['quickjump'] : 0;
$this->request['name_box'] = isset($this->request['name_box']) ? IPSText::parseCleanValue( $this->request['name_box'] ) : '';
$this->request['quickjump'] = isset($this->request['quickjump']) ? IPSText::parseCleanValue( $this->request['quickjump'] ) : '';
$_queryPP = false;
@@ -362,7 +362,7 @@ class public_members_list_view extends ipsCommand
//-----------------------------------------
// Custom fields?
//-----------------------------------------
if ( count( $this->custom_fields->out_fields ) )
{
foreach( $this->custom_fields->out_fields as $id => $data )
@@ -375,14 +375,14 @@ class public_members_list_view extends ipsCommand
{
foreach( $this->request[ 'field_' . $id ] as $k => $v )
{
$this->request[ 'field_' . $id ][ $k ] = urldecode($v);
$this->request[ 'field_' . $id ][ $k ] = IPSText::parseCleanValue( urldecode($v) );
$url['field_' . $id] = "field_{$id}[{$k}]=" . $v;
}
}
else
{
$url['field_' . $id] = "field_{$id}=" . $this->request[ 'field_' . $id ];
$this->request[ 'field_' . $id ] = urldecode($this->request[ 'field_' . $id ]);
$this->request[ 'field_' . $id ] = IPSText::parseCleanValue( urldecode($this->request[ 'field_' . $id ]) );
}
if( $this->custom_fields->cache_data[ $id ]['pf_type'] == 'drop' )
@@ -393,9 +393,22 @@ class public_members_list_view extends ipsCommand
{
if ( count( $this->request[ 'field_' . $id ] ) )
{
foreach ( $this->request[ 'field_' . $id ] as $k => $v )
if ( $this->custom_fields->cache_data[ $id ]['pf_search_type'] == 'loose' )
{
$query[] = "p.field_{$id} LIKE '%|{$k}|%'";
$cboxFields = array();
foreach ( $this->request[ 'field_' . $id ] as $k => $v )
{
$cboxFields[] = "p.field_{$id} LIKE '%|{$k}|%'";
}
$query[] = "( " . implode( ' OR ', $cboxFields ) . " )";
}
else
{
foreach ( $this->request[ 'field_' . $id ] as $k => $v )
{
$query[] = "p.field_{$id} LIKE '%|{$k}|%'";
}
}
}
}