Mr_KK
30/01/2006, 09h57
Bonjour tout le monde
j'avais deja vu cette modif sur des forums IPB ... j'ai donc fais un peu de recherche ^^
Cette modification permet d'afficher dans le postbit votre GamerTag Xbox Live (seulement si vous avez un compte Xbox Live bien sur ...)
Modifications
Ajout d'un champ de profil utilisateur:
============================
Dans l'admincp ==> Champs du profil utilisateur ==> Ajouter un nouveau champ au profil utilisateur
Type de champ de profil: Champ de saisie (une seule ligne)
Intitulé: Xbox GamerTag
Description: Entrer ici votre speudo Xbox Live
Valeur par default: Si vous possdez un compte Xbox Live, votre GamerTag sera affiché
Enregistrer
Modification de templates:
===================
Dans l'admincp ==> Styles & Templates
Puis dans "postbit" et/ou "postbit_legacy" rechercher :
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]
ajouter juste après:
<!-- / Xbox Card Hack -->
<if condition="$post['field_xx']">
<iframe src="http://gamercard.xbox.com/$post[field_xx].card" scrolling="no" frameBorder="0" height="140" width="204"></iframe>
</if>
<!-- / End Xbox Card Hack -->
Attention: n'oublier pas de remplacer _xx par l'id de votre champs
+++
j'avais deja vu cette modif sur des forums IPB ... j'ai donc fais un peu de recherche ^^
Cette modification permet d'afficher dans le postbit votre GamerTag Xbox Live (seulement si vous avez un compte Xbox Live bien sur ...)
Modifications
Ajout d'un champ de profil utilisateur:
============================
Dans l'admincp ==> Champs du profil utilisateur ==> Ajouter un nouveau champ au profil utilisateur
Type de champ de profil: Champ de saisie (une seule ligne)
Intitulé: Xbox GamerTag
Description: Entrer ici votre speudo Xbox Live
Valeur par default: Si vous possdez un compte Xbox Live, votre GamerTag sera affiché
Enregistrer
Modification de templates:
===================
Dans l'admincp ==> Styles & Templates
Puis dans "postbit" et/ou "postbit_legacy" rechercher :
<div>$post[icqicon] $post[aimicon] $post[msnicon] $post[yahooicon] $post[skypeicon]
ajouter juste après:
<!-- / Xbox Card Hack -->
<if condition="$post['field_xx']">
<iframe src="http://gamercard.xbox.com/$post[field_xx].card" scrolling="no" frameBorder="0" height="140" width="204"></iframe>
</if>
<!-- / End Xbox Card Hack -->
Attention: n'oublier pas de remplacer _xx par l'id de votre champs
+++