۱۳۸۹/۲/۳۱، ۱۰:۱۶:۵۱ صبح
(آخرین ویرایش: ۱۳۸۹/۳/۳، ۰۱:۰۶:۳۶ صبح، توسط ™IRAN FORUM.)
بدون توضیح اول شات
و اموزش
فایل ضمیمه رو دان کنید و در root انجمن اپ کنید .
MyBB Ultimate Profile.zip (اندازه: 3.13 KB / تعداد دفعات دریافت: 86)
به این مسیر برید
/Member Templates-> member_profile template / قالب مورد نظر
تمام کد ها رو پاک کنید و کد جدید رو جایگزین کنید
فارسی سازی توسط خودم
ذخیره...
به این مسیر بروید
Member Templates-> member_profile_customfields / قالب مورد نظر
کد ها رو جایگذین کنید
به این مسیر بروید
member_profile_customfields_field
به این مسیر بروید کد ها رو جایگزین کنید
member_profile_signature
کار تمام شد لذت ببرید
و اموزش
فایل ضمیمه رو دان کنید و در root انجمن اپ کنید .
MyBB Ultimate Profile.zip (اندازه: 3.13 KB / تعداد دفعات دریافت: 86)
به این مسیر برید
/Member Templates-> member_profile template / قالب مورد نظر
تمام کد ها رو پاک کنید و کد جدید رو جایگزین کنید
فارسی سازی توسط خودم
نقلقول: <html>
<head>
<title>{$mybb->settings['bbname']} -
{$lang->profile}</title>
{$headerinclude}
<style type="text/css">
/* ######### CSS for Shade Tabs. Remove if not using ######### */
.shadetabs{
padding: 3px 0;
margin-left: 0;
margin-top: 1px;
margin-bottom: 0;
font: bold 13px Arial;
list-style-type: none;
text-align: left; /*set to left, center, or right to align the menu as
desired*/
}
.shadetabs li{
display: inline;
margin: 0;
}
.shadetabs li a{
text-decoration: none;
position: relative;
z-index: 1;
padding: 3px 7px;
margin-right: 3px;
border: 0px solid #778;
color: #ffffff;
background: blue
url({$mybb->settings['bburl']}/{$theme['imgdir']}/thead_bg.gif) top
left repeat-x;
cursor: pointer;
}
.shadetabs li a:visited{
color: #ffffff;
}
.shadetabs li a:hover{
text-decoration: underline;
color: #ffffff;
}
.shadetabs li a.selected{ /*selected main tab style */
position: relative;
top: 1px;
}
.shadetabs li a.selected{ /*selected main tab style */
background-image:
url({$mybb->settings['bburl']}/{$theme['imgdir']}/thead_bg.gif);
border-bottom-color: blue;
}
.shadetabs li a.selected:hover{ /*selected main tab style */
text-decoration: none;
}
.tabcontent{
display:none;
}
@media print {
.tabcontent {
display:block !important;
}
}
.tabcontentstyle{ /*style of tab content oontainer*/
border: 0px solid gray;
width: 450px;
margin-bottom: 1em;
padding: 10px;
}
.clicktab {
cursor: pointer;
}
</style>
<script type="text/javascript" src="tabcontent.js">
/***********************************************
* Tab Content script v2.2- © Dynamic Drive DHTML code library
(www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source
code
***********************************************/
</script>
</head>
<body>
{$header}<br>{$img_table}
<br />
<table width="100%" cellspacing="0" cellpadding="4" border="0"
align="center">
<tr>
<td style="width: 80%;" valign="top">
<div class="trow2" style="width: 100%; height: 100%; padding:
4px;">
<span
class="largetext"><strong>{$formattedname}</strong></span><br
/>
<span class="smalltext">
({$usertitle})<br />
{$groupimage}
{$userstars}<br />
<br />
<strong>{$lang->local_time}</strong> {$localtime}<br
/>
<strong>{$lang->postbit_status}</strong> {$online_status}
</span>
</div>
<br />
<ul id="profiletabs" class="shadetabs">
<li><a rel="tab0"
class="clicktab">پیغامهای بازدید کنندگان</a></li>
<li><a rel="tab1" class="clicktab">اطلاعات کاربر</a></li>
<li><a rel="tab2"
class="clicktab">امار</a></li>
<li><a rel="tab3"
class="clicktab">ارتباط</a></li>
<li><a rel="tab4"
class="clicktab">اخطارها</a></li>
<li><a rel="tab5"
class="clicktab">دوستان</a></li>
</ul>
<div id="tab0" class="tabcontent">
<!-- ProfileComments -->{$comments_index}<!-- /ProfileComments -->
</div>
</div>
<div id="tab1" class="tabcontent">
{$profilefields}
{$signature}
{$profview}
</div>
</div>
<div id="tab2" class="tabcontent">
<div class="thead" style="width: 100%; height: 26px; padding: 4px;
border: 1px #0F5C8E
solid;"><strong>Statistics</strong></div>
<div class="trow1" style="width: 100%; padding: 4px; valign: middle;
border: 1px #0F5C8E solid;">
<strong>{$lang->joined}</strong> {$memregdate}
<br />
<strong>{$lang->lastvisit}</strong> {$memlastvisitdate}
{$memlastvisittime}
<br />
<strong>{$lang->total_posts}</strong>
{$memprofile['postnum']} ({$lang->ppd_percent_total})<br
/><span class="smalltext">(<a
href="search.php?action=finduserthreads&uid={$uid}">{$lang->find_threads}</a>
— <a
href="search.php?action=finduser&uid={$uid}">{$lang->find_posts}</a>)</span>
<br />
<strong>{$lang->timeonline}</strong> {$timeonline}
<br />
<strong>{$lang->reputation}</strong> <a
href="reputation.php?uid={$memprofile['uid']}">{$lang->reputation_details}</a>
{$vote_link}
<br />
</div>
</div>
<div id="tab3" class="tabcontent">
<div class="thead" style="width: 100%; height: 26px; padding: 4px;
valign: middle; border: 1px #0F5C8E
solid;"><strong>ارتباط</strong></div>
<div class="trow1" style="width: 100%; padding: 4px; border: 1px
#0F5C8E solid;">
<strong>{$lang->homepage}</strong> {$website}
<br />
<strong>{$lang->email}</strong> <a
href="member.php?action=emailuser&uid={$memprofile['uid']}">{$lang->send_user_email}</a>
<br />
<strong>{$lang->pm}</strong> <a
href="private.php?action=send&uid={$memprofile['uid']}">{$lang->send_pm}</a>
<br />
<strong>{$lang->icq_number}</strong> <a
href="javascript:;"
onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=icq&uid={$uid}',
'imcenter', 450, 300);">{$memprofile['icq']}</a>
<br />
<strong>{$lang->aim_screenname}</strong> <a
href="javascript:;"
onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=aim&uid={$uid}',
'imcenter', 450, 300);">{$memprofile['aim']}</a>
<br />
<strong>{$lang->yahoo_id}</strong> <a
href="javascript:;"
onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=yahoo&uid={$uid}',
'imcenter', 450, 300);">{$memprofile['yahoo']}</a>
<br />
<strong>{$lang->msn}</strong> <a href="javascript:;"
onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=msn&uid={$uid}',
'imcenter', 450, 300);">{$memprofile['msn']}</a>
<br />
</div>
</div>
<div id="tab4" class="tabcontent">
{$latest_warnings}
</div>
</div>
<div id="tab5" class="tabcontent">
{$friends}
</div>
</div>
<script type="text/javascript">
var countries=new ddtabcontent("profiletabs")
countries.setpersist(true)
countries.setselectedClassTarget("link") //"link" or "linkparent"
countries.init()
</script>
<br />
</td>
<td>
</td>
<td style="width: 20%;" valign= "top">
<div class="thead" style="width: 100%; height: 26px; padding: 4px;
valign: middle; text-align: right; border: 1px #0F5C8E
solid;"><strong>Mini Stats</strong></div>
<div class="trow1" style="width: 100%; padding: 4px; valign: top;
text-align: left; border: 1px #0F5C8E solid; height: 100%;">
<table width="100%" border="0">
<tr>
<td style="font: 12px Arial;">
<strong>تاریخ عضویت :</strong> {$memregdate}
<br />
<strong>جمع گفتگوها :</strong> {$memprofile['postnum']}
</td>
<td style="valign: middle; text-align: right;">
{$avatar}
</td>
</tr>
</table>
</div>
<br />
<div class="thead" style="width: 100%; height: 26px; padding: 4px;
valign: middle; text-align: right; border: 1px #0F5C8E
solid;"><strong>لیست دوستان </strong></div>
<div class="trow1" style="width: 100%; padding: 4px; valign: top;
text-align: left; border: 1px #0F5C8E solid; height: 100%;"
{$friends}
<td>
</td>
<tr>
<td style="font: 12px Arial;">
</td>
</tr>
</table>
</div>
<br />
{$modoptions}
</body>
</html>
{$footer}
</body>
</html>
ذخیره...
به این مسیر بروید
Member Templates-> member_profile_customfields / قالب مورد نظر
کد ها رو جایگذین کنید
نقلقول: <div class="thead" style="width: 100%; height: 26px; padding: 4px; valign: middle; border: 1px #0F5C8E solid;"><strong>About Me</strong></div>
<div class="trow1" style="width: 100%; padding: 4px; border: 1px #0F5C8E solid;">
{$customfields}
<br />
<br />
به این مسیر بروید
member_profile_customfields_field
نقلقول: <strong>{$customfield['name']}:</strong> {$customfieldval}
<br />
به این مسیر بروید کد ها رو جایگزین کنید
member_profile_signature
نقلقول: <strong>Signature</strong>
<br />
<br />
{$memprofile['signature']}
کار تمام شد لذت ببرید