Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
  #1  
Old 08-05-2009, 01:15 PM
Winterworks Winterworks is offline
 
Join Date: Feb 2008
Location: Canada
Posts: 640
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Member Profile Blocks...



I have a few questions about this.

1) I'd like to get rid of the box called "Friends" (circled in red), but keep the tab "Friends" (circled in blue).

2) I'd like to make the box that's circled in pink to go as long as the visitors message box does.

3) I'd like to duplicate the box in purple, so there's 4 boxes up there (add another beside the purple one, of the same thing), but call it "Rank", and inside, have written "$prepared['rank']".

Can someone show me how to do this? Or do it for me by updating my code?

MEMBERINFO:
Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude

$usercss
$memberinfo_css
<style type="text/css" id="vbulletin_tabctrl_css">
@import url("clientscript/vbulletin_tabctrl.css?v=$vboptions[simpleversion]");
<if condition="$show['rtl']">@import url("clientscript/vbulletin_tabctrl_rtl.css?v=$vboptions[simpleversion]");</if>
</style>

<script type="text/javascript" src="clientscript/vbulletin_tabctrl.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript" src="clientscript/vbulletin_quick_edit_generic.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript" src="clientscript/vbulletin_quick_edit_visitormessage.js?v=$vboptions[simpleversion]"></script>

<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>

<if condition="$userinfo['userid'] == $bbuserinfo['userid']">
<script type="text/javascript" src="clientscript/vbulletin_profilefield_edit.js?v=$vboptions[simpleversion]"></script>
</if>
<script type="text/javascript">
<!--
vbphrase['server_failed_respond_try_again'] = "$vbphrase[server_failed_respond_try_again]";
vbphrase['edit_value'] = "$vbphrase[edit_value_js]";

<if condition="$show['post_visitor_message']">
function goto_post_pm()
{
	vB_TabCtrls['profile_tabs'].switch_tab('visitor_messaging');
	fetch_object('visitor_messaging').scrollIntoView();

	var textarea = fetch_object('visitor_message_form_textarea');
	if (textarea)
	{
		textarea.focus();
		textarea.select();
	}
	return false;
}
</if>
-->
</script>
</head>
<body>

$header
$navbar

<div id="ecmemberinfo">
<!-- begin user css -->
<div id="usercss" class="floatcontainer">
<div id="content_container">
	<div id="content">
		<div id="main_userinfo" class="floatcontainer">
			<table cellpadding="0" cellspacing="0" border="0" width="100%">
			<tr>
				<if condition="$blocks['profile_picture']">
					<td id="ecprofilepic" class="tborder alt2">$blocks[profile_picture]
                                          <else />
                                        <td id="ecprofilepic" class="tborder alt2"><img src="images/misc/ecprofiledef.png">
                                </if>
                                  <if condition="$show['edit_profile']"><if condition="$bbuserinfo[userid] == $userinfo[userid]"><br /><a href="profile.php?do=editprofilepic">Update Picture</a></if>
                                  </if>
                </div>
</td>
				<td valign="top" width="100%" id="username_box"<if condition="$prepared['profilepicurl']"> class="profilepic_adjacent"</if>>

<table align="center">
<tr>
<td>
					<h1 style="display:inline;">$prepared[musername]</h1>
<!--BEGIN VB STATUS-->
<if condition="$vbulletin->options['vbstatus_active']">

	<em id="vbstatus_$userinfo[userid]">
	$userinfo[vbstatus_status]
	<if condition="$bbuserinfo['userid']==$userinfo['userid'] OR $vbstatus_isadmin==1">
		<if condition="$vbulletin->options['vbstatus_inline']">
			<a href="javascript:Att_AjaxDiv('inline=1&userid=$userinfo[userid]&postid=$userinfo[userid]','vbstatus/vbstatus_ajax.php','vbstatus_$userinfo[userid]')">Edit</a>

		<else />
			<a href="javascript:Att_Ajax('userid=$userinfo[userid]&postid=$userinfo[userid]','vbstatus/vbstatus_ajax.php')">Edit</a>
		</if>
	
	</if>	
	</em>
