wersja skryptu MyBB: 1.6.14
adres forum: http://forum.fraguj.com
na czym polega problem: Moim problemem jest to, iż mogę moderować jedynie pierwszy post, przy kolejnych nie mam już tej opcji.
Pokaż szablon postbit_inlinecheck.
Kod:
<if $postcounter == 1 then>
| <input type="checkbox" class="checkbox" name="inlinemod_{$post['pid']}" id="inlinemod_{$post['pid']}" value="1" style="vertical-align: middle;" {$inlinecheck} />
<else>
Zaznacz: <input type="checkbox" class="checkbox" name="inlinemod_{$post['pid']}" id="inlinemod_{$post['pid']}" value="1" style="vertical-align: middle;" {$inlinecheck} />
</if>
Kod PHP:
| <input type="checkbox" class="checkbox" name="inlinemod_{$post['pid']}" id="inlinemod_{$post['pid']}" value="1" style="vertical-align: middle;" {$inlinecheck} />
Nadal jedynym postem, którego mogę moderować jest pierwszy.
Hmm, a pokaż postbit_classic
Kod:
{$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="postbit4" width="15%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<span class="smalltext">{$post['profilelink']}</span><br />{$post['author']} <br /><br />
</td>
<td class="postbit4">
<span class="oclock"><i class="fa fa-clock-o"></i> {$post['postdate']} {$post['posttime']}<span class="float_right"> {$post['posturl']}</span></span>
</td>
</tr>
<tr>
<td class="trow23" width="15%" valign="top" style="white-space: nowrap; text-align: center;"></a>
<div class="postbit2">
<span class="smalltext">
{$post['useravatar']}<br />
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}
</div>
{$post['user_details']}
</span>
</td>
<td class="trow123" valign="top">
<table width="100%">
<tr><td><span class="smalltext"></span>
<br />
<div id="pid_{$post['pid']}" class="post_body">
{$post['message']}
<div class="float_right">
<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div></div>
</div>
{$post['attachments']}
{$post['signature']}
</div>
</td></tr>
</table>
</td>
</tr>
<table class="trow80" width="96%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="left" class="trow4" style="white-space: nowrap;>{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}</td>
<td align="right" class="trow4">{$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>
Aaa... Nie ten szablon, pokaż postbit_posturl.
Kod:
<if $postcounter == 1 then>
<div style="float: right; width: auto; vertical-align: top"><span class="smalltext"><!-- IS_UNREAD --><strong>{$lang->postbit_post} <a href="{$post['postlink']}#pid{$post['pid']}">#{$postcounter}</a></strong>{$post['inlinecheck']}</span></div>
<else>
<div style="float: right; width: auto; vertical-align: top"><span class="numdm"><font color="white"><!-- IS_UNREAD --><strong> <a href="{$post['postlink']}#pid{$post['pid']}">{$postcounter}</a></strong></font></span></div>
</if>
Kod PHP:
<div style="float: right; width: auto; vertical-align: top"><span class="smalltext"><!-- IS_UNREAD --><strong>{$lang->postbit_post} <a href="{$post['postlink']}#pid{$post['pid']}">#{$postcounter}</a></strong>{$post['inlinecheck']}</span></div>