1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Unmaintained CTA Table BB Code 1.1.1

Chairs not included

  1. Brogan

    Brogan XenForo Moderator Staff Member

  2. Liam W

    Liam W Well-Known Member

    Very nice, working well on my dev install. Might install them onto main...

    Liam

    P.S What does CTA mean?
     
    Last edited: Feb 8, 2014
  3. principia

    principia Well-Known Member

  4. Liam W

    Liam W Well-Known Member

    It's an addon XML - import it as an addon :)

    (I made the same mistake, but I should have read the beginning of the file name - 'addon-')

    Liam
     
  5. Brogan

    Brogan XenForo Moderator Staff Member

    That's thanks to the core XenForo code as these don't have the optional parameter allowed.
    As you know, if that is checked, regex is required to stop arbitrary code ;)

    It's the initials of my site name: http://cliptheapex.com/
     
    kiemk55 and Liam W like this.
  6. Brogan

    Brogan XenForo Moderator Staff Member

    I have just updated the resource text to advise that it needs to be installed as an add-on, not via the bb code import option.
     
    Liam W likes this.
  7. Liam W

    Liam W Well-Known Member

    Oh, wait @Brogan, I spoke too soon...

    Arbitrary CSS is allowed, specifically the font-size css rule... (height and width did nothing).

    Just a warning :)

    Liam
     
  8. Brogan

    Brogan XenForo Moderator Staff Member

    That has to be a XenForo issue then as anything within {text} should be sanitised.

    The regex field only applies to optional parameters:
     
  9. Liam W

    Liam W Well-Known Member

    It's the option I'm putting it into. If you put the option value directly into the css class (without regex checking), then all someone has to do is put it like this:

    Code:
    [bg='red; font-size:1000px']Text[/bg]
    And they'll have text with a red background, 1000px in size...

    Nothing much that can be done, bar the option regex.

    Liam
     
  10. Brogan

    Brogan XenForo Moderator Staff Member

    This add-on doesn't include that BB Code.

    You must have the wrong thread.
     
    Liam W likes this.
  11. Liam W

    Liam W Well-Known Member

    Whoops, my bad. Ignore me :p

    Liam
     
  12. Dinh Thanh

    Dinh Thanh Well-Known Member

    Is the table responsive, @Brogan ?
     
  13. Brogan

    Brogan XenForo Moderator Staff Member

    Tables by their very definition will have their minimum width limited by the number of columns and the minimum width of a single data element in each one.
    That's why the container BB Code has been included, to wrap large tables in.
     
    Dinh Thanh likes this.
  14. 3rd AnGle

    3rd AnGle Well-Known Member

    @Brogan will this work with RM... i have not read properly anywhere about RM supporting BBcodes that comes with xf 1.3.. do i have to wait until xf releases RM that supports BB codes... i am assuming RM uses the same editor so should work fine. I have not installed xf1.3
     
  15. Brogan

    Brogan XenForo Moderator Staff Member

    Yes, it works in the resource body.

    upload_2014-2-9_16-55-19.png
     
    3rd AnGle likes this.
  16. iTuN3r

    iTuN3r Well-Known Member

    Oh i am definately going to love this one ! Thanks brogan we just talked about this few days back .

    Is there way we can make this work with xenforo Pages ?
     
    Last edited: Feb 10, 2014
  17. Brogan

    Brogan XenForo Moderator Staff Member

    Pages use HTML.

    Create your table in a post then copy and paste the source code.
     
    iTuN3r likes this.
  18. Brogan

    Brogan XenForo Moderator Staff Member

  19. Bionic Rooster

    Bionic Rooster Well-Known Member

    @Brogan this does not work with 1.2.5? I can't get it working at any rate
     
  20. Brogan

    Brogan XenForo Moderator Staff Member

    Custom BB Code is a 1.3 feature.

    upload_2014-2-16_19-45-17.png
     

Share This Page