Admin Paneli > Şablon & Stil > Temanızın Şablonu > Postbit > Postbit
İcindekileri Sil Yapiştir
Kod:
{$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">
<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 style="background-color:#f1f1f1; border-right: 1px solid #cccccc; border-left: 1px solid #cccccc; border-bottom: 1px solid #cccccc;">
<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><br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}
</span>
</td>
<td class="smalltext post_author_info" width="165">
{$lang->postbit_posts} {$post['postnum']}<br />
{$lang->postbit_joined} {$post['userregdate']}<br />
{$lang->postbit_reputation} {$post['userreputation']}<br />
{$lang->postbit_status} {$post['onlinestatus']}<br />
{$post['warninglevel']}<br />
{$post['user_details']}
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="post_content" style="border-right: 1px solid #cccccc; border-left: 1px solid #cccccc; background-color:#f9f9f9">
<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
<div class="post_body" id="pid_{$post['pid']}">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div class="post_****" id="post_****_{$post['pid']}">
{$post['iplogged']}
</div>
</td>
</tr>
<tr>
<td class="post_buttons"style="border-right: 1px solid #cccccc; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; background-color:
#e1ddd3" >
<div class="author_buttons float_left">
{$post['button_report']}{$post['button_rep']}{$post['button_warn']}
</div>
<div class="post_management_buttons float_right">{$post['button_tyl']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</td>
</tr>
<tr style="{$post['tyl_display']}" id="tyl_{$post['pid']}">
{$post['thankyoulike_data']}
</tr>
</tbody>
</table>
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 width="15%" valign="top" style="white-space: nowrap; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; text-align: center; background-color:#f1f1f1"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<br />
<strong><span class="largetext">{$post['profilelink']}</span></strong><br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}<br />
{$post['groupimage']}<br />
{$post['useravatar']}
<br />
<dl class="userinfo_extra">
<div class="post_field"><font color="#535353"><b>{$lang->postbit_posts} </b></font>   {$post['postnum']}</div>
<div class="post_field"><font color="#535353"><b>{$lang->postbit_joined} </b></font>   {$post['userregdate']}</div>
<div class="post_field"><font color="#535353"><b>{$lang->postbit_reputation} </b></font>   {$post['userreputation']}</div>
<div class="post_field"><font color="#535353"><b>{$lang->postbit_status} </b></font>   {$post['onlinestatus']}</div>
{$post['warninglevel']}
</dl>
{$post['user_details']}
</span>
</td>
<td class="postbody" valign="top" style="border-right: 1px solid #cccccc; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; background-color:#f9f9f9">
<table width="100%">
<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']} - {$post['postdate']}, {$post['posttime']}</strong><div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div></span>
<br />
<div id="pid_{$post['pid']}" class="post_body">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
{$post['iplogged']}
</td></tr>
</table>
</td>
</tr>
<tr>
<td align="left" style="vertical-align: middle; border-left: 1px solid #cccccc; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; background-color:#e1ddd3"><span class="smalltext">{$post['button_rep']}{$post['button_report']}{$post['button_warn']}</span></td>
<td style="vertical-align: middle; border-right: 1px solid #cccccc; border-top: 1px solid #cccccc; border-bottom: 1px solid #cccccc; background-color:#e1ddd3">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="right">{$post['button_tyl']}{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_reply_pm']}{$post['button_delete_pm']}</td>
</tr>
</table>
</td>
</tr>
</table>
Buton Araçları-Eklemek İsteyenler İçin(Postbit İçin Şart Değildir)
Özel Mesaj-
Kod:
<a href="private.php?action=delete&pmid={$id}&my_post_key={$mybb->post_code}"><img src="{$theme['imglangdir']}/pm_delete.png" alt="{$lang->delete}" title="{$lang->delete_title}" /></a>
Düzenle
Kod:
<a href="editpost.php?pid={$post['pid']}" id="edit_post_{$post['pid']}"><img src="{$theme['imglangdir']}/postbit_edit.gif" alt="{$lang->postbit_edit}" title="{$lang->postbit_edit}" /></a>
<div id="edit_post_{$post['pid']}_popup" class="popup_menu" style="display: none;"><div class="popup_item_container"><a href="javascript:;" onclick="Thread.quickEdit({$post['pid']});" class="popup_item">{$lang->postbit_quick_edit}</a></div><div class="popup_item_container"><a href="editpost.php?pid={$post['pid']}" class="popup_item">{$lang->postbit_full_edit}</a></div></div>
<script type="text/javascript">
// <!--
if(use_xmlhttprequest == "1")
{
new PopupMenu("edit_post_{$post['pid']}");
}
// -->
</script>
Kod:
<a href="member.php?action=emailuser&uid={$post['uid']}"><img src="{$theme['imglangdir']}/postbit_email.gif" alt="{$lang->postbit_email}" title="{$lang->postbit_email}" /></a>
Find
Kod:
<a href="search.php?action=finduser&uid={$post['uid']}"><img src="{$theme['imglangdir']}/postbit_find.gif" alt="{$lang->postbit_find}" title="{$lang->postbit_find}" /></a>
PM
Kod:
<a href="private.php?action=send&uid={$post['uid']}"><img src="{$theme['imglangdir']}/postbit_pm.gif" alt="{$lang->postbit_pm}" title="{$lang->postbit_pm}" /></a>
quickdelete
Kod:
<a href="editpost.php?pid={$post['pid']}" onclick="Thread.deletePost({$post['pid']}); return false;" style="display: none;" id="quick_delete_{$post['pid']}"><img src="{$theme['imglangdir']}/postbit_delete.png" alt="{$lang->postbit_qdelete}" title="{$lang->postbit_qdelete}" /></a>
<script type="text/javascript">
// <!--
$('quick_delete_{$post['pid']}').style.display = '';
// -->
</script>
Rep
Kod:
<a href="javascript:MyBB.reputation({$post['uid']},{$post['pid']});"><img src="{$theme['imglangdir']}/postbit_reputation.gif" alt="{$lang->postbit_reputation}" title="{$lang->postbit_reputation}" /></a>
Alıntı
Kod:
<a href="newreply.php?tid={$tid}&pid={$post['pid']}"><img src="{$theme['imglangdir']}/postbit_quote.gif" alt="{$lang->postbit_quote}" title="{$lang->postbit_quote}" /></a>
Cevapla
Kod:
<a href="private.php?action=send&pmid={$id}&do=reply"><img src="{$theme['imglangdir']}/pm_reply.gif" alt="{$lang->reply}" title="{$lang->reply_title}" /></a>
Report
Kod:
<a href="javascript:Thread.reportPost({$post['pid']});"><img src="{$theme['imglangdir']}/postbit_report.gif" alt="{$lang->postbit_report}" title="{$lang->postbit_report}" /></a>
Not:İlk 2 koddan sonraki kodlar postbit kodları değildir..Buton kodlarıdır..Onları eklemek size kalmıştır..Postbit için sadece ilk 2 kod geçerlidir..
Alıntı
kaynak: http://www.turkhackteam.net/diger-forum-scriptleri/860818-mybb-gelismis-themes-postbit-kodlari.html