Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications

Reply
 
Thread Tools
eTiKeT? 2011 Posbit_legacy - Postbit Details »»
eTiKeT? 2011 Posbit_legacy - Postbit
Version: 1.20, by eTiKeT? eTiKeT? is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 4.1.8 Rating:
Released: 11-23-2011 Last Update: 12-06-2011 Installs: 273
Translations  
No support by the author.

/#########################################/
/# Orijinal : eTiKeT? 2011 Posbit_legacy - Postbit
/# Developer: eTiKeT?
/# vBulletin Version : 4.1.8
/# vBulletin Version : 1.0.0
/# Published : 2011
/# Demo :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 the additional.css template of the theme that you use and add this code to the top
PHP Code:
/#################### eTiKeT 2011 Postbit_Legacy ####################/
.etiket_postbit_alanI_durumu_gizli_geziyor {
        
backgroundurl("images/etiket_postbit/etiket_postbit_gizli.png"repeat scroll 0 0 #474747;
    
margin-top2px;
    
text-alignleft;
    
margin-top2px;
        
margin-bottom: -2px;
    
font-size13px;
    
padding0 4px 0;
    
color#FFF;
    
border-top1px solid #DDDDDD;
    
border-left1px solid #DDDDDD;
    
border-right1px solid #DDDDDD;
    
-webkit-border-top-left-radius5px;
    -
webkit-border-top-right-radius5px;
    -
moz-border-radius-topleft5px;
    -
moz-border-radius-topright5px;
    
border-top-left-radius5px;
    
border-top-right-radius5px; }
 
    .
etiket_postbit_alanI_durumu_gizli_geziyor  dd floatright; }
 
.
etiket_postbit_alanI_durumu_cevrimdIsI {
         
backgroundurl("images/etiket_postbit/etiket_postbit_cervim_disi.png"repeat scroll 0 0 #d20303;
    
margin-top2px;
    
text-alignleft;
    
margin-top2px;
        
margin-bottom: -2px;
    
font-size13px;
    
padding0 4px 0;
    
color#fff;
    
border-top1px solid #DDDDDD;
    
border-left1px solid #DDDDDD;
    
border-right1px solid #DDDDDD;
    
-webkit-border-top-left-radius5px;
    -
webkit-border-top-right-radius5px;
    -
moz-border-radius-topleft5px;
    -
moz-border-radius-topright5px;
    
border-top-left-radius5px;
    
border-top-right-radius5px; }
 
    .
etiket_postbit_alanI_durumu_cevrimdIsI  dd floatright; }
 
.
etiket_postbit_alanI_durumu_iceride {
        
backgroundurl("images/etiket_postbit/etiket_postbit_cervimici.png"repeat scroll 0 0 #86c901;
    
margin-top2px;
    
text-alignleft;
    
margin-top2px;
        
margin-bottom: -2px;
    
font-size13px;
    
padding0 4px 0;
    
color#fff;
    
border-top1px solid #DDDDDD;
    
border-left1px solid #DDDDDD;
    
border-right1px solid #DDDDDD;
    
-webkit-border-top-left-radius5px;
    -
webkit-border-top-right-radius5px;
    -
moz-border-radius-topleft5px;
    -
moz-border-radius-topright5px;
    
border-top-left-radius5px;
    
border-top-right-radius5px; }
 
    .
etiket_postbit_alanI_durumu_iceride  dd floatright; }
 
.
postbitlegacy .userinfo {
    
backgroundnone repeat scroll 0 0 #E5E3E3;
    
border1px solid #D1CFCF;
    
margin5px;
    
padding3px;
    -
webkit-border-radius5px;
    -
moz-border-radius5px;
    
border-radius5px;
    -
webkit-box-shadow0px 0px 5px 1px #E2E2E2;
    
-moz-box-shadow0px 0px 5px 1px #E2E2E2;
    
box-shadow0px 0px 5px 1px #E2E2E2; }


.etiket_postbit_alanI_imlinks {
        
backgroundnone repeat scroll 0 0 transparent;
    
border0px solid #DDDDDD;
    
text-aligncenter;
    
margin-top2px;
    
padding2px 6px 0 5px;
    -
webkit-border-radius5px;
    -
moz-border-radius5px;
    
border-radius5px;}
 
    .
etiket_postbit_alanI_imlinks :hover {
        
background#6DB53E;
        
-webkit-border-radius5px;
        -
moz-border-radius5px;
        
border-radius5px; }

.
etiket_postbit_alanI_userinfo_extra_yazIlarI {
    
color:{vb:stylevar post_field_font_color};
    
margin-top2px;
    
text-align:left;
        
border-bottom1px solid #DBDBDB;} 

        
.etiket_postbit_alanI_userinfo_extra_yazIlarI dd floatright;}


.
etiket_postbit_alanI_userinfo_extra {
        
backgroundurl("images/etiket_postbit/etiket_postbit_avatar.png"repeat scroll center center transparent;
    
border-bottom1px solid #DDDDDD;
        
border-left1px solid #DDDDDD;
        
border-right1px solid #DDDDDD;
    
margin-top2px;
    
padding0 4px 6px;
    -
webkit-border-bottom-right-radius5px;
        -
webkit-border-bottom-left-radius5px;
        -
moz-border-radius-bottomright5px;
        -
moz-border-radius-bottomleft5px;
        
border-bottom-right-radius5px;
        
border-bottom-left-radius5px;}
 
.
etiket_postbit_alanI_postbit_reputation {
        
backgroundurl("images/etiket_postbit/etiket_postbit_rank.png"repeat scroll center center transparent;
    
border1px solid #DDDDDD;
    
margin-top2px;
    
padding2px;
    
text-aligncenter;
    -
webkit-border-radius5px;
    -
moz-border-radius5px;
    
border-radius5px;}
 
.
etiket_postbit_alanI_rank 
        
backgroundurl("images/etiket_postbit/etiket_postbit_rank.png"repeat scroll center center transparent;
    
border1px solid #DDDDDD;
    
margin-top2px;
    
padding2px;
    
text-aligncenter;
    -
webkit-border-radius5px;
    -
moz-border-radius5px;
    
border-radius5px; }
 
.
etiket_postbit_alanI_usertitle {
        
backgroundurl("images/etiket_postbit/etiket_postbit_rank.png"repeat scroll center center transparent;
    
border1px solid #DDDDDD;
    
margin-top2px;
    
font-size13px;
    
text-aligncenter;
    -
webkit-border-radius5px;
    -
moz-border-radius5px;
    
border-radius5px;}
 

.
etiket_postbit_alanI_username {
        
backgroundurl("images/etiket_postbit/etiket_postbit_rank.png"repeat scroll center center transparent;
    
border1px solid #DDDDDD;
    
text-aligncenter;
    -
webkit-border-radius5px;
    -
moz-border-radius5px;
    
border-radius5px;}
 
.
postbitlegacy .userinfo .postuseravatar, .postuseravatar img {
        
backgroundurl("images/etiket_postbit/etiket_postbit_avatar.png"repeat scroll 0 0 transparent;
    
floatnone;
    
padding4px;
    
text-aligncenter;
    
border1px solid #DDDDDD;
    
margin2px 1px 0 0;
    -
webkit-border-radius5px;
    -
moz-border-radius5px;
    
border-radius5px;}
 
.
postbitlegacy .userinfo .username_container margin-bottom1px; }
 
.
postbitlegacy .userinfo .postuseravatar img, .eventbit .userinfo .eventuseravatar img {
    
backgroundnone repeat scroll 0 0 #FFFFFF;
    
border1px solid #F2F6F8;
    
margin-top1px;
    -
webkit-border-radius5px;
    -
moz-border-radius5px;
    
border-radius5px; }
 
.
postcontainer .username_container .popupmenu a.popupctrl font-size19px; }

.
postbitlegacy .postbody, .eventbit .eventdetails .eventbody {border-left0px solid #EFEFEF;}

.postbitlegacy .postdetails, .eventbit .eventdetails background: {vb:stylevar postbit_background};}

.
postbit .posttitle, .postbitlegacy .title {
        
backgroundurl("images/etiket_postbit/etiket_postbit_rank.png"repeat scroll center center transparent;
        -
webkit-border-radius:  5px 0 0 5px;;
    -
moz-border-radius:  5px 0 0 5px;;
    
border-radius:  5px 0 0 5px;;
        
border1px solid #E9E9E9;
        
margin-bottom5px;
        
margin-right: -10px;
        
padding5px;}
/
#################### eTiKeT 2011 Postbit_Legacy ####################/ 
  • Step 2.
    • Open postbit_onlinestatus template of your default theme, replace all the codes with the ones below :
PHP Code:
        <vb:if condition="$onlinestatus==0">
<
div class="etiket_postbit_alanI_durumu_cevrimdIsI ">Status<ddOffline</dd></div>
        </
vb:if>
        <
vb:if condition="$onlinestatus==1">
<
div class="etiket_postbit_alanI_durumu_iceride">Status<ddOnline </dd></div>
        </
vb:if>
        <
vb:if condition="$onlinestatus==2"
 <
div class="etiket_postbit_alanI_durumu_gizli_geziyor">Status<dd>invisible</dd> </div>
        </
vb:if> 
  • Step 3.
    • Open then postbit_legacy of the same theme, replace all the codes with the ones below:
    • PHP Code:
      postbit_legacy.txt available in the attachment) . 
  • Step 4:
    • Download the attachment, And upload the folder named etiket_postbit to the forum_root /images folder.
  • In order to add extra features , Follow the instructions below.
  • Open then postbit_legacy template of your theme, Edit and add the following codes to the bottom of the page.


Code:
  <div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
Description
         <dd> 
          content
          </dd>
     </div>
  • 24 November 2011
    • Bug fixes in css




Anyone who uses 4.1.7 can look here.

Mark as Installed

Download Now

File Type: zip eTiKeT-2011 Postbit Legacy.zip (12.7 KB, 1979 views)
File Type: zip eTiKeT 2011 Black Postbit Legacy.zip (15.5 KB, 1167 views)

Screenshots

File Type: jpg etiket_postbit.jpg (74.2 KB, 0 views)
File Type: png eti Postbit Black.PNG (26.2 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
9 благодарности(ей) от:
anushkumarb, BlueCheri, cyn0r, Hakan, Hippy, NTT, santor, trackpads

Comments
  #332  
Old 08-04-2013, 01:29 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Or you could try adding style margin using your own existing code - edit this line: style="margin_bottom:10px; margin_left:12px;"

Edit the 12px till you get it sitting right.
Reply With Quote
  #333  
Old 08-04-2013, 01:31 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by joeychgo View Post
I tried that - no good.

<div class="etiket_postbit_alanI_userinfo_extra_yazIlar I" align="center">
{vb:raw template_hook.postbit_userinfo_right}
</div>
No that won't work cos you've removed the if function.

I'll do it later for you if you get stuck when I login to PC (6hrs time)!!
Reply With Quote
  #334  
Old 08-04-2013, 01:36 PM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stevieb View Post
Or you could try adding style margin using your own existing code - edit this line: style="margin_bottom:10px; margin_left:12px;"

Edit the 12px till you get it sitting right.
Nope - no good. Thanks for your help - Ill check back tonight.
Reply With Quote
  #335  
Old 08-04-2013, 01:38 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What hack are you using for the photo's and can you please PM me your postbit_legacy text and I'll then PM it back once edited
Reply With Quote
  #336  
Old 08-04-2013, 01:48 PM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vbpicgallery -- it uses a hook via a plugin - there is no code in the template except the hook itself
Reply With Quote
  #337  
Old 08-04-2013, 02:02 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by joeychgo View Post
Its using a hook

Code:
<div class="imlinks" style="margin-bottom:10px;">
On my test board this should work fine.... if you replace the above with this

Code:
<div class="imlinks" style="margin-bottom:10px; margin-top:3px" align="center">
Attachment 145934
Reply With Quote
  #338  
Old 08-04-2013, 02:04 PM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that code is in the plugin, not the template --

my postbit legacy is exactly what is in this mod - except for the changes we made
Reply With Quote
  #339  
Old 08-04-2013, 02:08 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by joeychgo View Post
that code is in the plugin, not the template --

my postbit legacy is exactly what is in this mod - except for the changes we made
Ok, so go into the plugin and edit it - that will centralise it for you and keep it in the container - or is that not what you actually want?

See:

Attachment 145935
Reply With Quote
  #340  
Old 08-04-2013, 02:08 PM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK - that worked - - thank you!!!

(I just was making sure you understood that)
Reply With Quote
  #341  
Old 08-04-2013, 02:09 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by joeychgo View Post
OK - that worked - - thank you!!!

(I just was making sure you understood that)
lol yea I did understand, sorry

Got there in the end though - thats the main thing

You ought to shorten your location as it's breaking the script lol

To make it even better (and in the middle) change top and bottom to both 5px like so:

Code:
<div class="imlinks" style="margin-bottom:5px; margin-top:5px" align="center">
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 04:47 AM.


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.12261 seconds
  • Memory Usage 2,464KB
  • 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
  • (4)bbcode_code
  • (3)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (8)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (4)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete