Bug #2209 » 2209a.patch
components/com_comprofiler/plugin/user/plug_cbsimpleboardtab/cb.simpleboardtab.php | ||
---|---|---|
$userinfo = $params['userinfo'];
|
||
|
||
if ( $mode === 1 ) { //Beginner
|
||
$version = substr( $forum->version, 0, 3 );
|
||
$fields = array();
|
||
$fields[] = $this->getFieldValue( $user, (int) $this->params->get( 'sidebarBeginnerAvatar', null ), 'html', 'list' );
|
||
for ( $i = 1; $i <= 11; $i++ ) {
|
||
for ( $i = 1; $i <= 23; $i++ ) {
|
||
$fields[] = trim( $this->getFieldValue( $user, (int) $this->params->get( 'sidebarBeginner' . $i, null ), 'csv' ) );
|
||
}
|
||
|
||
... | ... | |
$userinfo->websitename = $value[1];
|
||
$userinfo->websiteurl = $value[0];
|
||
}
|
||
|
||
if ( strcasecmp( $version, '1.6' ) == 0 ) {
|
||
if ( $fields[12] ) {
|
||
$userinfo->TWITTER = $fields[12];
|
||
}
|
||
|
||
if ( $fields[13] ) {
|
||
$userinfo->FACEBOOK = $fields[13];
|
||
}
|
||
|
||
if ( $fields[14] ) {
|
||
$userinfo->MYSPACE = $fields[14];
|
||
}
|
||
|
||
if ( $fields[15] ) {
|
||
$userinfo->LINKEDIN = $fields[15];
|
||
}
|
||
|
||
if ( $fields[16] ) {
|
||
$userinfo->DELICIOUS = $fields[16];
|
||
}
|
||
|
||
if ( $fields[17] ) {
|
||
$userinfo->FRIENDFEED = $fields[17];
|
||
}
|
||
|
||
if ( $fields[18] ) {
|
||
$userinfo->DIGG = $fields[18];
|
||
}
|
||
|
||
if ( $fields[19] ) {
|
||
$userinfo->BLOGSPOT = $fields[19];
|
||
}
|
||
|
||
if ( $fields[20] ) {
|
||
$userinfo->FLICKR = $fields[20];
|
||
}
|
||
|
||
if ( $fields[21] ) {
|
||
$userinfo->BEBO = $fields[21];
|
||
}
|
||
|
||
if ( $fields[22] ) {
|
||
$userinfo->hideEmail = $fields[22];
|
||
}
|
||
|
||
if ( $fields[23] ) {
|
||
$userinfo->showOnline = $fields[23];
|
||
}
|
||
}
|
||
}
|
||
}
|
||
}
|
||
} //end of getForumTab
|
||
?>
|