Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Template Modifications
FAQ Community Calendar Today's Posts Search

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
  #322  
Old 08-04-2013, 01:05 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes it's there - aligned but duplicated - see my last post at the bottom. Remove this hook "template_hook.postbit_userinfo_right_after_po sts"

That's duplicating the mis aligned thanks. Remove that line of code and the new version will work.
Reply With Quote
Благодарность от:
joeychgo
  #323  
Old 08-04-2013, 01:07 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by stevieb View Post

You also need to remove the main hook which adds the mis aligned thanks or they'll duplicate - to do that remove this hook "template_hook.postbit_userinfo_right_after_po sts" - and add each element directly like we have (age/location/posts/thanks/rep etc).
See this - that'll fix it
Reply With Quote
  #324  
Old 08-04-2013, 01:07 PM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bingo! Thank you stevieb!1!

Now I just have to figure out how to get the photos link formatted properly
Reply With Quote
  #325  
Old 08-04-2013, 01:08 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by joeychgo View Post
Bingo! Thank you stevieb!1!
I spent hours lol. Just add each other element such as fieldX and age/stats etc as removal of that hook loses some of that.
Reply With Quote
  #326  
Old 08-04-2013, 01:12 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Do you want it aligning centre? If so just add HTML

Code:
 <div align="center">
  Put your vB text here
</div>
Reply With Quote
  #327  
Old 08-04-2013, 01:14 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit - you've added that link beyond the container div.

You need to move it. Add it the same as you did the thanks above, in a new line directly below thanks and the link will sit in the container then.

Make sense?

To align it, add the div in my last post to it
Reply With Quote
  #328  
Old 08-04-2013, 01:16 PM
stevieb stevieb is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Should look like this:

<div class="etiket_postbit_alanI_userinfo_extra_yazIlar I">
Thanks Received <dd>{vb:raw post.post_thanks_thanked_times}</dd></div>
<div class="etiket_postbit_alanI_userinfo_extra_yazIlar I">
Thanks Given <dd>{vb:raw post.post_thanks_user_amount}</dd></div>
<div class="etiket_postbit_alanI_userinfo_extra_yazIlar I" align="center">
Your new code here </div>
Reply With Quote
  #329  
Old 08-04-2013, 01:18 PM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Its using a hook

Code:
 
  if( $this->post['vbpg_user'])
  {
   $template_hook['postbit_userinfo_right'] .= '<div class="imlinks" style="margin-bottom:10px;"><a href="vbpicgallery.php?'.$vbulletin->session->vars['sessionurl'].'do=hall&amp;u='.$this->post['userid'] . '">'.construct_phrase($vbphrase['vbpicgallery_view_photos_by'], $this->post['username'])."</a></div>\n";
  }
Reply With Quote
  #330  
Old 08-04-2013, 01:20 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:
 
  if( $this->post['vbpg_user'])
  {
   $template_hook['postbit_userinfo_right'] .= '<div class="imlinks" style="margin-bottom:10px;"><a href="vbpicgallery.php?'.$vbulletin->session->vars['sessionurl'].'do=hall&amp;u='.$this->post['userid'] . '">'.construct_phrase($vbphrase['vbpicgallery_view_photos_by'], $this->post['username'])."</a></div>\n";
  }
Ok drop that code in my example above where it says "your new code here" - try that.

I'm on mobile so hard to help properly just now
Reply With Quote
  #331  
Old 08-04-2013, 01:26 PM
joeychgo's Avatar
joeychgo joeychgo is offline
 
Join Date: Mar 2004
Location: Chicago, IL
Posts: 933
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried that - no good.

<div class="etiket_postbit_alanI_userinfo_extra_yazIlar I" align="center">
{vb:raw template_hook.postbit_userinfo_right}
</div>
Reply With Quote
Reply


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:04 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.06390 seconds
  • Memory Usage 2,474KB
  • 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
  • (3)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
  • (9)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)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