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 - v.net Style Postbit_legacy vb 4.0.2 (https://vborg.vbsupport.ru/showthread.php?t=236953)

gokhansancar 10-16-2010 11:28 PM

thank you, i have just installed and it is working great so far.

mgcom 10-17-2010 11:48 AM

nothing happened with 4.0.7 ??

alencete 10-19-2010 11:00 AM

1 Attachment(s)
For vBExperience:

Tested on vBulletin 4.0.7 and vBExperience 4.0.3

Search: xperience_gfx

add in the first line

Code:

<div class="eti_postbit">
and the bottom line

Code:

</div>

Search: xperience_level_postbit

Replace all code:

Code:

<div class="eti_postbit"><dt>{vb:rawphrase xperience_level}</dt> <dd>{vb:raw xperience.level}</dd></div>

Search: xperience_points_postbit

Replace all code:

Code:

<div class="eti_postbit"><dt>{vb:rawphrase xperience_points}</dt> <dd>{vb:raw xperience.points}</dd></div>

alencete 10-19-2010 11:04 AM

1 Attachment(s)
For center flags:

Tested on vBulletin 4.0.7

Search in postbit_legacy: Users Country Flag

Replace:

Code:

<div align="center"><img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.fieldX}.GIF" alt="Users Country Flag" border="" /></vb:if></div>
Change X. add your number field.

STORMS 10-21-2010 10:19 PM

Is there a way to bring back "user titles" with this coding? We're currently using it and loving it, but I was just wondering if there would be a way to bring them back.

When I installed this postbit legacy, the user titles basically disappeared, but they of course still show up in under the users' name when you visit their profile.

Any help?

pedroenf 10-22-2010 12:40 AM

Quote:

Originally Posted by STORMS (Post 2112542)
Is there a way to bring back "user titles" with this coding? We're currently using it and loving it, but I was just wondering if there would be a way to bring them back.

When I installed this postbit legacy, the user titles basically disappeared, but they of course still show up in under the users' name when you visit their profile.

Any help?

Just insert this wherever you like:
Code:

{vb:raw post.usertitle}

STORMS 10-25-2010 07:47 AM

Code:

<vb:if condition="$post['userid']"> 

<vb:if condition="$post['post_thanks_thanked_times'] == 1"> 
<div class="eti_postbit"> 
            <dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_time_post}</div>    <vb:elseif condition="$post['post_thanks_thanked_posts'] == 1" /> 
<div class="eti_postbit"> 
        <dd style="white-space:nowrap; display:inline; float: {vb:stylevar right};">{vb:rawphrase post_thanks_times_post, {vb:raw post.post_thanks_thanked_times_formatted}}</div> 
    <vb:else /> 
     
<div class="eti_postbit"> 
 
    </vb:if>
{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>

so im using this code for my Post Thank You on my postbit. Why is it that some members have their postbit trashed? Is it the code? or is there something I can do to fix this?

Post #320 is a great example.

http://testyourmight.com/forum/showt...8577#post18577

Teascu Dorin 10-25-2010 08:53 AM

Quote:

Originally Posted by STORMS (Post 2113877)
so im using this code for my Post Thank You on my postbit. Why is it that some members have their postbit trashed? Is it the code? or is there something I can do to fix this?

Try my code: (it works fine for me)

PHP Code:

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

Your main problem in the code is float: {vb:stylevar right} that has to be left instead of right!

STORMS 10-25-2010 06:45 PM

Quote:

Originally Posted by dorin2oo7 (Post 2113893)
Try my code: (it works fine for me)

PHP Code:

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

Your main problem in the code is float: {vb:stylevar right} that has to be left instead of right!

Thanks. But now there is another problem.

Status :
Join Date : Oct 2010
Location : Cleveland
Posts : 1
Thanks : 0
__________ Thanked 2 Times in 1 Post

This is what I get. ^ The "Thanked X Times in X Post" is all the way to the right.

And how can I remove the number of thanks the user has given out? Its sort of useless. People want to know how many times they have been thanked, not how many times they have thanked.

STORMS 10-28-2010 06:15 PM

Also, does anyone have the code to put "user titles" back in? And if so, please state which template it goes in and where.


All times are GMT. The time now is 01:19 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.01294 seconds
  • Memory Usage 1,780KB
  • 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
  • (7)bbcode_code_printable
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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