How do I get BB code for my forum?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • litfoo
    New Member
    • May 2004
    • 6
    • 3.6.x

    How do I get BB code for my forum?

    Hi all and Merry Christmas!

    I have been using the BB embed code for youtube and find it very useful to easily add embedded youtube videos to my posts

    Can someone easily make me some BB code for me to easily embed videos from my site into vbulletin

    example embed code would be:


    Hope someone can help

    Many thanks

    litfoo
    Last edited by litfoo; Wed 27 Dec '06, 4:01pm.
  • Jake Bunce
    Senior Member
    • Dec 2000
    • 46598
    • 3.6.x

    #2
    It will be very similar to the youtube code. Just replace the location of the movie with a param. For example:

    Code:
    <embed src="[color=red]{param}[/color]" FlashVars="config=http://www.consolegoals.com/flvplayer.php?viewkey=80faf6fb5e6087eb1b2d&vimg=ht tp://www.consolegoals.com/thumb/6.jpg" quality="high" bgcolor="#000000" wmode="transparent" width="425" height="330" loop="false" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" scale="exactfit" > </embed>
    Then pass in the movie location in your posts. For example, if the tag is "movie":

    Code:
    [movie]http://www.consolegoals.com/flvplayer.swf[/movie]

    Comment

    • litfoo
      New Member
      • May 2004
      • 6
      • 3.6.x

      #3
      Jake

      many thanks for the speedy response.

      this is the code that i am using for the youtube bbcode

      Code:
      <object width="350" height="288"><param name="movie" value="http://www.youtube.com/v/{param}"></param><embed src="http://www.youtube.com/v/{param}" type="application/x-shockwave-flash" width="350" height="288"></embed></object>
      and the tag i cam using is youtube

      so people just have to add the movie id from youtube in between the youtube tags.

      how should my BB code look?

      thanks in advance

      litfoo

      Comment

      • litfoo
        New Member
        • May 2004
        • 6
        • 3.6.x

        #4
        I have used this
        Code:
        <object width="350" height="288"><param name="movie" value="http://www.consolegoals.com/flvplayer.swf{param}"></param<embed src="http://www.consolegoals.com/flvplayer.swf" FlashVars="config=http://www.consolegoals.com/flvplayer.php?viewkey={param}" type="application/x-shockwave-flash" width="350" height="288"></embed></object>
        with the example [goals]d7fbdea1afc51c7c6ad2[/goals]

        when i click on save i can see my embedded video in my BB Code Manager

        however, if i use [goals]d7fbdea1afc51c7c6ad2[/goals] in a thread/post the embedded video is not shown

        any ideas?

        thanks

        litfoo

        Comment

        • feldon23
          Senior Member
          • Nov 2001
          • 11291
          • 3.7.x

          #5
          I am not an expert at object vs. embed tags, but I am going to go back to your original post and suggest this:

          <embed src="http://www.consolegoals.com/flvplayer.swf" FlashVars="config=http://www.consolegoals.com/flvplayer.php?viewkey={param}" quality="high" bgcolor="#000000" wmode="transparent" width="425" height="330" loop="false" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" scale="exactfit" > </embed>

          Comment

          • litfoo
            New Member
            • May 2004
            • 6
            • 3.6.x

            #6
            feldon,

            many thanks for that. I have tried your suggestion and it works a charm - am very happy!

            Merry Christmas to you and Jake

            litfoo

            Comment

            • litfoo
              New Member
              • May 2004
              • 6
              • 3.6.x

              #7
              Hi all,

              I am currently using this code in my BB code settings and it is working like a charm

              <embed src="http://www.consolegoals.com/flvplayer.swf" FlashVars="config=http://www.consolegoals.com/flvplayer.php?viewkey={param}" quality="high" bgcolor="#000000" wmode="transparent" width="425" height="330" loop="false" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" scale="exactfit" > </embed>


              however, my embedded source on my site seems to have changed to include a second parameter: see below in red

              <embed src="http://www.consolegoals.com/flvplayer.swf" FlashVars="config=http://www.consolegoals.com/flvplayer.php?viewkey=4a10e0db5e4b97fc2af3&vimg=http://www.consolegoals.com/thumb/13.jpg" quality="high" bgcolor="#000000" wmode="transparent" width="425" height="330" loop="false" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" scale="exactfit" > </embed>


              how would i handle all this in my bb code shown at the top now? is it a second parameter? can i handle 2 parameters?

              any help greatly appreciated

              thanks

              litfoo

              Comment

              • Jake Bunce
                Senior Member
                • Dec 2000
                • 46598
                • 3.6.x

                #8
                You can add a second parameter by using {option}. Enable the {option} setting when editing the BB code. You can pass in a value in your post by doing this:

                Code:
                [tag=[color=red]option value here[/color]][color=blue]param value here[/color][/tag]

                Comment

                • litfoo
                  New Member
                  • May 2004
                  • 6
                  • 3.6.x

                  #9
                  Thanks for the reply

                  Not too sure if I follow though. Forgive my ignorance

                  I have changed the Use {option} to yes

                  but do not really know how to progress

                  at the moment i enter [cgoal]80faf6fb5e6087eb1b2d[/cgoal] to take care of the first param

                  would you mind going into a little more detail explaining how i handle the second parameter

                  thanks in advance

                  litfoo

                  Comment

                  • feldon23
                    Senior Member
                    • Nov 2001
                    • 11291
                    • 3.7.x

                    #10
                    Jake's post was pretty clear:
                    [tag=option value here]param value here[/tag]


                    [cgoal=SOMETHINGELSEGOESHERE]80faf6fb5e6087eb1b2d[/cgoal]

                    Comment

                    Related Topics

                    Collapse

                    Working...