</if>
<!--END VB STATUS-->
($prepared[onlinestatus])
<br />
					<if condition="$prepared['usertitle']">
<font size="1px">
						<font size="1px"><div style="display:inline;"><strong>Title:</strong> $prepared[usertitle]</div></font> |
					</if>

<div style="display:inline;"><strong>$vbphrase[join_date]:</strong></div>
				$prepared[joindate]
<br />

						  <if condition="$prepared['lastactivitydate']">
							<div id="last_online" style="display:inline;">
								<font size="1px"><span><strong>$vbphrase[last_activity]:</strong></span> $prepared[lastactivitydate]<if condition="!$show['detailedtime']"> <span>$prepared[lastactivitytime]</span></if></font>
							</div> 
						</if>

						<if condition="$prepared['action']">
							| <font size="1px"><span style="display:inline;"><strong>$vbphrase[current_activity]:</strong></span> $prepared[action] $prepared[where]</font>
						</if>

















<br /><br /><br />

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="140px" align="left" style="margin-right: 10px;">
<tr><td class="tcat" colspan="5">
<div class="smallfont"><b><center>Forum Post Count</center></b></div>
</td></tr>
<tr align="center"><td class="alt2"><font size="3">$userinfo[posts]</font></td></tr></table>

<if condition="$userinfo[totalpoints]">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="140px" align="left" style="margin-right: 10px;">
<tr><td class="tcat" colspan="5">
<div class="smallfont"><b><center>Profile Views</center></b></div>
</td></tr>
<tr align="center"><td class="alt2"><font size="3">$prepared[profilevisits]</font></td></tr></table>

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="140px" align="left">
<tr><td class="tcat" colspan="5">
<div class="smallfont"><b><center>vbBux</center></b></div>
</td></tr>
<tr align="center"><td class="alt2"><font size="3">$userinfo[totalpoints]</font></td></tr></table>
<else />

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="140px" align="left" style="margin-right: 10px;">
<tr><td class="tcat" colspan="5">
<div class="smallfont"><b><center>Member Number</center></b></div>
</td></tr>
<tr align="center"><td class="alt2"><font size="3">$userinfo[userid]</font></td></tr></table>


<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="140px" align="left">
<tr><td class="tcat" colspan="5">
<div class="smallfont"><b><center>Profile Views</center></b></div>
</td></tr>
<tr align="center"><td class="alt2"><font size="3">$prepared[profilevisits]</font></td></tr></table>

</if>


</tr>
</td>
</table>
				</td>
			</tr>
			</table>

			<!-- link bar -->
			<div class="tborder content_block" id="link_bar">
				<ul class="thead block_row block_title list_no_decoration floatcontainer">
					<if condition="$prepared['myprofile']">
						<if condition="$show['can_customize_profile']">
							<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a></li>
						</if>
					<else />
						<if condition="$show['usercss_switch']">
							<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=switchusercss&hash=$bbuserinfo[logouthash]&u=$prepared[userid]">$usercss_switch_phrase</a></li>
						</if>
					</if>

					<if condition="$show['contactlinks']">
						<li class="thead" id="minicontact"><a href="#contactinfo">$vbphrase[send_message]</a> <script type="text/javascript">vBmenu.register("minicontact");</script></li>
					</if>

					<if condition="$show['userlists']">
						<li class="thead" id="userlists"><a href="profile.php?$session[sessionurl]do=buddylist&nojs=1">$vbphrase[user_lists]</a> <script type="text/javascript">vBmenu.register("userlists");</script></li>
					</if>

					<if condition="$show['usernotes']">
						<li class="thead"><a href="usernote.php?$session[sessionurl]u=$prepared[userid]">$vbphrase[user_notes] ($prepared[usernotecount])</a></li>
					</if>

					<if condition="$show['edit_profile']">
						<li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
					</if>
<!-- Start Admin Log In As User -->
$admin_log_in_as_user_link
<!-- End Admin Log In As User -->
				</ul>
			</div>
$blocks[visitors]
			<!-- / link bar -->



			<!-- user list menu -->
			<ul id="userlists_menu" class="vbmenu_popup list_no_decoration" style="display: none">
				<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[user_lists]</phrase></li>
				<if condition="$prepared['canbefriend']">
					<li class="vbmenu_option">
						<a href="profile.php?$session[sessionurl]do=addlist&userlist=friend&u=$prepared[userid]"><if condition="$prepared['requestedfriend']">$vbphrase[confirm_friendship_request]<else />$vbphrase[add_to_friends_list]</if></a>
					</li>
				</if>
				<if condition="$prepared['isfriend']">
					<li class="vbmenu_option">
						<a href="profile.php?$session[sessionurl]do=removelist&userlist=friend&u=$prepared[userid]">$vbphrase[remove_from_friends_list]</a>
					</li>
				</if>
				<if condition="$show['addbuddylist']">
					<li class="vbmenu_option">
						<a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$prepared[userid]">$vbphrase[add_to_contacts]</a>
					</li>
				</if>
				<if condition="$show['removebuddylist']">
					<li class="vbmenu_option">
						<a href="profile.php?$session[sessionurl]do=removelist&userlist=buddy&u=$prepared[userid]">$vbphrase[remove_from_contacts]</a>
					</li>
				</if>
				<if condition="$show['addignorelist']">
					<li class="vbmenu_option">
						<a href="profile.php?$session[sessionurl]do=addlist&userlist=ignore&u=$prepared[userid]">$vbphrase[add_to_ignore_list]</a>
					</li>
				</if>
				<if condition="$show['removeignorelist']">
					<li class="vbmenu_option">
						<a href="profile.php?$session[sessionurl]do=removelist&userlist=ignore&u=$prepared[userid]">$vbphrase[remove_from_ignore_list]</a>
					</li>
				</if>
			</ul>

			<if condition="$show['contactlinks']">
			<!-- contact popup menu -->
			<ul id="minicontact_menu" class="vbmenu_popup list_no_decoration" style="display:none">
				<if condition="$show['post_visitor_message'] OR $show['pm'] OR $show['email']">
					<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[send_message_to_x]</phrase></li>
				</if>
				<if condition="$show['post_visitor_message']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="visitormessage.php?$session[sessionurl]do=message&u=$prepared[userid]" onClick="return goto_post_pm();"><phrase 1="$prepared[username]">$vbphrase[post_a_visitor_message_for_x]</phrase></a></li></if>
				<if condition="$show['pm']">
					<li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="private.php?$session[sessionurl]do=newpm&u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_private_message_to_x]</phrase></a></li>
				</if>
				<if condition="$blocks['contactinfo']">
				<if condition="$show['email']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_message_via_email_to_x]</phrase></a></li></if>
				<if condition="$prepared['hasimdetails']">
					<li class="thead<if condition="!$show['post_visitor_message'] AND !$show['pm'] AND !$show['email']"> first</if>">$vbphrase[instant_messaging]</li>
					<if condition="$prepared['icq']">
						<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_icq.gif" />  <a href="#" dir="ltr" onClick="imwindow('icq', '$prepared[userid]', 500, 450); return false;"><phrase 1="$prepared[username]">$vbphrase[send_icq_message_to_x]</phrase></a></li>
					</if>
					<if condition="$prepared['aim']">
						<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_aim.gif" /> <a href="#" dir="ltr" onClick="imwindow('aim', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_aim_message_to_x]</phrase></a></li>
					</if>
					<if condition="$prepared['msn']">
						<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_msn.gif" /> <a href="#" dir="ltr" onClick="imwindow('msn', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_msn_message_to_x]</phrase></a></li>
					</if>
					<if condition="$prepared['yahoo']">
						<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_yahoo.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onClick="imwindow('yahoo', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_yahoo_message_to_x]</phrase></a></li>
					</if>
					<if condition="$prepared['skype']">
						<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onClick="imwindow('skype', '$prepared[userid]', 400, 285); return false;"><phrase 1="$prepared[username]">$vbphrase[send_skype_message_to_x]</phrase></a></li>
					</if>
				</if>
				</if>
			</ul>
			<!-- / contact popup menu -->
			</if>
	</div>

	<div id="profile_tabs">
		$template_hook[profile_left_first]
		$blocks[visitor_messaging]
		$blocks[aboutme]
		$blocks[stats]
		$blocks[friends]
		$blocks[infractions]
		$blocks[contactinfo]
	$blocks[albums]
	$blocks[groups]
		$template_hook[profile_left_last]
	</div>

	<script type="text/javascript">
	<!--
	vBulletin.register_control("vB_TabCtrl", "profile_tabs", "$selected_tab", "&raquo;", "profile.php?u=2&do=loadtab&tabid={1:tabid}");
	//-->
	</script>
