Webboard

Pełna wersja: Nazwa tematu nad postem użytkownika
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: 1.6.12
adres forum: http://perfectskill.pl/index.php
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Witam, otóż jak pisze się tematy/posty to nad tym co napisał użytkownik jest napisane "RE:Nazwa tematu" i chciałbym to usunąć.

SS'y:
[Obrazek: 2a4wzfr.png]
ACP → Style i szablony → Szablony → [twój styl] → Opis posta → postbit_classic

Zmieniasz tą linijkę:

Kod PHP:
<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span

Na tą:

Kod PHP:
<tr><td>{$post['posturl']} 

Albo jak nie masz tego, co jest zależne od stylu, pokaż zawartość postbit_classic.
(15.02.2014, 12:25)Ecosse napisał(a): [ -> ]ACP → Style i szablony → Szablony → [twój styl] → Opis posta → postbit_classic

Zmieniasz tą linijkę:

Kod PHP:
<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span

Na tą:

Kod PHP:
<tr><td>{$post['posturl']} 

Albo jak nie masz tego, co jest zależne od stylu, pokaż zawartość postbit_classic.


Właśnie tego nie mam.

Mój postbit_classic

Kod PHP:
<table border="0" class="showthread_postmain">
<
tr>
<
td class="tcatleft"><center>{$post['onlinestatus']} <span class="showthread_authorname">{$post['profilelink']}</span></center>
</
td><td class="tcatright">
                <
div class="left">{$post['postdate']}, {$post['posttime']} 
                <
span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
                </
div>{$post['posturl']}</td></tr>
<
tr><td class="showthread_postauthorinfo">
<
div>
            <
div><span class="smalltext">{$post['usertitle']}</span><br />
                <
center><span class="showthread_useravatar">{$post['useravatar']}</span></center>            </div>
            <
div>
                <
span class="smalltext">
                    <
br />
                    {
$post['userstars']}
                    {
$post['groupimage']}
                </
span>
            </
div>
            <
div><div style="padding-top: 5px;">
            {
$post['user_details']}{$post['ougc_awards']}{$post['awards']}</div></center><center>{$post['reputation_title']}
            </
div>
            </
div> </td>
<
td valign="top" class="showthread_postcontent">

<
div class="showthread_postcontentwrapper">
        <
span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span><br />
        <
div class="showthread_postbody_message" id="pid_{$post['pid']}">
                    {
$post['message']}
                </
div>
                {
$post['attachments']}
                {
$post['signature']}
            <
div class="post_meta" id="post_meta_{$post['pid']}">
                {
$post['iplogged']}
                </
div>
        </
div>

</
td>
</
tr>
<
tr><td colspan="2" class="showthread_post_options"><span class="left">
                    {
$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
            </
span>
            
            <
span class="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
            </
span></td></tr>
</
table
Spróbuj tak:

Kod PHP:
<table border="0" class="showthread_postmain">
<
tr>
<
td class="tcatleft"><center>{$post['onlinestatus']} <span class="showthread_authorname">{$post['profilelink']}</span></center>
</
td><td class="tcatright">
                <
div class="left">{$post['postdate']}, {$post['posttime']} 
                <
span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
                </
div>{$post['posturl']}</td></tr>
<
tr><td class="showthread_postauthorinfo">
<
div>
            <
div><span class="smalltext">{$post['usertitle']}</span><br />
                <
center><span class="showthread_useravatar">{$post['useravatar']}</span></center>            </div>
            <
div>
                <
span class="smalltext">
                    <
br />
                    {
$post['userstars']}
                    {
$post['groupimage']}
                </
span>
            </
div>
            <
div><div style="padding-top: 5px;">
            {
$post['user_details']}{$post['ougc_awards']}{$post['awards']}</div></center><center>{$post['reputation_title']}
            </
div>
            </
div> </td>
<
td valign="top" class="showthread_postcontent">

<
div class="showthread_postcontentwrapper">
        <
div class="showthread_postbody_message" id="pid_{$post['pid']}">
                    {
$post['message']}
                </
div>
                {
$post['attachments']}
                {
$post['signature']}
            <
div class="post_meta" id="post_meta_{$post['pid']}">
                {
$post['iplogged']}
                </
div>
        </
div>

</
td>
</
tr>
<
tr><td colspan="2" class="showthread_post_options"><span class="left">
                    {
$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
            </
span>
            
            <
span class="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
            </
span></td></tr>
</
table
(15.02.2014, 12:54)Ecosse napisał(a): [ -> ]Spróbuj tak:

Kod PHP:
<table border="0" class="showthread_postmain">
<
tr>
<
td class="tcatleft"><center>{$post['onlinestatus']} <span class="showthread_authorname">{$post['profilelink']}</span></center>
</
td><td class="tcatright">
                <
div class="left">{$post['postdate']}, {$post['posttime']} 
                <
span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
                </
div>{$post['posturl']}</td></tr>
<
tr><td class="showthread_postauthorinfo">
<
div>
            <
div><span class="smalltext">{$post['usertitle']}</span><br />
                <
center><span class="showthread_useravatar">{$post['useravatar']}</span></center>            </div>
            <
div>
                <
span class="smalltext">
                    <
br />
                    {
$post['userstars']}
                    {
$post['groupimage']}
                </
span>
            </
div>
            <
div><div style="padding-top: 5px;">
            {
$post['user_details']}{$post['ougc_awards']}{$post['awards']}</div></center><center>{$post['reputation_title']}
            </
div>
            </
div> </td>
<
td valign="top" class="showthread_postcontent">

<
div class="showthread_postcontentwrapper">
        <
div class="showthread_postbody_message" id="pid_{$post['pid']}">
                    {
$post['message']}
                </
div>
                {
$post['attachments']}
                {
$post['signature']}
            <
div class="post_meta" id="post_meta_{$post['pid']}">
                {
$post['iplogged']}
                </
div>
        </
div>

</
td>
</
tr>
<
tr><td colspan="2" class="showthread_post_options"><span class="left">
                    {
$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
            </
span>
            
            <
span class="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
            </
span></td></tr>
</
table


ok, działa.