I've already done it. There's just exmaples, but not a complete list of them...

Okay, it works !
Thanks, very well !

Oh, a last question : is there a documentation where I can find all the punbb globals ?
Thanks again !

Hum... your script doesn't work...
$avatar_filename is not declared...

There's any $forum_user['---'] variable who contains the avatar filename ?

Well, for simplify, I just want a variable who contains the url of the current user's avatar.
Like this : $avatar_path = 'img/avatars/2.png';

Obviously, I want it work for every file extension...

Thanks everybody for your help !

Hum.... In my .tpl files, I've just html code, not php.
If USERID is a constant, I wanna to konw where she's declared.
Because if I seach "USERID" in my forum directory, I have no results...

So I hope there is a variable which contains the current user's id.

What I want to do is that :
<div id="logbox_avatar" style="bacrground-image : url(AVATAR_PATH);"></div>

AVATAR_PATH is the url of the current user's avatar, so it looks to that : "./img/avatar/USERID.AVATAR_EXT"

USERID is the current user's ID (you had guessed? ^^).
AVATAR_EXT is the file extention of the current user's avatar (.png, .gif or .jpg).

I've learned about punsapi, a tool for make the integration of punbb easier, but this is not compatible with punbb 1.4...

Sorry for my bad spannish (google translator), and my bad english (I'm french ^^).
__________________________________________________________________

Hum .... En mi archivos .tpl, acabo de código html, no php.
Si USERID es una constante, quiero saber dónde está declarado.
Porque si busquo "UserID" en mi directorio del foro, no tengo resultados ...

Así que espero que haya una variable que contiene el id del usuario actual.

Lo que quiero hacer es lo siguiente:
<div id="logbox_avatar" style="bacrground-image: url(AVATAR_PATH);"> </ div>

AVATAR_PATH es la url del avatar del usuario actual, por lo que parece a lo siguiente: "./img/avatar/USERID.AVATAR_EXT"

USERID es el ID del usuario actual (que había adivinado ? ^^).
AVATAR_EXT es la extensión del archivo del avatar del usuario actual (.png, .gif o .jpg).

Que he aprendido sobre punsapi, una herramienta para hacer más fácil la integración de punbb, pero esto no es compatible con punbb 1.4 ...

Lo siento por mi mala spannish (Google translator), y mi mala Inglés (soy francés ^^).

Yes, it looks to be that kind of files.
Is USERID a defined constant ?

Hi everybody, I'm new in Punbb world.
I try to intergrate the forum in my site, but I have some problems.

I search how to get the avatar of the user who is connected. (To show it in the logbox).
Where I can find it ?

PS : I just want the path to the avatar, not a html code like <img src="[...]"/>.

Thanks for answers.
Thaledric