cotonti.com : User Avatar in User Menu https://www.cotonti.com Laatste forum onderwerpen Cotonti en Wed, 12 Aug 2026 20:36:12 -0000 pieter Here you can see how you can find them.

http://www.cotonti.com/docs/ext/themes/cotemplate_debug_mode

 

]]>
Za, 21 Feb 2015 12:18:00 -0000
marksjoni Only question is. Where can we find all the tags like {PHP.usr.profile.user_avatar}?
ghfhgj ghjk

]]>
Za, 21 Feb 2015 06:12:41 -0000
Kort Listing all of them is one hell of a job!]]> Thu, 11 Feb 2010 04:19:19 -0000 pieter
Only question is. Where can we find all the tags like {PHP.usr.profile.user_avatar}?
Is there a complete list?]]>
Thu, 11 Feb 2010 04:13:47 -0000
scriptor Merci]]> Thu, 11 Feb 2010 03:32:00 -0000 Kort
<!-- IF {PHP.usr.profile.user_avatar} -->
	<img src=https://www.cotonti.com/"{PHP.usr.profile.user_avatar}" alt="{PHP.L.Avatar}" />
<!-- ELSE -->
	<img src=https://www.cotonti.com/"datas/defaultav/blank.png" alt="{PHP.L.Avatar}" />
<!-- ENDIF -->
]]>
Thu, 11 Feb 2010 03:10:35 -0000
3axap Thu, 11 Feb 2010 03:03:18 -0000 scriptor Find:
$t->assign(array (
			"HEADER_USER_NAME" => $usr['name'],
			"HEADER_USER_ADMINPANEL" => $out['adminpanel'],
			"HEADER_USER_LOGINOUT" => $out['loginout'],
			"HEADER_USER_PROFILE" => $out['profile'],
			"HEADER_USER_PMS" => $out['pms'],
			"HEADER_USER_PFS" => $out['pfs'],
			"HEADER_USER_PMREMINDER" => $out['pmreminder'],
			"HEADER_USER_MESSAGES" => $usr['messages']
		));

And Change it with:
$sql = sed_sql_query("SELECT * from sed_users WHERE user_id='".$usr['id']."' LIMIT 1");
		$row = sed_sql_fetcharray($sql);
		
		$t->assign(array (
			"HEADER_USER_NAME" => $usr['name'],
			"HEADER_USER_ADMINPANEL" => $out['adminpanel'],
			"HEADER_USER_LOGINOUT" => $out['loginout'],
			"HEADER_USER_PROFILE" => $out['profile'],
			"HEADER_USER_PMS" => $out['pms'],
			"HEADER_USER_PFS" => $out['pfs'],
			"HEADER_USER_PMREMINDER" => $out['pmreminder'],
			"HEADER_USER_MESSAGES" => $usr['messages'],
			"HEADER_USER_AVATAR" => $row['user_avatar']
		));

Then You can use {HEADER_USER_AVATAR} in your header.tpl :)]]>
Thu, 11 Feb 2010 02:37:00 -0000