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

Disable IMG BBCode, but allow image attachments?

Discussion in 'General XenForo Discussion and Feedback' started by HittingSmoke, Sep 18, 2013.

  1. HittingSmoke

    HittingSmoke Active Member

    I had an incident not too long ago on vBulletin where a remote embedded image was changed on the remote server to a PHP script serving malware. We're migrating to XF soon and given the massive jump in usability for embedding images in XF 1.2 vs vB4 (it really blows), I'd like to force users to post all images as attachments instead of embedding remote images where I can control PHP execution. With the drag-n-drop and copy/paste functionality there's really no excuse not to use attachments now.

    It appears from first glance that I may be able to do this with @cclaerhout 's BBCodes Button Manager addon but it doesn't go into great detail about what the BBCode permissions do in the description.

    Is that addon the best way to handle this need or am I missing some stock functionality that I can use to meet this end?
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    In the default software, its not possible. With a very simple add-on, its quite doable to remove the IMG tag. I posted instructions not to long ago.
    HittingSmoke likes this.
  3. HittingSmoke

    HittingSmoke Active Member

    Thanks! I believe I've found the comment you're talking about. I'm guessing you mean this one with some modification?
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    Well, I referenced that, but no, there were instructions on how to change it. Basically, you need to all of that up until Step 6 and insert this line in there:

    HittingSmoke likes this.
  5. AndyB

    AndyB Well-Known Member

    HittingSmoke likes this.
  6. cclaerhout

    cclaerhout Well-Known Member

    Because there were some screenshots and the settings inside the options were I think pretty clear:
    Admin =>Options=> [Bb Codes & Buttons Manager] XenForo Bb Codes Control => XenForo Tags to disable
    HittingSmoke likes this.

Share This Page