hey just added the code above and it doesn't work well
it links to other user gallery.
i did everything good, im sure of it
here's the code of my includes/page_header.php
$site_template->register_vars(array(
"media_url" => MEDIA_PATH,
"url_show_user_images" => $site_sess->url(ROOT_PATH."search.php?search_user=".urlencode($user_info['user_name'])),
"lang_show_user_images" => $lang['user_images'],
"thumb_url" => THUMB_PATH,
"icon_url" => ICON_PATH,
and the code from templates/yourtemplate/user_logininfo.html
» <a href="{url_show_user_images}">{lang_show_user_images}</a><br />
» <a href="{url_lightbox}">{lang_lightbox}</a><br />
i also added the $lang['user_images'] = "My images";
just before the ?>
what's wrong with it?