Adres forum:
http://testtesttast.cba.pl
login: test
hasło: test
Wersja silnika:
1.8.12
Opis problemu:
Jest jedynie w „Edytuj profil” „Inne” i są „Your Support Threads” , „Your Assigned Threads”
Nie wiem gdzie szukać przycisku „Najlepsza odpowiedź itd „
Wykonałem zgodnie z opisem, czyli:
- dodałem do pliku
global.css, to z pliku
mysupport_css_additions.css
- zmieniłem w pliku
mysupport.php z 16* na 18* i skopiowałem za server
- zmieniłem w kodzie:
To:
Kod:
<br />
<fieldset class="trow2">
<legend><strong>{$lang->other_options}</strong></legend>
na to:
Kod:
<br />
{$mysupport_usercp_options}
<fieldset class="trow2">
<legend><strong>{$lang->other_options}</strong></legend>
Zainstalowałem i co dalej, nic nie widzę.
Zacznijmy od początku, zmienne w szablonach opisu posta są? postbit i postbit_classic.
Oj nie, ja wykonałem to:
Cytat:To Install:
Upload ./inc/plugins/mysupport.php to ./inc/plugins/
Upload ./admin/modules/config/mysupport.php to ./admin/modules/config/
Upload ./inc/languages/english/mysupport.lang.php to ./inc/languages/english/
Upload ./inc/languages/english/admin/config_mysupport.lang.php to ./inc/languages/english/admin/
Open ./files/mysupport_css_additions.css and add the code inside to the bottom of global.css for your themes, by going to ACP > Templates & Style > **choose theme** > global.css > Edit Stylesheet: Advanced Mode > scroll down and add the CSS to the bottom.
Go to ACP > Templates & Style > Templates > **expand template set** > User Control Panel Templates > usercp_options > find:
<br />
<fieldset class="trow2">
<legend><strong>{$lang->other_options}</strong></legend>
change to:
<br />
{$mysupport_usercp_options}
<fieldset class="trow2">
<legend><strong>{$lang->other_options}</strong></legend>
Go to ACP > Plugins > Install and Activate
Go to ACP > Configuration > MySupport Settings > Configure Settings.
Go to ACP > Configuration > MySupport (left menu) > setup where MySupport can be used and who can use it.
Żadnym pliku nić nie zmieniałem (postbit i postbit_classic)
No to trzeba zerknąć do kodu pluginu, wziąć zmienne brakujące i je dodać.
Pokaż tutaj swój postbit / postbit_classic.
Niby przycisk powinien bo zmienna jest, aczkolwiek brakowało po dwie:
Kod:
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post classic {$unapproved_shade} {$post['mysupport_bestanswer_highlight']}{$post['mysupport_staff_highlight']}" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_author scaleimages">
{$post['useravatar']}
<div class="author_information">
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}
</span>
</div>
<div class="author_statistics">
{$post['user_details']}
</div>
</div>
<div class="post_content">
<div class="post_head">
{$post['posturl']}
{$post['mysupport_status']}{$post['icon']}
<span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
{$post['subject_extra']}<div class="float_right">{$post['mysupport_bestanswer']}{$post['mysupport_deny_support_post']}</div>
</div>
<div class="post_body scaleimages" id="pid_{$post['pid']}">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div class="post_meta" id="post_meta_{$post['pid']}">
{$post['iplogged']}
</div>
</div>
<div class="post_controls">
<div class="postbit_buttons author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
</div>
<div class="postbit_buttons post_management_buttons float_right">
{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</div>
</div>
i postbit_classic
Kod:
{$ignore_bit}{$deleted_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post classic {$unapproved_shade} {$post['mysupport_bestanswer_highlight']}{$post['mysupport_staff_highlight']}" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_author scaleimages">
{$post['useravatar']}
<div class="author_information">
<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}
</span>
</div>
<div class="author_statistics">
{$post['user_details']}
</div>
</div>
<div class="post_content">
<div class="post_head">
{$post['posturl']}
{$post['mysupport_status']}{$post['icon']}
<span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
{$post['subject_extra']}<div class="float_right">{$post['mysupport_bestanswer']}{$post['mysupport_deny_support_post']}</div>
</div>
<div class="post_body scaleimages" id="pid_{$post['pid']}">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div class="post_meta" id="post_meta_{$post['pid']}">
{$post['iplogged']}
</div>
</div>
<div class="post_controls">
<div class="postbit_buttons author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
</div>
<div class="postbit_buttons post_management_buttons float_right">
{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</div>
</div>
Stwierdzając po kodzie pluginu, w ustawieniach jest opcja zarządzająca najlepszą odpowiedzią, masz ją włączoną?
Już chyba wiem czemu nić nie było, ponieważ nie było nić tutaj zaznaczone.
[
attachment=13195]