دوست عزیز شما اصلآ این بسته رو تست کردین!!!!!!
مسلمآ به هیچ وجه!!!
بسته قرار داده شده و به راحتی روی قالب پیشفرض کار می کنه و کاملآ ترجمه شده و به اون عکس تنظیمات توجه نکنید چون اون یک قالب دیگه ایست و پیشفرض نمی باشد!
نمایش نسخه قابل چاپ
دوست عزیز شما اصلآ این بسته رو تست کردین!!!!!!
مسلمآ به هیچ وجه!!!
بسته قرار داده شده و به راحتی روی قالب پیشفرض کار می کنه و کاملآ ترجمه شده و به اون عکس تنظیمات توجه نکنید چون اون یک قالب دیگه ایست و پیشفرض نمی باشد!
ببخشید لینک دانلود این مود کو؟؟؟
از کجا دانلود کنم؟؟؟
به چهار پست بالایی نگاه کنید!
[quote author=SANR link=topic=16835.msg93527#msg93527 date=1226726117]
بفرمایید.کد:http://www.megaupload.com/?d=WG9PDKE9
[/quote]
خطاهای زیر رو داد:
خطا در نصب بسته
چندید مشکل برای نصب این بسته وجود دارد. به شما توصیه می کنیم که با این شرایط از نصب این بسته صرف نظر نمایید. چرا که ساختار این بسته ناقص است و با نصب آن ممکن است انجمن های شما بطور کامل از کار بیافتد. ممکن است این خطا بخاطر نسخه SMF شما باشد. چون برخی از بسته ها برای نسخه های خاصی از SMF ساخته شده اند و در همه آنها قابل نصب نیستند.
6. ایجاد تغییرات در فایل ها ./Themes/default/Display.template.php خطا
7. ایجاد تغییرات در فایل ها ./Themes/default/languages/Modifications.persian.php این فایل وجود ندارد (این ارور رو خودم بر طرف میکنم)
قالب شما پیشفرض می باشد؟
آموزش رو توی موضوع اصلی دادم.بدون در نظر گرفتن خطاها نصب کنید و این دو فایل رو دستی کدهاش رو قرار دهید.
مشکل توی فایل Themes/default/Display.template.php هست.
کدهایی که شما میگین در این فایل نیست.
فقط یک خطش هست ولی چند خطی که زیر هم نوشتین نیستند.
کد رو قرار بدید به علاوه ی چند خط بعدی ان تا بررسی کنم.
کد:echo '
<input type="hidden" name="sc" value="', $context['session_id'], '" />';
if (empty($settings['use_tabs']))
echo '
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
document.getElementById("quickmodSubmit").style.display = "none";
// ]]></script>';
echo '
</form>';
کد:echo '
<input type="hidden" name="sc" value="' . $context['session_id'] . '" />
<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
</form>';
echo '
</div>
</div></div>';
}
if ($context['show_spellchecking'])
echo '
نگفتید قالبتون چی هست!!!
به هر حال بعد از
این کد رو قرار بدید ببینید درست میشه؟کد:echo '
<input type="hidden" name="sc" value="' . $context['session_id'] . '" />
<input type="hidden" name="seqnum" value="', $context['form_sequence_number'], '" />
</form>';
echo '
</div>
</div></div>';
}
کد:// Added by Related Topics
if (!empty($context['related_topics']) > 0)
{
echo '
<div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? 'style="width: 100%;"' : '', '>
<table border="0" width="100%" cellspacing="1" cellpadding="4" class="bordercolor">
<tr class="titlebg">
<td colspan="7">', $txt['related_topics'], '</td>
</tr>
<tr>
<td width="9%" colspan="2" class="catbg3"></td>
<td class="catbg3">', $txt[70],'</td>
<td class="catbg3">', $txt[109],'</td>
<td class="catbg3">', $txt[110],'</td>
<td class="catbg3">', $txt[301],'</td>
<td class="catbg3">', $txt[111],'</td>
</tr>';
foreach ($context['related_topics'] as $topic)
{
// Do we want to seperate the sticky and lock status out?
if (!empty($settings['seperate_sticky_lock']) && strpos($topic['class'], 'sticky') !== false)
$topic['class'] = substr($topic['class'], 0, strrpos($topic['class'], '_sticky'));
if (!empty($settings['seperate_sticky_lock']) && strpos($topic['class'], 'locked') !== false)
$topic['class'] = substr($topic['class'], 0, strrpos($topic['class'], '_locked'));
echo '
<tr>
<td class="windowbg2" valign="middle" align="center" width="5%">
<img src="', $settings['images_url'], '/topic/', $topic['class'], '.gif" alt="" />
</td>
<td class="windowbg2" valign="middle" align="center" width="4%">
<img src="', $topic['first_post']['icon_url'], '" alt="" />
</td>
<td class="windowbg' , !empty($settings['seperate_sticky_lock']) && $topic['is_sticky'] ? '3' : '' , '" valign="middle" ', (!empty($topic['quick_mod']['remove']) ? 'id="topic_' . $topic['first_post']['id'] . '" onmouseout="mouse_on_div = 0;" onmouseover="mouse_on_div = 1;" ondblclick="modify_topic(\'' . $topic['id'] . '\', \'' . $topic['first_post']['id'] . '\', \'' . $context['session_id'] . '\');"' : ''), '>';
if (!empty($settings['seperate_sticky_lock']))
echo '
' , $topic['is_locked'] ? '<img src="' . $settings['images_url'] . '/icons/quick_lock.gif" align="right" alt="" id="lockicon' . $topic['first_post']['id'] . '" style="margin: 0;" />' : '' , '
' , $topic['is_sticky'] ? '<img src="' . $settings['images_url'] . '/icons/show_sticky.gif" align="right" alt="" id="stickyicon' . $topic['first_post']['id'] . '" style="margin: 0;" />' : '';
echo '
', $topic['is_sticky'] ? '<b>' : '' , '<span id="msg_' . $topic['first_post']['id'] . '">', $topic['first_post']['link'], '</span>', $topic['is_sticky'] ? '</b>' : '';
// Is this topic new? (assuming they are logged in!)
if ($topic['new'] && $context['user']['is_logged'])
echo '
<a href="', $topic['new_href'], '" id="newicon' . $topic['first_post']['id'] . '"><img src="', $settings['images_url'], '/', $context['user']['language'], '/new.gif" alt="', $txt[302], '" /></a>';
echo '
<small>', $topic['board_link'], '</small>
<small id="pages' . $topic['first_post']['id'] . '">', $topic['pages'], '</small>
</td>
<td class="windowbg2" valign="middle" width="14%">
', $topic['first_post']['member']['link'], '
</td>
<td class="windowbg' , $topic['is_sticky'] ? '3' : '' , '" valign="middle" width="4%" align="center">
', $topic['replies'], '
</td>
<td class="windowbg' , $topic['is_sticky'] ? '3' : '' , '" valign="middle" width="4%" align="center">
', $topic['views'], '
</td>
<td class="windowbg2" valign="middle" width="22%">
<a href="', $topic['last_post']['href'], '"><img src="', $settings['images_url'], '/icons/last_post.gif" alt="', $txt[111], '" title="', $txt[111], '" style="float: right;" /></a>
<span class="smalltext">
', $topic['last_post']['time'], '<br />
', $txt[525], ' ', $topic['last_post']['member']['link'], '
</span>
</td>';
echo '
</tr>';
}
echo '
</table>
</div>';
}
قالب من پیش فرض است.
ولی یک نکته:::
همه برنامه هایی که نیاز به تغییرات در فایل Themes/default/Display.template.php دارند با این فایل مشکل دارند.
من فکر کنم باید یک فکر اساسی کرد.
در ضمن یک نکته هست که من 2 یا 3 بار پرسیدم کسی نتونسته جوابم رو بده که:
من پچ فارسی سازی persian-utf8 رو نصب کردم نه persian معمولی رو و برای نصب بسته ها باید بسته رو باز، مسیر فارسی ساز رو در فایلهای xml تبدیل به utf8 کنم و دوباره zip و نصب کنم.
به نظر شما utf8 چه فرقی نسبت به پچ معمولی داره؟
به نظر شما تا انجمن رو هنوز راه اندازی نکردم بهتر نیست پاک کنم و دوباره نصب کنم. اینبار با فارسی ساز معمولی ؟؟؟؟؟؟؟؟
شاید مشکل این فایل هم حل بشه؟؟؟