Dołącz do zespołu ekspertów! Backend lub Frontend Developer?

Sprawdź najnowsze oferty pracy naszego partnera - 8lines.io!

Widok wątku

Założony przez  C0ld.

wersja skryptu MyBB:1.6.12
adres forum: http://endless-game.hol.es/index.php
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

Jak dodać tą kreskę:
   
tu:
   
Podaj szablon showthread
<html>
<head>
<title>{$thread['subject']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
    var quickdelete_confirm = "{$lang->quickdelete_confirm}";
// -->
</script>
<script type="text/javascript" src="jscripts/thread.js?ver=1603"></script>
<script type="text/javascript" src="jscripts/fitonpage.js?ver=230"></script>
<script type="text/javascript">
<!--
    var fitonpage_on = "{$mybb->settings['g33k_fitonpage_enabled']}";
    var fitonpage_resize = "{$mybb->settings['g33k_fitonpage_resize']}";
    var fitonpage_fluid = "{$mybb->settings['g33k_fitonpage_fluid']}";
    var fitonpage_topbar_resized = "{$lang->fitonpage_topbar_resized}";
    var fitonpage_topbar_full = "{$lang->fitonpage_topbar_full}";
    var fitonpage_topbar_text_class = "{$mybb->settings['g33k_fitonpage_topbar_text_class']}";
    var fitonpage_topbar_bground = "{$mybb->settings['g33k_fitonpage_topbar_bground']}";
    var fitonpage_topbar_icon = "{$mybb->settings['g33k_fitonpage_topbar_icon']}";
    var fitonpage_location = "showthread";
-->
</script>
</head>
<body>
    {$header}
    {$pollbox}
<div class="info_o_temacie">
<span class="info_o_temacie-avatar">
{$thread['avatar_started']}
</span>
<span class="informacje_o_autorze">

<h1>{$thread['subject']}</h1>


<font style="color: #646464;font-size:11px">Napisany przez {$thread['username_started']}, {$thread['temat_date']} {$thread['temat_godzina']}</font>
</span>
</div>
    <div class="float_left">
        {$multipage}

    </div>


    <div class="float_right">
        {$newreply}
    </div>
    {$ratethread}
    <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both; border-bottom-width: 0;">
        {$classic_header}
    </table>
    <div id="posts" class="border_forum" style="border-bottom: 0px;">
        {$posts}
    </div>
    
    <div class="float_left">
        {$multipage}
    </div>
    <div style="padding-top: 4px;" class="float_right">
        {$newreply}
    </div>
    <br style="clear: both;" />
    {$quickreply}
    {$threadexbox}
    {$similarthreads}
    <br />
    <div class="float_left">
        <ul class="thread_tools">
            <li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
            <li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
            <li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subscription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
        </ul>
    </div>

    <div class="float_right" style="text-align: right;">
        {$moderationoptions}
        {$forumjump}
    </div>
    <br style="clear: both;" />
    {$usersbrowsing}
    {$footer}
</body>
</html>
to raczej będziesz musiał dodać w szablonie postbit_classic.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
postbit_classic
{$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['groupimage']}
            {$post['useravatar']}<br />
{$post['reputation_title']}<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></span>
            <br />
            <div id="pid_{$post['pid']}" class="post_body">
                {$post['message']}
            </div>
            {$post['attachments']}
            {$post['signature']}
            <div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
                <div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
                {$post['iplogged']}
            </div>
        </td></tr>
    </table>
</td>
</tr>
<tr>
    <td class="trow1" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
    <td class="trow1" 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_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']}</td>
            </tr>
        </table>
    </td>
</tr>
</table>
hm.. showthread zapisz tak:
<html>
<
head>
<
title>{$thread['subject']}</title>
{
$headerinclude}
<
script type="text/javascript">
<!--
    var 
quickdelete_confirm "{$lang->quickdelete_confirm}";
// -->
</script>
<
script type="text/javascript" src="jscripts/thread.js?ver=1603"></script>
<
script type="text/javascript" src="jscripts/fitonpage.js?ver=230"></script>
<
script type="text/javascript">
<!--
    var 
fitonpage_on "{$mybb->settings['g33k_fitonpage_enabled']}";
    var 
fitonpage_resize "{$mybb->settings['g33k_fitonpage_resize']}";
    var 
fitonpage_fluid "{$mybb->settings['g33k_fitonpage_fluid']}";
    var 
fitonpage_topbar_resized "{$lang->fitonpage_topbar_resized}";
    var 
fitonpage_topbar_full "{$lang->fitonpage_topbar_full}";
    var 
fitonpage_topbar_text_class "{$mybb->settings['g33k_fitonpage_topbar_text_class']}";
    var 
fitonpage_topbar_bground "{$mybb->settings['g33k_fitonpage_topbar_bground']}";
    var 
fitonpage_topbar_icon "{$mybb->settings['g33k_fitonpage_topbar_icon']}";
    var 
fitonpage_location "showthread";
-->
</
script>
</
head>
<
body>
    {
$header}
    {
$pollbox}
<
div class="info_o_temacie">
<
span class="info_o_temacie-avatar">
{
$thread['avatar_started']}
</
span>
<
span class="informacje_o_autorze">

<
h1>{$thread['subject']}</h1>


<
font style="color: #646464;font-size:11px">Napisany przez {$thread['username_started']}, {$thread['temat_date']} {$thread['temat_godzina']}</font>
</
span>
</
div>
    <
div class="float_left">
        {
$multipage}

    </
div>


    <
div class="float_right">
        {
$newreply}
    </
div>
    {
$ratethread}
    <
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" style="clear: both; border-bottom-width: 0;">
        {
$classic_header}
    </
table>
    <
div id="posts" class="border_forum" style="border-bottom: 0px;background: url(/images/holy/maintitle.png) repeat-x top;padding-top: 40px;">
        {
$posts}
    </
div>
    
    <
div class="float_left">
        {
$multipage}
    </
div>
    <
div style="padding-top: 4px;" class="float_right">
        {
$newreply}
    </
div>
    <
br style="clear: both;" />
    {
$quickreply}
    {
$threadexbox}
    {
$similarthreads}
    <
br />
    <
div class="float_left">
        <
ul class="thread_tools">
            <
li class="printable"><a href="printthread.php?tid={$tid}">{$lang->view_printable}</a></li>
            <
li class="sendthread"><a href="sendthread.php?tid={$tid}">{$lang->send_thread}</a></li>
            <
li class="subscription_{$add_remove_subscription}"><a href="usercp2.php?action={$add_remove_subscription}subsc​ription&amp;tid={$tid}&amp;my_post_key={$mybb->post_code}">{$add_remove_subscription_text}</a></li>
        </
ul>
    </
div>

    <
div class="float_right" style="text-align: right;">
        {
$moderationoptions}
        {
$forumjump}
    </
div>
    <
br style="clear: both;" />
    {
$usersbrowsing}
    {
$footer}
</
body>
</
html
a postbit_classic
{$ignore_bit}
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder" style="{$post_extra_style} {$post_visibility} background: url(/images/holy/maintitle.png) repeat-x top;padding-top: 40px;" 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['groupimage']}
            {
$post['useravatar']}<br />
{
$post['reputation_title']}<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></span>
            <
br />
            <
div id="pid_{$post['pid']}class="post_body">
                {
$post['message']}
            </
div>
            {
$post['attachments']}
            {
$post['signature']}
            <
div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
                <
div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
                {
$post['iplogged']}
            </
div>
        </
td></tr>
    </
table>
</
td>
</
tr>
<
tr>
    <
td class="trow1" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
    <
td class="trow1" 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_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']}</td>
            </
tr>
        </
table>
    </
td>
</
tr>
</
table
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.



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

1 gości