Webboard

Pełna wersja: dodanie dodatkowych pól
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: 1.6.15
adres forum: www.cs-atom.xaa.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): jak dodac w tym miejscu ( pokazane na ss ) takie pola jak status gg, steam, skype, itp
zmienne status gg, steam, skype itp. dodaj w szablonach stylu w Opis posta - Szablony >> postbit_author_user
no i co mam tu dodac ??

postbit_author_user


Kod PHP:
{$lang->postbit_posts} {$post['postnum']}<br />
<
div id="profilpost9"></div>
{
$lang->postbit_joined}
<
div id="profilpost9"></div>
 {
$post['userregdate']}
<
div id="profilpost9"></div>
    {
$post['replink']}
<
div id="profilpost9"></div>
{
$post['warninglevel']}
<
div id="profilpost9"></div
a masz zainstalowany np ten plugin https://webboard.pl/thread-9161.html jeżeli tak to sprawdz w postbit jakie to są zmienne (sam tego nie używałem i pewnie gdzieś są obok zmiennej {$post['button_email']}) i wstaw je do postbit_author_user gdzie chcesz np za {$post['warninglevel']} ..testuj
postbit


Kod PHP:
{$ignore_bit}
<
a name="pid{$post['pid']}id="pid{$post['pid']}"></a>
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" style="{$post_extra_style} {$post_visibility}id="post_{$post['pid']}">
    <
tbody>
        <
tr>
            <
td class="tcat_foot">
                <
div class="float_left smalltext">
                    {
$post['postdate']}, {$post['posttime']} <span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
                </
div>
                {
$post['posturl']}
            </
td>
        </
tr>

        <
tr>
            <
td class="trow1 {$unapproved_shade}">
                <
table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
                    <
tr>
                        <
td class="post_avatar" width="1" style="{$post['avatar_padding']}">
                            {
$post['useravatar']}
                        </
td>
                        <
td class="post_author">
                            <
strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
                            <
span class="smalltext">
                                {
$post['usertitle']}<br />
                                {
$post['userstars']}
                                {
$post['groupimage']}
                            </
span>
                        </
td>
                        <
td class="smalltext post_author_info" width="165">
                            {
$post['user_details']}
                        </
td>
                    </
tr>
                </
table>
            </
td>
        </
tr>

        <
tr>
            <
td class="trow2 post_content {$unapproved_shade}">
                <
span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
<
div class="post_arrow"></div>

<
div class="post_arrow"></div>
                <
div class="post_body" id="pid_{$post['pid']}">
                    {
$post['message']}
                </
div>
                {
$post['attachments']}
                {
$post['signature']}

                <
div class="post_meta" id="post_meta_{$post['pid']}">
                {
$post['iplogged']}
                </
div>
            </
td>
        </
tr>

        <
tr>
            <
td class="trow1 post_buttons {$unapproved_shade}">
                <
div class="author_buttons float_left">
                    <
a href="gg:{$post['sr_gadu']}"><object data="http://status.gadu-gadu.pl/users/status.asp?id={$post['sr_gadu']}&styl=0" type="image/png" width="20" height="20"><object data="./images/sr_plugins/plims/no_gadu.png" type="image/png" width="18" height="18">&nbsp;</object></object></a>
<
a href="http://ludzie.tlen.pl/{$post['sr_tlen']}/" target="_blank"><object data="http://status.tlen.pl/?u={$post['sr_tlen']}&t=1" type="image/gif" width="18" height="18"><object data="./images/sr_plugins/plims/no_tlen.png" type="image/png" width="18" height="18">&nbsp;</object></object></a>
<
a href="skype:{$post['sr_skype']}?chat"><object data="http://mystatus.skype.com/smallicon/{$post['sr_skype']}type="image/png" width="18" height="18"><object data="./images/sr_plugins/plims/no_skype.png" type="image/png" width="16" height="16">&nbsp;</object></object></a>
{
$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
                </
div>
                <
div class="post_management_buttons float_right">{$post['button_spam']}{$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']}
                </
div>
            </
td>
        </
tr>
    </
tbody>
</
table


i co ?
No i te zmienne odpowiadają za komunikatory

Kod PHP:
<a href="gg:{$post['sr_gadu']}"><object data="http://status.gadu-gadu.pl/users/status.asp?id={$post['sr_gadu']}&styl=0" type="image/png" width="20" height="20"><object data="./images/sr_plugins/plims/no_gadu.png" type="image/png" width="18" height="18">&nbsp;</object></object></a>
<
a href="http://ludzie.tlen.pl/{$post['sr_tlen']}/" target="_blank"><object data="http://status.tlen.pl/?u={$post['sr_tlen']}&t=1" type="image/gif" width="18" height="18"><object data="./images/sr_plugins/plims/no_tlen.png" type="image/png" width="18" height="18">&nbsp;</object></object></a>
<
a href="skype:{$post['sr_skype']}?chat"><object data="http://mystatus.skype.com/smallicon/{$post['sr_skype']}type="image/png" width="18" height="18"><object data="./images/sr_plugins/plims/no_skype.png" type="image/png" width="16" height="16">&nbsp;</object></object

spróbuj je wstawić do postbit_author_user

tylko przed testowaniem zrób kopię
no nie wyszło zobacz sam http://cs-atom.xaa.pl/showthread.php?tid...838#pid838

Chce zeby to było jedno pod drugim
OK a spróbuj uzyć <br> między ikonami np.
Kod PHP:
<br><a href="gg:{$post['sr_gadu']}"><object data="http://status.gadu-gadu.pl/users/status.asp?id={$post['sr_gadu']}&styl=0" type="image/png" width="20" height="20"><object data="./images/sr_plugins/plims/no_gadu.png" type="image/png" width="18" height="18">&nbsp;</object></object><br></a>
<
a href="http://ludzie.tlen.pl/{$post['sr_tlen']}/" target="_blank"><object data="http://status.tlen.pl/?u={$post['sr_tlen']}&t=1" type="image/gif" width="18" height="18"><object data="./images/sr_plugins/plims/no_tlen.png" type="image/png" width="18" height="18">&nbsp;</object></object><br></a>
<
a href="skype:{$post['sr_skype']}?chat"><object data="http://mystatus.skype.com/smallicon/{$post['sr_skype']}type="image/png" width="18" height="18"><object data="./images/sr_plugins/plims/no_skype.png" type="image/png" width="16" height="16">&nbsp;</object></object
no jest jedno pod drugim ale wychodzi po za pole