• User Attivo

    Aggiungere campi al profilo Mingle Forum

    Salve, ho da poco installato il plugin Mingle Forum sul mio sito wordpress. Io ho già un pannello fatto da me con alcuni plugin per modificare il profilo, e avevo aggiunto alcuni campi miei personalizzati. Ora, vorrei aggiungere alla visualizzazione del profilo dell'utente i campi, che si possono inserire dal pannello di controllo. Credo sia questa la parte interessata. Grazie mille!

    [PHP]<div class='wpf'>
    <table class='wpf-table' cellpadding='0' cellspacing='0' width='100%'>
    <tr>
    <th class='wpf-bright'>".("Summary", "mingleforum")." - ".$this->get_userdata($user_id, $this->options['forum_display_name'])."</th>
    </tr>
    <tr>
    <td>
    <table class='wpf-table' cellpadding='0' cellspacing='0' width='100%'>
    <tr>
    <td width='20%'><strong>".
    ("Name:", "mingleforum")."</strong></td>
    <td>$user->first_name $user->last_name</td>
    <td rowspan='9' valign='top' width='1%'>".$this->get_avatar($user_id, 60)."</td>
    </tr>
    <tr>
    <td><strong>".("Registered:", "mingleforum")."</strong></td>
    <td>".$this->format_date($user->user_registered)."</td>
    </tr>
    <tr>
    <td><strong>".
    ("Posts:", "mingleforum")."</strong></td>
    <td>".$this->num_post_user($user_id)."</td>
    </tr>
    <tr>
    <td><strong>".("Position:", "mingleforum")."</strong></td>
    <td>".$this->get_userrole($user_id)."</td></tr>
    <tr>
    <td><strong>".
    ("Website:", "mingleforum")."</strong></td>
    <td><a href='$user->user_url'>$user->user_url</a></td>
    </tr>
    <tr>
    <td><strong>".("AIM:", "mingleforum")."</strong></td>
    <td>$user->aim</td>
    </tr>
    <tr>
    <td><strong>".
    ("Yahoo:", "mingleforum")."</strong></td>
    <td>$user->yim</td></tr>
    <tr>
    <td><strong>".("Jabber/google Talk:", "mingleforum")."</strong></td>
    <td>$user->jabber</td>
    </tr>
    <tr>
    <td valign='top'><strong>".
    ("Biographical Info:", "mingleforum")."</strong></td>
    <td valign='top'>".$this->output_filter(make_clickable(convert_smilies(wpautop($user->description))))."</td>
    </tr>
    </table>
    </td>
    </tr>
    </table></div>[/PHP]