Announcement

Collapse
No announcement yet.

Marquee vBcode Tag...

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

  • Marquee vBcode Tag...

    Does anyone know how to create a vBcode tag for marquees which is FULLY FUNCTIONAL? Ie. not just [marquee]blah[/marquee] but you can set behavior, scrollamount, direction, scrolldelay, loop...I know it's somehow possible from adding the code in the adminCP, something to do with the {option} tag but I can't seem to figure out how to do it...

    In effect I want to be able to do say [marquee behavior=alternate scrollamount=30]text here[marquee] and it is functional

    Thanks to anyone who figures this out!

  • #2
    Is this impossible?

    Comment


    • #3
      Depends... How many parameters does it need? If it needs more than 2 you will have to hack the code and add it in. Check at vBulletin.org. I believe a modification was posted to allow this about a year to eighteen months ago. Don't know why but I guess it could be useful in very rare circumstances.
      Translations provided by Google.

      Wayne Luke
      The Rabid Badger - a vBulletin Cloud demonstration site.
      vBulletin 5 API

      Comment


      • #4
        something like this might work

        PHP Code:
             $bbcode=eregi_replace("\\[marquee setting=\"([^\\[,]*),[^\\[]*\"\\]","[marquee=\\1]",$bbcode);

              
        $bbcode=eregi_replace("\\[/marquee\\]","[/marquee]",$bbcode); 
        To be or not to be... Where the hell is the question????
        My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too

        Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
        CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
        Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16

        Comment


        • #5
          Where do I put that code merjawy?

          Comment

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