تبلیغات در اینترنت

تبلیغات در اینترنتگیفت کارت گوگل پلی
صفحه 4 از 4 نخستنخست 1234
نمایش نتایج: از 31 به 34 از 34

موضوع: آموزش قرار دادن درجات کاربری در پروفایل کاربر

  1. Top | #31
    مدیریت کل سایت

    تاریخ عضویت
    Aug 2009
    ورژن ویبولتین
    4.2.2
    نوشته ها
    21,685
    مورد پسند
    54,809 بار
    نوشته های وبلاگ
    14
    اطلاعات
    میزان امتیاز
    3117

    پیش فرض

    یک قالب دیفالت بسازید ببینید میاد ؟




  2. گیفت کارت آیتونز

  3. Top | #32
    کاربر اخراجی

    تاریخ عضویت
    Dec 2011
    ورژن ویبولتین
    4.1.5
    نوشته ها
    238
    مورد پسند
    94 بار
    اطلاعات
    میزان امتیاز
    0

    پیش فرض

    خیر رو قالب دیفالت هم به همین صورته!! کلا به صورت پیشفرض متغییرش نیست برای من

    الان چطوری باید متغیرش رو اضافه کنم ؟وکجا باید اضافه کرد؟

  4. Top | #33
    مدیریت کل سایت

    تاریخ عضویت
    Aug 2009
    ورژن ویبولتین
    4.2.2
    نوشته ها
    21,685
    مورد پسند
    54,809 بار
    نوشته های وبلاگ
    14
    اطلاعات
    میزان امتیاز
    3117

    پیش فرض

    برادر شما برو توی جستجوی قالب MEMBERINFO رو سرچ کن هر چی توش بود تغییر بده به :

    کد:
    {vb:stylevar htmldoctype}<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
    <head>
    	{vb:raw headinclude}
    	<title>{vb:rawphrase view_profile}: {vb:raw prepared.username} - {vb:raw vboptions.bbtitle}</title>
    	<vb:if condition="$userinfo['userid'] == $bbuserinfo['userid']">
    		<script type="text/javascript">
    		vbphrase['edit_value_js'] = "{vb:rawphrase edit_value_js}";
    		vbphrase['server_failed_respond_try_again'] = "{vb:rawphrase server_failed_respond_try_again}";
    		</script>
    		<script type="text/javascript" src="clientscript/vbulletin_profilefield_edit.js?v={vb:raw vboptions.simpleversion}"></script>
    	</vb:if>
    	<script type="text/javascript" src="clientscript/vbulletin_quick_edit_generic.js?v={vb:raw vboptions.simpleversion}"></script>
    	<script type="text/javascript" src="clientscript/vbulletin_quick_edit_visitormessage.js?v={vb:raw vboptions.simpleversion}"></script>
    	<script type="text/javascript">
    
    
    	<!--
    	var isIE7 = navigator.userAgent.toLowerCase().indexOf('msie 7') != -1;
    	var isIE = navigator.userAgent.toLowerCase().indexOf('msie') != -1;
    	var isIE6 = navigator.userAgent.toLowerCase().indexOf('msie 6') != -1;
    
    
    	vB_XHTML_Ready.subscribe(init_PostBits_Lite);
    
    
    	function init_PostBits_Lite()
    	{
    		var postbits = YAHOO.util.Dom.getElementsByClassName("postbit_lite", "li", "postlist");
    		for (var i = 0; i < postbits.length; i++)
    		{
    			new PostBit_Lite(postbits[i]);
    		}
    	}
    
    
    	function PostBit_Lite(postbit)
    	{
    		this.postbit = YAHOO.util.Dom.get(postbit);
    		this.postid = postbit.id.substr("piccom_".length);
    		this.inlinemod = new InlineModControl(this.postbit, this.postid, "imodsel");
    	}
    
    
    	function getParentElement(starterElement, classPattern, testTagName) {
    		var currElement = starterElement;
    		var foundElement = null;
    		while(!foundElement && (currElement = currElement.parentNode)) {
    			if ((classPattern && (currElement.className.indexOf(classPattern) != -1)) || (testTagName && (testTagName.toLowerCase() == currElement.tagName.toLowerCase()))) 
    			{
    				foundElement = currElement;
    			}
    		}
    		//go up the parentNode tree until found element with matching className
    		return foundElement;
    	}
    
    
    	//getParentElement
    	function tabViewPicker(anchorObject) {
    		var clickedTabId = null;
    		var tabtree = getParentElement(anchorObject,"tabslight");
    		var anchorInventory = tabtree.getElementsByTagName("a");
    
    
    		var tabIds = [];
    		for (var i=0; (currAnchor = anchorInventory[i]); i++) {
    			var anchorId = currAnchor.href.substring(currAnchor.href.indexOf("#") + 1, currAnchor.href.length);
    			var parentDd = getParentElement(currAnchor,null,"dd");
    			if (currAnchor == anchorObject) {
    				clickedTabId = anchorId;
    				parentDd.className = "userprof_module";
    			}
    			else
    			{
    				parentDd.className = "userprof_moduleinactive";
    			}
    			tabIds.push(anchorId);
    		}
    	
    		//loop thru anchors to gather all tab IDs and set appropriate selected status
    		for (var j=0; (currTabId = tabIds[j]); j++) {
    			var elem = document.getElementById("view-" + currTabId);
    			if (!elem) {continue;}
    			if (currTabId == clickedTabId) {
    				//elem.className="selected_view_section";
    				YAHOO.util.Dom.replaceClass(elem, "view_section", "selected_view_section");
    			}
    			else
    			{
    				//elem.className="view_section";
    				YAHOO.util.Dom.replaceClass(elem, "selected_view_section", "view_section");
    			}
    		}
    
    
    		//set appropriate status on all tabs.
    		return false;
    	}
    	//-->
        </script>
    
    
    	<vb:if condition="$show['post_visitor_message']">
    		<script type="text/javascript">
    		<!--
    		function goto_post_pm()
    		{
    			tabViewPicker(document.getElementById('visitor_messaging-tab'));
    			fetch_object('view-visitor_messaging').scrollIntoView();
    
    
    			var textarea = fetch_object('visitor_message_form_textarea');
    			if (textarea)
    			{
    				textarea.focus();
    				textarea.select();
    			}
    			return false;
    		}
    		//-->
    		</script>
    	</vb:if>
    
    
    	<vb:if condition="$show_customize_profile">
    		<script type="text/javascript">
    			{vb:raw themes_js}
    			var yuipath = '{vb:stylevar yuipath}';
    		</script>
    		<!-- for yui style picker: --> 
    		<link rel="stylesheet" type="text/css" href="{vb:stylevar yuipath}/slider/assets/skins/sam/slider.css"/>
    		<link rel="stylesheet" type="text/css" href="{vb:stylevar yuipath}/colorpicker/assets/skins/sam/colorpicker.css"/> 
    		<link rel="stylesheet" type="text/css" href="{vb:stylevar yuipath}/container/assets/skins/sam/container.css"/> 
    		<script type="text/javascript" src="{vb:stylevar yuipath}/utilities/utilities.js"></script>
    		<script type="text/javascript" src="{vb:stylevar yuipath}/dragdrop/dragdrop-min.js"></script>
    		<script type="text/javascript" src="{vb:stylevar yuipath}/element/element-min.js"></script>
    		<script type="text/javascript" src="{vb:stylevar yuipath}/slider/slider-min.js"></script>
    		<script type="text/javascript" src="{vb:stylevar yuipath}/colorpicker/colorpicker-min.js"></script>
    		<script type="text/javascript" src="{vb:stylevar yuipath}/container/container-min.js"></script>
    		<script type="text/javascript" src="{vb:stylevar yuipath}/animation/animation-min.js"></script>
    		<script type="text/javascript" src="{vb:stylevar yuipath}/json/json-min.js"></script>
    		<script type="text/javascript" src="clientscript/vbulletin_userprofile.js?v={vb:raw vboptions.simpleversion}"></script>
    	</vb:if>
    
    
    	<vb:if condition="$vboptions['storecssasfile']">
    		{vb:cssfile memberinfo-rollup.css}
    	<vb:else />
    		{vb:cssfile sidebar.css,forumbits.css,postbit.css,postbit-lite.css,showthread.css,member.css,user{vb:raw userinfo.userid}}
    	</vb:if>
    
    
    	<style type="text/css">{vb:raw template_hook.memberinfo_css}</style>
    
    
    	<!--[if lt IE 8]>{vb:cssfile sidebar-ie.css,member-ie.css,postbit-lite-ie.css}<![endif]-->
    
    
    	<vb:comment>
    	If the member has a custom theme, and we are actually displaying it
    	then load additional.css before the theme, otherwise load it afterwards.
    	</vb:comment>
    
    
    	<vb:if condition="$show['userhastheme'] AND $show['showusercss']">
    		{vb:raw headinclude_bottom}
    		<link rel="stylesheet" type="text/css" href="css.php?userid={vb:raw show_userid}&amp;cssuid={vb:raw show.cssuid}&amp;d={vb:raw timenow}&amp;td={vb:stylevar textdirection}&amp;styleid={vb:raw session.styleid}&amp;sheet=userprofile.css" />
    	<vb:else />
    		<link rel="stylesheet" type="text/css" href="css.php?userid={vb:raw show_userid}&amp;cssuid={vb:raw show.cssuid}&amp;d={vb:raw timenow}&amp;td={vb:stylevar textdirection}&amp;styleid={vb:raw session.styleid}&amp;sheet=userprofile.css" />
    		{vb:raw headinclude_bottom}
    	</vb:if>
    </head>
    
    
    <body>
    	{vb:raw header}
    	{vb:raw navbar}
    	{vb:raw memberinfo_customize}
    	<div class="member_content userprof fullwidth" style="display:block;float:{vb:stylevar left}" id="member_content">
    		<div class="profile_widgets member_summary userprof_moduleinactive userprof_moduleinactive_border<vb:if condition="$stylevar['textdirection'] == 'ltr'"> sidebarleft</vb:if>" id="sidebar_container">
    			<div class="block mainblock moduleinactive_bg">
    				<h1 class="blocksubhead prof_blocksubhead">
    					<vb:if condition="$show['edit_profile']">
    						<a href="moderator.php?{vb:raw session.sessionurl}do=useroptions&amp;u={vb:raw userinfo.userid}" class="textcontrol imagecontrol"><img src="{vb:stylevar imgdir_button}/edit_40b.png" alt="{vb:rawphrase edit_user_profile}" /></a>
    					</vb:if>
    					<span id="userinfo">
    						<span class="member_username">{vb:raw prepared.musername}</span>
    						<span class="member_status">{vb:raw prepared.onlinestatus}</span>
    						<vb:if condition="$prepared['usertitle']">
    							<br />
    							<span class="usertitle">{vb:raw prepared.usertitle}</span>
    						</vb:if>
    						<vb:if condition="$prepared['rank']">
    							<br />
    							<span class="rank">{vb:raw prepared.rank}</span>
    						</vb:if>
    						<vb:if condition="$show['reputation']">
    							<br />
    							<span class="member_reputation" title="{vb:raw prepared.username} {vb:raw prepared.level}">
    								<vb:each from="reputationdisplay" value="row">
    									<img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend}
    								</vb:each>
    							</span>
    							<br />
    						</vb:if>
    					</span>
    				</h1>
    				<div id="userinfoblock" class="floatcontainer">
    					{vb:raw blocks.profile_picture}
    					<ul id="usermenu" class="usermenu">
    						<vb:if condition="$prepared['canbefriend']">
    							<li><a href="profile.php?{vb:raw session.sessionurl}do=addlist&amp;userlist=friend&amp;u={vb:raw prepared.userid}"><img src="{vb:stylevar imgdir_siteicons}/add.png" alt="{vb:rawphrase add_as_friend}" class="inlineimg" /> {vb:rawphrase add_as_friend}</a></li>
    						</vb:if>
    						<vb:if condition="$show['contactlinks'] AND $show['pmlink']">
    							<li><a href="private.php?{vb:raw session.sessionurl}do=newpm&amp;u={vb:raw prepared.userid}"><img src="{vb:stylevar imgdir_siteicons}/message.png" alt="{vb:rawphrase send_private_message}" class="inlineimg" /> {vb:rawphrase send_private_message}</a></li>
    						</vb:if>
    						<vb:if condition="$show['email']">
    							<li>
    								<a href="sendmessage.php?{vb:raw session.sessionurl}do=mailmember&amp;u={vb:raw prepared.userid}"><img src="{vb:stylevar imgdir_siteicons}/email.png" alt="{vb:rawphrase email}" class="inlineimg" /> {vb:rawphrase send_email}</a>
    							</li>
    							<vb:if condition="is_browser('safari')">&nbsp;</vb:if>
    						</vb:if>
    						<vb:if condition="$prepared['homepage']">
    							<li>
    								<a href="{vb:raw prepared.homepage}"><img src="{vb:stylevar imgdir_siteicons}/homepage.png" alt="{vb:rawphrase home_page}" class="inlineimg" /> {vb:rawphrase home_page}</a>
    							</li>
    						</vb:if>
    						<vb:if condition="$show['addignorelist']">
    							<li>
    								<a href="profile.php?{vb:raw session.sessionurl}do=addlist&amp;userlist=ignore&amp;u={vb:raw prepared.userid}"><img src="{vb:stylevar imgdir_siteicons}/ignore.png" alt="{vb:rawphrase add_to_ignore_list}" class="inlineimg" /> {vb:rawphrase add_to_ignore_list}</a>
    							</li>
    						</vb:if>
    						<vb:if condition="$show['removeignorelist']">
    							<li>
    								<a href="profile.php?{vb:raw session.sessionurl}do=removelist&amp;userlist=ignore&amp;u={vb:raw prepared.userid}"><img src="{vb:stylevar imgdir_siteicons}/ignore.png" alt="{vb:rawphrase remove_from_ignore_list}" class="inlineimg" /> {vb:rawphrase remove_from_ignore_list}</a>
    							</li>
    						</vb:if>
    						<vb:if condition="$show['usernotes']">
    							<li>
    								<a href="usernote.php?{vb:raw session.sessionurl}u={vb:raw prepared.userid}"><img src="{vb:stylevar imgdir_siteicons}/note.png" alt="{vb:rawphrase user_notes}" class="inlineimg" /> {vb:rawphrase user_notes} ({vb:raw prepared.usernotecount})</a>
    							</li>
    						</vb:if>
    						<li><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw userinfo.userid}&amp;contenttype=vBForum_Post&amp;showposts=1"><img src="{vb:stylevar imgdir_siteicons}/forum.png" alt="{vb:rawphrase find_all_posts}" class="inlineimg" /> {vb:rawphrase find_all_posts}</a></li>
    						<li><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw userinfo.userid}&amp;starteronly=1&amp;contenttype=vBForum_Thread"><img src="{vb:stylevar imgdir_siteicons}/forum.png" alt="{vb:rawphrase find_all_started_threads}" class="inlineimg" /> {vb:rawphrase find_all_started_threads}</a></li>
    						<vb:if condition="$show['viewarticles']">
    							<li><a href="{vb:raw$ author_list_url}" rel='nofollow'><img src="{vb:stylevar imgdir_siteicons}/article.png" class="inlineimg" alt="" /> {vb:rawphrase view_articles}</a></li>
    						</vb:if>
    						<vb:if condition="$show['viewblog']">
    							<li><a href="{vb:raw $vboptions.vbblog_url}{vb:if "$vboptions['vbblog_url']", '/', ''}blog.php?{vb:raw session.sessionurl}u={vb:raw userinfo.userid}" rel='nofollow'><img src="{vb:stylevar imgdir_siteicons}/blog.png" class="inlineimg" alt="" /> {vb:rawphrase view_blog_entries}</a></li>
    						</vb:if>
    						<vb:if condition="$show['view_conversation']">
    							<li>
    								<a href="converse.php?{vb:raw session.sessionurl}u={vb:raw userinfo.userid}&amp;u2={vb:raw bbuserinfo.userid}"><img src="{vb:stylevar imgdir_siteicons}/forum.png" alt="{vb:rawphrase view_conversations}" class="inlineimg" /> {vb:rawphrase view_conversations}</a>
    							</li>
    						</vb:if>
    					</ul>
    				</div>
    			</div>
    		  <vb:comment>sidebar</vb:comment>
    		  {vb:raw template_hook.profile_sidebar_first}
    		  {vb:raw blocks.stats_mini}
    		  {vb:raw template_hook.profile_sidebar_stats}
    		  {vb:raw blocks.friends_mini}
    		  {vb:raw template_hook.profile_sidebar_friends}
    		  {vb:raw blocks.albums}
    		  {vb:raw template_hook.profile_sidebar_albums}
    		  {vb:raw blocks.groups}
    		  {vb:raw template_hook.profile_sidebar_groups}
    		  {vb:raw blocks.visitors}
    		  {vb:raw template_hook.profile_sidebar_last}
    		  <vb:comment>sidebar</vb:comment>
    		</div>
    		<div class="member_tabs<vb:if condition="$stylevar['textdirection'] == 'ltr'"> contentright</vb:if>" id="userprof_content_container">
    
    
    			<div class="tabbackground" id="profile_tabs">
    				<div class="floatleft" id="tab_container">
    					<dl class="tabslight">
    						<dt>Tab Content</dt>
    						{vb:raw template_hook.profile_tabs_first}
    						<vb:if condition="$blocks[visitor_messaging]"><dd <vb:if condition="$selected_tab == 'visitor_messaging'"> class="userprof_module"<vb:elseif condition="$selected_tab == '' AND $show['post_visitor_message']" /> class="userprof_module" <vb:else /> class="userprof_moduleinactive" </vb:if>><a id="visitor_messaging-tab" href="{vb:link member, {vb:raw userinfo}, "tab=visitor_messaging"}#visitor_messaging" onclick="return tabViewPicker(this);">{vb:rawphrase visitor_messages_tab}</a></dd></vb:if>
    						<dd<vb:if condition="$selected_tab == 'aboutme'"> class="userprof_module"<vb:elseif condition="$selected_tab == '' AND !$show['post_visitor_message']" /> class="userprof_module" <vb:else /> class="userprof_moduleinactive" </vb:if>><a id="aboutme-tab" href="{vb:link member, {vb:raw userinfo}, "tab=aboutme"}#aboutme" onclick="return tabViewPicker(this);">{vb:rawphrase about_me}</a></dd>
    						<vb:if condition="$blocks[friends]"><dd<vb:if condition="$selected_tab == 'friends'"> class="userprof_module" <vb:else /> class="userprof_moduleinactive"</vb:if>><a id="friends-tab" href="{vb:link member, {vb:raw userinfo}, "tab=friends"}#friends-content" onclick="return tabViewPicker(this);">{vb:rawphrase friends}</a></dd></vb:if>
    						<vb:if condition="$blocks[infractions]"><dd<vb:if condition="$selected_tab == 'infractions'"> class="userprof_module" <vb:else /> class="userprof_moduleinactive" </vb:if>><a id="infractions-tab" href="{vb:link member, {vb:raw userinfo}, "tab=infractions"}#infractions-content" onclick="return tabViewPicker(this);">{vb:rawphrase infractions}</a></dd></vb:if>
    						{vb:raw template_hook.profile_tabs_last}
    					</dl>
    				</div>
    				<vb:if condition="$show_customize_profile">
    					<button class="floatright userprof_button hidden" id="profile_customization_button"><img src="{vb:stylevar imgdir_misc}/userprofile/paintbucket_icon.png" alt=""/>&nbsp;{vb:rawphrase customize_my_profile}</button>
    				<vb:else />
    					<vb:if condition="$show['userhastheme']">
    						<form action="{vb:link member, {vb:raw userinfo}}" method="get" id="profile_swap_form" class="floatright">
    							<input type="hidden" name="do" value="swapcss" />
    							<input type="hidden" name="u" value="{vb:raw prepared.userid}" />
    							<input type="hidden" name="token" value="{vb:raw bbuserinfo.securitytoken}" />
    							<input type="submit" tabindex="1" name="swapcss" value="{vb:raw usercss_switch_phrase}" class="userprof_button" id="profile_swap_button" />
    						</form>
    					</vb:if>
    				</vb:if>
    				<div class="memberprofiletabunder"></div>
    			</div>
    
    
    			<div class="profile_content userprof">
    				<div id="view-visitor_messaging" class="<vb:if condition="$selected_tab == 'visitor_messaging'">selected_view_section<vb:elseif condition="$selected_tab == '' AND $show['post_visitor_message']" />selected_view_section<vb:else />view_section</vb:if><vb:if condition="$userinfo['userid'] != $bbuserinfo['userid']"> vm_other_prof</vb:if>">
    					{vb:raw blocks.visitor_messaging}
    				</div>
    				<div id="view-aboutme" class="<vb:if condition="$selected_tab == 'aboutme'">selected_view_section<vb:elseif condition="$selected_tab == '' AND !$show['post_visitor_message']" />selected_view_section<vb:else />view_section</vb:if>">
    					{vb:raw blocks.aboutme}
    					{vb:raw blocks.contactinfo}
    					{vb:raw blocks.stats}
    				</div>
    				<div id="view-friends-content" class="<vb:if condition="$selected_tab == 'friends'">selected_view_section<vb:else />view_section</vb:if>">
    					{vb:raw blocks.friends}
    				</div>
    				<div id="view-infractions-content" class="<vb:if condition="$selected_tab == 'infractions'">selected_view_section<vb:else />view_section</vb:if>">
    					{vb:raw blocks.infractions}
    				</div>
    				{vb:raw template_hook.profile_tabs}
    			</div>
    		</div>
    	</div>
    	{vb:raw footer}
    </body>
    </html>
    اگر درست نشد با این جایگزین کن :

    کد:
    {vb:stylevar htmldoctype}<html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
    <head>
    	{vb:raw headinclude}
    	<title>{vb:rawphrase view_profile}: {vb:raw prepared.username} - {vb:raw vboptions.bbtitle}</title>
    	<vb:if condition="$userinfo['userid'] == $bbuserinfo['userid']">
    		<script type="text/javascript">
    		vbphrase['edit_value_js'] = "{vb:rawphrase edit_value_js}";
    		vbphrase['server_failed_respond_try_again'] = "{vb:rawphrase server_failed_respond_try_again}";
    		</script>
    		<script type="text/javascript" src="clientscript/vbulletin_profilefield_edit.js?v={vb:raw vboptions.simpleversion}"></script>
    	</vb:if>
    	<script type="text/javascript" src="clientscript/vbulletin_quick_edit_generic.js?v={vb:raw vboptions.simpleversion}"></script>
    	<script type="text/javascript" src="clientscript/vbulletin_quick_edit_visitormessage.js?v={vb:raw vboptions.simpleversion}"></script>
    	<script type="text/javascript">
    
    
    	<!--
    	var isIE7 = navigator.userAgent.toLowerCase().indexOf('msie 7') != -1;
    	var isIE = navigator.userAgent.toLowerCase().indexOf('msie') != -1;
    	var isIE6 = navigator.userAgent.toLowerCase().indexOf('msie 6') != -1;
    
    
    	vB_XHTML_Ready.subscribe(init_PostBits_Lite);
    
    
    	function init_PostBits_Lite()
    	{
    		var postbits = YAHOO.util.Dom.getElementsByClassName("postbit_lite", "li", "postlist");
    		for (var i = 0; i < postbits.length; i++)
    		{
    			new PostBit_Lite(postbits[i]);
    		}
    	}
    
    
    	function PostBit_Lite(postbit)
    	{
    		this.postbit = YAHOO.util.Dom.get(postbit);
    		this.postid = postbit.id.substr("piccom_".length);
    		this.inlinemod = new InlineModControl(this.postbit, this.postid, "imodsel");
    	}
    
    
    	function getParentElement(starterElement, classPattern, testTagName) {
    		var currElement = starterElement;
    		var foundElement = null;
    		while(!foundElement && (currElement = currElement.parentNode)) {
    			if ((classPattern && (currElement.className.indexOf(classPattern) != -1)) || (testTagName && (testTagName.toLowerCase() == currElement.tagName.toLowerCase()))) 
    			{
    				foundElement = currElement;
    			}
    		}
    		//go up the parentNode tree until found element with matching className
    		return foundElement;
    	}
    
    
    	//getParentElement
    	function tabViewPicker(anchorObject) {
    		var clickedTabId = null;
    		var tabtree = getParentElement(anchorObject,"tabslight");
    		var anchorInventory = tabtree.getElementsByTagName("a");
    
    
    		var tabIds = [];
    		for (var i=0; (currAnchor = anchorInventory[i]); i++) {
    			var anchorId = currAnchor.href.substring(currAnchor.href.indexOf("#") + 1, currAnchor.href.length);
    			var parentDd = getParentElement(currAnchor,null,"dd");
    			if (currAnchor == anchorObject) {
    				clickedTabId = anchorId;
    				parentDd.className = "userprof_module";
    			}
    			else
    			{
    				parentDd.className = "userprof_moduleinactive";
    			}
    			tabIds.push(anchorId);
    		}
    	
    		//loop thru anchors to gather all tab IDs and set appropriate selected status
    		for (var j=0; (currTabId = tabIds[j]); j++) {
    			var elem = document.getElementById("view-" + currTabId);
    			if (!elem) {continue;}
    			if (currTabId == clickedTabId) {
    				//elem.className="selected_view_section";
    				YAHOO.util.Dom.replaceClass(elem, "view_section", "selected_view_section");
    			}
    			else
    			{
    				//elem.className="view_section";
    				YAHOO.util.Dom.replaceClass(elem, "selected_view_section", "view_section");
    			}
    		}
    
    
    		//set appropriate status on all tabs.
    		return false;
    	}
    	//-->
        </script>
    
    
    	<vb:if condition="$show['post_visitor_message']">
    		<script type="text/javascript">
    		<!--
    		function goto_post_pm()
    		{
    			tabViewPicker(document.getElementById('visitor_messaging-tab'));
    			fetch_object('view-visitor_messaging').scrollIntoView();
    
    
    			var textarea = fetch_object('visitor_message_form_textarea');
    			if (textarea)
    			{
    				textarea.focus();
    				textarea.select();
    			}
    			return false;
    		}
    		//-->
    		</script>
    	</vb:if>
    
    
    	<vb:if condition="$show_customize_profile">
    		<script type="text/javascript">
    			{vb:raw themes_js}
    			var yuipath = '{vb:stylevar yuipath}';
    		</script>
    		<!-- for yui style picker: --> 
    		<link rel="stylesheet" type="text/css" href="{vb:stylevar yuipath}/slider/assets/skins/sam/slider.css"/>
    		<link rel="stylesheet" type="text/css" href="{vb:stylevar yuipath}/colorpicker/assets/skins/sam/colorpicker.css"/> 
    		<link rel="stylesheet" type="text/css" href="{vb:stylevar yuipath}/container/assets/skins/sam/container.css"/> 
    		<script type="text/javascript" src="{vb:stylevar yuipath}/utilities/utilities.js"></script>
    		<script type="text/javascript" src="{vb:stylevar yuipath}/dragdrop/dragdrop-min.js"></script>
    		<script type="text/javascript" src="{vb:stylevar yuipath}/element/element-min.js"></script>
    		<script type="text/javascript" src="{vb:stylevar yuipath}/slider/slider-min.js"></script>
    		<script type="text/javascript" src="{vb:stylevar yuipath}/colorpicker/colorpicker-min.js"></script>
    		<script type="text/javascript" src="{vb:stylevar yuipath}/container/container-min.js"></script>
    		<script type="text/javascript" src="{vb:stylevar yuipath}/animation/animation-min.js"></script>
    		<script type="text/javascript" src="{vb:stylevar yuipath}/json/json-min.js"></script>
    		<script type="text/javascript" src="clientscript/vbulletin_userprofile.js?v={vb:raw vboptions.simpleversion}"></script>
    	</vb:if>
    
    
    	<vb:if condition="$vboptions['storecssasfile']">
    		{vb:cssfile memberinfo-rollup.css}
    	<vb:else />
    		{vb:cssfile sidebar.css,forumbits.css,postbit.css,postbit-lite.css,showthread.css,member.css,user{vb:raw userinfo.userid}}
    	</vb:if>
    
    
    	<style type="text/css">{vb:raw template_hook.memberinfo_css}</style>
    
    
    	<!--[if lt IE 8]>{vb:cssfile sidebar-ie.css,member-ie.css,postbit-lite-ie.css}<![endif]-->
    
    
    	<vb:comment>
    	If the member has a custom theme, and we are actually displaying it
    	then load additional.css before the theme, otherwise load it afterwards.
    	</vb:comment>
    
    
    	<vb:if condition="$show['userhastheme'] AND $show['showusercss']">
    		{vb:raw headinclude_bottom}
    		<link rel="stylesheet" type="text/css" href="css.php?userid={vb:raw show_userid}&amp;cssuid={vb:raw show.cssuid}&amp;d={vb:raw timenow}&amp;td={vb:stylevar textdirection}&amp;styleid={vb:raw session.styleid}&amp;sheet=userprofile.css" />
    	<vb:else />
    		<link rel="stylesheet" type="text/css" href="css.php?userid={vb:raw show_userid}&amp;cssuid={vb:raw show.cssuid}&amp;d={vb:raw timenow}&amp;td={vb:stylevar textdirection}&amp;styleid={vb:raw session.styleid}&amp;sheet=userprofile.css" />
    		{vb:raw headinclude_bottom}
    	</vb:if>
    </head>
    
    
    <body>
    	{vb:raw header}
    	{vb:raw navbar}
    	{vb:raw memberinfo_customize}
    	<div class="member_content userprof fullwidth" style="display:block;float:{vb:stylevar left}" id="member_content">
    		<div class="profile_widgets member_summary userprof_moduleinactive userprof_moduleinactive_border<vb:if condition="$stylevar['textdirection'] == 'ltr'"> sidebarleft</vb:if>" id="sidebar_container">
    			<div class="block mainblock moduleinactive_bg">
    				<h1 class="blocksubhead prof_blocksubhead">
    					<vb:if condition="$show['edit_profile']">
    						<a href="moderator.php?{vb:raw session.sessionurl}do=useroptions&amp;u={vb:raw userinfo.userid}" class="textcontrol imagecontrol"><img src="{vb:stylevar imgdir_button}/edit_40b.png" alt="{vb:rawphrase edit_user_profile}" /></a>
    					</vb:if>
    					<span id="userinfo">
    						<span class="member_username">{vb:raw prepared.musername}</span>
    						<span class="member_status">{vb:raw prepared.onlinestatus}</span>
    						<vb:if condition="$prepared['usertitle']">
    							<br />
    							<span class="usertitle">{vb:raw prepared.usertitle}</span>
    						</vb:if>
    							<br />
    							<span class="rank">{vb:raw prepared.rank}</span>
    						<vb:if condition="$show['reputation']">
    							<br />
    							<span class="member_reputation" title="{vb:raw prepared.username} {vb:raw prepared.level}">
    								<vb:each from="reputationdisplay" value="row">
    									<img class="{vb:raw row.class}" src="{vb:stylevar imgdir_reputation}/reputation_{vb:raw row.posneg}{vb:raw row.imgext}" alt="" />{vb:raw row.rowend}
    								</vb:each>
    							</span>
    							<br />
    						</vb:if>
    					</span>
    				</h1>
    				<div id="userinfoblock" class="floatcontainer">
    					{vb:raw blocks.profile_picture}
    					<ul id="usermenu" class="usermenu">
    						<vb:if condition="$prepared['canbefriend']">
    							<li><a href="profile.php?{vb:raw session.sessionurl}do=addlist&amp;userlist=friend&amp;u={vb:raw prepared.userid}"><img src="{vb:stylevar imgdir_siteicons}/add.png" alt="{vb:rawphrase add_as_friend}" class="inlineimg" /> {vb:rawphrase add_as_friend}</a></li>
    						</vb:if>
    						<vb:if condition="$show['contactlinks'] AND $show['pmlink']">
    							<li><a href="private.php?{vb:raw session.sessionurl}do=newpm&amp;u={vb:raw prepared.userid}"><img src="{vb:stylevar imgdir_siteicons}/message.png" alt="{vb:rawphrase send_private_message}" class="inlineimg" /> {vb:rawphrase send_private_message}</a></li>
    						</vb:if>
    						<vb:if condition="$show['email']">
    							<li>
    								<a href="sendmessage.php?{vb:raw session.sessionurl}do=mailmember&amp;u={vb:raw prepared.userid}"><img src="{vb:stylevar imgdir_siteicons}/email.png" alt="{vb:rawphrase email}" class="inlineimg" /> {vb:rawphrase send_email}</a>
    							</li>
    							<vb:if condition="is_browser('safari')">&nbsp;</vb:if>
    						</vb:if>
    						<vb:if condition="$prepared['homepage']">
    							<li>
    								<a href="{vb:raw prepared.homepage}"><img src="{vb:stylevar imgdir_siteicons}/homepage.png" alt="{vb:rawphrase home_page}" class="inlineimg" /> {vb:rawphrase home_page}</a>
    							</li>
    						</vb:if>
    						<vb:if condition="$show['addignorelist']">
    							<li>
    								<a href="profile.php?{vb:raw session.sessionurl}do=addlist&amp;userlist=ignore&amp;u={vb:raw prepared.userid}"><img src="{vb:stylevar imgdir_siteicons}/ignore.png" alt="{vb:rawphrase add_to_ignore_list}" class="inlineimg" /> {vb:rawphrase add_to_ignore_list}</a>
    							</li>
    						</vb:if>
    						<vb:if condition="$show['removeignorelist']">
    							<li>
    								<a href="profile.php?{vb:raw session.sessionurl}do=removelist&amp;userlist=ignore&amp;u={vb:raw prepared.userid}"><img src="{vb:stylevar imgdir_siteicons}/ignore.png" alt="{vb:rawphrase remove_from_ignore_list}" class="inlineimg" /> {vb:rawphrase remove_from_ignore_list}</a>
    							</li>
    						</vb:if>
    						<vb:if condition="$show['usernotes']">
    							<li>
    								<a href="usernote.php?{vb:raw session.sessionurl}u={vb:raw prepared.userid}"><img src="{vb:stylevar imgdir_siteicons}/note.png" alt="{vb:rawphrase user_notes}" class="inlineimg" /> {vb:rawphrase user_notes} ({vb:raw prepared.usernotecount})</a>
    							</li>
    						</vb:if>
    						<li><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw userinfo.userid}&amp;contenttype=vBForum_Post&amp;showposts=1"><img src="{vb:stylevar imgdir_siteicons}/forum.png" alt="{vb:rawphrase find_all_posts}" class="inlineimg" /> {vb:rawphrase find_all_posts}</a></li>
    						<li><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw userinfo.userid}&amp;starteronly=1&amp;contenttype=vBForum_Thread"><img src="{vb:stylevar imgdir_siteicons}/forum.png" alt="{vb:rawphrase find_all_started_threads}" class="inlineimg" /> {vb:rawphrase find_all_started_threads}</a></li>
    						<vb:if condition="$show['viewarticles']">
    							<li><a href="{vb:raw$ author_list_url}" rel='nofollow'><img src="{vb:stylevar imgdir_siteicons}/article.png" class="inlineimg" alt="" /> {vb:rawphrase view_articles}</a></li>
    						</vb:if>
    						<vb:if condition="$show['viewblog']">
    							<li><a href="{vb:raw $vboptions.vbblog_url}{vb:if "$vboptions['vbblog_url']", '/', ''}blog.php?{vb:raw session.sessionurl}u={vb:raw userinfo.userid}" rel='nofollow'><img src="{vb:stylevar imgdir_siteicons}/blog.png" class="inlineimg" alt="" /> {vb:rawphrase view_blog_entries}</a></li>
    						</vb:if>
    						<vb:if condition="$show['view_conversation']">
    							<li>
    								<a href="converse.php?{vb:raw session.sessionurl}u={vb:raw userinfo.userid}&amp;u2={vb:raw bbuserinfo.userid}"><img src="{vb:stylevar imgdir_siteicons}/forum.png" alt="{vb:rawphrase view_conversations}" class="inlineimg" /> {vb:rawphrase view_conversations}</a>
    							</li>
    						</vb:if>
    					</ul>
    				</div>
    			</div>
    		  <vb:comment>sidebar</vb:comment>
    		  {vb:raw template_hook.profile_sidebar_first}
    		  {vb:raw blocks.stats_mini}
    		  {vb:raw template_hook.profile_sidebar_stats}
    		  {vb:raw blocks.friends_mini}
    		  {vb:raw template_hook.profile_sidebar_friends}
    		  {vb:raw blocks.albums}
    		  {vb:raw template_hook.profile_sidebar_albums}
    		  {vb:raw blocks.groups}
    		  {vb:raw template_hook.profile_sidebar_groups}
    		  {vb:raw blocks.visitors}
    		  {vb:raw template_hook.profile_sidebar_last}
    		  <vb:comment>sidebar</vb:comment>
    		</div>
    		<div class="member_tabs<vb:if condition="$stylevar['textdirection'] == 'ltr'"> contentright</vb:if>" id="userprof_content_container">
    
    
    			<div class="tabbackground" id="profile_tabs">
    				<div class="floatleft" id="tab_container">
    					<dl class="tabslight">
    						<dt>Tab Content</dt>
    						{vb:raw template_hook.profile_tabs_first}
    						<vb:if condition="$blocks[visitor_messaging]"><dd <vb:if condition="$selected_tab == 'visitor_messaging'"> class="userprof_module"<vb:elseif condition="$selected_tab == '' AND $show['post_visitor_message']" /> class="userprof_module" <vb:else /> class="userprof_moduleinactive" </vb:if>><a id="visitor_messaging-tab" href="{vb:link member, {vb:raw userinfo}, "tab=visitor_messaging"}#visitor_messaging" onclick="return tabViewPicker(this);">{vb:rawphrase visitor_messages_tab}</a></dd></vb:if>
    						<dd<vb:if condition="$selected_tab == 'aboutme'"> class="userprof_module"<vb:elseif condition="$selected_tab == '' AND !$show['post_visitor_message']" /> class="userprof_module" <vb:else /> class="userprof_moduleinactive" </vb:if>><a id="aboutme-tab" href="{vb:link member, {vb:raw userinfo}, "tab=aboutme"}#aboutme" onclick="return tabViewPicker(this);">{vb:rawphrase about_me}</a></dd>
    						<vb:if condition="$blocks[friends]"><dd<vb:if condition="$selected_tab == 'friends'"> class="userprof_module" <vb:else /> class="userprof_moduleinactive"</vb:if>><a id="friends-tab" href="{vb:link member, {vb:raw userinfo}, "tab=friends"}#friends-content" onclick="return tabViewPicker(this);">{vb:rawphrase friends}</a></dd></vb:if>
    						<vb:if condition="$blocks[infractions]"><dd<vb:if condition="$selected_tab == 'infractions'"> class="userprof_module" <vb:else /> class="userprof_moduleinactive" </vb:if>><a id="infractions-tab" href="{vb:link member, {vb:raw userinfo}, "tab=infractions"}#infractions-content" onclick="return tabViewPicker(this);">{vb:rawphrase infractions}</a></dd></vb:if>
    						{vb:raw template_hook.profile_tabs_last}
    					</dl>
    				</div>
    				<vb:if condition="$show_customize_profile">
    					<button class="floatright userprof_button hidden" id="profile_customization_button"><img src="{vb:stylevar imgdir_misc}/userprofile/paintbucket_icon.png" alt=""/>&nbsp;{vb:rawphrase customize_my_profile}</button>
    				<vb:else />
    					<vb:if condition="$show['userhastheme']">
    						<form action="{vb:link member, {vb:raw userinfo}}" method="get" id="profile_swap_form" class="floatright">
    							<input type="hidden" name="do" value="swapcss" />
    							<input type="hidden" name="u" value="{vb:raw prepared.userid}" />
    							<input type="hidden" name="token" value="{vb:raw bbuserinfo.securitytoken}" />
    							<input type="submit" tabindex="1" name="swapcss" value="{vb:raw usercss_switch_phrase}" class="userprof_button" id="profile_swap_button" />
    						</form>
    					</vb:if>
    				</vb:if>
    				<div class="memberprofiletabunder"></div>
    			</div>
    
    
    			<div class="profile_content userprof">
    				<div id="view-visitor_messaging" class="<vb:if condition="$selected_tab == 'visitor_messaging'">selected_view_section<vb:elseif condition="$selected_tab == '' AND $show['post_visitor_message']" />selected_view_section<vb:else />view_section</vb:if><vb:if condition="$userinfo['userid'] != $bbuserinfo['userid']"> vm_other_prof</vb:if>">
    					{vb:raw blocks.visitor_messaging}
    				</div>
    				<div id="view-aboutme" class="<vb:if condition="$selected_tab == 'aboutme'">selected_view_section<vb:elseif condition="$selected_tab == '' AND !$show['post_visitor_message']" />selected_view_section<vb:else />view_section</vb:if>">
    					{vb:raw blocks.aboutme}
    					{vb:raw blocks.contactinfo}
    					{vb:raw blocks.stats}
    				</div>
    				<div id="view-friends-content" class="<vb:if condition="$selected_tab == 'friends'">selected_view_section<vb:else />view_section</vb:if>">
    					{vb:raw blocks.friends}
    				</div>
    				<div id="view-infractions-content" class="<vb:if condition="$selected_tab == 'infractions'">selected_view_section<vb:else />view_section</vb:if>">
    					{vb:raw blocks.infractions}
    				</div>
    				{vb:raw template_hook.profile_tabs}
    			</div>
    		</div>
    	</div>
    	{vb:raw footer}
    </body>
    </html>

    2 تشکر توسط:


  5. Top | #34
    کاربر اخراجی

    تاریخ عضویت
    Dec 2011
    ورژن ویبولتین
    4.1.5
    نوشته ها
    238
    مورد پسند
    94 بار
    اطلاعات
    میزان امتیاز
    0

    پیش فرض

    خیلی عذر میخوام این کد MEMBERINFO من ، چون تغییر فنت نام کاربری و اضافه کردن بن رو بهش افزوده بودم الان دوباره باید بگردم اموزششون رو پیدا کنم قرار بدم

    نمیشه تو همین قالب زیر برام اضافه کنید؟ خیلی ببخشید انقدر پروگیی میکنم!


    کد:
    {vb:stylevar htmldoctype}
    <html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html">
      <head>
        {vb:raw headinclude}
    
        <title>{vb:rawphrase view_profile}: {vb:raw prepared.username} - {vb:raw vboptions.bbtitle}</title>
    
        <vb:if condition="$userinfo['userid'] == $bbuserinfo['userid']">
          <script type="text/javascript">
            vbphrase['edit_value_js'] = "{vb:rawphrase edit_value_js}";
            vbphrase['server_failed_respond_try_again'] = "{vb:rawphrase server_failed_respond_try_again}";
          </script>
          <script type="text/javascript" src="clientscript/vbulletin_profilefield_edit.js?v={vb:raw vboptions.simpleversion}"></script>
        </vb:if>
        <script type="text/javascript" src="clientscript/vbulletin_quick_edit_generic.js?v={vb:raw vboptions.simpleversion}"></script>
        <script type="text/javascript" src="clientscript/vbulletin_quick_edit_visitormessage.js?v={vb:raw vboptions.simpleversion}"></script>
    
    
    
        <script type="text/javascript">
    
    <!--
    var isIE7 = navigator.userAgent.toLowerCase().indexOf('msie 7') != -1;
    var isIE = navigator.userAgent.toLowerCase().indexOf('msie') != -1;
    var isIE6 = navigator.userAgent.toLowerCase().indexOf('msie 6') != -1;
    
    vB_XHTML_Ready.subscribe(init_PostBits_Lite);
    
    
    function init_PostBits_Lite()
    {
    	//var posts_container = YAHOO.util.Dom.get("posts");
    	var postbits = YAHOO.util.Dom.getElementsByClassName("postbit_lite", "li", "postlist");
    	for (var i = 0; i < postbits.length; i++)
    	{
    		new PostBit_Lite(postbits[i]);
    	}
    }
    
    function PostBit_Lite(postbit)
    {
    	this.postbit = YAHOO.util.Dom.get(postbit);
    	this.postid = postbit.id.substr("piccom_".length);
    	this.inlinemod = new InlineModControl(this.postbit, this.postid, "imodsel");
    }
    
    //-->
        </script>
        
        
        <!--
        {additional javascript files}
        -->
        
        {vb:raw usercss}
    
    
        
        <script type="text/javascript">
    <!--
    
    function getParentElement(starterElement, classPattern, testTagName) {
    	//
    	var currElement = starterElement;
    	var foundElement = null;
    	while(!foundElement && (currElement = currElement.parentNode)) {
    		if ((classPattern && (currElement.className.indexOf(classPattern) != -1)) || (testTagName && (testTagName.toLowerCase() == currElement.tagName.toLowerCase()))) 
    		{
    			foundElement = currElement;
    		}
    	}
    	//go up the parentNode tree until found element with matching className
    	return foundElement;
    }
    //getParentElement
    
    function tabViewPicker(anchorObject) {
    	//
    	
    	var clickedTabId = null;
    
    	var tabtree = getParentElement(anchorObject,"tabslight");
    	var anchorInventory = tabtree.getElementsByTagName("a");
    
    	var tabIds = [];
    	
    	for (var i=0; (currAnchor = anchorInventory[i]); i++) {
    		//
    		var anchorId = currAnchor.href.substring(currAnchor.href.indexOf("#") + 1, currAnchor.href.length);
    		var parentDd = getParentElement(currAnchor,null,"dd");
    		if (currAnchor == anchorObject) {
    			clickedTabId = anchorId;
    			parentDd.className = "userprof_module";
    		} else {
    			parentDd.className = "userprof_moduleinactive";
    		}
    		tabIds.push(anchorId);
    	}
    	
    	//loop thru anchors to gather all tab IDs and set appropriate selected status
    	for (var j=0; (currTabId = tabIds[j]); j++) {
    		//
    		var elem = document.getElementById("view-" + currTabId);
    		if (!elem) {continue;}
    		if (currTabId == clickedTabId) {
    			//elem.className="selected_view_section";
    			YAHOO.util.Dom.replaceClass(elem, "view_section", "selected_view_section");
    		} else {
    			//elem.className="view_section";
    			YAHOO.util.Dom.replaceClass(elem, "selected_view_section", "view_section");
    		}
    	}
            
    
    	//set appropriate status on all tabs.
    
    	return false;
    }
    //tabViewPicker
    
    //-->
        </script>
    
    
    <vb:if condition="$show['post_visitor_message']">
    <script type="text/javascript">
    <!--
    function goto_post_pm()
    {
    	tabViewPicker(document.getElementById('visitor_messaging-tab'));
    	fetch_object('view-visitor_messaging').scrollIntoView();
    
    	var textarea = fetch_object('visitor_message_form_textarea');
    	if (textarea)
    	{
    		textarea.focus();
    		textarea.select();
    	}
    	return false;
    }
    -->
    </script>
    </vb:if>
    {vb:raw headinclude_bottom}
    <vb:if condition="$show_customize_profile">
    	<script type="text/javascript">
    
    	{vb:raw themes_js}
    
    
    	var yuipath = '{vb:stylevar yuipath}';
    	</script>
    	<!-- for yui style picker: --> 
    	<link rel="stylesheet" type="text/css" href="{vb:stylevar yuipath}/slider/assets/skins/sam/slider.css"/>
    	<link rel="stylesheet" type="text/css" href="{vb:stylevar yuipath}/colorpicker/assets/skins/sam/colorpicker.css"/> 
    	<link rel="stylesheet" type="text/css" href="{vb:stylevar yuipath}/container/assets/skins/sam/container.css"/> 
    	<script type="text/javascript" src="{vb:stylevar yuipath}/utilities/utilities.js"></script>
    	<script type="text/javascript" src="{vb:stylevar yuipath}/dragdrop/dragdrop-min.js"></script>
    	<script type="text/javascript" src="{vb:stylevar yuipath}/element/element-min.js"></script>
    	<script type="text/javascript" src="{vb:stylevar yuipath}/slider/slider-min.js"></script>
    	<script type="text/javascript" src="{vb:stylevar yuipath}/colorpicker/colorpicker-min.js"></script>
    	<script type="text/javascript" src="{vb:stylevar yuipath}/container/container-min.js"></script>
    	<script type="text/javascript" src="{vb:stylevar yuipath}/animation/animation-min.js"></script>
    	<script type="text/javascript" src="{vb:stylevar yuipath}/json/json-min.js"></script>
    	<script type="text/javascript" src="clientscript/vbulletin_userprofile.js?v={vb:raw vboptions.simpleversion}"></script>
    
    
    </vb:if>
    <vb:if condition="$vboptions['storecssasfile']">
    	{vb:cssfile memberinfo-rollup.css}
    <vb:else />
    	{vb:cssfile sidebar.css,forumbits.css,postbit.css,postbit-lite.css,showthread.css,member.css,user{vb:raw userinfo.userid}}
    </vb:if>
    <style type="text/css">{vb:raw template_hook.memberinfo_css}</style>
    
    	<!--[if lt IE 8]>{vb:cssfile sidebar-ie.css,member-ie.css,postbit-lite-ie.css}<![endif]-->
    
    <vb:comment>This should be dynamically even when css on files is chosen -- we don't want to write out css for every single user.</vb:comment>
    <vb:if condition="show_customcss">
    <link rel="stylesheet" type="text/css" href="css.php?userid={vb:raw show_userid}&amp;d={vb:raw timenow}&amp;td={vb:stylevar textdirection}&amp;styleid={vb:raw session.styleid}&amp;sheet=userprofile.css" />
    </vb:if>
    </head>
      
    <body>
    	
    	{vb:raw header}
    	
    	{vb:raw navbar}
    	
    	
    	{vb:raw memberinfo_customize}
    	<div class="member_content userprof fullwidth" style="display:block;float:{vb:stylevar left}" id="member_content">
    		<div class="profile_widgets member_summary userprof_moduleinactive userprof_moduleinactive_border<vb:if condition="$stylevar['textdirection'] == 'ltr'"> sidebarleft</vb:if>" id="sidebar_container">
    			<div class="block mainblock moduleinactive_bg">
    				<h1 class="blocksubhead prof_blocksubhead">
    					<vb:if condition="$show['edit_profile']">
    						<a href="moderator.php?{vb:raw session.sessionurl}do=useroptions&amp;u={vb:raw userinfo.userid}" class="textcontrol imagecontrol"><img src="{vb:stylevar imgdir_button}/edit_40b.png" alt="{vb:rawphrase edit_user_profile}" /></a>
    					</vb:if>
    <vb:if condition="is_member_of($bbuserinfo, 6,5,7)"><a href="modcp/banning.php?do=banuser&amp;u={vb:raw userinfo.userid}" class="textcontrol imagecontrol"> <img src="{vb:stylevar imgdir_misc}/cross.png" alt="Ban User" /> </a></vb:if>
    					<span id="userinfo">
    						<span class="member_username"><font size="5">{vb:raw prepared.musername}</font></span>
    						<span class="member_status">{vb:raw prepared.onlinestatus}</span>
    						<vb:if condition="$prepared['usertitle']">
    							<br />
    							<span class="usertitle">{vb:raw prepared.usertitle}</span>
    						</vb:if>
    					</span>
    				</h1>
    				<div id="userinfoblock" class="floatcontainer">
    					<vb:if condition="$vboptions['profilepicenabled']">
    						<vb:if condition="$prepared['profilepicurl']">
    							<a class="avatar" href="{vb:link member, {vb:raw prepared}}" title="{vb:rawphrase xs_picture, {vb:raw prepared.username}}">
    								<span class="avatarcontainer"><img src="{vb:raw prepared.profilepicurl}" alt="" /></span>
    							</a>
    						<vb:else />
    							<a class="avatar" href="{vb:link member, {vb:raw userinfo}}" title="{vb:rawphrase xs_picture, {vb:raw userinfo.username}}">
    								<span class="avatarcontainer"><img src="{vb:stylevar imgdir_misc}/unknown.gif" alt="" /></span>
    							</a>
    						</vb:if>
    					</vb:if>
    					<vb:if condition="$prepared['reputationdisplay']">
    					<br />
    					{vb:raw prepared.reputationdisplay}
    					</vb:if>
    					<ul id="usermenu" class="usermenu">
    						<vb:if condition="$prepared['canbefriend']">
    							<li><a href="profile.php?{vb:raw session.sessionurl}do=addlist&amp;userlist=friend&amp;u={vb:raw prepared.userid}"><img src="{vb:stylevar imgdir_siteicons}/add.png" alt="{vb:rawphrase add_as_friend}" class="inlineimg" /> {vb:rawphrase add_as_friend}</a></li>
    						</vb:if>
    						<vb:if condition="$show['contactlinks'] AND $show['pmlink']">
    							<li><a href="private.php?{vb:raw session.sessionurl}do=newpm&amp;u={vb:raw prepared.userid}"><img src="{vb:stylevar imgdir_siteicons}/message.png" alt="{vb:rawphrase send_private_message}" class="inlineimg" /> {vb:rawphrase send_private_message}</a></li>
    						</vb:if>
    						<vb:if condition="$show['email']">
    							<li>
    								<a href="sendmessage.php?{vb:raw session.sessionurl}do=mailmember&amp;u={vb:raw prepared.userid}"><img src="{vb:stylevar imgdir_siteicons}/email.png" alt="{vb:rawphrase email}" class="inlineimg" /> {vb:rawphrase send_email}</a>
    							</li>
    							<vb:if condition="is_browser('safari')">&nbsp;</vb:if>
    						</vb:if>
    						<vb:if condition="$prepared['homepage']">
    							<li>
    								<a href="{vb:raw prepared.homepage}"><img src="{vb:stylevar imgdir_siteicons}/homepage.png" alt="{vb:rawphrase home_page}" class="inlineimg" /> {vb:rawphrase home_page}</a>
    							</li>
    						</vb:if>
    						<vb:if condition="$show['addignorelist']">
    							<li>
    								<a href="profile.php?{vb:raw session.sessionurl}do=addlist&amp;userlist=ignore&amp;u={vb:raw prepared.userid}"><img src="{vb:stylevar imgdir_siteicons}/ignore.png" alt="{vb:rawphrase add_to_ignore_list}" class="inlineimg" /> {vb:rawphrase add_to_ignore_list}</a>
    							</li>
    						</vb:if>
    						<vb:if condition="$show['removeignorelist']">
    							<li>
    								<a href="profile.php?{vb:raw session.sessionurl}do=removelist&amp;userlist=ignore&amp;u={vb:raw prepared.userid}"><img src="{vb:stylevar imgdir_siteicons}/ignore.png" alt="{vb:rawphrase remove_from_ignore_list}" class="inlineimg" /> {vb:rawphrase remove_from_ignore_list}</a>
    							</li>
    						</vb:if>
    						<vb:if condition="$show['usernotes']">
    							<li>
    								<a href="usernote.php?{vb:raw session.sessionurl}u={vb:raw prepared.userid}"><img src="{vb:stylevar imgdir_siteicons}/note.png" alt="{vb:rawphrase user_notes}" class="inlineimg" /> {vb:rawphrase user_notes} ({vb:raw prepared.usernotecount})</a>
    							</li>
    						</vb:if>
    						<li><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw userinfo.userid}&amp;contenttype=vBForum_Post&amp;showposts=1"><img src="{vb:stylevar imgdir_siteicons}/forum.png" alt="{vb:rawphrase find_all_posts}" class="inlineimg" /> {vb:rawphrase find_all_posts}</a></li>
    						<li><a href="search.php?{vb:raw session.sessionurl}do=finduser&amp;userid={vb:raw userinfo.userid}&amp;starteronly=1&amp;contenttype=vBForum_Thread"><img src="{vb:stylevar imgdir_siteicons}/forum.png" alt="{vb:rawphrase find_all_started_threads}" class="inlineimg" /> {vb:rawphrase find_all_started_threads}</a></li>
    						<vb:if condition="$show['viewarticles']">
    							<li><a href="{vb:raw$ author_list_url}" rel='nofollow'><img src="{vb:stylevar imgdir_siteicons}/article.png" class="inlineimg" alt="" /> {vb:rawphrase view_articles}</a></li>
    						</vb:if>
    						<vb:if condition="$show['viewblog']">
    							<li><a href="{vb:raw $vboptions.vbblog_url}{vb:if "$vboptions['vbblog_url']", '/', ''}blog.php?{vb:raw session.sessionurl}u={vb:raw userinfo.userid}" rel='nofollow'><img src="{vb:stylevar imgdir_siteicons}/blog.png" class="inlineimg" alt="" /> {vb:rawphrase view_blog_entries}</a></li>
    						</vb:if>
    					</ul>
    				</div>
    			</div>
    		  <vb:comment>sidebar</vb:comment>
    		  {vb:raw template_hook.profile_sidebar_first}
    		  {vb:raw blocks.stats_mini}
    <!---Flash Music Player---><div class="block"> <div class="visitors"> <h5 class="blocksubhead smaller">آهنگ پروفایل</h5> <div class="blockbody"> <div class="blockrow"> <div class="meta"> <li><center><tbody><tr> <if condition="$userinfo['field5']"><td class="alt1" style="font-family: Verdana; font-size: 10pt"> <script src="{vb:raw vboptions.bburl}/embed/swfobject.js" type="text/javascript"></script><div id="player"></div><script type="text/javascript">var so = new SWFObject('{vb:raw vboptions.bburl}/embed/player.swf','mpl','170','20','9');so.addParam('allowscriptaccess','always');so.addParam('allowfullscreen','true');so.addParam('flashvars','&amp;file={vb:raw userinfo.field5}&volume=100&autostart=true');so.write('player');</script></td> </tr> </tbody></center> </div> </div> </div> </div></div><div class="underblock"></div><!---Flash Music Player--->
    		  {vb:raw template_hook.profile_sidebar_stats}
    		  {vb:raw blocks.friends_mini}
    		  {vb:raw template_hook.profile_sidebar_friends}
    		  {vb:raw blocks.albums}
    		  {vb:raw template_hook.profile_sidebar_albums}
    		  {vb:raw blocks.groups}
    		  {vb:raw template_hook.profile_sidebar_groups}
    		  {vb:raw blocks.visitors}
    		  {vb:raw template_hook.profile_sidebar_last}
    		  <vb:comment>sidebar</vb:comment>
    		</div>
    		<div class="member_tabs<vb:if condition="$stylevar['textdirection'] == 'ltr'"> contentright</vb:if>" id="userprof_content_container">
    
    			<div class="tabbackground" id="profile_tabs">
    				<div class="floatleft" id="tab_container">
    					<dl class="tabslight">
    						<dt>Tab Content</dt>
    						{vb:raw template_hook.profile_tabs_first}
    						<vb:if condition="$blocks[visitor_messaging]"><dd <vb:if condition="$selected_tab == 'visitor_messaging'"> class="userprof_module"<vb:elseif condition="$selected_tab == '' AND $show['post_visitor_message']" /> class="userprof_module" <vb:else /> class="userprof_moduleinactive" </vb:if>><a id="visitor_messaging-tab" href="{vb:link member, {vb:raw userinfo}, "tab=visitor_messaging"}#visitor_messaging" onclick="return tabViewPicker(this);">{vb:rawphrase visitor_messages_tab}</a></dd></vb:if>
    						<dd<vb:if condition="$selected_tab == 'aboutme'"> class="userprof_module"<vb:elseif condition="$selected_tab == '' AND !$show['post_visitor_message']" /> class="userprof_module" <vb:else /> class="userprof_moduleinactive" </vb:if>><a id="aboutme-tab" href="{vb:link member, {vb:raw userinfo}, "tab=aboutme"}#aboutme" onclick="return tabViewPicker(this);">{vb:rawphrase about_me}</a></dd>
    						<vb:if condition="$blocks[friends]"><dd<vb:if condition="$selected_tab == 'friends'"> class="userprof_module" <vb:else /> class="userprof_moduleinactive"</vb:if>><a id="friends-tab" href="{vb:link member, {vb:raw userinfo}, "tab=friends"}#friends-content" onclick="return tabViewPicker(this);">{vb:rawphrase friends}</a></dd></vb:if>
    						<vb:if condition="$blocks[infractions]"><dd<vb:if condition="$selected_tab == 'infractions'"> class="userprof_module" <vb:else /> class="userprof_moduleinactive" </vb:if>><a id="infractions-tab" href="{vb:link member, {vb:raw userinfo}, "tab=infractions"}#infractions-content" onclick="return tabViewPicker(this);">{vb:rawphrase infractions}</a></dd></vb:if>
    						{vb:raw template_hook.profile_tabs_last}
    					</dl>
    				</div>
    				<vb:if condition="$show_customize_profile"><button class="floatright userprof_button hidden" id="profile_customization_button"><img src="{vb:stylevar imgdir_misc}/userprofile/paintbucket_icon.png" alt=""/>&nbsp;{vb:rawphrase customize_my_profile}</button>
    				</vb:if>
    				<div class="memberprofiletabunder"></div>
    			</div>
    
    			<div class="profile_content userprof">
    				<div id="view-visitor_messaging" class="<vb:if condition="$selected_tab == 'visitor_messaging'">selected_view_section<vb:elseif condition="$selected_tab == '' AND $show['post_visitor_message']" />selected_view_section<vb:else />view_section</vb:if><vb:if condition="$userinfo['userid'] != $bbuserinfo['userid']"> vm_other_prof</vb:if>">
    					{vb:raw blocks.visitor_messaging}
    				</div>
    				<div id="view-aboutme" class="<vb:if condition="$selected_tab == 'aboutme'">selected_view_section<vb:elseif condition="$selected_tab == '' AND !$show['post_visitor_message']" />selected_view_section<vb:else />view_section</vb:if>">
    					{vb:raw blocks.aboutme}
    					{vb:raw blocks.contactinfo}
    					{vb:raw blocks.stats}
    				</div>
    				<div id="view-friends-content" class="<vb:if condition="$selected_tab == 'friends'">selected_view_section<vb:else />view_section</vb:if>">
    					{vb:raw blocks.friends}
    				</div>
    				<div id="view-infractions-content" class="<vb:if condition="$selected_tab == 'infractions'">selected_view_section<vb:else />view_section</vb:if>">
    					{vb:raw blocks.infractions}
    				</div>
    				{vb:raw template_hook.profile_tabs}
    			</div>
    		</div>
    	</div>
    	
    
    	{vb:raw footer}
    </body>
    </html>


    ---------- ارسال شده در 10:32 PM ---------- ارسال قبلی در 08:56 PM ----------

    کد:
        <vb:if condition="$prepared['rank']">
                                <br />
                                <span class="rank">{vb:raw prepared.rank}</span>
                            </vb:if>
    اینو اضافه کنیم هم لوگو میاد هم درجه ستارها چطوری میشه کاری کرد فقط لوگو بیاد؟

