Member List and Profile Pictures

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Amaury
    Senior Member
    • Mar 2012
    • 1807
    • 4.2.X

    [Forum] Member List and Profile Pictures

    How can I add a border around the body of the Member List? If you look closely, you can see how it goes past the header.

    Click image for larger version

Name:	Member List.png
Views:	1
Size:	189.9 KB
ID:	3724216

    Also, how can I make it so when someone doesn't have a profile picture, it doesn't show anything at all like with avatars, making the links in that area move up right under the reputation square?

    Click image for larger version

Name:	User Profile Profile Picture.png
Views:	1
Size:	224.3 KB
ID:	3724217
    Former vBulletin user
  • Matthew Gordon
    Senior Member
    • May 2002
    • 3243
    • 1.1.x

    #2
    I honestly have no clue what you are talking about with the first one.

    For the second one, edit the memberinfo_block_profilepicture template and remove the code that is colored red:
    Code:
    <vb:if condition="$prepared['profilepicurl']">
    	<a class="avatar" href="{vb:link member, {vb:raw prepared}}" title="{vb:rawphrase xs_picture, {vb:raw prepared.username}}">
    		<span class="avatarcontainer"><img src="{vb:raw prepared.profilepicurl}" alt="" /></span>
    	</a>
    [color=red]<vb:else />
    	<a class="avatar" href="{vb:link member, {vb:raw userinfo}}" title="{vb:rawphrase xs_picture, {vb:raw userinfo.username}}">
    		<span class="avatarcontainer"><img src="{vb:stylevar imgdir_misc}/unknown.gif" alt="" /></span>
    	</a>[/color]
    </vb:if>

    Comment

    • Amaury
      Senior Member
      • Mar 2012
      • 1807
      • 4.2.X

      #3
      Originally posted by Matthew Gordon
      I honestly have no clue what you are talking about with the first one.

      For the second one, edit the memberinfo_block_profilepicture template and remove the code that is colored red:
      Code:
      <vb:if condition="$prepared['profilepicurl']">
      	<a class="avatar" href="{vb:link member, {vb:raw prepared}}" title="{vb:rawphrase xs_picture, {vb:raw prepared.username}}">
      		<span class="avatarcontainer"><img src="{vb:raw prepared.profilepicurl}" alt="" /></span>
      	</a>
      [color=red]<vb:else />
      	<a class="avatar" href="{vb:link member, {vb:raw userinfo}}" title="{vb:rawphrase xs_picture, {vb:raw userinfo.username}}">
      		<span class="avatarcontainer"><img src="{vb:stylevar imgdir_misc}/unknown.gif" alt="" /></span>
      	</a>[/color]
      </vb:if>
      Thank you.

      In regards to the first one, here's another screenshot, this time with a temporary white document background for easier visibility of what I'm referring to.

      Click image for larger version

Name:	Member List 2.png
Views:	1
Size:	185.6 KB
ID:	3689778

      If you look in the red square, you'll see how the body / sub-header area, such as where Username, Joined, etc. are, goes past the header a bit to the left. This is because there is no border there, which I would like to add.

      Let me know if you need further clarification still.
      Former vBulletin user

      Comment

      • Amaury
        Senior Member
        • Mar 2012
        • 1807
        • 4.2.X

        #4
        Originally posted by Amaury25
        Thank you.

        In regards to the first one, here's another screenshot, this time with a temporary white document background for easier visibility of what I'm referring to.

        [ATTACH=CONFIG]60903[/ATTACH]

        If you look in the red square, you'll see how the body / sub-header area, such as where Username, Joined, etc. are, goes past the header a bit to the left. This is because there is no border there, which I would like to add.

        Let me know if you need further clarification still.
        Bump.
        Former vBulletin user

        Comment

        • Amaury
          Senior Member
          • Mar 2012
          • 1807
          • 4.2.X

          #5
          Bump.

          Member List part still unsolved.
          Former vBulletin user

          Comment

          • Mark.B
            vBulletin Support
            • Feb 2004
            • 24287
            • 6.0.X

            #6
            Try adding this to additional.css:

            Code:
            #memberlist .blockhead {
            border: {vb:stylevar mid_border};
            }
            MARK.B
            vBulletin Support
            ------------
            My Unofficial vBulletin 6.0.0 Demo: https://www.talknewsuk.com
            My Unofficial vBulletin Cloud Demo: https://www.adminammo.com

            Comment

            • Amaury
              Senior Member
              • Mar 2012
              • 1807
              • 4.2.X

              #7
              Originally posted by Mark.B
              Try adding this to additional.css:

              Code:
              #memberlist .blockhead {
              border: {vb:stylevar mid_border};
              }
              Nope.

              That's for the header, I want it for the body, and I tried it changing it to this, which also didn't work.

              Code:
              #memberlist .blockbody {
                  border: 1px solid black;
              }
              Former vBulletin user

              Comment

              • Merjawy
                Senior Member
                • Sep 2002
                • 2613

                #8
                What is the issue? is it the little alignment issue on top left corner?

                - - - Updated - - -

                Try this to fix the alignment issue

                #memberlist.block .blockbody {
                padding-left: 1.2px;
                }
                To be or not to be... Where the hell is the question????
                My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

                Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
                CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
                Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

                Comment

                • Amaury
                  Senior Member
                  • Mar 2012
                  • 1807
                  • 4.2.X

                  #9
                  Originally posted by Merjawy
                  What is the issue? is it the little alignment issue on top left corner?

                  - - - Updated - - -

                  Try this to fix the alignment issue
                  Negative.
                  Former vBulletin user

                  Comment

                  • Merjawy
                    Senior Member
                    • Sep 2002
                    • 2613

                    #10
                    Something else overriding it then, cuz I just tried it on mine and it moved it back a tad
                    To be or not to be... Where the hell is the question????
                    My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

                    Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
                    CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
                    Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

                    Comment

                    • Merjawy
                      Senior Member
                      • Sep 2002
                      • 2613

                      #11
                      Try this. play with the padding-left from ( .1 ) to ( 5 ) px and you will see the changes, then use the number that works for you

                      #memberlist.block .blockbody {
                      overflow: auto;
                      padding-left: .1px;
                      width: 100%;
                      }
                      To be or not to be... Where the hell is the question????
                      My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

                      Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
                      CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
                      Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

                      Comment

                      • Amaury
                        Senior Member
                        • Mar 2012
                        • 1807
                        • 4.2.X

                        #12
                        Originally posted by Merjawy
                        Try this. play with the padding-left from ( .1 ) to ( 5 ) px and you will see the changes, then use the number that works for you
                        Thanks. I'll try it out tomorrow.
                        Former vBulletin user

                        Comment

                        • Merjawy
                          Senior Member
                          • Sep 2002
                          • 2613

                          #13
                          You're welcome
                          To be or not to be... Where the hell is the question????
                          My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

                          Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
                          CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
                          Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

                          Comment

                          • Amaury
                            Senior Member
                            • Mar 2012
                            • 1807
                            • 4.2.X

                            #14
                            Originally posted by Merjawy
                            You're welcome
                            No luck getting it to work.
                            Former vBulletin user

                            Comment

                            • Merjawy
                              Senior Member
                              • Sep 2002
                              • 2613

                              #15
                              Did it make any difference at all? It did on my test forum
                              To be or not to be... Where the hell is the question????
                              My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

                              Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
                              CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
                              Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...