https://www.icyphoenix.com/viewtopic.php?f=36&t=8671&p=56652#p56652 ----------------------------------- mort Thu 06 Sep, 2012 04:12 Re: Need Help Adding Link Variables ----------------------------------- Then you want something like this. [b][i](You will need to move things around, and add permissions and markup etc.)[/i][/b] :P [spoiler][code linenumbers=false]

{AVATAR_IMG}

 {U_NAME_LINK}
 {LAST_VISIT_DATE} {PRIVATE_MESSAGE_INFO}
  Quick {L_LOGIN_LOGOUT}:  {L_USERNAME}:     {L_PASSWORD}:       {L_AUTO_LOGIN}    
[/code][/spoiler] Open forum.php [spoiler][code linenumbers=false] Find: $template->assign_vars(array( 'TOTAL_POSTS' => sprintf($l_total_post_s, $total_posts), Before Add: // Check For Anonymous User if ($user->data['user_id'] != ANONYMOUS) { $name_link = colorize_username($user->data['user_id'], $user->data['username'], $user->data['user_color'], $user->data['user_active']); $avatar_img = user_get_avatar($user->data['user_id'], $user->data['user_level'], $user->data['user_avatar'], $user->data['user_avatar_type'], $user->data['user_allowavatar']); } else { $name_link = $lang['Guest']; $avatar_img = ''; } $template->assign_vars(array( 'U_NAME_LINK' => $name_link, ) ); [/code][/spoiler] Now you can see what I meant about not ALL vars are global. I also don't know why you don't make a copy of the CMS user block with a new ID and use that with your own template file. That's why it's a CMS! :mryellow: