Announcement

Collapse
No announcement yet.

List Of Variables For Conditionals

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

  • 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.

  • #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


    • #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


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

        Comment


        • #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


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

            Comment


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

              ~Regs.

              Comment


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

                Comment


                • #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


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

                    Comment


                    • #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


                      • #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


                        • #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


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

                            Comment


                            • #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...
                              X