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

Query to Reset BB Code Media Sites

Reset the BB Code Media Sites to default

  1. Chris D
    Compatible XF Versions:
    • 1.0
    • 1.1
    • 1.2
    • 1.3
    • 1.4
    This resource is not affiliated with XenForo Ltd.

    TRUNCATE xf_bb_code_media_site;
    INSERT INTO xf_bb_code_media_site
    	(media_site_id, site_title, site_url, match_urls, match_is_regex, embed_html)
    	('dailymotion','Dailymotion','http://www.dailymotion.com','dailymotion.com/video/{$id:alphanum}',0,'<iframe frameborder=\"0\"...
    You do not have permission to view the full content of this resource.
    Jarod, DRE, EQnoble and 3 others like this.

Recent Updates

  1. Rebuild the BB Code Media Cache

Recent Reviews

  1. PaulK
    This was a huge help in getting the default media sites back after uninstalling a popular media add-on. If anyone is wondering, the YouTube videos added with add-on were kept. Thank you, Chris!
  2. DRE
    I wasn't able to add youtube videos due to a Xenforo 1.3 Beta bug and this query helped me add them back. Although it didn't fix my forum problem it did help fix my XenMediaGallery problem so thank you very much!