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

XF 1.5 BB Code Media Sites Help

Discussion in 'XenForo Questions and Support' started by rovielran, Jan 15, 2016.

  1. rovielran

    rovielran Member

    So i was trying to make a bb code media for challonge then i came up with several scenarios

    No problem with this type of url http://challonge.com/coldqs since i just have to do simple replace http://challonge.com/{$id}

    Embed HTML:
    <iframe src="https://challonge.com/{$id}/module" width="100%" height="600" frameborder="0" scrolling="auto" allowtransparency="true"></iframe>

    Need help if it has subdomain example below
    http://eulcs2k.challonge.com/EULCSSP2014F

    Can i get 2 ids? i was thinking of just capturing the whole url http://eulcs2k.challonge.com/EULCSSP2014F but not sure how to this

    Embed HTML would look like this
    <iframe src="https://{$id}/module" width="100%" height="600" frameborder="0" scrolling="auto" allowtransparency="true"></iframe>

    If we can capture the whole url this can used as a like generic bb code media.
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Is the subdomain always the same?
    I suspect not as it seems to be related to the actual media.

    In which case you would likely need a PHP callback to deal with it.
     
    rovielran likes this.

Share This Page