9yN75.png
Resource icon

Tutorial Query to Reset BB Code Media Sites

#1
unleashed submitted a new resource:

Tutorial Query to Reset BB Code Media Sites - Query to Reset BB Code Media Sites

Code:
TRUNCATE xf_bb_code_media_site;

INSERT IGNORE INTO xf_bb_code_media_site
(media_site_id, site_title, site_url, match_urls, embed_html, match_is_regex)
VALUES
('facebook', 'Facebook', 'http://www.facebook.com', 'facebook.com/*video.php?v={$id:digits}\nfacebook.com/*photo.php?v={\$id:digits}', '<iframe src="https://www.facebook.com/video/embed?video_id={$id}" width="500" height="300" frameborder="0"></iframe>', 0),
('vimeo', 'Vimeo', 'http://www.vimeo.com',...
Read more about this resource...
 

Similar threads

Similar threads

Top