 | Re: utube mod for conundrum? |  |
Posted: 04/18/2007 10:51 AM |
|
|
|
|
|
| Crow |
| Posts |
57 |
| Word Cnt. |
3,220 |
| BDay |
Nov 8 |
| Sign |
Scorpio |
| Sex |
 |
|
|
|
Joined: Mar 28, 2007
Local time: 10:35 PM
|

|
|
|
|
 |
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 |
|
|
 | Re: utube mod for conundrum? |  |
Posted: 04/18/2007 11:17 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 11:35 PM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: utube mod for conundrum? |  |
Posted: 04/18/2007 3:41 PM |
|
|
|
|
|
| Citation |
| Posts |
940 |
| Word Cnt. |
48,215 |
| BDay |
Mar 4 |
| Sign |
Pisces |
| Sex |
 |
|
|
|
Joined: Mar 20, 2006
Local time: 10:35 PM
|

|
|
|
|
 |
| 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 |
|
|
 | Re: utube mod for conundrum? |  |
Posted: 04/18/2007 4:00 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 11:35 PM
Location: St Pete, FL
|

|
|
|
|
 |
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...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: utube mod for conundrum? |  |
Posted: 04/18/2007 7:22 PM |
|
|
|
|
|
| Citation |
| Posts |
940 |
| Word Cnt. |
48,215 |
| BDay |
Mar 4 |
| Sign |
Pisces |
| Sex |
 |
|
|
|
Joined: Mar 20, 2006
Local time: 10:35 PM
|

|
|
|
|
 |
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 |
|
|
 | Re: utube mod for conundrum? |  |
Posted: 04/18/2007 10:18 PM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 11:35 PM
Location: St Pete, FL
|

|
|
|
|
 |
You shouldn't have anything to worry about...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|