List Of Variables For Conditionals

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DVD Plaza
    Senior Member
    • Sep 2000
    • 697
    • 3.0.1

    List Of Variables For Conditionals

    Where is the list of variables available to templates/conditionals? I've scanned through the manual/forums but can't find anything.
  • Floris
    Senior Member
    • Dec 2001
    • 37767

    #2
    I don't think there is a list for this, but if you have a question 'how can I do this or that- and can I use a conditional', we can try to answer it

    Comment

    • DVD Plaza
      Senior Member
      • Sep 2000
      • 697
      • 3.0.1

      #3
      Aye? There must be a master list somewhere, how do the developers know what is or isn't available? How can a major feature be "conditionals" but no listing of what you can conditional against?

      I'd rather not have to ask for each one, otherwise I'll be asking a squillion times for variables - I write my templates 100% from scratch

      Comment

      • Floris
        Senior Member
        • Dec 2001
        • 37767

        #4
        All I know is this: http://www.vbulletin.com/docs/html/m...e_conditionals

        Comment

        • DVD Plaza
          Senior Member
          • Sep 2000
          • 697
          • 3.0.1

          #5
          Yeah that document blew me away - "here's a great feature to condition stuff, but we won't tell you what there is to condition against!"

          Thanks for your time aways - I'm guessing Kier will be the man who knows/has the list.

          Comment

          • Floris
            Senior Member
            • Dec 2001
            • 37767

            #6
            Basicly every variable for that page, accessable by that template.

            Comment

            • Regs
              Senior Member
              • May 2001
              • 499
              • 4.2.X

              #7
              Are there any plans to document such a list and make it available?

              ~Regs.

              Comment

              • Zachery
                Former vBulletin Support
                • Jul 2002
                • 59097

                #8
                Im currently working on a howto for conditionals but its a rather extnesive document and its alot of work for anyone.

                Comment

                • t2dman
                  Member
                  • Apr 2004
                  • 60
                  • 3.7.x

                  #9
                  Variables list

                  Any progress with the variables list?
                  Michael Brandon
                  Search Engine Optimize vBulletin-url rewrites,keyword selection,Google sitemap,SEOer to SEO sites
                  My SEO company - SearchMasters

                  Comment

                  • Zachery
                    Former vBulletin Support
                    • Jul 2002
                    • 59097

                    #10
                    I have no public update at this time, sorry

                    Comment

                    • Scott MacVicar
                      Former vBulletin Developer
                      • Dec 2000
                      • 13286

                      #11
                      The list is potentially 100's of variables per template so it could be a list of somewhere in the region of 30,000 variables. Its really ideal to ask and we'll do our best to give you an answer.
                      Scott MacVicar

                      My Blog | Twitter

                      Comment

                      • Zachery
                        Former vBulletin Support
                        • Jul 2002
                        • 59097

                        #12
                        I'm just trying to get the bigger ones for each of the page, but i havent had time to work on it

                        Comment

                        • x3n0
                          New Member
                          • Dec 2003
                          • 29
                          • 3.0.0 Gamma

                          #13
                          Originally posted by Zachery
                          I'm just trying to get the bigger ones for each of the page, but i havent had time to work on it
                          I've done some parsing through the text of various vB PHP files and also thru the templates themselves in hopes of compiling a list. It's very lacking to say the least.

                          What would be optimal is a definition of what each variable contains, how it's formatted, and which include dependancies are required to populate the variables. Would this be asking too much? I would assume it's proprietary developer info.

                          You could have one block of code that parses, defines, and displays every variable in use on the system for a particular user!

                          Comment

                          • James Kojiro
                            Senior Member
                            • Jun 2004
                            • 580
                            • 3.6.x

                            #14
                            I want a list of all the vB variables too!

                            Comment

                            • dstruct2k
                              Member
                              • Feb 2003
                              • 82
                              • 3.0.1

                              #15
                              Here's how to get it:

                              Open up all the PHP files that make up vB.

                              Anything that starts with $ is a variable.


                              (Just playin with you, man. )

                              But it is quite an extensive list... If you want to do something specific, find what $variable it is in the PHP code, and try and use it. If it doesn't work, then come for help.

                              Comment

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