vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - eTiKeT? 2011 Posbit_legacy - Postbit (https://vborg.vbsupport.ru/showthread.php?t=274568)

TheSupportForum 01-21-2012 11:10 PM

Quote:

Originally Posted by TombstoneWarrior (Post 2290743)
I Read Every Page And Have Heard The Thank You Mentioned Alot But No Clear Way To Change This Mod To Acomidate The Thank You. Can Someone Give Me A Step By Step Please! I Would Be Forever Grateful!!! ALSO HAVE THE POST THANKS 7_8_3

Admincp >> Styles & Templates >> Style Manager >>

click on dropdown menu shown on right, click Edit Templates
scroll down the list of template and double click on the correct thank you templates
this will expand that template section
look for post_thanks_postbit_info

double click on that template and replace all content with
Code:


<vb:if condition="$post['userid']"> <div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
{vb:rawphrase post_thanks_thanks} <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>
<vb:if condition="$post['post_thanks_thanked_times'] == 1"> {vb:rawphrase post_thanks_time_post}
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</div>
<vb:else />
<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</div>
</vb:if> </vb:if>


TombstoneWarrior 01-21-2012 11:23 PM

Quote:

Originally Posted by simonhind (Post 2290747)
Admincp >> Styles & Templates >> Style Manager >>

click on dropdown menu shown on right, click Edit Templates
scroll down the list of template and double click on the correct thank you templates
this will expand that template section
look for post_thanks_postbit_info

double click on that template and replace all content with
Code:


<vb:if condition="$post['userid']"> <div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
{vb:rawphrase post_thanks_thanks} <dd>{vb:raw post.post_thanks_user_amount_formatted}</dd></div>
<vb:if condition="$post['post_thanks_thanked_times'] == 1"> {vb:rawphrase post_thanks_time_post}
<vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" />
<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</div>
<vb:else />
<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
{vb:rawphrase post_thanks_times_posts, {vb:raw post.post_thanks_thanked_times_formatted}, {vb:raw post.post_thanks_thanked_posts_formatted}}</div>
</vb:if> </vb:if>


thank you a million!!!! IT WORKED THANK YOU SO VERY MUCH YOU ARE THE GREATEST!!!!!!!!!!!!

Hippy 01-22-2012 12:00 AM

Quote:

Originally Posted by simonhind (Post 2290739)
please be aware there are 2 versions of the thank you mod
this one
https://vborg.vbsupport.ru/showthrea...light=thankyou
and
https://vborg.vbsupport.ru/showthread.php?t=243510

please ensure you are posting the correct one
both are different

thanks i know

KoingWolf 01-22-2012 08:03 AM

Hi, I'm LOVING this mod, but there is another mod I'd love to be able to use with it and am having trouble getting to work right with this.

Clan Tag in Post Bit: https://vborg.vbsupport.ru/showthread.php?t=273551

Currently when I try to get them to work nicely together, I fail.. horribly. I end up with two, stacked ranks (or names or reps) and an ugly mesh of username and clan tag.
Can anyone help me fix this, so that I can have the perfect post bit for my site? Thanks in advance!

TheSupportForum 01-22-2012 11:24 AM

(Replace Red XX with the profile feild number)

Code:


<vb:if condition="$post['fieldXX']">
<div class="etiket_postbit_alanI_userinfo_extra_yazIlarI">
<dd>
<font color="red" size="4"><B>{vb:rawphrase fieldXX}[{vb:raw post.fieldXX}]</B></font>
          </dd>
    </div>
</vb:if>


TheChief 01-22-2012 04:13 PM

I seem to be getting the postbit in with the private messages i send and receive.

I take it that this isn't meant to happen and its an error on my behalf

Anyone help me with this?

Thanks in advance

TheSupportForum 01-22-2012 04:30 PM

Quote:

Originally Posted by TheChief (Post 2290999)
I seem to be getting the postbit in with the private messages i send and receive.

I take it that this isn't meant to happen and its an error on my behalf

Anyone help me with this?

Thanks in advance

what mod is it ?
and what is the postbit code for that mod
ita best to post the code of the postbit so that it can be looked at in order to help
if you are using this template edit

TheChief 01-22-2012 04:42 PM

I'm following the mod as per post 1 but it seems to be adding it to the pms too

Weird, i'll post up some data shortly

TheChief 01-22-2012 05:06 PM

heres the additional.css:

Quote:

/#################### eTiKeT 2011 Postbit_Legacy ####################/
.etiket_postbit_alanI_durumu_gizli_geziyor {
background: url("images/etiket_postbit/etiket_postbit_gizli.png") repeat scroll 0 0 #474747;
margin-top: 2px;
text-align: left;
margin-top: 2px;
margin-bottom: -2px;
font-size: 13px;
padding: 0 4px 0;
color: #FFF;
border-top: 1px solid #DDDDDD;
border-left: 1px solid #DDDDDD;
border-right: 1px solid #DDDDDD;
-webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px; }

.etiket_postbit_alanI_durumu_gizli_geziyor dd { float: right; }

.etiket_postbit_alanI_durumu_cevrimdIsI {
background: url("images/etiket_postbit/etiket_postbit_cervim_disi.png") repeat scroll 0 0 #d20303;
margin-top: 2px;
text-align: left;
margin-top: 2px;
margin-bottom: -2px;
font-size: 13px;
padding: 0 4px 0;
color: #fff;
border-top: 1px solid #DDDDDD;
border-left: 1px solid #DDDDDD;
border-right: 1px solid #DDDDDD;
-webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px; }

.etiket_postbit_alanI_durumu_cevrimdIsI dd { float: right; }

.etiket_postbit_alanI_durumu_iceride {
background: url("images/etiket_postbit/etiket_postbit_cervimici.png") repeat scroll 0 0 #86c901;
margin-top: 2px;
text-align: left;
margin-top: 2px;
margin-bottom: -2px;
font-size: 13px;
padding: 0 4px 0;
color: #fff;
border-top: 1px solid #DDDDDD;
border-left: 1px solid #DDDDDD;
border-right: 1px solid #DDDDDD;
-webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px; }

.etiket_postbit_alanI_durumu_iceride dd { float: right; }

.postbitlegacy .userinfo {
background: none repeat scroll 0 0 #E5E3E3;
border: 1px solid #D1CFCF;
margin: 5px;
padding: 3px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
-webkit-box-shadow: 0px 0px 5px 1px #E2E2E2;
-moz-box-shadow: 0px 0px 5px 1px #E2E2E2;
box-shadow: 0px 0px 5px 1px #E2E2E2; }


.etiket_postbit_alanI_imlinks {
background: none repeat scroll 0 0 transparent;
border: 0px solid #DDDDDD;
text-align: center;
margin-top: 2px;
padding: 2px 6px 0 5px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;}

.etiket_postbit_alanI_imlinks :hover {
background: #6DB53E;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px; }

.etiket_postbit_alanI_userinfo_extra_yazIlarI {
color:{vb:stylevar post_field_font_color};
margin-top: 2px;
text-align:left;
border-bottom: 1px solid #DBDBDB;}

.etiket_postbit_alanI_userinfo_extra_yazIlarI dd { float: right;}


.etiket_postbit_alanI_userinfo_extra {
background: url("images/etiket_postbit/etiket_postbit_avatar.png") repeat scroll center center transparent;
border-bottom: 1px solid #DDDDDD;
border-left: 1px solid #DDDDDD;
border-right: 1px solid #DDDDDD;
margin-top: 2px;
padding: 0 4px 6px;
-webkit-border-bottom-right-radius: 5px;
-webkit-border-bottom-left-radius: 5px;
-moz-border-radius-bottomright: 5px;
-moz-border-radius-bottomleft: 5px;
border-bottom-right-radius: 5px;
border-bottom-left-radius: 5px;}

.etiket_postbit_alanI_postbit_reputation {
background: url("images/etiket_postbit/etiket_postbit_rank.png") repeat scroll center center transparent;
border: 1px solid #DDDDDD;
margin-top: 2px;
padding: 2px;
text-align: center;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;}

.etiket_postbit_alanI_rank {
background: url("images/etiket_postbit/etiket_postbit_rank.png") repeat scroll center center transparent;
border: 1px solid #DDDDDD;
margin-top: 2px;
padding: 2px;
text-align: center;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px; }

.etiket_postbit_alanI_usertitle {
background: url("images/etiket_postbit/etiket_postbit_rank.png") repeat scroll center center transparent;
border: 1px solid #DDDDDD;
margin-top: 2px;
font-size: 13px;
text-align: center;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;}


.etiket_postbit_alanI_username {
background: url("images/etiket_postbit/etiket_postbit_rank.png") repeat scroll center center transparent;
border: 1px solid #DDDDDD;
text-align: center;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;}

.postbitlegacy .userinfo .postuseravatar, .postuseravatar img {
background: url("images/etiket_postbit/etiket_postbit_avatar.png") repeat scroll 0 0 transparent;
float: none;
padding: 4px;
text-align: center;
border: 1px solid #DDDDDD;
margin: 2px 1px 0 0;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;}

.postbitlegacy .userinfo .username_container { margin-bottom: 1px; }

.postbitlegacy .userinfo .postuseravatar img, .eventbit .userinfo .eventuseravatar img {
background: none repeat scroll 0 0 #FFFFFF;
border: 1px solid #F2F6F8;
margin-top: 1px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px; }

.postcontainer .username_container .popupmenu a.popupctrl { font-size: 19px; }

.postbitlegacy .postbody, .eventbit .eventdetails .eventbody {border-left: 0px solid #EFEFEF;}

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

.postbit .posttitle, .postbitlegacy .title {
background: url("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;;
border: 1px solid #E9E9E9;
margin-bottom: 5px;
margin-right: -10px;
padding: 5px;}
/#################### eTiKeT 2011 Postbit_Legacy ####################/
li.menuname {
font-size: {vb:stylevar small_fontSize};
font-weight: bold;
padding: 2px 0px 2px {vb:math {vb:stylevar padding}/2};
border: 0;
background: {vb:stylevar navbar_background};
text-decoration: none;
text-align: {vb:stylevar left};
color: {vb:stylevar boofo_userlinks_color};
}
this is on all styles

TheChief 01-22-2012 05:08 PM

Postbit onlinestatus

Code:

<vb:if condition="$onlinestatus==0">
<div class="etiket_postbit_alanI_durumu_cevrimdIsI ">Status<dd> Offline</dd></div>
        </vb:if>
        <vb:if condition="$onlinestatus==1">
<div class="etiket_postbit_alanI_durumu_iceride">Status<dd> Online </dd></div>
        </vb:if>
        <vb:if condition="$onlinestatus==2"> 
 <div class="etiket_postbit_alanI_durumu_gizli_geziyor">Status<dd>invisible</dd> </div>
        </vb:if>

this was added to all again to get it to work


All times are GMT. The time now is 06:26 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01348 seconds
  • Memory Usage 1,791KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete