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 - A nice Postbit_legacy - vb4 (https://vborg.vbsupport.ru/showthread.php?t=231420)

Martyn1983 05-24-2010 08:11 PM

Quote:

Originally Posted by Leica.Robbiani (Post 2042814)
Hi Martyn1983,



In your source code I saw:

HTML Code:

<dd style="white-space:nowrap; display:inline; float: right;">
in a div. Try out what happens if you remove this.

I believe in dark, for me it was a problem with this handicraft.

Best regards

L.R.

Which templates that in? Cant find it in postbit_legacy or post_thanks_postbit?

Leica.Robbiani 05-24-2010 08:30 PM

1 Attachment(s)
Hi Martyn1983,

it's in the post_thanks_postbit_info template. But I think I'm wrong, I don't have any div's around the stats.

My html-code is:

HTML Code:

<dl class="userinfo_extra">
        <dt>Registriert seit</dt> <dd>07.04.2010</dd>

        <dt>Ort</dt> <dd>Toronto, ON, CA</dd>
                                       
        <dt>Beitr?ge</dt> <dd>50</dd>

<!-- BEGIN TEMPLATE: post_thanks_postbit_info -->

        <dt>Danke</dt> <dd>2</dd>

       
        <dt style="color: white; max-width: 5px;">&nbsp;</dt>
        <dd style="white-space:nowrap;"><span style=" position: relative; left: -50px;">Thanked 0 Times in 0 Posts</span></dd>
       
 
<!-- END TEMPLATE: post_thanks_postbit_info -->
        </dl>

and it looks like this:

Attachment 117518

Best regards

L.R.

Martyn1983 05-24-2010 08:50 PM

Quote:

Originally Posted by Leica.Robbiani (Post 2042843)
Hi Martyn1983,

it's in the post_thanks_postbit_info template. But I think I'm wrong, I don't have any div's around the stats.

My html-code is:

HTML Code:

<dl class="userinfo_extra">
        <dt>Registriert seit</dt> <dd>07.04.2010</dd>

        <dt>Ort</dt> <dd>Toronto, ON, CA</dd>
                                       
        <dt>Beitr?ge</dt> <dd>50</dd>

<!-- BEGIN TEMPLATE: post_thanks_postbit_info -->

        <dt>Danke</dt> <dd>2</dd>

       
        <dt style="color: white; max-width: 5px;">&nbsp;</dt>
        <dd style="white-space:nowrap;"><span style=" position: relative; left: -50px;">Thanked 0 Times in 0 Posts</span></dd>
       
 
<!-- END TEMPLATE: post_thanks_postbit_info -->
        </dl>

and it looks like this:

Attachment 117518

Best regards

L.R.


I *think* that has worked...just checking! Away to turn back on itrader and see if thats fixed now too! Bear with!

**Edit**

I trader rating still has no background border...just that and avatar to try and sort and I think Im all there!

Thanks for the help so far btw! :)

ndut 05-26-2010 01:22 AM

how to fix this problem?

https://vborg.vbsupport.ru/

thank you

DX-FMJ 05-26-2010 05:23 AM

Great mod, had some hassle to get it working right with vB 4.0.3

I have figured out a fix for the border not being around the avatar;

original code

Code:

            <vb:if condition="$show['avatar']">
<div class="eti_postbit_2">
            <a class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
                <img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
            </a></div>
 

            </vb:if>


and mine

Code:

            <vb:if condition="$show['avatar']">
<div class="eti_postbit">
            <div class="postuseravatar" href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
                <img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />
            </a></div></div>
 

            </vb:if>


The culprit was,

Code:

<div class="eti_postbit_2">
            <a class

changed to


<div class="eti_postbit">
            <div class

This fixed border around avatar, however I still have a border section with nothing in it that is very thin under the avatar.

Not sure if that's related to this or not.

Also does anyone know how to get a border around vmoods mod?

Martyn1983 05-26-2010 06:08 AM

Thanks for that - I did this and was left with an avatar like the poster before you again!

What I did was change the code to:
PHP Code:

<vb:if condition="$show['avatar']">
<
div class="eti_postbit"
            <
div href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
                [
B]<center>[/B]<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />[B]</center>[/B]
            </
a></div></div

I've used centre tags in here...I realise they're probably frowned upon in the world of VB, but they sit the avatar exactly how I want it to sit. So it's a means to an end. Followed the earlier link to centring everything, took out the tags but no joy.

ndut 05-26-2010 08:08 AM

what should i do? for fixing this problem?

https://vborg.vbsupport.ru/

to make "status" below the avatar??

postbit.css or postbit legacy, that have to edit?

Leica.Robbiani 05-26-2010 01:54 PM

Hi ndut,

Quote:

Originally Posted by ndut (Post 2043544)
what should i do? for fixing this problem?

Maybe your avatar is in a left floated div. Try to remove the float and watch out what happens.

Best regard

L.R.

ndut 05-26-2010 05:35 PM

already fix. thank you

TClaunch 05-31-2010 02:36 PM

Quote:

Originally Posted by Martyn1983 (Post 2043512)
Thanks for that - I did this and was left with an avatar like the poster before you again!

What I did was change the code to:
PHP Code:

<vb:if condition="$show['avatar']">
<
div class="eti_postbit"
            <
div href="{vb:link member, {vb:raw post}}" title="{vb:rawphrase {vb:raw post['onlinestatusphrase']}, {vb:raw post.username}}">
                [
B]<center>[/B]<img src="{vb:raw post.avatarurl}" alt="{vb:rawphrase xs_avatar, {vb:raw post.username}}" />[B]</center>[/B]
            </
a></div></div

I've used centre tags in here...I realise they're probably frowned upon in the world of VB, but they sit the avatar exactly how I want it to sit. So it's a means to an end. Followed the earlier link to centring everything, took out the tags but no joy.



Hey, I don't wanna sound rude or anything, but why are their bold tags around both <center> tags? Also, <div align="center"> is more "politically correct" in the html world now, lol.

EDIT: Oh, I see why now. Just trying to show them. Sorry. Didn't read the rest. My fault =D


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