</div>
</div>
<div id="sidebar_container">
	<!-- sidebar -->
	$template_hook[profile_right_mini]
	$blocks[friends_mini]
	$template_hook[profile_right_album]
	$template_hook[profile_right_last]
	<!-- / sidebar -->
</div>
<!-- end usercss -->
</div>
</div>

$footer

</body>
</html>
Reply With Quote
  #2  
Old 08-05-2009, 01:37 PM
Winterworks Winterworks is offline
 
Join Date: Feb 2008
Location: Canada
Posts: 640
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I did some of it..



Code:
$stylevar[htmldoctype]
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude

$usercss
$memberinfo_css
<style type="text/css" id="vbulletin_tabctrl_css">
@import url("clientscript/vbulletin_tabctrl.css?v=$vboptions[simpleversion]");
<if condition="$show['rtl']">@import url("clientscript/vbulletin_tabctrl_rtl.css?v=$vboptions[simpleversion]");</if>
</style>

<script type="text/javascript" src="clientscript/vbulletin_tabctrl.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript" src="clientscript/vbulletin_quick_edit_generic.js?v=$vboptions[simpleversion]"></script>
<script type="text/javascript" src="clientscript/vbulletin_quick_edit_visitormessage.js?v=$vboptions[simpleversion]"></script>

<title>$vboptions[bbtitle] - $vbphrase[view_profile]: $userinfo[username]</title>

<if condition="$userinfo['userid'] == $bbuserinfo['userid']">
<script type="text/javascript" src="clientscript/vbulletin_profilefield_edit.js?v=$vboptions[simpleversion]"></script>
</if>
<script type="text/javascript">
<!--
vbphrase['server_failed_respond_try_again'] = "$vbphrase[server_failed_respond_try_again]";
vbphrase['edit_value'] = "$vbphrase[edit_value_js]";

<if condition="$show['post_visitor_message']">
function goto_post_pm()
{
	vB_TabCtrls['profile_tabs'].switch_tab('visitor_messaging');
	fetch_object('visitor_messaging').scrollIntoView();

	var textarea = fetch_object('visitor_message_form_textarea');
	if (textarea)
	{
		textarea.focus();
		textarea.select();
	}
	return false;
}
</if>
-->
</script>
</head>
<body>

$header
$navbar

<div id="ecmemberinfo">
<!-- begin user css -->
<div id="usercss" class="floatcontainer">
<div id="content_container">
	<div id="content">
		<div id="main_userinfo" class="floatcontainer">
			<table cellpadding="0" cellspacing="0" border="0" width="100%">
			<tr>
				<if condition="$blocks['profile_picture']">
					<td id="ecprofilepic" class="tborder alt2">$blocks[profile_picture]
                                          <else />
                                        <td id="ecprofilepic" class="tborder alt2"><img src="images/misc/ecprofiledef.png">
                                </if>
                                  <if condition="$show['edit_profile']"><if condition="$bbuserinfo[userid] == $userinfo[userid]"><br /><a href="profile.php?do=editprofilepic">Update Picture</a></if>
                                  </if>
                </div>
