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

XF 1.4 Image proxy: Exclude domains in signatures

Discussion in 'XenForo Questions and Support' started by rhs, Nov 14, 2014.

  1. rhs

    rhs Member

    Hi,

    my users want in the signature to link a picture, which is changed regularly (km driven with the bicycle).

    In this post mentioned @Jeremy ...

    ... but, how is the bbcode IMG defined?

    @Jeremy, can you explain this? Thank you!
     
  2. rhs

    rhs Member

    Have anyone a idea for this?
     
  3. Mike

    Mike XenForo Developer Staff Member

    Some of the specifics of the format are down to how you want to implement it, but you just need to create a custom BB code that outputs an <img> HTML tag.
     
    rhs likes this.
  4. rhs

    rhs Member

    The new bbcode will just work as IMG, but do not pass through the proxy. But I have no idea how to implement that ...
     
  5. Mike

    Mike XenForo Developer Staff Member

    You'd just setup a BB code that outputs an img tag:
    Code:
    <img src="{text}" alt="" />
    You should be mostly good to go with that, though you'll want to disable smilies/linking/BB code/line break conversion within (advanced options).
     
  6. rhs

    rhs Member

    So easy ... thank you Mike!
     

Share This Page