Added jabber id to user’s profile
I don’t know why it wasn’t in the profile, but… I added a user_jid field to WordPress user profile. First of all I added the approp field to the MySQL table by:
alter table dbrei_users add user_jid varchar(50) after user_yim;
After that a little of updates to wp-admin/profile.php, get the new profile.php (rename it) and put it in wp-admin/. I also updated mortenf’s foaf-output plugin 1.9 to output the <foaf:jabberID/> by adding the following lines right after the first occurence of user_yim:
if($authordata->user_jid)
$rdf .= "nt" . '<jabberID>' . htmlspecialchars($authordata->user_jid) . '</jabberID>';
That’s it, have fun.. comments welcome
About this entry
You’re currently reading “Added jabber id to user’s profile,” an entry on B:\datenbrei
- Published:
- 2004-07-14, 21° 04'
- Category:
- jabber/XMPP
- Tags:
-
B4mad blogging bluetooth coding comments desktop Events foaf general blogging GNU Debian/Linux IBM jabber/XMPP Java Kerberos macish MacOSX mobile Mono/C# mtb music openafs OS philosophy Photographie photos podcasting projects Python semantic web sioc technology Travel web 2.0 webservices wireless WordPress
- Maybe related:
- Action:
- ,
Fatal error: Call to undefined function: dbt_getlinktag() in /usr/www/users/bsmads/b4mad.net/datenbrei/wp-content/themes/hemingway/single.php on line 34