Thread: Major Additions - vS-Interactive Profiles
View Single Post
  #526  
Old 01-17-2008, 02:03 PM
rbrashear68 rbrashear68 is offline
 
Join Date: Nov 2007
Location: N.E. Texas
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Here it is. I hope I was supposed to include the whole thing Thank you!

1st Half
Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<if condition="$userinfo['iprof_css'] AND !isset($_REQUEST['no_css'])">
<style type="text/css">
<!--
$userinfo[iprof_css]
-->
</style>
</if>
<style type="text/css">
#additionalinfo_list, #membergroups_list { margin-top: 0px; margin-bottom: 0px; }
#additionalinfo_list dd, #membergroups_list dd { margin: 0px 0px $stylevar[cellpadding]px 0px; }
</style>
<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>
</head>
<body>
<if condition="$userinfo['iprof_isprivate']"><div align="center" style="color: red; background-color: white; border: 1px solid black; padding:2px; margin: 0 0 1px 0">$vbphrase[iprof_alert_profile_is_private]</div></if>
$header
$navbar

<!-- main info - avatar, profilepic etc. -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat">$vbphrase[view_profile]<span class="normal">: $userinfo[username]</span></td>
</tr>
<tr>
	<td class="alt2">
		<table cellpadding="0" cellspacing="0" border="0" width="100%">
		<tr>
			<td style="border-bottom:1px solid $stylevar[tborder_bgcolor]" width="100%" colspan="2">			
				<if condition="$userinfo['rank'] OR $userinfo['reputationdisplay']">
					<div style="float:$stylevar[right]; padding:4px">
						<if condition="$userinfo['rank']"><div align="center">$userinfo[rank]</div></if>
						<if condition="$userinfo['reputationdisplay']"><div align="center">$userinfo[reputationdisplay]</div></if>
					</div>
				</if>			
				<div class="bigusername">$userinfo[musername] $userinfo[onlinestatus]</div>
				<if condition="$userinfo['usertitle']"><div class="smallfont">$userinfo[usertitle]</div></if>
			</td>
			
		</tr>
		<tr valign="top">
			<if condition="$show['avatar']">
				<td><img src="$userinfo[avatarurl]" $userinfo[avatarsize] alt="<phrase 1="$userinfo[username]">$vbphrase[xs_avatar]</phrase>" border="0" style="border:1px solid $stylevar[tborder_bgcolor]; border-top:none" /></td>
			<else />
				<td>&nbsp;</td>
			</if>
			<td class="smallfont" valign="bottom" align="$stylevar[right]">
				<if condition="$show['lastactivity']">
					<div>$vbphrase[last_activity]: $userinfo[lastactivitydate] <span class="time">$userinfo[lastactivitytime]</span>&nbsp;</div>
				</if>
				<if condition="$show['currentlocation']">
					<div>$userinfo[action] $userinfo[where]<if condition="$show['detailedtime']"> - <else /> @ </if> $userinfo[time]&nbsp;</div>
				</if>
			</td>
		</tr>
		</table>
	</td>
</tr>
</table>
<!-- / main info - avatar, profilepic etc. -->

$template_hook[memberinfo_pos1]

<!-- button row -->
<if condition="$show['profilelinks']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
	<if condition="$userinfo['showvcard']">
		<td class="vbmenu_control"><a href="member.php?$session[sessionurl]do=vcard&amp;u=$userinfo[userid]" rel="nofollow">$vbphrase[download_vcard]</a></td>
	</if>
	<if condition="$show['member']">
	<td class="vbmenu_control">
		<if condition="$show['addbuddylist']">
		<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_buddy_list]</phrase></a>
		<else />
		<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=buddy&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_buddylist]</phrase></a>
		</if>
	</td>
	<td class="vbmenu_control">
		<if condition="$show['addignorelist']">
		<a href="profile.php?$session[sessionurl]do=addlist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[add_x_to_ignore_list]</phrase></a>
		<else />
		<a href="profile.php?$session[sessionurl]do=removelist&amp;userlist=ignore&amp;u=$userinfo[userid]"><phrase 1="$userinfo[username]">$vbphrase[remove_x_from_your_ignorelist]</phrase></a>
		</if>
	</td>
	</if>
	<if condition="can_moderate()">
		<td class="vbmenu_control"><a href="moderator.php?$session[sessionurl]do=useroptions&amp;u=$userinfo[userid]">$vbphrase[user_options]</a></td>
	</if>
	<if condition="$show['giveinfraction']">
	   <td class="vbmenu_control"><a href="infraction.php?$session[sessionurl]do=report&amp;u=$userinfo[userid]">$vbphrase[give_infraction]</a></td>
	</if>
</tr>
</table>
</if>
<!-- / button row -->

<br />

$template_hook[memberinfo_pos2]

<if condition="$show['infractions']">
<!-- infractions row -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="tcat" colspan="$colspan"><span style="float:$stylevar[right]" class="smallfont"><phrase 1="$userinfo[ipoints]">$vbphrase[x_points_total]</phrase>&nbsp; &nbsp;</span>$vbphrase[infractions]</td>
</tr>
<tr>
	<td class="thead">&nbsp;</td>
	<td class="thead">$vbphrase[post]</td>
	<td class="thead">$vbphrase[date]</td>
	<td class="thead">$vbphrase[expires]</td>
	<td class="thead">$vbphrase[points]</td>
	<td class="thead">$vbphrase[reason]</td>
	<td class="thead" nowrap="nowrap">$vbphrase[posted_by]</td>
	<if condition="$show['reverse']"><td class="thead">$vbphrase[details]</td></if>
