Announcement

Collapse
No announcement yet.

How to make the postbit layout an user option

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    vBulletin Options -> Thread Display Options (showthread) -> Use Legacy (Vertical) Postbit Template

    Comment


    • #32
      This is sweet, I was looking for something just like this, but I'm having a CSS problem with it.

      When I move the userinfo to the left, I lose the black lines that are around the posts. See the attached screenshots:
      Attached Files
      Mikey
      www.GamingAsylum.net

      Comment


      • #33
        Mikey, if they are custom you might want to check the postbit and postbit_legacy templates (also if it isn't custom )
        A bullet may have your name on it, but shrapnel is addressed "to whom it may concern"

        Comment


        • #34
          Freddie -- is this perchance something that will be incorporated into the next release? It looks like an excellent addition for the default template set.

          Comment


          • #35
            Originally posted by MadMikey
            This is sweet, I was looking for something just like this, but I'm having a CSS problem with it.

            When I move the userinfo to the left, I lose the black lines that are around the posts. See the attached screenshots:
            Modify postbit_legacy, set the table so that cellspacing is 1 and not 0.
            To alcohol! The cause of, and solution to, all of life's problems. -- Homer Simpson

            Comment


            • #36
              Originally posted by cka
              Modify postbit_legacy, set the table so that cellspacing is 1 and not 0.
              cka, your r0xx0r!

              That did it!
              Mikey
              www.GamingAsylum.net

              Comment


              • #37
                Originally posted by UnrealAnt
                Actually, that's a good point, but it does render the Admin CP option useless...
                Well only if you want to give your users the choice, if you want your users to stick with the legacy style whether they like it or not then the Admin CP option is perfect . Theoretically you can do the same with pretty much every option in the CP. My next aim will be to do the same with the Quick reply box, I'm just hoping the CP setting does not overide it because it's not possible to leave the option blank in the CP you have to set yes or no as opposed to the postbit which is either selected or nothing.

                Frugal

                Comment


                • #38
                  Yes you could do the same thing with any option in the admin cp.

                  Comment


                  • #39
                    didn't know that, thanks!
                    Originally posted by Freddie
                    Yes you could do the same thing with any option in the admin cp.
                    Carlos
                    http://www.northbits.com

                    Comment


                    • #40
                      I will take advantaage of that option, Freddie.

                      Yes you could do the same thing with any option in the admin cp.
                      By the way I got it to work now.
                      Gio Takahashi
                      Owner of www.unitedempire.net
                      The Website and The Forums

                      Comment


                      • #41
                        Okay I don't get this. I have the postbit layout on the phpinclude_start template. It works. I have another option, the date layout (normal, yesterday/today and detailed) added to it, and neither of them works. Appearently I need to separate both fields. How might I do that?

                        Thanks.
                        Gio Takahashi
                        Owner of www.unitedempire.net
                        The Website and The Forums

                        Comment


                        • #42
                          That was almost too easy. I copied and pasted it into my first style, took the extra 6 off and tested it out and it worked flawlessly. Pasted into all of my other styles and it didn't work. Well, forget to get rid of that extra 6. Works great. Thanks!
                          Marc

                          U.S. Politics Online

                          Comment


                          • #43
                            Is it possible to incorprate vbulletins liquid style into this sort of option, instead of having to set up a child style for those threes stylevars?
                            Check out http://www.alotoftalk.com/ my new vB3.5 forum =)

                            Comment


                            • #44
                              Hmmm, That would probably require a more advanced coding...
                              Gio Takahashi
                              Owner of www.unitedempire.net
                              The Website and The Forums

                              Comment


                              • #45
                                PHP Code:
                                if ($bbuserinfo['field6'] == 'Expanded')
                                {
                                $stylevar['outertablewidth'] = "100%";
                                $stylevar['outerdivwidth'] = "100%";
                                $stylevar['formwidth'] = "auto";
                                $stylevar['formwidth_usercp'] = "auto"

                                else
                                {
                                $stylevar['outertablewidth'] = "760";
                                $stylevar['outerdivwidth'] = "760px";
                                $stylevar['formwidth'] = "640px";
                                $stylevar['formwidth_usercp'] = "480px";

                                That code is working on my localhost board so I am pretty confident it will work elsewhere, I am stumped as to wheere the 'outerdivwidth' is set but that seems to be the anser to any problems.

                                BTW I used the same drop-down box as before only with 'Expanded' and 'Fixed' as options.

                                EDIT: Has anyone fixed the alignment of the option boxes in the cp yet?
                                Check out http://www.alotoftalk.com/ my new vB3.5 forum =)

                                Comment

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