i'm trying to view more informations in the memberlist.php viewprofile case.
i edited the
core.memberlist_view_profile
and core.memberlist_modify_view_profile_template_vars
and assigned to the $template_ary
2 more values:so now in the array
$template_ary
, making a var_dump()
i have something like:
Code: Select all
["S_CUSTOM_FIELDS"]=> bool(false) ["U_USER_ADMIN"]=> string(90) "./adm/index.php?i=users&mode=overview&u=2&sid=bee7fa15b9ab64a12b9315f9297cbda1" ["U_USER_BAN"]=> string(0) "" ["U_MCP_QUEUE"]=> string(58) "./mcp.php?i=queue&sid=bee7fa15b9ab64a12b9315f9297cbda1" ["U_SWITCH_PERMISSIONS"]=> string(0) "" ["U_EDIT_SELF"]=> string(45) "./ucp.php?i=ucp_profile&mode=profile_info" ["S_USER_NOTES"]=> bool(true) ["S_WARN_USER"]=> bool(true) ["S_ZEBRA"]=> bool(false) ["U_ADD_FRIEND"]=> string(30) "./ucp.php?i=zebra&add=test" ["U_ADD_FOE"]=> string(44) "./ucp.php?i=zebra&mode=foes&add=test" ["U_REMOVE_FRIEND"]=> string(0) "" ["U_REMOVE_FOE"]=> string(0) "" ["U_CANONICAL"]=> string(68) "http://localhost/test/phpBB3/memberlist.php?mode=viewprofile&u=2" ["USER_DONATORE_CHE"]=> string(1) "1" ["USER_LOGO_DONATORE"]=> string(1) "0"
memberlist_view_non_contact_custom_fields_before
if i write:
{U_CANONICAL}
it appears http://localhost/test/phpBB3/memberlist.php?mode=viewprofile&u=2
if i write
{USER_DONATORE_CHE}
it doesn't appears nothing...i expected to appear 1
but it doesn't...why