Log in Register FAQ Memberlist Search Welcome to RCF - WHF Forum Index
alt : test.swf
Welcome to RCF - WHF
4fx3.gif 
calendar_open_closeCalendar 
utube mod for conundrum?
Post new topic   Reply to topic View previous topic :: View next topic
Goto page: Previous  1, 2
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support Add To Bookmarks
Re: utube mod for conundrum?
PostPosted: 04/18/2007 10:51 AM Reply with quote
Crow
nephronim
Crow
Posts 57
Word Cnt. 3,220
BDay Nov 8
Sign Scorpio
Sex Sex:Male
Joined: Mar 28, 2007
Local time: 10:35 PM
irelandCx7.gif
my host doesnt know whats going on and arent particularly that helpful and it takes so long to explain anything to them and i keep having to repeat myself again and again.
now on finding the code to adjust.....

Youtube_100 asked me to change the following code:
#
#-----[ OPEN ]------------------------------------------
#
includes/bbcode.php
#
#-----[ FIND ]---------------------------------
#
$EMBB_widths = array(''
#
#-----[ IN-LINE FIND ]---------------------------------
#
)
#
#-----[ IN-LINE BEFORE, ADD ]---------------------------------
#
,'60'
#
#-----[ FIND ]---------------------------------
#
$EMBB_values = array(''
#
#-----[ IN-LINE FIND ]---------------------------------
#
)
#
#-----[ IN-LINE BEFORE, ADD ]---------------------------------
#
,'YouTube'
#
#-----[ FIND ]------------------------------------------
#
$bbcode_tpl['email'] = str_replace('{EMAIL}', '\\1', $bbcode_tpl['email']);
#
#-----[ AFTER, ADD ]------------------------------------------
#
$bbcode_tpl['youtube'] = str_replace('{YOUTUBEID}', '\\1', $bbcode_tpl['youtube']);
$bbcode_tpl['youtube'] = str_replace('{YOUTUBELINK}', $lang['youtube_link'], $bbcode_tpl['youtube']);

#
#-----[ FIND ]------------------------------------------
#
$replacements[] = $bbcode_tpl['email'];

#
#-----[ AFTER, ADD ]------------------------------------------
#
// [youtube]YouTube URL[/youtube] code..
$patterns[] = "#\[youtube\]http://(?:www\.)?youtube.com/watch\?v=([0-9A-Za-z-_]{11})  [^[]*\[/youtube\]#is";
$replacements[] = $bbcode_tpl['youtube'];

the find line is not in the php file specified
Back to Top
View user's profile Find all posts by nephronim Send private message  
Re: utube mod for conundrum?
PostPosted: 04/18/2007 11:17 AM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 11:35 PM
Location: St Pete, FL
peace.gif
Do you have the Mutil-BBCode MOD installed?  That is a requirement before the YouTube MOD can be installed.  You should also install the BBCode Organizer MOD as well...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: utube mod for conundrum?
PostPosted: 04/18/2007 3:41 PM Reply with quote
Citation
KeeKee
Citation
Posts 940
Word Cnt. 48,215
BDay Mar 4
Sign Pisces
Sex Sex:Female
Joined: Mar 20, 2006
Local time: 10:35 PM
usaCa.gif
I think being able to embed UTube is a great idea but I have a question....What does this do to your bandwidth?
Back to Top
View user's profile Find all posts by KeeKee Send private message   Visit poster's website Yahoo Messenger Phoogle Map ICQ Number
Re: utube mod for conundrum?
PostPosted: 04/18/2007 4:00 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 11:35 PM
Location: St Pete, FL
peace.gif
I don't think it affects your bandwidth unless the movie is stored and running from your site.  Since the source is on YouTube's servers, it affects their bandwidth when your members view the movie, not your's...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
Re: utube mod for conundrum?
PostPosted: 04/18/2007 7:22 PM Reply with quote
Citation
KeeKee
Citation
Posts 940
Word Cnt. 48,215
BDay Mar 4
Sign Pisces
Sex Sex:Female
Joined: Mar 20, 2006
Local time: 10:35 PM
usaCa.gif
I would have thought so but wasn't sure. I don't always get it right.

O.K. I'll tyr it.
Back to Top
View user's profile Find all posts by KeeKee Send private message   Visit poster's website Yahoo Messenger Phoogle Map ICQ Number
Re: utube mod for conundrum?
PostPosted: 04/18/2007 10:18 PM Reply with quote
Site Admin
Nightrider
Site Admin
Posts 30757
Word Cnt. 2,628,690
BDay Jul 28
Sign Leo
Sex Sex:Male
Joined: Sep 25, 2004
Local time: 11:35 PM
Location: St Pete, FL
peace.gif
You shouldn't have anything to worry about...

headbang
Back to Top
View all pictures posted by this userView user's profile Find all posts by Nightrider Send private message   AIM Address Yahoo Messenger Phoogle Map ICQ Number
 Post new topic  Reply to topic
Information
Welcome to RCF - WHF Forum Index -> Area 51 - phpBB & Easymod Tech Support

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
All times are GMT - 5 Hours
Goto page: Previous  1, 2
Page 2 of 2


Add To Bookmarks

 
  
  


  Google

Powered by phpBB © 2001, 2005 phpBB Group

Page generation time: 0.053s (PHP: 77% - SQL: 23%) - SQL queries: 45 - GZIP disabled - Debug on