Seite 1 von 1

xBox live anzeige!

Verfasst: 29.12.2005 03:28
von Paradise
Ich hab die idee so wie man yahoo, icq, msn anzeigen kann auch xbox live an zu zeigen. Zumindest den namen. Denn eine xBox live anzeige im web, also wer on ist gibts glaube ich nicht. Oder doch?

Verfasst: 07.01.2006 12:36
von Paradise
so, hab es hinbekommen einen button für xbox live einzubinden.

und zwar in der usercp_viewprofile.php:

Code: Alles auswählen

$xboxlive_img = ( $profiledata['user_xboxlive'] ) ? '<a href="http://live.xbox.com/member/' . $profiledata['user_xboxlive'] . '/"><img src="' . $images['icon_xboxlive'] . '" alt="' . $lang['XBOXLIVE'] . '" title="' . $lang['XBOXLIVE'] . '" border="0" /></a>' : '';
$xboxlive = ( $profiledata['user_xboxlive'] ) ? '<a href="http://live.xbox.com/member/' . $profiledata['user_xboxlive'] . '/">' . $lang['XBOXLIVE'] . '</a>' : '';
und in der mysql:

Code: Alles auswählen

ALTER TABLE `phpbb_users` ADD `user_xboxlive` VARCHAR( 255 ) ;
jetzt würde ich gerne noch die Gamer Card einbinden. Die tabelle gibts ja schon. Der link zu den Cards sieht so aus http://gamercard.xbox.com/ParadiseInferno.card.

ich denke ich muss ja nur das oben abändern und anstelle von

Code: Alles auswählen

xboxlive
zb

Code: Alles auswählen

xboxlivegc
verwenden.

ich denke mal so in der art:

Code: Alles auswählen

$xboxlivegc_img = ( $profiledata['user_xboxlive']
aber wie gehts weiter. Und muss ich dann nur das in der usercp_viewprofile.php einfügen?