Webboard

Pełna wersja: Pozycja poziomu reputacji
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: 1.8.3
adres forum: http://cs-hell.xaa.pl/
na czym polega problem (screen, opis, komunikaty):

Czy da rade zrobić żeby poziom reputacji był mniejwięcej na środku tak jak na ss zaznaczyłem na zielono, ponieważ gdy jest tam rozciąga mi tabelke z danymi.

Szablon postbit_classic

Kod:
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" cellspacing="0" cellpadding="6" class="postborder" style="{$post_extra_style} {$post_visibility} margin: 5px 0;" id="post_{$post['pid']}">
    <tr>
    <td class="postcat" align="center" style="padding: 8px 8px 8px 8px;">
     <div class="largetext centered" style="padding-bottom: 0px;">{$post['onlinestatus']} {$post['profilelink']}</div>
    </td>
<td class="postcat" valign="middle" style="padding: 8px 6px 4px 6px;">
<span class="smalltext">{$post['postdate']}, {$post['posttime']}</span>

<div style="float: right; width: auto; vertical-align: top;"><span class="smalltext">{$post['posturl']}</span></div>
</tr>
     <tr>
        <td class="trow1" width="17%" valign="top" style="white-space: nowrap; text-align: center; border-right: 1px solid #;">
        {$post['usertitle']}<br />
        <span class="smalltext">
            {$post['useravatar']}
            {$post['groupimage']}
          <div class="author_statistics" style="margin: 0 auto; width: 120px;">
            {$post['user_details']}{$post['reputationlevel']}
          </div>
            <br />
        
            </span></div></div>
   </td>
    <td class="trow1" valign="top">
        <table width="100%">
            <tr><td>
            <div id="pid_{$post['pid']}" class="post_body">
                {$post['message']}
            <div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
            </div>
         {$post['attachments']}{$post['signature']}
        </td>
     </tr>
  </table>
</td>
</tr>
<tr valign="bottom">
    <td class="buttons" align="left" valign="bottom">
<span class="float_left">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}    {$post['iplogged']}</span></td>
    <td class="buttons" align="right" valign="bottom">
<span class="float_right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</span>
</td>
</tr>
</table>

Ss w załączniku.
  • To powinien być szablon postbit (opis posta).
  • Włącz ten plugin, na chwilę obecną nie widzę poziomów reputacji
Plugin włączony.

Szablon:

Kod:
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_author">
    {$post['useravatar']}
    <div class="author_information">
            <strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
            <span class="smalltext">
                {$post['usertitle']}<br />
                {$post['userstars']}
                {$post['groupimage']}
            </span>
    </div>
    <div class="author_statistics">
        {$post['user_details']}{$post['reputationlevel']}
    </div>
</div>
<div class="post_content">
    <div class="post_head" title="{$post['subject_title']}">
        {$post['posturl']}
        {$post['icon']}
        <span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
    </div>
    <div class="post_body scaleimages" id="pid_{$post['pid']}">
        {$post['message']}
    </div>
    {$post['attachments']}
    {$post['signature']}
    <div class="post_meta" id="post_meta_{$post['pid']}">
    </div>
</div>
<div class="post_controls">
    <div class="float_left">
        {$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}{$post['iplogged']}
    </div>
    <div class="float_right">
        {$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
    </div>
</div>
</div>
Kod PHP:
{$ignore_bit}
<
a name="pid{$post['pid']}id="pid{$post['pid']}"></a>
<
div class="post {$unapproved_shade}style="{$post_visibility}id="post_{$post['pid']}">
<
div class="post_author">
    {
$post['useravatar']}
    <
div class="author_information">
            <
strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
            <
span class="smalltext">
                {
$post['usertitle']}<br />
                {
$post['userstars']}
                {
$post['groupimage']}

            </
span>
    </
div>{$post['reputationlevel']}
    <
div class="author_statistics">
        {
$post['user_details']}
    </
div>
</
div>
<
div class="post_content">
    <
div class="post_head" title="{$post['subject_title']}">
        {
$post['posturl']}
        {
$post['icon']}
        <
span class="post_date">{$post['postdate']} <span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
    </
div>
    <
div class="post_body scaleimages" id="pid_{$post['pid']}">
        {
$post['message']}
    </
div>
    {
$post['attachments']}
    {
$post['signature']}
    <
div class="post_meta" id="post_meta_{$post['pid']}">
    </
div>
</
div>
<
div class="post_controls">
    <
div class="float_left">
        {
$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}{$post['iplogged']}
    </
div>
    <
div class="float_right">
        {
$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
    </
div>
</
div>
</
div
Spróbuj.
Dziękuje. Jest ładnie. Plusik