</td>
				<td valign="top" width="100%" id="username_box"<if condition="$prepared['profilepicurl']"> class="profilepic_adjacent"</if>>

<table align="center">
<tr>
<td>
					<h1 style="display:inline;">$prepared[musername]</h1>
<!--BEGIN VB STATUS-->
<if condition="$vbulletin->options['vbstatus_active']">

	<em id="vbstatus_$userinfo[userid]">
	$userinfo[vbstatus_status]
	<if condition="$bbuserinfo['userid']==$userinfo['userid'] OR $vbstatus_isadmin==1">
		<if condition="$vbulletin->options['vbstatus_inline']">
			<a href="javascript:Att_AjaxDiv('inline=1&userid=$userinfo[userid]&postid=$userinfo[userid]','vbstatus/vbstatus_ajax.php','vbstatus_$userinfo[userid]')">Edit</a>

		<else />
			<a href="javascript:Att_Ajax('userid=$userinfo[userid]&postid=$userinfo[userid]','vbstatus/vbstatus_ajax.php')">Edit</a>
		</if>
	
	</if>	
	</em>
</if>
<!--END VB STATUS-->
($prepared[onlinestatus])
<br />
					<if condition="$prepared['usertitle']">
<font size="1px">
						<font size="1px"><div style="display:inline;"><strong>Title:</strong> $prepared[usertitle]</div></font> |
					</if>

<div style="display:inline;"><strong>$vbphrase[join_date]:</strong></div>
				$prepared[joindate]
<br />

						  <if condition="$prepared['lastactivitydate']">
							<div id="last_online" style="display:inline;">
								<font size="1px"><span><strong>$vbphrase[last_activity]:</strong></span> $prepared[lastactivitydate]<if condition="!$show['detailedtime']"> <span>$prepared[lastactivitytime]</span></if></font>
							</div> 
						</if>

						<if condition="$prepared['action']">
							| <font size="1px"><span style="display:inline;"><strong>$vbphrase[current_activity]:</strong></span> $prepared[action] $prepared[where]</font>
						</if>

















<br /><br /><br />

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="140px" align="left" style="margin-right: 10px;">
<tr><td class="tcat" colspan="5">
<div class="smallfont"><b><center>Forum Post Count</center></b></div>
</td></tr>
<tr align="center"><td class="alt2"><font size="3">$userinfo[posts]</font></td></tr></table>

<if condition="$userinfo[totalpoints]">
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="140px" align="left" style="margin-right: 10px;">
<tr><td class="tcat" colspan="5">
<div class="smallfont"><b><center>Profile Views</center></b></div>
</td></tr>
<tr align="center"><td class="alt2"><font size="3">$prepared[profilevisits]</font></td></tr></table>

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="140px" align="left">
<tr><td class="tcat" colspan="5">
<div class="smallfont"><b><center>vbBux</center></b></div>
</td></tr>
<tr align="center"><td class="alt2"><font size="3">$userinfo[totalpoints]</font></td></tr></table>
<else />

<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="140px" align="left" style="margin-right: 10px;">
<tr><td class="tcat" colspan="5">
<div class="smallfont"><b><center>Member Number</center></b></div>
</td></tr>
<tr align="center"><td class="alt2"><font size="3">$userinfo[userid]</font></td></tr></table>


<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="140px" align="left">
<tr><td class="tcat" colspan="5">
<div class="smallfont"><b><center>Profile Views</center></b></div>
</td></tr>
<tr align="center"><td class="alt2"><font size="3">$prepared[profilevisits]</font></td></tr></table>




<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="140px" align="left">
<tr><td class="tcat" colspan="5">
<div class="smallfont"><b><center>Rank</center></b></div>
</td></tr>
<tr align="center"><td class="alt2"><font size="3">$prepared[rank]</font></td></tr></table>
</table>
</if>


