Back to vBulletin 4.x Template Modifications

eTiKeT™ 2015 Style Postbit - Postbit_legacy
Mod Version: 1.1.0, by eTiKeT™

vB Version: 4.2.3 Rating: (4 votes - 4.75 average) Installs: 18
Released: 02 Dec 2015 Last Update: Never Downloads: 163
Not Supported Template Edits Additional Files Re-usable Code Translations Is in Beta Stage  

/#########################################/
/# Orijinal : http://vbulletin.web.tr/showthread.php/6785-eTiKeTTM-2015-Style-Postbit-Postbit_legacy
/# Developer: eTiKeT™
/# vBulletin Version : 4.2.3
/# Version : 1.1.0
/# Published : 2015
/# Demo :http://vbulletin.web.tr
/#########################################/



Explanation;
=============
What is this Postbit for ? The only reason for the creation of this Postbit is to change the style of the Default Vbulletin Postbit into the one which ,i believe , looks much better.
Caution !
=============
This Postbit is designed complately based on the Vbulletin Default Postbit. Thus , it does not support extra added features!. If you have a forum which includes such extra features, I will explain how to add them into postbit in the thread. But it is your job to apply it.

If you install it carefully by following to instructions, there would not be any issue

If you have a Custom Designed Postbit, I would highly recommend to take its backup.
Installation
=============
Step 1.
Open postbit_ip is your theme template and replace it with the following codes in.
PHP Code:
 <vb:if condition="$show['ip']">
  <
div class="vw-buton-sagsinir">
         <
img class="inline" src="{vb:stylevar imgdir_button}/ip-40b.png" alt="{vb:rawphrase ip}" title="{vb:rawphrase ip}: {vb:raw post.ip}" /></div>
<
vb:else />
<
div class="vw-buton-sagsinir">
         <
class="fa-ikon fa-ikon-sinir fa-warning fa-location-arrow ip" href="{vb:raw $vboptions.vbforum_url}{vb:if "$vboptions['vbforum_url']", '/', ''}postings.php?{vb:raw session.sessionurl}do=getip&amp;p={vb:raw post.postid}" title="{vb:rawphrase ip}: {vb:raw post.ip}">&nbsp
   </
a>
</
div>
</
vb:if> 
Step 2.
Open postbit_onlinestatus is your theme template and replace it with the following codes in.

PHP Code:
 <vb:if condition="$onlinestatus==0">
    <
class="fa-ikon fa-ikon-sinir fa-circle wv-offline" title="{vb:rawphrase x_is_offline, {vb:raw user.username}}"></i>
        <
vb:elseif condition="$onlinestatus==1" />
            <
class="fa-ikon fa-ikon-sinir fa-circle wv-online" title="{vb:rawphrase x_is_online_now, {vb:raw user.username}}"></i>
       <
vb:elseif condition="$onlinestatus==2" />
           <
class="fa-ikon fa-ikon-sinir fa-circle wv-invisible" title="{vb:rawphrase x_is_invisible, {vb:raw user.username}}"></i>
</
vb:if> 
Step 3.
If you use blog !
Open blog_postbit_blog_this_post is your theme template and replace it with the following codes in.

PHP Code:
 <div class="vw-buton-sagsinir">
<
class="fa-ikon fa-ikon-sinir fa-clone blog" href="{vb:raw $vboptions.vbblog_url}{vb:if "$vboptions['vbblog_url']", '/', ''}blog_post.php?{vb:raw session.sessionurl}do=newblog&amp;p={vb:raw post.postid}"> {vb:rawphrase blog_this_post}</a></div
Step 4.
Open then postbit_legacy of the same theme, replace all the codes with the ones below:
Code:
postbit_legacy.txt (available in the attachment)
Step 5.
Open then additional.css of the same theme, replace all the codes with the ones below:
Code:
additional.css  (available in the attachment)
Step 6:
Download the attachment, And upload the folder named postbit_font to the forum_root

For Turkish: http://vbulletin.web.tr/showthread.php/6785-eTiKeTTM-2015-Style-Postbit-Postbit_legacy
Thanks if you are using the system

Spoiler (click to open)


Thanks if you are using the system.
==================================
Step 1.
Open post_thanks_button template of your default theme, replace all the codes with the ones below :
PHP Code:
 <a href="post_thanks.php?{vb:raw session.sessionurl}do=post_thanks_add&amp;p={vb:raw post.postid}&amp;securitytoken={vb:raw bbuserinfo.securitytoken}" id="post_thanks_button_{vb:raw post.postid}"<vb:if condition="$vboptions[disable_ajax] != 2"onclick="return post_thanks_give({vb:raw post.postid}, <vb:if condition="$vboptions[post_groans_integrate]">true<vb:else />false</vb:if>);"</vb:if> <vb:if condition="$display_thanks_image == 'none'">style="display:none"</vb:if> rel="nofollow" class="fa-ikon fa-ikon-sinir fa-thumbs-o-up post_thanks_button ">{vb:rawphrase post_thanks_thanks}</a>

<
span class="seperator" id="post_thanks_separator_{vb:raw post.postid}" <vb:if condition="$display_thanks_image == 'none'">style="display:none"</vb:if>>&nbsp;</span
Step 2.
Open post_thanks_postbit template of your default theme, replace all the codes with the ones below :
PHP Code:
 <div class="postbody"<vb:if condition="$vboptions['legacypostbit']"style="margin-{vb:stylevar left}: 0"</vb:if>>
    <
div class="postrow">
    <
vb:if condition="$bbuserinfo['usergroupid'] == 5 || $post['show_thanks_remove_option']">
    <
div class="smallfont" style="float:{vb:stylevar right}">
        <
vb:if condition="$bbuserinfo['usergroupid'] == 5">
            <
a href="post_thanks.php?do=post_thanks_remove_all&amp;p={vb:raw post.postid}"<vb:if condition="$vboptions['disable_ajax'] != 2"onclick="return post_thanks_remove_all({vb:raw post.postid}, <vb:if condition="$vboptions['post_groans_integrate']">true<vb:else />false</vb:if>);"</vb:if> rel="nofollow">{vb:rawphrase post_thanks_remove}</a>
        </
vb:if>
        <
vb:if condition="$bbuserinfo['usergroupid'] == 5 && $post['show_thanks_remove_option']">
            |
        </
vb:if>
        <
vb:if condition="$post['show_thanks_remove_option']">
            <
a href="post_thanks.php?do=post_thanks_remove_user&amp;p={vb:raw post.postid}"<vb:if condition="$vboptions['disable_ajax'] != 2"onclick="return post_thanks_remove_user({vb:raw post.postid}, <vb:if condition="$vboptions['post_groans_integrate']">true<vb:else />false</vb:if>);"</vb:if> rel="nofollow">{vb:rawphrase post_thanks_remove_user}</a>
        </
vb:if>
    </
div>
    </
vb:if>
    <
h2 class="<vb:if condition="!$vboptions['legacypostbit']">post</vb:if>title">
        <
vb:if condition="$post['post_thanks_amount'] == 1">
            <
class="fa-ikon fa-ikon-sinir fa-thumbs-o-up vw-bigikon "></i> {vb:rawphrase post_thanks_user_says, {vb:raw post.username}}
        <
vb:else />
            <
class="fa-ikon fa-ikon-sinir fa-thumbs-o-up vw-bigikon "></i>{vb:rawphrase post_thanks_users_say, {vb:raw post.post_thanks_amount_formatted}, {vb:raw post.username}}
        </
vb:if>
    </
h2>
<!--
COLLAPSE-->
    <
vb:if condition="$vboptions['collapse_on']==0">

<
div class="content">
        <
div class="post_thanks_bit_{vb:raw post.postid}">
            <
blockquote class="postcontent restore">
                {
vb:raw post.post_thanks_bit}
            </
blockquote>
        </
div>
    </
div>
    </
div>
</
div>
<
hr />

</
vb:if>

<
vb:if condition="$vboptions['collapse_on']==1">
<
style type="text/css">
.
msg_head {
    
padding5px 10px;
    
cursorpointer;
    
positionrelative;
    
margin:1px;
}
</
style>
<
script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/jquery/jquery.js"></script>
<
script type="text/javascript">
$(
document).ready(function()
{
  
//hide the all of the element with class msg_body
  
$(".post_thanks_bit_{vb:raw post.postid}").hide();
  
//toggle the componenet with class msg_body
  
$(".msg_head").click(function()
  {
    $(
this).next(".post_thanks_bit_{vb:raw post.postid}").slideToggle(600);
  });
});
</
script>
    <
div class="content">
<
class="msg_head"><img src="{vb:raw vboptions.bburl}/images/misc/collapse.jpg"</p>
        <
div class="post_thanks_bit_{vb:raw post.postid}">
            <
blockquote class="postcontent restore">
                {
vb:raw post.post_thanks_bit}
            </
blockquote>
        </
div>
    </
div>
    </
div>
</
div>
<
hr /></vb:if>
<!--
END COLLAPSE--> 
Step 3.
Open post_thanks_postbit_info template of your default theme, replace all the codes with the ones below :

PHP Code:
 <vb:if condition="$post['userid']">
    <!-- 
Thanks -->
<
vb:if condition="$post['post_thanks_thanked_times'] == 1">
<
tr><td class="legacystats"> <dt>Thanked:</dt><dd1</dd> </td></tr>
<
vb:else />
<
tr><td class="legacystats"><dt>Thanked</dt><dd> {vb:raw post.post_thanks_thanked_times}</dd></td></tr>
</
vb:if>
<!-- /
Thanks -->
</
vb:if> 
Attached Thumbnails
Click image for larger version
Name:	letin4demo_vbulletin_web_tr_showthread_php_t=16&p=25&styleid=3#post25.png
Views:	156
Size:	20.7 KB
ID:	153748  

Close


Mark as Installed

Download

File Type: %1$s 2015-Style Postbit-1.1.0.zip (532.5 KB, 212 downloads)

Screenshots

Click image for larger version
Name:	haba bu bir deneme konusudur' - vbulletin4demo_vbulletin_web_tr_showthread_php_t=16&p=25&styleid.jpg
Views:	341
Size:	46.3 KB
ID:	153745   Click image for larger version
Name:	vbulletin4demo_vbulletin_web_tr_showthread_php_t=16&p=25&styleid=3#post25.jpg
Views:	1270
Size:	54.3 KB
ID:	153746  

Similar Mods

Mini Mods eTiKeT™ 2013 Style Postbit - Postbit_legacy vBulletin 4.x Template Modifications
Show Thread Enhancements eTiKeT™ 2011 Posbit_legacy - Postbit vBulletin 4.x Template Modifications
Show Thread Enhancements eTiKeT Edit Postbit_Legacy 2 - vbulletin 4 vBulletin 4.x Template Modifications

vblts.ru supports vBulletin®, 2022-2024