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)

ShackMaster 05-14-2010 03:51 AM

Thanks for this mod... very nice!

I did have to make that last edit that Martyn1983 posted... thanks for that as well.

Martyn1983 05-14-2010 09:55 AM

Quote:

Originally Posted by ShackMaster (Post 2036733)
Thanks for this mod... very nice!

I did have to make that last edit that Martyn1983 posted... thanks for that as well.

No credit to me, it's mentioned in passing in the previous page. I just carried out the instruction and copied & pasted the changes to make it easier!

wired420 05-21-2010 02:38 PM

Quote:

Originally Posted by Hoagie (Post 1952151)
Yea its still not working for me at all....look at my screenshot from my previous posts

Options -> User Reputation Options -> Enable at Top, Save

Or delete all of the parts for reputation out of code.

Martyn1983 05-23-2010 07:35 AM

What about itrader feedback?

I've turned this off just now, as it was just dropping in between another two fields in the postbit. Also can't figure out how to put the border in the avatar area. Any help appreciated guys.

Martyn1983 05-23-2010 09:26 PM

Also seem to have a random problem with the
Thanked 1 Time in 1 Post bit...sometimes it appears in the borders, sometimes it doesnt.

For a start I thought it might be a problem relating to one particular usergroup, but it seems a bit more random than that? Any help appreciated!

Cheers,
Martny

Leica.Robbiani 05-23-2010 10:43 PM

1 Attachment(s)
Hi there,

Quote:

Also seem to have a random problem with the
Thanked 1 Time in 1 Post bit...sometimes it appears in the borders, sometimes it doesnt.
It was also a problem to me, maybe it's problem with some browsers. I used the style attribute in div class="postbody" in the first line of the post_thanks_postbit template. See screenshot ...


The solution for the position of the avatar was for me a relative positioning. The easiest way was to put the avatar in a table, because I have some more things underneath the avatar, and the html/css-code is just a mess ...

The next update of vBulletin should be a reorganizing of the code, it was a rumble of hours through the templates and css classes to get a real nice postbit_legacy ...

Best regards

L.R.

Martyn1983 05-24-2010 06:18 AM

1 Attachment(s)
Quote:

Originally Posted by Leica.Robbiani (Post 2042422)
Hi there,


It was also a problem to me, maybe it's problem with some browsers. I used the style attribute in div class="postbody" in the first line of the post_thanks_postbit template. See screenshot ...


The solution for the position of the avatar was for me a relative positioning. The easiest way was to put the avatar in a table, because I have some more things underneath the avatar, and the html/css-code is just a mess ...

The next update of vBulletin should be a reorganizing of the code, it was a rumble of hours through the templates and css classes to get a real nice postbit_legacy ...

Best regards

L.R.

Thanks for the help, though I'm not quite sure what the solution your implying is. The very first line in my post_thanks_postbit file is as follows:

Code:

<div class="postbody"<vb:if condition="$vboptions['legacypostbit']"> style="margin-{vb:stylevar left}: 0"</vb:if>>

I've attached a screengrab of the problem - the avatar positioning I seem to remember I fixed using very basic HTML. Probably not idea, but it seems to have worked.

Leica.Robbiani 05-24-2010 08:38 AM

Hi Martyn1983,

Quote:

I've attached a screengrab of the problem
Ok, it was a misunderstanding by me, I thought you meant the box underneath the posting.

I don't show the Post Thanks-Stats in the userinfo of the postbit, because you can overact with information there. The users should read the post, and not who likes to click anywhere a button can be found.

But I remember as I was creating my postbit_legacy I saw the same problem. But I don't remember what I did to solve the problem, maybe it's not from the Post Thank-Mod. Use in firefox the firebug extension to find out what's the problem is.

Sorry that I cannot help, it was my fault for the misunderstanding.

Quote:

the avatar positioning I seem to remember I fixed using very basic HTML. Probably not idea, but it seems to have worked.
My solution there is also not a clean solution, but sometimes Im glad it works. And this is not always easy ...

Best regards

L.R.

Martyn1983 05-24-2010 11:31 AM

Quote:

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


Ok, it was a misunderstanding by me, I thought you meant the box underneath the posting.

I don't show the Post Thanks-Stats in the userinfo of the postbit, because you can overact with information there. The users should read the post, and not who likes to click anywhere a button can be found.

But I remember as I was creating my postbit_legacy I saw the same problem. But I don't remember what I did to solve the problem, maybe it's not from the Post Thank-Mod. Use in firefox the firebug extension to find out what's the problem is.

Sorry that I cannot help, it was my fault for the misunderstanding.


My solution there is also not a clean solution, but sometimes Im glad it works. And this is not always easy ...

Best regards

L.R.

Thanks - thats not a probelm!

If you can remember please let me know! Any help appreciated guys!

Leica.Robbiani 05-24-2010 07:37 PM

Hi Martyn1983,

Quote:

Originally Posted by Martyn1983 (Post 2042641)
Thanks - thats not a probelm!

If you can remember please let me know! Any help appreciated guys!

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.

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

Martyn1983 05-31-2010 09:16 PM

Quote:

Originally Posted by TClaunch (Post 2046055)
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

Yeh..guess it would be more PC but as I said, it was a quick fix :)

TClaunch 06-06-2010 03:29 AM

And it did work, and I thank you for it, lol. Works great with your fix =D

TClaunch 06-06-2010 10:39 PM

This is related, so please read.
Alright, I dunno if anybody can help with this, but I have iTrader and the box wont go around when I have it on a certain setting. There are three settings of where you can place the postbit link -- Below Posts Count on Right, Below Member Title on Left, and After All Userinfo on Right.

Below Posts and Below Member Title give it a bad formatting. The box from this css mod will go around both of these just fine. However, If i choose "After All Userinfo" it formats the link correctly, but the box will not go around.

Here are screenshots to show what I mean.

http://www.waloosh.com/images/random/goodformat.PNG

http://www.waloosh.com/images/random/badformat.PNG


Anybody know how I can fix this? I've placed the <div class="eti_postbit"> everywhere in the template I can think of and no matter what, it still messes up.
I don't know why the formatting is bad. I wish the 0 would stay to the right of "Feedback". There's no <p> and no <br> anywhere in there that would cause it..

Anybody have any ideas?

bl4ckh34d 06-16-2010 01:16 AM

Quote:

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

http://images.meremmelek.net/images/...1g74osilq5.jpg

to make "status" below the avatar??

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

where is solution on this ask?
me some problem with this

thank

Foxtrotelite 09-11-2010 12:57 AM

Anyone using this for 4.0.6? I can't seem to get it to work

haidm 09-20-2010 04:15 AM

1 Attachment(s)
After install, my username, avatar and rank is not align center. How can I center those?

RobbieZ 09-21-2010 03:09 PM

Quote:

Originally Posted by haidm (Post 2100796)
After install, my username, avatar and rank is not align center. How can I center those?

Those are stored in your postbit.css not your postbit_legacy!

Foxtrotelite 09-22-2010 02:14 PM

does this work for 4.0.6?

RobbieZ 09-22-2010 02:37 PM

It will work on any platform as it is div class calls to css.

motorola 09-27-2010 12:42 PM

Quote:

Originally Posted by RobbieZ (Post 2101453)
Those are stored in your postbit.css not your postbit_legacy!

And what should change there?


Late Edit : Never mind, I fixed this alone. I used another mode to center usernames and avatars


All times are GMT. The time now is 01:04 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.01581 seconds
  • Memory Usage 1,856KB
  • 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
  • (4)bbcode_html_printable
  • (2)bbcode_php_printable
  • (16)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (30)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