با عرض سلام و سپاس فراوان
من با فارسی این پلاگین مشکل داشتم و ناچار شدم نسخه ی اصل را نصب کنم و از قالب فارسی کنم
گفتم روشم رو بزارم برای کسانی که مثل من با نسخه ی فارسی مشکل دارند
1- 3 پلاگین پروفایل کامنت ، نمایش دوستان در پروفایل و آخرین بازدید کنندگان پروفایل را دانلود ،نصب و فعال سازی کنید
دانلود
دانلود
دانلود
حالا از قالب member_profile توی
کنترل پنل مدیریت->قالب ها و پوسته ها->قالب ها->قالب مورد->Member Templates
بک آپ بگیرید(تمام فایل را در یک ادیتور کپی کرده و نگه دارید)
حالا
نسخه ی اصلی پلاگین را دانلود ، نصب و فعال کنید
و دوباره به قالب member_profile رفته و همه ی کد ها را پاک کرده و با کدهای زیر عوض کنید
کد php:
<style>
.usertabs {
margin-right: 0;
margin-top: 1px;
margin-bottom: 0;
list-style-type: none;
text-align: right;
font-size: 11px;
}
.usertabs ul {
margin: 0;
padding: 0;
}
.usertabs li {
display: inline;
margin: 0;
}
.usertabs li a {
background: {$mybb->settings['ProfileTabs_background_unselected']};
color: {$mybb->settings['ProfileTabs_text_unselected']};
position: relative;
z-index: 1;
border: 1px solid {$mybb->settings['ProfileTabs_border_unselected']};
border-bottom: 0;
padding: 8px;
text-decoration: none;
}
.usertabs li a:visited {
color: #2d2d2d;
text-decoration: none;
}
.usertabs li a:hover {
color: {$mybb->settings['ProfileTabs_onmoushover_unselected']};
text-decoration: none;
}
.usertabs li a.selected {
background: {$mybb->settings['ProfileTabs_background_selected']};
color: {$mybb->settings['ProfileTabs_text_selected']};
border-color: {$mybb->settings['ProfileTabs_borde_selected']};
}
.usertabs li a.selected:hover {
text-decoration: none;
}
.tabcontent {
background: {$mybb->settings['ProfileTabs_background']};
display: none;
padding: 5px;
border: 1px solid {$mybb->settings['ProfileTabs_border']};
margin-top: 7px;
}
.box-thing {
background: #f7f7f7;
border: 1px solid #8e8e8e;
padding: 8px;
}
@
media print {
.tabcontent {
display:block !important;
}
}
</style>
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->profile}</title>
{$headerinclude}
</head>
<body>
<script type="text/javascript" src="jscripts/ProfileTabs.js">
</script>
{$header}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1">
<table width="100%" cellspacing="0" cellpadding="0" border="0"><tr><td class="trow1" width="75%">
<span class="largetext"><strong>{$formattedname}</strong></span><br />
<span class="smalltext">
{$usertitle}<br />
{$groupimage}
{$userstars}<br />
<br />
<strong>{$lang->registration_date}</strong> {$memregdate}<br />
<strong>{$lang->date_of_birth}</strong> {$membday} {$membdayage}<br />
<strong>{$lang->local_time}</strong> {$localtime}<br />
<strong>{$lang->postbit_status}</strong> {$online_status}
</span>
</td><td width="25%" align="right" valign="middle">{$avatar}</td></tr></table>
</td>
</tr>
{$awaybit}
</table>
<br />
<table width="100%" cellspacing="0" cellpadding="0" border="0" align="center">
<tr>
<td width="25%" valign="top">
{$buddylist}<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td colspan="2" class="thead"><strong>آخرین بازدید کنندگان</strong></td>
<tr>
<td class="trow1">{$lastvisitor}</td>
</tr>
</tr>
</tr>
</table>
<td><img src="{$theme['imgdir']}/pixel.gif" height="1" width="8" alt=""/></td>
<td width="75%" valign="top">
<div id="toolbar" class="usertabs"><div id="nav"><ul id="countrytabs" class="shadetabs">
<li><a href="#" rel="country1" class="selected"><b>یاداشت ها</b></a></li>
<li><a href="#" rel="country2"><b>اطلاعات بیشتر</b></a></li>
<li><a href="#" rel="country3"><b>فعالیت ها</b></a></li>
<li><a href="#" rel="country4"><b>راه های ارتباط</b></a></li>
<li><a href="#" rel="country5"><b>امضا</b></a></li>
</ul></div></div>
<div style="border:1px solid gray; width:100%px; margin-bottom: 1em; padding: 0px">
<div id="country1" class="tabcontent">
<!-- ProfileComments -->{$comments_index}<!-- /ProfileComments -->
</div>
<div id="country2" class="tabcontent">
{$profilefields}
</div>
<div id="country3" class="tabcontent">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1"><strong>{$lang->joined}</strong></td>
<td class="trow1">{$memregdate}</td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->lastvisit}:</strong></td>
<td class="trow2">{$memlastvisitdate} {$memlastvisittime}</td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->total_posts}</strong></td>
<td class="trow1">{$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></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->timeonline}</strong></td>
<td class="trow2">{$timeonline}</td>
</tr>
{$reputation}
{$warning_level}
</table>
</div>
<div id="country4" class="tabcontent">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1"><strong>{$lang->homepage}</strong></td>
<td class="trow1">{$website}</td>
</tr>
{$sendemail}
<tr>
<td class="trow2"><strong>{$lang->pm}</strong></td>
<td class="trow2"><a href="private.php?action=send&uid={$memprofile['uid']}">{$lang->send_pm}</a></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->icq_number}</strong></td>
<td class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=icq&uid={$uid}', 'imcenter', 450, 300);">{$memprofile['icq']}</a></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->aim_screenname}</strong></td>
<td class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=aim&uid={$uid}', 'imcenter', 450, 300);">{$memprofile['aim']}</a></td>
</tr>
<tr>
<td class="trow1"><strong>{$lang->yahoo_id}</strong></td>
<td class="trow1"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=yahoo&uid={$uid}', 'imcenter', 450, 300);">{$memprofile['yahoo']}</a></td>
</tr>
<tr>
<td class="trow2"><strong>{$lang->msn}</strong></td>
<td class="trow2"><a href="javascript:;" onclick="MyBB.popupWindow('misc.php?action=imcenter&imtype=msn&uid={$uid}', 'imcenter', 450, 300);">{$memprofile['msn']}</a></td>
</tr>
</table>
</div>
<div id="country5" class="tabcontent">
{$signature}
</div>
</div>
<script type="text/javascript">
var countries=new ddtabcontent("countrytabs")
countries.setpersist(true)
countries.setselectedClassTarget("link") //"link" or "linkparent"
countries.init()
</script>
</td>
خب خسته نباشید حالا شما یه پروفایل مانند پروفایل های
mysunclub دارید.
اگه از این خوشتون نیومد کد های بک آپتون را جایگزین کنید
موفق و پاینده باشید
(۱۳۹۰/۲/۱۷، ۱۲:۱۲:۳۸ عصر)funset نوشته است: فایل فانکشن فرومتون همون طور که گفته شده مشکل داره
و صد البته سازگار نیست با نشخه مربوطه فرومتون
ممنون ولی چی کار باید کنم؟؟؟