</tr>
</td>
</table>
				</td>
			</tr>
			</table>

			<!-- link bar -->
			<div class="tborder content_block" id="link_bar">
				<ul class="thead block_row block_title list_no_decoration floatcontainer">
					<if condition="$prepared['myprofile']">
						<if condition="$show['can_customize_profile']">
							<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=customize">$vbphrase[customize_profile]</a></li>
						</if>
					<else />
						<if condition="$show['usercss_switch']">
							<li class="thead" id="usercss_switch_link"><a href="profile.php?$session[sessionurl]do=switchusercss&hash=$bbuserinfo[logouthash]&u=$prepared[userid]">$usercss_switch_phrase</a></li>
						</if>
					</if>

					<if condition="$show['contactlinks']">
						<li class="thead" id="minicontact"><a href="#contactinfo">$vbphrase[send_message]</a> <script type="text/javascript">vBmenu.register("minicontact");</script></li>
					</if>

					<if condition="$show['userlists']">
						<li class="thead" id="userlists"><a href="profile.php?$session[sessionurl]do=buddylist&nojs=1">$vbphrase[user_lists]</a> <script type="text/javascript">vBmenu.register("userlists");</script></li>
					</if>

					<if condition="$show['usernotes']">
						<li class="thead"><a href="usernote.php?$session[sessionurl]u=$prepared[userid]">$vbphrase[user_notes] ($prepared[usernotecount])</a></li>
					</if>

					<if condition="$show['edit_profile']">
						<li class="thead"><a href="moderator.php?$session[sessionurl]do=useroptions&u=$userinfo[userid]">$vbphrase[edit_user_profile]</a></li>
					</if>
<!-- Start Admin Log In As User -->
$admin_log_in_as_user_link
<!-- End Admin Log In As User -->
				</ul>
			</div>
