At first I thought your answer was a bit short, because I have looked at the pageheader/ pagefooter sections LOTS before. But you forced me to go back and re-examine them. After much study I have succeeded. I am posting my findings for others. This may be already posted elsewhere but I could not find it, so here it goes.
Step 1:
I added the following sections to the pageheader
$template_user_information
& '{USER_INFO}' => $template_user_information,
function pageheader($section, $meta = '')
{
global $CONFIG, $THEME_DIR;
global $template_header, $lang_charset, $lang_text_dir, $template_user_information;
$custom_header = cpg_get_custom_include($CONFIG['custom_header_path']);
header('P3P: CP="CAO DSP COR CURa ADMa DEVa OUR IND PHY ONL UNI COM NAV INT DEM PRE"');
user_save_profile();
$template_vars = array('{LANG_DIR}' => $lang_text_dir,
'{TITLE}' => $CONFIG['gallery_name'] . ' - ' . strip_tags(bb_decode($section)),
'{CHARSET}' => $CONFIG['charset'] == 'language file' ? $lang_charset : $CONFIG['charset'],
'{META}' => $meta,
'{GAL_NAME}' => $CONFIG['gallery_name'],
'{GAL_DESCRIPTION}' => $CONFIG['gallery_description'],
'{SYS_MENU}' => theme_main_menu('sys_menu'),
'{SUB_MENU}' => theme_main_menu('sub_menu'),
'{ADMIN_MENU}' => theme_admin_mode_menu(),
'{CUSTOM_HEADER}' => $custom_header,
'{USER_INFO}' => $template_user_information,
);
echo template_eval($template_header, $template_vars);
}
Step 2.
I wrote the HTML template for the {Token}
// HTML template for the user information
$template_user_information = <<<EOT
<!-- BEGIN user information -->
<b>Place user information here.</b>
<!-- END user information -->
EOT;
Step 3.
I added the {Token} as part of the template.html file.
<table class="maintable" width="150">
<tr>
<td class="tableh1">
User Information
</td>
<tr>
<td class="menutable">
{USER_INFO}
</td>
</tr>
</table>
I hope that helps. What you put in there is up to you.