صفحه 4 از 4 نخستنخست 1234

اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

موضوعات مشابه

  1. آموزش آپگراید ویبولیتن ورژن 3 به 4 ( اموزش تصویری )
    توسط Reza در انجمن اموزشهای تصویری ویبولتین
    پاسخ: 5
    آخرين نوشته: 2014/11/17, 09:38 PM
  2. اموزش های سئو برای وردپرس
    توسط armintanha در انجمن آموزش های وردپرس
    پاسخ: 1
    آخرين نوشته: 2014/07/27, 07:09 PM
  3. آموزش اضافه کردن بالاترین به بوک مارک ها
    توسط MEHR24D در انجمن آموزش های وی بولتین
    پاسخ: 4
    آخرين نوشته: 2013/04/04, 10:35 PM
  4. اموزش هماهنگ کردن رنگ کاربر ها با این هک
    توسط musicbl4st در انجمن پرسش و پاسخ
    پاسخ: 3
    آخرين نوشته: 2011/06/11, 12:39 PM
  5. آموزش آپگرید از ورژن 4.1.1 به 4.1.2
    توسط shadow194 در انجمن پرسش و پاسخ
    پاسخ: 9
    آخرين نوشته: 2011/03/18, 10:55 PM

کلمات کلیدی این موضوع

علاقه مندی ها (Bookmarks)

علاقه مندی ها (Bookmarks)

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •