Announcement

Collapse
No announcement yet.

Post footer modification

Collapse
X
Collapse
First Prev Next Last
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Post footer modification

    Hello Glenn,

    would you be willing to share the CSS customization for your post footer in exchange for some coffee? I suppose it is pure CSS? The default layout takes up too much space in my case. I’ve already seen users here on the forum who’ve adapted it for their own forums.

    Click image for larger version  Name:	image.png Views:	0 Size:	14.9 KB ID:	33955

    Thanks in advance.​

    #2
    flohse, Sure. Can you show how the post footer looks like on your forum?
    Buy me a coffeePayPal QR Code
    My Amazon Affiliate Link
    Fast vBulletin VPS Host:
    This site is hosted by IONOS

    Comment


      #3
      glennrocksvb

      I am running vBulletin 6.2.0 and have this post standard footer:

      Click image for larger version

Name:	Screenshot 2026-03-29 185752.png
Views:	240
Size:	9.5 KB
ID:	33963

      As you can see the "To Bottom" and "To Top" buttons are a slightly misaligned. I couldn't figure it out how to fix this. Maybe you can help with this also?

      The problem with a usual browser width is that most of the buttons are collapsed to three dots.

      Click image for larger version

Name:	Screenshot 2026-03-29 185837.png
Views:	56
Size:	4.5 KB
ID:	33964

      So I would like to have a similar post footer like in your forum and also to wrap buttons to the next line if they don't fit in one line to avoid collapsing to the three dots.​

      Comment


        #4
        When the post footer controls don't fit the available space, vB collapses them into a 3-dot control that opens them in a dropdown. That's the default behavior implemented in vB6. But if a control has "js-comp-menu--exclude-from-dropdown" CSS class in it, it will be excluded from the dropdown and will not be collapsed. That's how the Add to Bookmark, Bottom and Top mods are not collapsed. I made those mods to be always visible and easily accessible since I think these are primary controls that should always be visible.

        vBulletin doesn't provide any option to configure which controls are excluded from the dropdown or not.
        Buy me a coffeePayPal QR Code
        My Amazon Affiliate Link
        Fast vBulletin VPS Host:
        This site is hosted by IONOS

        Comment


        • glennrocksvb
          commented
          Editing a comment
          There's a way to create a mod that programmatically adds that class as needed. Just let me know if you want all controls to be not coilapsed or only some controls.

        • flohse
          commented
          Editing a comment
          I would like to exclude the "Add to Bookmarks", "Translate", "Edit", "Quote", "Comment", "Flag", "Set as Answer", "To Bottom" and "To Top" from collapsing.

          I assume they will be wrapped to the next line, if there is not sufficient space?

        • glennrocksvb
          commented
          Editing a comment
          I think so. Let me try it.

        • glennrocksvb
          commented
          Editing a comment
          Do you only want to do this on desktop view? And keep the 3 dots on mobile view?

        • flohse
          commented
          Editing a comment
          I would like to exclude the "Add to Bookmarks", "Translate", "Edit", "Quote", "Comment", "Flag", "Set as Answer", "To Bottom" and "To Top" from collapsing on desktop and "Add to Bookmarks", "Edit", "To Bottom" and "To Top" on mobile view.

        #5
        As for the alignment, try adding this in css_additional.css template:

        Code:
        .b-post-control {
            margin-top: 0;
        }
        Buy me a coffeePayPal QR Code
        My Amazon Affiliate Link
        Fast vBulletin VPS Host:
        This site is hosted by IONOS

        Comment


          #6
          Originally posted by glennrocksvb View Post
          As for the alignment, try adding this in css_additional.css template:

          Code:
          .b-post-control {
          margin-top: 0;
          }
          This worked, but I had to adjust the height a little bit.

          Code:
          /*************** Align Post Footer To Bottom and To Top buttons ***************/
          
          .b-post-control {
              margin-top: 0;
              height: 20px;
          }

          Comment


            #7
            Originally posted by flohse View Post
            would like to exclude the "Add to Bookmarks", "Translate", "Edit", "Quote", "Comment", "Flag", "Set as Answer", "To Bottom" and "To Top" from collapsing on desktop and "Add to Bookmarks", "Edit", "To Bottom" and "To Top" on mobile view.
            I will release this mod soon.
            Click image for larger version

Name:	image.png
Views:	65
Size:	285.5 KB
ID:	33987
            Buy me a coffeePayPal QR Code
            My Amazon Affiliate Link
            Fast vBulletin VPS Host:
            This site is hosted by IONOS

            Comment


              #8
              Flash GIF
              Waiting ...

              Comment


                #9
                Here you go!

                Hello vBulletin Community, I’d like to introduce a lightweight plugin called Uncollapse Post Footer Controls which is designed to improve usability and streamline user interaction across your forum. What it does By default, vBulletin collapses post footer controls (Comment, Quote, Edit, etc.) into a dropdown when there isn’t
                Buy me a coffeePayPal QR Code
                My Amazon Affiliate Link
                Fast vBulletin VPS Host:
                This site is hosted by IONOS

                Comment


                • flohse
                  commented
                  Editing a comment
                  purchased!

                • glennrocksvb
                  commented
                  Editing a comment
                  That wast fast! ⚡

                #10
                Unfortunately it does not work for me.

                Mod setting:

                Click image for larger version

Name:	image.png
Views:	22
Size:	279.2 KB
ID:	34021

                ​But controls are still collapsed.

                Click image for larger version

Name:	image.png
Views:	20
Size:	5.2 KB
ID:	34022

                Comment


                  #11
                  Please try clearing your browser cache and cookies.
                  Buy me a coffeePayPal QR Code
                  My Amazon Affiliate Link
                  Fast vBulletin VPS Host:
                  This site is hosted by IONOS

                  Comment


                    #12
                    If it still doesn't work, then I may need a test account on your forum to be able to debug the issue. It doesn't have to be an admin. But I will only be able to look at it tomorrow. It's already late here.
                    Buy me a coffeePayPal QR Code
                    My Amazon Affiliate Link
                    Fast vBulletin VPS Host:
                    This site is hosted by IONOS

                    Comment


                    • flohse
                      commented
                      Editing a comment
                      No problem. Take your time. I will setup an account for you and send the login information as pm. The forum is still under construction and only for early access users.

                    #13
                    Tried without success. I have used Firefox with cleared cache and cookies.

                    Comment


                      #14
                      I have found the cause for my problem. The autoblocker.js script from my Usercentric Consent Management Platform interferes with this mod. Without the use of the autoblocker.js script the mod works as expected. So there is no more need for troubleshooting and your mod does what it's supposed to do.

                      No Problem Yes GIF by Vevo

                      Comment


                        #15
                        Glad to hear the mod is working. I wonder how you made it work together with autoblocker.js. Did you whitelist or ignore the mod in the Usercentric settings?
                        Buy me a coffeePayPal QR Code
                        My Amazon Affiliate Link
                        Fast vBulletin VPS Host:
                        This site is hosted by IONOS

                        Comment


                        • flohse
                          commented
                          Editing a comment
                          At the moment I have disabled the autoblocker.js script. I have tried to whitelist the domain of the forum in the Usercentric management, but this didn't do the trick. I think I have to do some more investigation.

                      Latest Posts

                      Collapse

                      Working...
                      X
                      Searching...Please wait.
                      An unexpected error was returned: 'Your submission could not be processed because you have logged in since the previous page was loaded.

                      Please push the back button and reload the previous window.'
                      An unexpected error was returned: 'Your submission could not be processed because the token has expired.

                      Please push the back button and reload the previous window.'
                      An internal error has occurred and the module cannot be displayed.
                      There are no results that meet this criteria.
                      Search Result for "|||"