https://www.icyphoenix.com/viewtopic.php?f=36&t=8671&p=56654#p56654 ----------------------------------- juggalo_master Thu 06 Sep, 2012 07:24 Re: Need Help Adding Link Variables ----------------------------------- [quote user="mort" post="56652"]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:[/quote] thanks, i am not use to phpbb i am use to smf so i am still learning with phpbb and icy phoenix. can you also show me how to get the post count and user count and total topics count for template to show up? somewhat like this: [code] Our users have posted a total of 28 articles Total posts 19 • Total topics 19 [/code] and i know the total posts and topics is from phpbb but i want to do something similar but with icyphoenix style of posts and topics.