Ten post był ostatnio modyfikowany - Jak zmienić wygląd

Założony przez  MEXXIO.

wersja skryptu MyBB: 1.6.8
adres forum: Tut4You.pl
na czym polega problem (screen, opis, komunikaty):

Chciałem się zapytać w którym szablonie mogę zmienić wygląd tego:

(Ten post był ostatnio modyfikowany: Dzisiaj 07:56 przez MEXXIO.)

Chcę to ozdobić CSS lecz nie mogę znaleźć.
acp-szablony i style-szblony-twoj styl- Opis posta - Szablony-postbit_editedby

tam jest:
<span class="smalltext">

Zrób nowa klasę zamiast smalltext, dodaj ją do global.css i juz :)
Mam jeszcze mały problem zrobiłem jak pisałeś ale efekt jest taki:

[Obrazek: IJuRw.png]

w global.css dodałem coś takiego:

.edit {
    background: url(images/tut4you/lime/comment_edit.png) no-repeat 6px 5px #ffebc8;
    border: 1px
    solid #ecc272;
    color: #ac6328;
    font-size: 11px;
    margin: auto;
    min-height: 38px;
    padding: 5px 5px 5px 60px !important;
}

a postbit_classic wygląda tak:

{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
    <tr>
        <td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
        <strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
        <span class="smalltext">
            {$post['usertitle']}<br />
            {$post['userstars']}
            {$post['groupimage']}
            {$post['useravatar']}<br />
            {$post['user_details']}
        </span>
    </td>
    <td class="{$altbg}" valign="top">
        <table width="100%">
            <tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong>{$post['threadsdesc']}</span>
            <br />
            <div id="pid_{$post['pid']}" class="post_body">
                {$post['download_system']}{$post['message']}
            </div>
            {$post['attachments']}
            {$post['signature']}
            <div style="text-align: left;">
                <div>{$post['editedmsg']}</div>
            </div>
                <div style="text-align: right; vertical-align: bottom;">{$post['iplogged']}</div>
        </td></tr>
    </table>
</td>
</tr>
<tr>
    <td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
    <td class="{$altbg}" style="vertical-align: middle;">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr valign="bottom">
                <td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
                <td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote_fast']}{$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']}</td>
            </tr>
        </table>
    </td>
</tr>
</table>

postbit_editedby

<span class="edit">({$post['editnote']} {$post['editedprofilelink']}.)</span>

I nie mogę zrobić aby było na całej szerokości i równo z code oraz ten tekst do lewej przy ikonce.
CSS
.edit {
background: url(../../../images/tut4you/lime/comment_edit.png) no-repeat 6px 5px #FFEBC8;
border: 1px
solid #ECC272;
color: #AC6328;
font-size: 11px;
margin-top: 5px;
min-height: 18px;
padding: 5px 5px 5px 30px !important;
}

Szablon wiadomości:
<div class="edit">({$post['editnote']} {$post['editedprofilelink']}.)</div>

Dodatkowo ten div tutaj jest niepotrzebny, usunąłbym to:
<div>{$post['editedmsg']}</div>
Gdzie jest ten global.css. Powiedzcie prosze. Bo tez chce zmienic a nie wiem gdzie on jest.
Nie ma tego. Przeszukalem i nic.
Daniel Praźmo napisał 08.08.2012, 13:20:
ACP > Style > Twój styl
Następnym razem zalecam użyć wyszukiwarki, albo przejrzeć Wiki w celu zapoznania się z podstawami MyBB.
[Obrazek: modnotice_search.png]
No jest niby ok jak chciałem lecz nie jest równo z blokiem code czy też np. quote
(08.08.2012, 13:02)MEXXIO napisał(a): No jest niby ok jak chciałem lecz nie jest równo z blokiem code czy też np. quote

Bo Blok code czy quote nie zajmuje całej szerokości posta, to chyba jasne. Jeśli chcesz mieć to równo w quotem, zwiększ boczne marginesy.
:: Akcja DZIĘKUJĘ ZA POMOC ::
Pomocy udzielam jedynie na forum. Wszystkie rzeczy wykraczające poza tą dziedzinę wykonuję odpłatnie.
Jak chcesz, żeby było równo do tekstu to:
{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
    <tr>
        <td class="{$altbg}" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
        <strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
        <span class="smalltext">
            {$post['usertitle']}<br />
            {$post['userstars']}
            {$post['groupimage']}
            {$post['useravatar']}<br />
            {$post['user_details']}
        </span>
    </td>
    <td class="{$altbg}" valign="top">
        <table width="100%">
            <tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong>{$post['threadsdesc']}</span>
            <br />
            <div id="pid_{$post['pid']}" class="post_body">
                {$post['download_system']}{$post['message']}
<div style="text-align: left;">
{$post['editedmsg']}
</div>
            </div>
            {$post['attachments']}
            {$post['signature']}
                <div style="text-align: right; vertical-align: bottom;">{$post['iplogged']}</div>
        </td></tr>
    </table>
</td>
</tr>
<tr>
    <td class="{$altbg}" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
    <td class="{$altbg}" style="vertical-align: middle;">
        <table width="100%" border="0" cellpadding="0" cellspacing="0">
            <tr valign="bottom">
                <td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</span></td>
                <td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote_fast']}{$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']}</td>
            </tr>
        </table>
    </td>
</tr>
</table>

Wtedy będziesz miał wiadomość w tej ramce (post_body). Jeżeli chcesz, żeby wiadomość była poza ramką, ale była równo z tekstem to wystarczy w css dopasować marginesy (margin-right, margin-left lub margin: 0px 0px 0px 0px - góra, prawa, dół, lewa).

Cytat:Gdzie jest ten global.css

ACP -> Style i szablony -> style -> twój styl

@edit: o, Nidrax mnie wyprzedził. :)
No ok zrobiłem, dałem coś takiego:

.edit {
    background: url(images/tut4you/lime/comment_edit.png) no-repeat 5px 5px #FFEBC8;
    border: 1px
    solid #ECC272;
    color: #AC6328;
    font-size: 11px;
    margin: 130px 10px 0 10px;
    min-height: 18px;
    padding: 5px 5px 5px 30px !important;
}

I działa jak chciałem, dzięki wszystkim i oczywiście nagrodzę ;)
Nie mam tego . Styl mam eDivision i nie mam. Mam kategorie : Ankieta-Szablony itp. ale nigdzie nie ma global.css

Dobra znalazłem , mój bład bo szukalem w szablonach. A nie w stylach. Dzieki

Teraz mam inny problem. Bo .. zobaczcie sami : http://run-craft.xaa.pl/ - byle jaki post ktory jest edytowany.
Daniel Praźmo napisał 08.08.2012, 13:50:
[Obrazek: modnotice_thx.png]



Użytkownicy przeglądający ten wątek:

1 gości