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)

mitch84 07-20-2010 08:51 AM

if you use country flag
edit postbit-legacy

find:
Quote:

<vb:if condition="$show['avatar']">
<a class="postuseravatar
above add
Quote:

<div class="eti_postbit">
<!-- Wy Country Flags Start -->
<vb:if condition="$post['field12']"> <dt>Country:</dt> <img src="{vb:stylevar imgdir_button}/flags/{vb:raw post.field12}.GIF" alt="Users Country Flag" border="" /></vb:if>
<!-- Wy Flags End -->
</div>
save

if you use thank lite dragonbyte

edit template dbtech_thanks_postbit
just put the code between this:
Quote:

<div class="eti_postbit">
and
Quote:

</div>
save
work fine for me with vb4.0.5

General of the 07-30-2010 03:47 AM

Works perfectly on vb 4.05 THANKS!

Boko577 07-31-2010 11:40 PM

Uninstalled. I love the look, but some things didn't look right...

ZEHH 08-01-2010 03:01 AM

It would like to know with my colleagues of the forum as I can place <div class= " eti_postbit " > in the experience of postbit.

https://vborg.vbsupport.ru/

Version: 4.0.5

DUI_ 08-06-2010 02:03 AM

Everything is perfect other than the IM icons. How do we add a box around them also?

GamerPerfection 08-08-2010 01:38 PM

I have a bit of an issue. This is what mine looks like right now.

https://vborg.vbsupport.ru/

Now the issue is the red and green circled bits being in the same "wrap".

The red one is for vB Eperience and the green one is for a Custom Secondary User Title.

The bit in postbit_legacy that calls it is this:

Code:

<div class="eti_postbit" align="center">{vb:raw template_hook.postbit_userinfo_left}</div>
How can I get them to be separate?

GamerPerfection 08-08-2010 01:50 PM

Nevermind fixed it myself. ;)

Just associated the custom user title with template_hook.postbit_userinfo_left1 and that separated it.

kabir 08-09-2010 08:42 AM

Some Problem

http://img801.imageshack.us/img801/6097/40964023.png

steeler7 08-12-2010 05:46 PM

I am trying to use the following Hack to add How many threads a member has posted https://vborg.vbsupport.ru/showthread.php?t=243363 and can't get it to work with this Theme. I was told by that hack writer to check wit the theme.

Has anyone gotten both of these to work together and if not know what I would need to add/edit?

EDIT :

Fixed my problem. Just added the code between <div class="eti_postbit"> </div> tags and placed it where I wanted in my postbit_legacy and all was good.

Xencored 08-13-2010 01:01 AM

Quote:

Originally Posted by clarkey25 (Post 2080861)
I have a bit of an issue. This is what mine looks like right now.

http://i276.photobucket.com/albums/k...28/postbit.png

Now the issue is the red and green circled bits being in the same "wrap".

The red one is for vB Eperience and the green one is for a Custom Secondary User Title.

The bit in postbit_legacy that calls it is this:

Code:

<div class="eti_postbit" align="center">{vb:raw template_hook.postbit_userinfo_left}</div>
How can I get them to be separate?

You shouldnt wrap Hooks in the <div class tags
Every mod which calls for it will be all in the same box

find the postbit template's from the mods and wrap them
Not the hook;)

lubbie 09-01-2010 07:23 PM

How can i get the whole text centered?

WendM 09-07-2010 11:37 AM

please can some dear soul help produce the right code to include the vMoods in the postbit_legacy? have tried this:
PHP Code:

<div class="eti_postbit">{vb:raw vmoods_postbit}</div

but it screws up the thread, so please help solve this issue. Thanks! :)

nero9 09-09-2010 03:27 PM

Quote:

Originally Posted by ZEHH (Post 2077459)
It would like to know with my colleagues of the forum as I can place <div class= " eti_postbit " > in the experience of postbit.

http://img814.imageshack.us/img814/9...sdasdasdsa.jpg

Version: 4.0.5

how did u send the experience bars and achievements down ? please share

ndut 09-10-2010 12:06 AM

so nice..

Krusty1231 09-10-2010 07:02 PM

1 Attachment(s)
I'm almost there. I'm having a little trouble with the vbookie postbit.

Display vBookie vCash in Postbit is activated and working, but it appears like the screenshot. If anyone could tell me how to correct it?

Thanks in advance

Alex@Mk3OC 09-10-2010 08:21 PM

You'll need to find and edit the postbit template for the mod and wrap the code with the:

Code:

