Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
  #1  
Old 27th July 2009, 11:28
gugudada gugudada is offline
Senior Member
 
Join Date: Jun 2009
P2P
Posts: 15
Default Youtube video in the foruns
Is it possible to put (copy the embed or something ...) an youtube video in the foruns of the 1.3.9 ? if so, could u pls paste the code, thanks :)
Reply With Quote
  #2  
Old 27th July 2009, 19:31
Ashur's Avatar
Ashur Ashur is offline
Senior Member
 
Join Date: Jun 2008
Posts: 523
Default
try to look into globalfunctions.php from TS 5.4.1 and look up for youtube function and try to put it on your ts 1.3.9

if that works then you're done, if it doesn't well sorry to hear that and you need little bit of tweaking to be done
__________________
Say NO to private tracking
Running TorrentHoster 2.5 on IraqiGate.org
Reply With Quote
  #3  
Old 28th July 2009, 03:53
gugudada gugudada is offline
Senior Member
 
Join Date: Jun 2009
P2P
Posts: 15
Default
I already tried that before Ashur as a few more (similar) options, but no luck with any.
Thanks anyway Ashur unfortunately it seems a little harsh to me to find a solution :sorry:
Reply With Quote
  #4  
Old 5th April 2015, 18:05
Demon-Cod3rs Demon-Cod3rs is offline
Banned
 
Join Date: Apr 2015
P2P
Posts: 47
Thumbs up
ill look into this and see what i can come up with
Reply With Quote
  #5  
Old 5th April 2015, 20:18
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Quote:
Originally Posted by gugudada View Post
Is it possible to put (copy the embed or something ...) an youtube video in the foruns of the 1.3.9 ? if so, could u pls paste the code, thanks :)

Add this to function format_comment function

Code:
  
  $s = preg_replace(
  "/\[video=\bhttps?:\/\/www\.youtube\.com\/watch\?v=([\w\d-]+?)\]/i",
  "<iframe width=" 
  . "\"420\" "
  . "height=\"315\""
  . "src=\"http://www.youtube.com/embed/" . "\\1\"" 
  . "frameborder=\"0\""
  . "allowfullscreen>"
  . "</iframe>", $s);
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
The Following User Says Thank You to firefly007 For This Useful Post:
Marco (28th April 2015)
  #6  
Old 5th April 2015, 20:56
Demon-Cod3rs Demon-Cod3rs is offline
Banned
 
Join Date: Apr 2015
P2P
Posts: 47
Default
beat me too it
Reply With Quote
Reply

Tags
foruns , video , 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
Install A Torrents Tracker On Your PC - Video Tutorial Fynnon Tutorials 10 28th March 2014 16:51
youtube.php bug wMan BT.Manager (phpMyBitTorrent) 1 16th January 2010 23:32
Can someone help with video scrip ? Bobocop xBTiT 1 14th May 2009 18:06
youtube ciobancai Template Shares 9 2nd May 2009 08:17
[YSE]Youtube helvijs13 Yuna Scatari Edition (YSE) 0 10th April 2009 16:12



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