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

Other BBCode Media Site for football (soccer) formations?

Discussion in 'Resource and Add-on Requests' started by RobParker, Aug 26, 2013.

  1. RobParker

    RobParker Well-Known Member

    This site, http://lineupbuilder.com/ , allows you to create team formations.

    It uses the following format for embedding them:

    <iframe width="350" height="476" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://lineupbuilder.com/lineup/?p=11&amp;a=40213&amp;t=Test&amp;c=102334&amp;1=GK___388_174&amp;2=DL___317_64&amp;3=DCL___327_138&amp;4=DCR___327_211&amp;5=DR___317_284&amp;6=DML___240_138&amp;7=DMR___240_211&amp;8=MCA___170_174&amp;9=WL___116_64&amp;10=WR___116_284&amp;11=FCA___80_174&amp;c2=ffffff&amp;c3=ffffff&amp;output=embed"></iframe>
    Am I correct in thinking because it has so many variables that it's not possible to do this as a BBcode site?
  2. JulianD

    JulianD Well-Known Member

    Yeah, it doesn't make sense to create a bbcode with all that amount of attributes. One solution would be to create a BBCode that accepts Iframe code from that site in particular. Something like:

    [lineupbuilder]<iframe width="350" height="476" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://lineupbuilder.com/lineup/?p=11&amp;a=40213&amp;t=Test&amp;c=102334&amp;1=GK___388_174&amp;2=DL___317_64&amp;3=DCL___327_138&amp;4=DCR___327_211&amp;5=DR___317_284&amp;6=DML___240_138&amp;7=DMR___240_211&amp;8=MCA___170_174&amp;9=WL___116_64&amp;10=WR___116_284&amp;11=FCA___80_174&amp;c2=ffffff&amp;c3=ffffff&amp;output=embed"></iframe>[/lineupbuilder]
    You need an addon like the BBCode & Button Manager to do it though.
  3. EQnoble

    EQnoble Well-Known Member

    It is very possible just not very standard in the approach to making it as far as most mediasites are concerned.

    However, that said already the two ways you could go about it with a mediasite is to match all portions of all urls from lineupbuilder.com and capture everything after the last / as its own sub-pattern which you you can do two things with.

    One is get really crafty in a callback with an iframe without doing any adjustments to the iframe or anything inward of it...

    Two you can scrape the page, gather the data, create your own custom delimited string out of that data in the url callback saving it as the content contained in the bbcodes tags, and then explode that custom string in your html callback and put the field and player positions back in to place.
  4. ioneti

    ioneti Active Member

    Finally you could integrate it?
  5. thefreekick

    thefreekick Member

    Sorry for resurrecting an old thread but came across this while searching for something else.

    I have a crappy looking solution using the BB Code Manager and some custom BB Codes but it could be improved by changing the background image etc to make it look better. You can see an example here:
    RobParker likes this.

Share This Page