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

Fixed Mediasites

Discussion in 'Resolved Bug Reports' started by xf_phantom, May 13, 2013.

  1. xf_phantom

    xf_phantom Well-Known Member

    I have custom media tags, where the url is the id.

    It's working and being shown.
    But when somebody edits the post, the media tag is being "masked" again
    which doesn't work anymore
  2. Jeremy

    Jeremy Well-Known Member

    The id should realistically be whatever versus the full URL. The replacement should add in the necessary URL. So ID = Path.
  3. xf_phantom

    xf_phantom Well-Known Member

    That's impossible because i need the full url (or 2 variables ( subdomain + id), but xenforo supports here AFAIK only 1 (the id)
  4. EQnoble

    EQnoble Well-Known Member

    If you give me the site that you are making a mediasite definition for I can help you out with this.
  5. Despair

    Despair Active Member

    Maybe not as efficient, but not impossible. Did you try using the URL match callback and embed HTML callback under the advanced options tab? This sounds like it might be a situation where it'd come in handy. Maybe you could try creating the media ID/key as the joined subdomain, a unique separator, and the ID in your URL match callback. In your embed HTML callback you could then explode on that unique separator and place both pieces in the correct place of the URL for the string to return.
  6. Mike

    Mike XenForo Developer Staff Member

    Disabled media tags from autolinking.

Share This Page