Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
eTiKeT? 2015 Style Postbit - Postbit_legacy Details »»
eTiKeT? 2015 Style Postbit - Postbit_legacy
Version: 1.1.0, by eTiKeT? eTiKeT? is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.2.3 Rating:
Released: 12-01-2015 Last Update: Never Installs: 18
Template Edits
Re-useable Code Additional Files Translations Is in Beta Stage  
No support by the author.

/#########################################/
/# Orijinal : eTiKeT? 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: eTiKeT? 2015 Style Postbit - Postbit_legacy
Thanks if you are using the system


Mark as Installed

Download Now

File Type: zip 2015-Style Postbit-1.1.0.zip (532.5 KB, 210 views)

Screenshots

File Type: jpg haba bu bir deneme konusudur' - vbulletin4demo_vbulletin_web_tr_showthread_php_t=16&p=25&styleid.jpg (46.3 KB, 0 views)
File Type: jpg vbulletin4demo_vbulletin_web_tr_showthread_php_t=16&p=25&styleid=3#post25.jpg (54.3 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
elsa23, MeM_04, seb5594

Comments
  #2  
Old 12-02-2015, 08:18 AM
eTiKeT?'s Avatar
eTiKeT? eTiKeT? is offline
 
Join Date: Aug 2008
Location: T?rkiye
Posts: 257
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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> 
Reply With Quote
2 благодарности(ей) от:
In Omnibus, socialteenz
  #3  
Old 12-02-2015, 04:35 PM
nookta nookta is offline
 
Join Date: Jul 2010
Location: Ankara
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good thank you @eTiKeT™
Reply With Quote
Благодарность от:
eTiKeT?
  #4  
Old 12-02-2015, 11:33 PM
netr0n netr0n is offline
 
Join Date: Mar 2012
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfect postbit. Thank you bro.
Reply With Quote
Благодарность от:
eTiKeT?
  #5  
Old 12-04-2015, 05:35 AM
socialteenz's Avatar
socialteenz socialteenz is offline
 
Join Date: May 2011
Posts: 465
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Glad to see people still contributing, thank you bro. Your post bit were the favorites of my clients.
Reply With Quote
Благодарность от:
eTiKeT?
  #6  
Old 12-13-2015, 04:16 PM
Rodrigo. Rodrigo. is offline
 
Join Date: Sep 2010
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello work IN vb 4.2.0????
Reply With Quote
  #7  
Old 12-13-2015, 05:07 PM
Dave Dave is offline
 
Join Date: May 2010
Posts: 2,583
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Rodrigo. View Post
Hello work IN vb 4.2.0????
As far as I know, vBulletin didn't really make a lot of changes regarding the userinfo postbit across the different versions. So yes, it should work fine. Worst case scenario you have to revert the changes.
Reply With Quote
3 благодарности(ей) от:
eTiKeT?, Rodrigo., vBarsiv
  #8  
Old 02-16-2017, 01:33 PM
elsa23's Avatar
elsa23 elsa23 is offline
 
Join Date: Dec 2014
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you @eTiKeT?
Can you please make changes for DBTech Post Thanks
https://vborg.vbsupport.ru/showthread.php?t=243510
Reply With Quote
  #9  
Old 03-15-2017, 08:56 AM
seb5594's Avatar
seb5594 seb5594 is offline
 
Join Date: Jun 2011
Location: Germany / Frankfurt
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you eTiKeT for this postbit.

Edit: Would also like to know how to integrate the DBTech Advanced Post Thanks / Likes Buttons into this postbit
Reply With Quote
  #10  
Old 04-08-2017, 10:44 PM
seb5594's Avatar
seb5594 seb5594 is offline
 
Join Date: Jun 2011
Location: Germany / Frankfurt
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by elsa23 View Post
Thank you @eTiKeT?
Can you please make changes for DBTech Post Thanks
https://vborg.vbsupport.ru/showthread.php?t=243510
I tried to implement DBTech's Advanced Post Thanks Like into this postbit. I tried my best and thats the result:



I don't know how to add hover effect, which is used for all the other controls, but i hope someone else know how

Edit following template: dbtech_thanks_postbit_entries_actionbit
Replace everything with that:
Code:
<span class="dbtech-thanks-button-control fa-ikon fa-ikon-sinir modera-ikon post_thanks_button" data-postid="{vb:var post.postid}" data-button="{vb:raw button.varname}" style="height:26px;" >
	<a href="javascript://" <vb:if condition="$button['canclick']"> border-right: 1px solid rgba(127, 127, 127, 0.3); name="dbtech_thanks_button" data-postid="{vb:var post.postid}" data-button="{vb:raw button.varname}"</vb:if> style="background:url({vb:raw button.buttonimage}) no-repeat scroll transparent !important; height:26px; margin:0; padding:0 0 0 20px; vertical-align:middle;<vb:if condition="!$button['canclick']">cursor:default;</vb:if><vb:if condition="!$show['thanks_posfix']">padding-{vb:stylevar right}:4px;</vb:if>" title="{vb:raw button.title}">
		<vb:if condition="!$vboptions['dbtech_thanks_notext'] AND $button['canclick']"> {vb:raw phrase}</vb:if>
	</a>
	<vb:if condition="$vboptions['dbtech_thanks_cloud_displaystyle'] == 2"> 
		<span class="dbtech-thanks-bubble-flyout">
			<!--<i></i>
			<u></u>-->
			<span class="dbtech-thanks-bubble-content clickcount" data-button="{vb:var button.varname}" data-postid="{vb:var post.postid}">{vb:number {vb:raw button.clickcount}}</span>
		</span>
	</vb:if>
</span>
If somebody can improve it, feel free to share it with us
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:48 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06171 seconds
  • Memory Usage 2,420KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (6)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (11)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (4)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete