echo '<p>' . __sp('Contact') . ' ' . $spProfileUser->display_name . '<br /><hr>';
sp_ProfileShowAIM('', __sp('AOL IM ID'));
sp_ProfileShowYIM('', __sp('Yahoo IM ID'));
sp_ProfileShowMSN('', __sp('MSN ID'));
sp_ProfileShowICQ('', __sp('ICQ ID'));
sp_ProfileShowGoogleTalk('', __sp('Google Talk ID'));
sp_ProfileShowSkype('', __sp('Skype ID'));
sp_ProfileShowMySpace('', __sp('MySpace ID'));
sp_ProfileShowFacebook('', __sp('Facebook ID'));
sp_ProfileShowTwitter('', __sp('Twitter ID'));
sp_ProfileShowLinkedIn('', __sp('LinkedIn ID'));
sp_ProfileShowYouTube('', __sp('YouTube ID'));
sp_ProfileShowEmail('', __sp('Email'));
if (function_exists('sp_ProfileSendPm')) {
    sp_ProfileSendPm('', __sp('Private Message'), __sp('Send PM'));
}
sp_ColumnEnd('', 'profileIdentities');
# show user stats
sp_ColumnStart('tagClass=spProfileShowStatsSection spRight&width=45%', 'profileStats');
echo '<p>' . $spProfileUser->display_name . ' ' . __sp('Statistics') . '<br /><hr>';
sp_ProfileShowMemberSince('', __sp('Member Since'));
sp_ProfileShowLastVisit('', __sp('Last Visited'));
sp_ProfileShowUserPosts('', __sp('Posts'));
sp_ProfileShowSearchPosts('', __sp('Search User Posts'), __sp('Topics Started'), __sp('Topics Posted In'));
sp_ColumnEnd('', 'profileStats');
sp_SectionEnd('tagClass=spClear', 'profileDetails');
# output some options
sp_SectionStart('tagClass=spPlainSection spCenter', 'profileSignature');
sp_ProfileShowLink('tagClass=spButton', __sp('View Full Profile for %USER%'));
sp_SectionEnd('', 'profileSignature');
sp_SectionEnd('tagClass=spClear', 'profileShow');
Example #2
0
# --------------------------------------------------------------------------------------
#
#	Simple:Press Template
#	Theme		:	Barebones
#	Template	:	profile popup show
#	Author		:	Simple:Press
#
#	The 'profile-show' template is used to display a user profile in a popup
#
# --------------------------------------------------------------------------------------
global $spDevice;
sp_SectionStart('tagClass=spProfileShowSection spCenter', 'profileShow');
# output header displaying profile display name
sp_SectionStart('tagClass=spProfileShowHeaderSection spCenter', 'profileHeader');
sp_ProfileShowHeader('tagClass=spProfileShowHeader spCenter&onlineStatus=0', __sp('%USER%'));
sp_ProfileShowLink('tagClass=spButton spProfileShowHeaderEdit spCenter', __sp('(View Full Profile)'));
sp_SectionEnd('', 'profileHeader');
sp_InsertBreak();
# output section for basic user info
sp_SectionStart('tagClass=spProfileShowBasicSection', 'profileBasic');
# show avatar and rank
sp_SectionStart('tagClass=spProfileShowInfoSection spLeft', 'profileAvatarRank');
sp_SectionStart('tagClass=spPlainSection spCenter', '');
sp_UserAvatar('context=user&link=', $spProfileUser);
sp_UserForumRank('', $spProfileUser->rank);
sp_UserSpecialRank('', $spProfileUser->special_rank);
if (function_exists('sp_UserReputationLevel')) {
    sp_UserReputationLevel('', $spProfileUser);
}
sp_SectionEnd();
sp_SectionEnd('', 'profileAvatarRank');