par
patlefourbe » 14 août 2011, 11:53
Bonjour
Voila ,je bloque sur un problème depuis 2 semaine
j'explique :
j'utilise le chat cBox sur mon site
j'ai intergrer mes user et tous fonctionne bien ,mais j'ai demander comment link mes user a leur profil et je n'arrive pas a comprendre la demarche a suivre :/
Voila le code de ma cbox:
<?php
global $user;
$name = $user->name;
?>
<!-- BEGIN CBOX -
http://www.cbox.ws - v001 -->
<div id="L4" style="position: relative; left: 0px; top: 0px; width: 186px; z-index: 1; overflow: auto;">
<div><iframe frameborder="0" width="207" height="380" src="url/box/?boxid=3145539&boxtag=fkj6r5&sec=main" marginheight="2" marginwidth="2" scrolling="auto" allowtransparency="yes" name="cboxmain" style="border:#303030 1px solid;" id="cboxmain"></iframe></div>
<div><iframe frameborder="0" width="190" height="70" src="url/box/?boxid=3145539&boxtag=fkj6r5&sec=form&nme=<?=urlencode($name)?>&nmekey=<?=md5('xxxxxxxxxxxxxxxx'.$name)?>" marginheight="2" marginwidth="2" scrolling="no" allowtransparency="yes" name="cboxform" style="border:#303030 1px solid;border-top:0px" id="cboxform"></iframe></div>
</div>
<!-- END CBOX -->
et voila se que me dit cbox pour linker au profil
You can now integrate your users' avatars and profile links when integration is enabled. Paste the following code after the standard integration code, above:
&pic=<?=urlencode($avatar_url)?>&lnk=<?=urlencode($profile_url)?>&ekey=<?=md5("xxxxxxxxxxxxxxxx"."\t".$avatar_url."\t".$profile_url)?>
Change $avatar_url and $profile_url to the correct variables for the context. Note that they both appear twice.
j'ai canger les variables "$profile_url" par la variable "$account" ,mais cela ne change rien !! :/
quelqu'un pourait m'aider

merci d'avance