<div class="eti_postbit">
and

Code:

</div>
around it

Krusty1231 09-11-2010 05:43 AM

Thank you for the reply. I looked at the templates for vbookie. I found this one "vbookie_cash_bit" (Am guessing here as none of the other templates look like the one I need to edit.....

Code:

<a href="vbookie.php?do=viewbets&userid={vb:raw bbuserinfo.userid}"><img src="{vb:raw stylevar.imgdir_misc}/vcash.gif" class="inlineimg" border="0">vb:raw bbuserinfo.vbookie_cash}</a><br />

I still must be doing something wrong because it does not change from my screenshot. Am I in the right area?

Thanks.

Greek76 09-11-2010 04:45 PM

I tried it but no good. Had to revert back. Too buggy.

indyonline 09-12-2010 03:28 AM

Works awesome and looks awesome!! Thanks for this. Now I'm going to try and change the colors of them.
Thanks again.

Alex@Mk3OC 09-15-2010 02:12 AM

Quote:

Originally Posted by Krusty1231 (Post 2096564)
Thank you for the reply. I looked at the templates for vbookie. I found this one "vbookie_cash_bit" (Am guessing here as none of the other templates look like the one I need to edit.....

Code:

<a href="vbookie.php?do=viewbets&userid={vb:raw bbuserinfo.userid}"><img src="{vb:raw stylevar.imgdir_misc}/vcash.gif" class="inlineimg" border="0">vb:raw bbuserinfo.vbookie_cash}</a><br />

I still must be doing something wrong because it does not change from my screenshot. Am I in the right area?

Thanks.

If you'd like me to take a look drop me a PM :)

Filgga 09-17-2010 05:39 PM

Not working on vB 4.0.7

lubbie 09-17-2010 08:04 PM

Not true. I saw it running on a ...7

Stefanus 09-17-2010 09:46 PM

Quote:

Originally Posted by Markos (Post 2002221)
and for the msn/yahoo icons in postbit_legacy search for

Code:

{vb:raw post.icqicon} {vb:raw post.aimicon}{vb:raw post.msnicon}{vb:raw post.yahooicon}{vb:raw post.skypeicon}
and replace it with

Code:

<div class="eti_postbit">
                                        {vb:raw post.icqicon} {vb:raw post.aimicon}{vb:raw post.msnicon}{vb:raw post.yahooicon}{vb:raw post.skypeicon}
                                </div>

i don't know why but if the user doesn't have a icon there the we box still shows as u can see in the pic's from below maybe some one can let us know how to sort this but it still looks good even with it there

For any entry where there is no data to be shown a blank box would show without an "if" statement: "vb:if condition="

Code:

            <vb:if condition="$post['icqicon'] OR $post['aimicon'] OR $post['msnicon'] OR $post['yahooicon'] OR $post['skypeicon']">
                <div class="imlinks">
                  <div class="eti_postbit">{vb:raw post.icqicon} {vb:raw post.aimicon}{vb:raw post.msnicon}{vb:raw post.yahooicon}{vb:raw post.skypeicon}</div>
                </div>
            </vb:if>


Stefanus 09-17-2010 09:51 PM

Quote:

Originally Posted by Filgga (Post 2099714)
Not working on vB 4.0.7

You template has been "reverted" with the upgrade, you need to redo this mod.

lubbie 09-18-2010 08:52 AM

It would be better to find a different solution. Or u can do it again and again and....

RobbieZ 09-18-2010 10:25 AM

If you read the notice vBulletin provided about 4.0.7 you would have noticed that the template postbit_legacy was not touched.

Therefore just omitting that template from your upgrade folder would have left your original changes untouched or used the option do not revert.

Juggernaut 09-19-2010 02:06 AM

^^ You only need to reverte postbit.css and then you can just make the changes to that template again. No need to revert the other templates. :D

RobbieZ 09-21-2010 05:17 AM

It would be better to store the div class in additional.css

And modifying your template is a ball ache doing it every time you upgrade.

MyZurna 10-01-2010 12:09 PM

guest profil error ?

Turkish-

Misafir yazılarında posbit bozuk çıkıyor çözebilen varmı ?

lubbie 10-01-2010 06:55 PM

1 Attachment(s)
Can anybody tell me how i can increase the space (Attachment: red marked) between the posthead (blue) and the surrounded Username?

Solved

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 11:40 PM.

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.01645 seconds
  • Memory Usage 1,873KB
  • 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
  • (16)bbcode_code_printable
  • (3)bbcode_php_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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