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!
<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>
Ciao! Sembra che tu sia interessato a questa conversazione, ma non hai ancora un account.
Stanco di dover scorrere gli stessi post a ogni visita? Quando registri un account, tornerai sempre esattamente dove eri rimasto e potrai scegliere di essere avvisato delle nuove risposte (tramite email o notifica push). Potrai anche salvare segnalibri e votare i post per mostrare il tuo apprezzamento agli altri membri della comunità.
Con il tuo contributo, questo post potrebbe essere ancora migliore 💗
Registrati Accedi