Find(in /sources/components_public/teams.php):
//run member data cache
$this->ipsclass->DB->simple_select( "id, name, members_display_name", "members" );
$this->ipsclass->DB->simple_exec();
while ( $mem = $this->ipsclass->DB->fetch_row() ){
$this->mem_data[ $mem['id'] ] = $mem['members_display_name'];
}Replace With:
//run member data cache
$query_string = "id, name, members_display_name, mgroup";
if( $this->ipsclass->vars['mt_points_needed'] > 0 ){
$query_string .= ", points";
}
$this->ipsclass->DB->simple_select( $query_string, "members" );
$this->ipsclass->DB->simple_exec();
while ( $mem = $this->ipsclass->DB->fetch_row() ){
$this->mem_data[ $mem['id'] ] = $mem['members_display_name'];
$this->mem_group_data[ $mem['id'] ] = $mem['mgroup'];
//I like running into myself..lol.
if( $mem['id'] == $this->ipsclass->member['id'] && isset( $mem['points'] ) ){
$this->ipsclass->member['points'] = $mem['points'];
}
}Save and upload..that should fix your problem..
The main reason I'm posting this here is because the current topic on IZE for support is 25 pages long..and so I'd rather have a simple fix here..please point people to this topic in the future.

Help




Promote to Article