</tr>
$infractionbits
</table>
<if condition="$pagenav">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin-top:3px">
<tr valign="bottom">
	<td align="$stylevar[right]">$pagenav</td>
</tr>
</table>
</if>
<!-- / infractions row -->
<br />
</if>

$template_hook[memberinfo_pos3]

<if condition="$show['signature']">
<!-- signature row -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
	<td class="thead">$vbphrase[signature]</td>
</tr>
<tr>
	<td class="alt1" title="$vbphrase[signature]">$userinfo[signature]</td>
</tr>
</table>
<!-- START GLOBAL TABLE -->
<table width="100%" cellspacing="0" cellpadding="0">
<tr>
<td width="50%" valign="top" style="padding-right: 3px">
<!-- / START GLOBAL TABLE -->
<!-- / signature row -->
<br />
</if>

$template_hook[memberinfo_pos4]

<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>	
	<td class="tcat">$vbphrase[forum_info]</td>
</tr>
<tr valign="top">

</tr>
<if condition="!$show['popups'] AND $show['iprof_rating']">
<tr>
	<td class="tcat"><a name="goto_memberrating"></a>$vbphrase[iprof_rate_this_member]</td>
</tr>
<tr align="center">

	<td class="panelsurround" align="center">
	<div class="panel">
		<div align="center">
	
		<!-- rate this member -->
		<form action="member.php" method="post">
		<div class="smallfont">
			<input type="hidden" name="s" value="$session[dbsessionhash]" />
			<input type="hidden" name="u" value="$userinfo[userid]" />
			<input type="hidden" name="do" value="rate" />
			<select name="vote" onchange="this.form.submit()" style="width:175px">
				<optgroup label="$vbphrase[choose_a_rating]">
					<option value="5" $voteselected[5]>5 : $vbphrase[excellent]</option>
					<option value="4" $voteselected[4]>4 : $vbphrase[good]</option>
					<option value="3" $voteselected[3]>3 : $vbphrase[average]</option>
					<option value="2" $voteselected[2]>2 : $vbphrase[bad]</option>
					<option value="1" $voteselected[1]>1 : $vbphrase[terrible]</option>
				</optgroup>
			</select>$gobutton
		</div>
		</form>
		<!-- / rate this member -->
		
		</div>
	</div>		
	</td>
</tr>
</if>
<tr>
	<td class="tcat">$vbphrase[contact_info]</td>
</tr>
<tr align="center">	
<td class="panelsurround" align="center">
	<div class="panel">
		<div align="$stylevar[left]">
		
			<div class="fieldset">
				<div style="padding:$stylevar[formspacer]px">
					$vbphrase[join_date]: <strong>$userinfo[datejoined]</strong>
				</div>
			</div>
	<div class="fieldset">
				<div style="padding:$stylevar[formspacer]px">
					$vbphrase[iprof_lastupdate]: <strong>$userinfo[iprof_lastupdate]</strong>
				</div>
			</div>

			<if condition="$show['iprof_rating']">
			<div class="fieldset">
				<div style="padding:$stylevar[formspacer]px">
					<if condition="$show['who_rated_member']"><a href="#" onclick="who_rated_member($userinfo[userid]); return false;">$vbphrase[iprof_rating]</a><else />$vbphrase[iprof_rating]</if>: 
					<div id="memberrating" style="display: inline"><a href="$show[nojs_link]#goto_memberrating" title="<phrase 1="$userinfo[iprof_votenum]" 2="$userinfo[iprof_voteavg]">$vbphrase[iprof_user_rating_x_votes_y_average]</phrase>"><if condition="$userinfo['iprof_rating']"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_$userinfo[iprof_rating].gif" border="0" alt="<phrase 1="$userinfo[iprof_votenum]" 2="$userinfo[iprof_voteavg]">$vbphrase[iprof_user_rating_x_votes_y_average]</phrase>" /><else />$vbphrase[iprof_not_rated]</if></a></div>
					<if condition="$show['popups']"><script type="text/javascript"> vbmenu_register("memberrating"); </script></if>
				</div>
			</div>
			</if>
			
			<div class="fieldset">
				<div style="padding:$stylevar[formspacer]px">
					<if condition="$show['who_viewed_member']"><a href="#" onclick="who_viewed_member($userinfo[userid]); return false;">$vbphrase[iprof_profileviews]</a><else />$vbphrase[iprof_profileviews]</if>: <strong>$userinfo[iprof_profileviews]</strong>
				</div>
			</div>
			
			<fieldset class="fieldset">
				<legend>$vbphrase[posts]</legend>
				<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
				<tr>
					<td>
						$vbphrase[total_posts]: <strong>$userinfo[posts]</strong> (<phrase 1="$postsperday">$vbphrase[x_posts_per_day]</phrase>)
					</td>
				</tr>
				<if condition="$vboptions['profilelastpost']">
				<tr>
					<td>
							$vbphrase[last_post]:<br />
							<a href="$userinfo[lastposturl]">$userinfo[lastposttitle]</a><br />
							$userinfo[lastpostdate] <span class="time">$userinfo[lastposttime]</span>
					</td>
				</tr>
				</if>
				<tr>
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05366 seconds
  • Memory Usage 1,838KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete