<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Commenti a: WordPress: estendere le informazioni utente</title>
	<atom:link href="http://www.undolog.com/2010/01/26/wordpress-estendere-le-informazioni-utente/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.undolog.com/2010/01/26/wordpress-estendere-le-informazioni-utente/</link>
	<description>Research &#38; Development  Blog</description>
	<lastBuildDate>Thu, 09 Feb 2012 11:24:28 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>Di: Giovambattista Fazioli</title>
		<link>http://www.undolog.com/2010/01/26/wordpress-estendere-le-informazioni-utente/#comment-2858</link>
		<dc:creator>Giovambattista Fazioli</dc:creator>
		<pubDate>Mon, 29 Mar 2010 15:32:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.undolog.com/?p=2842#comment-2858</guid>
		<description>&lt;b&gt;@Pino&lt;/b&gt;: sembrerebbe una parentesi graffa non chiusa bene...</description>
		<content:encoded><![CDATA[<p><b>@Pino</b>: sembrerebbe una parentesi graffa non chiusa bene&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Pino</title>
		<link>http://www.undolog.com/2010/01/26/wordpress-estendere-le-informazioni-utente/#comment-2832</link>
		<dc:creator>Pino</dc:creator>
		<pubDate>Sun, 28 Mar 2010 13:03:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.undolog.com/?p=2842#comment-2832</guid>
		<description>Uso Wordpress 2.9.2

Questo è il mio file functions.php:
[cc_php]&lt;?php
if ( function_exists(&#039;register_sidebars&#039;) )
    register_sidebars(2);
?&gt;

// Questa funzione - vedi add_action() più sotto, si occupa di visualizzare
// il nostro campo aggiuntiva nell&#039;amministrazione di Wordpress

function nuovo_user_meta($user) {
?&gt;
    &lt;h3&gt;Campi aggiuntivi&lt;/h3&gt;
        &lt;table class=&quot;form-table&quot;&gt;
            &lt;tr&gt;
                &lt;th&gt;&lt;label for=&quot;nuovo_user_meta&quot;&gt;Nuovo Campo&lt;/label&gt;&lt;/th&gt;
                &lt;td&gt;
                    &lt;input type=&quot;text&quot; name=&quot;nuovo_user_meta&quot; id=&quot;nuovo_user_meta&quot; value=&quot;&lt;?php echo esc_attr( get_the_author_meta( &#039;nuovo_user_meta&#039;, $user-&gt;ID ) ); ?&gt;&quot; class=&quot;regular-text&quot; /&gt;&lt;br /&gt;
                    &lt;span class=&quot;description&quot;&gt;Inserisci il tuo campo aggiuntivo.&lt;/span&gt;
                &lt;/td&gt;
            &lt;/tr&gt;
        &lt;/table&gt;
&lt;?php }

// Aggiungiamo la nostra funzione all&#039;amministrazione di Wordpress
// in questo &quot;semplice&quot; caso, la funzione &quot;mostra&quot; (show_user_profile)
// e quella di &quot;modifica&quot; (edit_user_profile) coincidono, ma in casi
// più articolati potrebbero essere differenti
add_action( &#039;show_user_profile&#039;, &#039;nuovo_user_meta&#039; );
add_action( &#039;edit_user_profile&#039;, &#039;nuovo_user_meta&#039; );
[/cc_php]

l&#039;errore che mi dà è:
&lt;code&gt;Parse error: syntax error, unexpected &#039;}&#039; in /var/www/virtual/.../functions.php on line 24&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Uso WordPress 2.9.2</p>
<p>Questo è il mio file functions.php:</p>
<div class="codecolorer-container php vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br />2<br />3<br />4<br />5<br />6<br />7<br />8<br />9<br />10<br />11<br />12<br />13<br />14<br />15<br />16<br />17<br />18<br />19<br />20<br />21<br />22<br />23<br />24<br />25<br />26<br />27<br />28<br /></div></td><td><div class="php codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap"><span style="color: #000000; font-weight: bold;">&lt;?php</span><br />
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span> <a href="http://www.php.net/function_exists"><span style="color: #990000;">function_exists</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'register_sidebars'</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><br />
&nbsp; &nbsp; register_sidebars<span style="color: #009900;">&#40;</span><span style="color: #cc66cc;">2</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
<span style="color: #000000; font-weight: bold;">?&gt;</span><br />
<br />
// Questa funzione - vedi add_action() più sotto, si occupa di visualizzare<br />
// il nostro campo aggiuntiva nell'amministrazione di Wordpress<br />
<br />
function nuovo_user_meta($user) {<br />
?&gt;<br />
&nbsp; &nbsp; &lt;h3&gt;Campi aggiuntivi&lt;/h3&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;table class=&quot;form-table&quot;&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;th&gt;&lt;label for=&quot;nuovo_user_meta&quot;&gt;Nuovo Campo&lt;/label&gt;&lt;/th&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;input type=&quot;text&quot; name=&quot;nuovo_user_meta&quot; id=&quot;nuovo_user_meta&quot; value=&quot;<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #b1b100;">echo</span> esc_attr<span style="color: #009900;">&#40;</span> get_the_author_meta<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'nuovo_user_meta'</span><span style="color: #339933;">,</span> <span style="color: #000088;">$user</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">ID</span> <span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> <span style="color: #000000; font-weight: bold;">?&gt;</span>&quot; class=&quot;regular-text&quot; /&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;span class=&quot;description&quot;&gt;Inserisci il tuo campo aggiuntivo.&lt;/span&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &lt;/tr&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;/table&gt;<br />
<span style="color: #000000; font-weight: bold;">&lt;?php</span> <span style="color: #009900;">&#125;</span><br />
<br />
<span style="color: #666666; font-style: italic;">// Aggiungiamo la nostra funzione all'amministrazione di Wordpress</span><br />
<span style="color: #666666; font-style: italic;">// in questo &quot;semplice&quot; caso, la funzione &quot;mostra&quot; (show_user_profile)</span><br />
<span style="color: #666666; font-style: italic;">// e quella di &quot;modifica&quot; (edit_user_profile) coincidono, ma in casi</span><br />
<span style="color: #666666; font-style: italic;">// più articolati potrebbero essere differenti</span><br />
add_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'show_user_profile'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'nuovo_user_meta'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />
add_action<span style="color: #009900;">&#40;</span> <span style="color: #0000ff;">'edit_user_profile'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'nuovo_user_meta'</span> <span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></div></td></tr></tbody></table></div>
<p>l&#8217;errore che mi dà è:</p>
<div class="codecolorer-container text vibrant" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><table cellspacing="0" cellpadding="0"><tbody><tr><td style="padding:5px;text-align:center;color:#888888;background-color:#EEEEEE;border-right: 1px solid #9F9F9F;font: normal 12px/1.4em Monaco, Lucida Console, monospace;"><div>1<br /></div></td><td><div class="text codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap">Parse error: syntax error, unexpected '}' in /var/www/virtual/.../functions.php on line 24</div></td></tr></tbody></table></div>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Giovambattista Fazioli</title>
		<link>http://www.undolog.com/2010/01/26/wordpress-estendere-le-informazioni-utente/#comment-2830</link>
		<dc:creator>Giovambattista Fazioli</dc:creator>
		<pubDate>Sun, 28 Mar 2010 12:47:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.undolog.com/?p=2842#comment-2830</guid>
		<description>&lt;b&gt;@Pino&lt;/b&gt;: su quale versione di Wordpress l&#039;hai provato? Hai per caso qualche messaggio d&#039;errore a video?</description>
		<content:encoded><![CDATA[<p><b>@Pino</b>: su quale versione di WordPress l&#8217;hai provato? Hai per caso qualche messaggio d&#8217;errore a video?</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Pino</title>
		<link>http://www.undolog.com/2010/01/26/wordpress-estendere-le-informazioni-utente/#comment-2828</link>
		<dc:creator>Pino</dc:creator>
		<pubDate>Sun, 28 Mar 2010 09:33:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.undolog.com/?p=2842#comment-2828</guid>
		<description>Credo che ci sia un errore nella scrittura del primo blocco di codice...potete controllare? Se modifico il mio file functions.php aggiungendo questo codice il sito va in crash... Dove sbaglio?
Grazie.</description>
		<content:encoded><![CDATA[<p>Credo che ci sia un errore nella scrittura del primo blocco di codice&#8230;potete controllare? Se modifico il mio file functions.php aggiungendo questo codice il sito va in crash&#8230; Dove sbaglio?<br />
Grazie.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Di: Notizie dai blog su Wordpress: come cambiare il nome utente ADMIN</title>
		<link>http://www.undolog.com/2010/01/26/wordpress-estendere-le-informazioni-utente/#comment-2739</link>
		<dc:creator>Notizie dai blog su Wordpress: come cambiare il nome utente ADMIN</dc:creator>
		<pubDate>Tue, 23 Mar 2010 09:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.undolog.com/?p=2842#comment-2739</guid>
		<description>[...] Wordpress: estendere le informazioni utente Le informazioni su un utente, o autore, di un blog Wordpress possono essere estese in modo semplice. Potrebbe ad esempio essere utile inserire la data di nascita, delle informazioni bibliografiche, l&#039;indirizzo della sede di lavoro o, estremamente comodo, un campo per dei permessi speciali - da controllare in seguito nel template. blog: undolog &#124; leggi l&#039;articolo [...]</description>
		<content:encoded><![CDATA[<p>[...] WordPress: estendere le informazioni utente Le informazioni su un utente, o autore, di un blog WordPress possono essere estese in modo semplice. Potrebbe ad esempio essere utile inserire la data di nascita, delle informazioni bibliografiche, l&#39;indirizzo della sede di lavoro o, estremamente comodo, un campo per dei permessi speciali &#8211; da controllare in seguito nel template. blog: undolog | leggi l&#39;articolo [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

