من از قالب outline استفاده می کنم smf ورژن 1.1.10 !
همین مشکل رو دارم چی کار باید بکنم ؟؟
نمایش نسخه قابل چاپ
من از قالب outline استفاده می کنم smf ورژن 1.1.10 !
همین مشکل رو دارم چی کار باید بکنم ؟؟
سلام
فایل index.template.php رو باز کنید و عبارت زیر رو پیدا کنید :
true را به false تغییر بدیدکد:/* Use plain buttons - as oppossed to text buttons? */
$settings['use_buttons'] = true;
کد زیر را پیدا کنید :
و با کد زیر جایگزین کنید :کد:// Generate a strip of buttons.
function template_button_strip($button_strip, $direction = 'top', $force_reset = false, $custom_td = '')
{
global $settings, $buttons, $context, $txt, $scripturl;
// Create the buttons...
foreach ($button_strip as $key => $value)
{
if (isset($value['test']) && empty($context[$value['test']]))
{
unset($button_strip[$key]);
continue;
}
elseif (!isset($buttons[$key]) || $force_reset)
$buttons[$key] = '<a href="' . $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' . $txt[$value['text']] . '</a>';
$button_strip[$key] = $buttons[$key];
}
if (empty($button_strip))
return '<td>&nbsp;</td>';
echo '
<td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_' , $context['right_to_left'] ? 'last' : 'first' , '">&nbsp;</td>
<td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_back">', implode(' &nbsp;|&nbsp; ', $button_strip) , '</td>
<td class="', $direction == 'top' ? 'main' : 'mirror', 'tab_' , $context['right_to_left'] ? 'first' : 'last' , '">&nbsp;</td>';
}
یا علیکد:// Generate a strip of buttons.
function template_button_strip($button_strip, $direction = 'top', $force_reset = false, $custom_td = '')
{
global $settings, $buttons, $context, $txt, $scripturl;
if (empty($button_strip))
return '';
// Create the buttons...
foreach ($button_strip as $key => $value)
{
if (isset($value['test']) && empty($context[$value['test']]))
{
unset($button_strip[$key]);
continue;
}
elseif (!isset($buttons[$key]) || $force_reset)
$buttons[$key] = '<a href="' . $value['url'] . '" ' .( isset($value['custom']) ? $value['custom'] : '') . '>' . ($settings['use_image_buttons'] ? '<img src="' . $settings['images_url'] . '/' . ($value['lang'] ? $context['user']['language'] . '/' : '') . $value['image'] . '" alt="' . $txt[$value['text']] . '" border="0" />' : $txt[$value['text']]) . '</a>';
$button_strip[$key] = $buttons[$key];
}
echo '
<td ', $custom_td, '>', implode($context['menu_separator'], $button_strip) , '</td>';
}
مشکل رفع نشد ! :(
من فقط همین کدهایی که گفتین رو تغییر دادم اما درست نشد . دیگه هیچی رو نباید تغییر بدم ؟
ببخشید میشه رهنمایی کنین ؟ :-[
من مشکلم حل نشد !
لطفا بگین فایل عکس ها باید در چه شاخه ای باشه ؟ شاید اشکال از اونه !
کجا میشه آدرس این فایل رو تغییر داد ...
مرسی
سلام
در فولدر Themes\YourTemplateName\images شاخه جدیدی بسازید بنام persian
در این فولدر باید تصاویر مورد نظر رو قرار بدید .
برای اینکه کارتون ساده تر بشه از فولدر english یک کپی بگیرید و اون رو به persian تغییر نام بدید سپس تک تک دکمه ها رو ادیت کنید .
یا علی
hotfile.com/dl/9780280/30ca674/persian.rar.html
بفرمایید
این،دکمه هاست.
یا علی