Sono contento solo dopo 2 giorni sono riuscito a risolvere.
la prima cosa da fare è aggiungere il campo TELEPHON all'interno della tabella JOS_USRL_CONFIG_XTD, e assegnarli il valore 1.
Alla riga 146 del file /var/www/xxx/components/userlist_xdt.php cè la seguente query:
$query = "SELECT u.id AS id, u.name AS name, u.username AS username, u.registerDate AS registerDate, u.lastvisitDate AS lastvisitDate, u.usertype AS usertype, u.email AS email, u.block AS block";
modificarla come segue:
$query = "SELECT u.id AS id, u.name AS name, u.username AS username, u.registerDate AS registerDate, u.lastvisitDate AS lastvisitDate, u.usertype AS usertype, u.email AS email, u.block AS block, u.telephon AS telephon";
come terza cosa:
Circa alla riga 140 del file /var/www/xxx/components/userlist_xdt.html.php dopo esattamente il seguente codice
<?php if ($settings->username) { ?>
<td height="20" class="sectiontableheader"><?php echo _USRL_USERNAME; ?> <a href="<?php echo sefRelToAbs("$base_url&orderby=username"); ?>"><img src="<?php echo $mosConfig_live_site;?>/components/com_userlist_xtd/images/down.gif" width="8" height="5" border="0" alt="<?php echo _USRL_ASC; ?>">[/url] <a href="<?php echo sefRelToAbs("$base_url&orderby=username&direction=DESC"); ?>"><img src="<?php echo $mosConfig_live_site;?>/components/com_userlist_xtd/images/up.gif" width="8" height="5" border="0" alt="<?php echo _USRL_DESC; ?>">[/url]</td>
<?php } ?>
aggiungere:
<?php if ($settings->telephon==1) { ?>
<td height="20" class="sectiontableheader"><?php echo _USRL_TELEPHON; ?> <a href="<?php echo sefRelToAbs("$base_url&orderby=name"); ?>"><img src="<?php echo $mosConfig_live_site;?>/components/com_userlist_xtd/images/down.gif" width="8" height="5" border="0" alt="<?php echo _USRL_ASC; ?>">[/url] <a href="<?php echo sefRelToAbs("$base_url&orderby=name&direction=DESC"); ?>"><img src="<?php echo $mosConfig_live_site;?>/components/com_userlist_xtd/images/up.gif" width="8" height="5" border="0" alt="<?php echo _USRL_DESC; ?>">[/url]</td>
<?php } ?>
come quarta cosa sempre allinterno dell'ultimo file circa alla riga 286 modificare il codice come segue:
if ($settings->username) {
if ($settings->email == 3)
{echo "ciao";
echo "\t\t<td>";
$address = $row->email;
$name = $row->username;
echo mosHTML::emailcloaking( $address, true, $name, false );
echo "\t\t<td>". $row->telephon. "[/url]</td>\n";
echo "\t\t<td>". $row->email. "[/url]</td>\n";
echo "</td>\n";
//echo "\t\t<td><a href=\"mailto:$row->email\">$row->username[/url]</td>\n";
}
come quinta cosa, per completare il tutto configurare la variabile _USRL_TELEPHON, con un DEFINE all'interno del file
/var/www/xxx/components/com_userlist_xtd/lang/italian.php