$blocks[visitors]
			<!-- / link bar -->



			<!-- user list menu -->
			<ul id="userlists_menu" class="vbmenu_popup list_no_decoration" style="display: none">
				<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[user_lists]</phrase></li>
				<if condition="$prepared['canbefriend']">
					<li class="vbmenu_option">
						<a href="profile.php?$session[sessionurl]do=addlist&userlist=friend&u=$prepared[userid]"><if condition="$prepared['requestedfriend']">$vbphrase[confirm_friendship_request]<else />$vbphrase[add_to_friends_list]</if></a>
					</li>
				</if>
				<if condition="$prepared['isfriend']">
					<li class="vbmenu_option">
						<a href="profile.php?$session[sessionurl]do=removelist&userlist=friend&u=$prepared[userid]">$vbphrase[remove_from_friends_list]</a>
					</li>
				</if>
				<if condition="$show['addbuddylist']">
					<li class="vbmenu_option">
						<a href="profile.php?$session[sessionurl]do=addlist&userlist=buddy&u=$prepared[userid]">$vbphrase[add_to_contacts]</a>
					</li>
				</if>
				<if condition="$show['removebuddylist']">
					<li class="vbmenu_option">
						<a href="profile.php?$session[sessionurl]do=removelist&userlist=buddy&u=$prepared[userid]">$vbphrase[remove_from_contacts]</a>
					</li>
				</if>
				<if condition="$show['addignorelist']">
					<li class="vbmenu_option">
						<a href="profile.php?$session[sessionurl]do=addlist&userlist=ignore&u=$prepared[userid]">$vbphrase[add_to_ignore_list]</a>
					</li>
				</if>
				<if condition="$show['removeignorelist']">
					<li class="vbmenu_option">
						<a href="profile.php?$session[sessionurl]do=removelist&userlist=ignore&u=$prepared[userid]">$vbphrase[remove_from_ignore_list]</a>
					</li>
				</if>
			</ul>

			<if condition="$show['contactlinks']">
			<!-- contact popup menu -->
			<ul id="minicontact_menu" class="vbmenu_popup list_no_decoration" style="display:none">
				<if condition="$show['post_visitor_message'] OR $show['pm'] OR $show['email']">
					<li class="thead first"><phrase 1="$prepared[username]">$vbphrase[send_message_to_x]</phrase></li>
				</if>
				<if condition="$show['post_visitor_message']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="visitormessage.php?$session[sessionurl]do=message&u=$prepared[userid]" onClick="return goto_post_pm();"><phrase 1="$prepared[username]">$vbphrase[post_a_visitor_message_for_x]</phrase></a></li></if>
				<if condition="$show['pm']">
					<li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="private.php?$session[sessionurl]do=newpm&u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_private_message_to_x]</phrase></a></li>
				</if>
				<if condition="$blocks['contactinfo']">
				<if condition="$show['email']"><li class="vbmenu_option"><img src="$stylevar[imgdir_button]/sendtofriend.gif" alt="" class="alt2 inlineimg" /> <a href="sendmessage.php?$session[sessionurl]do=mailmember&u=$prepared[userid]" rel="nofollow"><phrase 1="$prepared[username]">$vbphrase[send_message_via_email_to_x]</phrase></a></li></if>
				<if condition="$prepared['hasimdetails']">
					<li class="thead<if condition="!$show['post_visitor_message'] AND !$show['pm'] AND !$show['email']"> first</if>">$vbphrase[instant_messaging]</li>
					<if condition="$prepared['icq']">
						<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_icq.gif" />  <a href="#" dir="ltr" onClick="imwindow('icq', '$prepared[userid]', 500, 450); return false;"><phrase 1="$prepared[username]">$vbphrase[send_icq_message_to_x]</phrase></a></li>
					</if>
					<if condition="$prepared['aim']">
						<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_aim.gif" /> <a href="#" dir="ltr" onClick="imwindow('aim', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_aim_message_to_x]</phrase></a></li>
					</if>
					<if condition="$prepared['msn']">
						<li class="vbmenu_option"><img class="alt2 inlineimg" alt="" src="$stylevar[imgdir_misc]/im_msn.gif" /> <a href="#" dir="ltr" onClick="imwindow('msn', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_msn_message_to_x]</phrase></a></li>
					</if>
					<if condition="$prepared['yahoo']">
						<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_yahoo.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onClick="imwindow('yahoo', '$prepared[userid]', 400, 200); return false;"><phrase 1="$prepared[username]">$vbphrase[send_yahoo_message_to_x]</phrase></a></li>
					</if>
					<if condition="$prepared['skype']">
						<li class="vbmenu_option"><img src="$stylevar[imgdir_misc]/im_skype.gif" alt="" class="alt2 inlineimg" /> <a href="#" dir="ltr" onClick="imwindow('skype', '$prepared[userid]', 400, 285); return false;"><phrase 1="$prepared[username]">$vbphrase[send_skype_message_to_x]</phrase></a></li>
					</if>
				</if>
				</if>
			</ul>
			<!-- / contact popup menu -->
			</if>
	</div>

	<div id="profile_tabs">
		$template_hook[profile_left_first]
		$blocks[visitor_messaging]
		$blocks[aboutme]
		$blocks[stats]
		$blocks[friends]
		$blocks[infractions]
		$blocks[contactinfo]
	$blocks[albums]
	$blocks[groups]
		$template_hook[profile_left_last]
	</div>

	<script type="text/javascript">
	<!--
	vBulletin.register_control("vB_TabCtrl", "profile_tabs", "$selected_tab", "&raquo;", "profile.php?u=2&do=loadtab&tabid={1:tabid}");
	//-->
	</script>
</div>
</div>












<!-- end usercss -->
</div>
</div>

$footer

</body>
</html>
I just have a new problem now. That Rank box is below the others for some weird reason.. Can anyone help?
Reply With Quote
  #3  
Old 08-05-2009, 02:19 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd guess it is below the others because you have set the width of the box and it doesn't fit. Look at the css controling the width and change it.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:05 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03844 seconds
  • Memory Usage 2,270KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (3)post_thanks_box
  • (3)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit_info
  • (3)postbit
  • (3)postbit_onlinestatus
  • (3)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete