Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Free Torrent Source
Reply
  #1  
Old 19th September 2009, 22:29
christyz89's Avatar
christyz89 christyz89 is offline
Member
 
Join Date: Jun 2009
P2P
Posts: 6
Default Youtube Tag - bbcodes
How can I find the bbcodes?
I wanna add a [video] tag.
Reply With Quote
  #2  
Old 19th September 2009, 22:57
joeroberts's Avatar
joeroberts joeroberts is offline
BT.Manager Owner
 
Join Date: Jan 2008
United States
Posts: 2,068
Default
Code:
$s = preg_replace("/\[video=[^\s'\"<>]*youtube.com.*v=([^\s'\"<>]+)\]/ims","<object width=\"500\" height=\"410\"><param name=\"movie\" value=\"http://www.youtube.com/v/\\1\"></param><embed src=\"http://www.youtube.com/v/\\1\" type=\"application/x-shockwave-flash\" width=\"500\" height=\"410\"></embed></object>",$s);
**edit updated**09-20-09
__________________
Do not ask me to help you work on your site that is not phpMyBitTorrent
Do not ask me to make a mod for any other source
Do not Ask me to setup your site.
I will no longer help you setup your site, there is a setup script if you have trouble with it post in the forum here or in BT.Managerô forum
My Current Demo is here http://demo.btmanager.org/

Last edited by joeroberts; 20th September 2009 at 14:24. Reason: fixed code had a dot(.) not coma(,)
Reply With Quote
The Following User Says Thank You to joeroberts For This Useful Post:
christyz89 (19th September 2009)
  #3  
Old 20th September 2009, 15:05
christyz89's Avatar
christyz89 christyz89 is offline
Member
 
Join Date: Jun 2009
P2P
Posts: 6
Default
Thank YOU! Now it works!
Reply With Quote
Reply

Tags
bbcodes , tag , youtube

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FIX] TSSE v5.4.1 - BBcodes Fix mmisu120000 Template Shares 12 22nd September 2012 15:38
BBCodes in Polls sammygo Mods & Themes 1 21st July 2009 21:41
bbcodes [img][url] in shoutbox TS SE 4.3 Verix Template Shares 1 10th June 2009 05:04
youtube ciobancai Template Shares 9 2nd May 2009 08:17
Enable HTML and bbcodes epas Torrent Strike 2 23rd March 2009 14:15



All times are GMT +2. The time now is 20:55. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2020, vBulletin Solutions Inc.