[2.0.19] Youtube Video BBCode

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in here. No new MODs will be accepted into the MOD Database for phpBB2
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.

Rating:

Excellent!
125
64%
Very Good
23
12%
Good
21
11%
Fair
5
3%
Poor
21
11%
 
Total votes: 195

User avatar
gidero
Registered User
Posts: 57
Joined: Mon Jul 05, 2004 6:03 pm
Location: somewhere over the rainbow

Post by gidero »

I agree. I have no idea what ...

#
#-----[ FIND ]---------------------------------
#
$EMBB_widths = array(''

#
#-----[ IN-LINE FIND ]---------------------------------
#
array(''

...means. I cant find these codes anywhere in my bbcode.php document. They really should make this stuff easier to understand for us non-programmers.
gidero

OneGreenEarthKatie
Registered User
Posts: 14
Joined: Tue Nov 21, 2006 2:15 pm
Location: London, United Kingdom
Contact:

I agree

Post by OneGreenEarthKatie »

Can anyone help.. i have the same problem where is this...
$EMBB_widths = array('' ? Does it just not exist anymore?????

#
#-----[ OPEN ]---------------------------------
#
includes/bbcode.php

#
#-----[ FIND ]---------------------------------
#
$EMBB_widths = array(''

#
#-----[ IN-LINE FIND ]---------------------------------
#
array(''

#
#-----[ IN-LINE AFTER, ADD ]---------------------------------
#
,'60'

Megalion
Registered User
Posts: 3
Joined: Fri Dec 01, 2006 10:20 pm

Post by Megalion »

The answer to everyone's problems from the past couple days about not finding "$EMBB_widths = array(''" can be found in this line in the MOD file:
## Author Notes:
## You must have Multiple BBCode MOD installed for this to work.
## Get it here: http://www.phpbb.com/phpBB/viewtopic.php?t=74705


The correct thread is now:
http://www.phpbb.com/phpBB/viewtopic.php?t=145513

User avatar
gidero
Registered User
Posts: 57
Joined: Mon Jul 05, 2004 6:03 pm
Location: somewhere over the rainbow

Post by gidero »

Thanks :)
gidero

Tha*Lunat!k
Registered User
Posts: 3
Joined: Wed Feb 15, 2006 8:22 pm

Post by Tha*Lunat!k »

Deleted cuz I fixed it up.

User avatar
megamanzteam
Registered User
Posts: 4
Joined: Mon Dec 04, 2006 5:48 pm
Location: Village Hidden in the Shadows
Contact:

Help please

Post by megamanzteam »

I come and go like the wind.

hak
Registered User
Posts: 3
Joined: Tue Dec 05, 2006 8:36 am

arghhh!!!

Post by hak »

Hey everyone... I am using a phpbb2 forum with the Moke Lothar skin NoseBleed. I can do some code, but I'm more of a graphics guy.

I made all of the changes outlined in this mod exactly, several times just to be sure and I ran across a few problems:

1. The "YouTube It" button shows up (posting.php) but when I press the button "undefined" pops up instead of the [youtube] tags.

2. When I post the link, a flash player box pops up, but nothing is in it. It's just white.


Here is the posting_body.tpl
<script type="text/javascript">
<!--
// bbCode control by
// subBlue design
// www.subBlue.com

// Startup variables
var imageTag = false;
var theSelection = false;

// Check for Browser & Platform for PC & IE specific bits
// More details from: http://www.mozilla.org/docs/web-develop ... _type.html
var clientPC = navigator.userAgent.toLowerCase(); // Get client info
var clientVer = parseInt(navigator.appVersion); // Get browser version

var is_ie = ((clientPC.indexOf("msie") != -1) && (clientPC.indexOf("opera") == -1));
var is_nav = ((clientPC.indexOf('mozilla')!=-1) && (clientPC.indexOf('spoofer')==-1)
&& (clientPC.indexOf('compatible') == -1) && (clientPC.indexOf('opera')==-1)
&& (clientPC.indexOf('webtv')==-1) && (clientPC.indexOf('hotjava')==-1));
var is_moz = 0;

var is_win = ((clientPC.indexOf("win")!=-1) || (clientPC.indexOf("16bit") != -1));
var is_mac = (clientPC.indexOf("mac")!=-1);

// Helpline messages
b_help = "{L_BBCODE_B_HELP}";
i_help = "{L_BBCODE_I_HELP}";
u_help = "{L_BBCODE_U_HELP}";
q_help = "{L_BBCODE_Q_HELP}";
c_help = "{L_BBCODE_C_HELP}";
l_help = "{L_BBCODE_L_HELP}";
o_help = "{L_BBCODE_O_HELP}";
p_help = "{L_BBCODE_P_HELP}";
w_help = "{L_BBCODE_W_HELP}";
a_help = "{L_BBCODE_A_HELP}";
s_help = "{L_BBCODE_S_HELP}";
f_help = "{L_BBCODE_F_HELP}";
yy_help = "{L_BBCODE_YY_HELP}";

// Define the bbCode tags
bbcode = new Array();
bbtags = new Array('','','','','','','
','
','

Code: Select all

','
','
  • ','
','
  • ','
','[img]','[/img]','',''),'[youtube]','[/youtube]';
imageTag = false;

// Shows the help messages in the helpline window
function helpline(help) {
document.post.helpbox.value = eval(help + "_help");
}


// Replacement for arraygensmall.length property
function getarraysize(thearray) {
for (i = 0; i < thearray.length; i++) {
if ((thearray == "undefined") || (thearray == "") || (thearray == null))
return i;
}
return thearray.length;
}

// Replacement for arraygensmall.push(value) not implemented in IE until version 5.5
// Appends element to the array
function arraypush(thearray,value) {
thearray[ getarraysize(thearray) ] = value;
}

// Replacement for arraygensmall.pop() not implemented in IE until version 5.5
// Removes and returns the last element of an array
function arraypop(thearray) {
thearraysize = getarraysize(thearray);
retval = thearray[thearraysize - 1];
delete thearray[thearraysize - 1];
return retval;
}


function checkForm() {

formErrors = false;

if (document.post.message.value.length < 2) {
formErrors = "{L_EMPTY_MESSAGE}";
}

if (formErrors) {
alert(formErrors);
return false;
} else {
bbstyle(-1);
//formObj.preview.disabled = true;
//formObj.submit.disabled = true;
return true;
}
}

function emoticon(text) {
var txtarea = document.post.message;
text = ' ' + text + ' ';
if (txtarea.createTextRange && txtarea.caretPos) {
var caretPos = txtarea.caretPos;
caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? caretPos.text + text + ' ' : caretPos.text + text;
txtarea.focus();
} else {
txtarea.value += text;
txtarea.focus();
}
}

function bbfontstyle(bbopen, bbclose) {
var txtarea = document.post.message;

if ((clientVer >= 4) && is_ie && is_win) {
theSelection = document.selection.createRange().text;
if (!theSelection) {
txtarea.value += bbopen + bbclose;
txtarea.focus();
return;
}
document.selection.createRange().text = bbopen + theSelection + bbclose;
txtarea.focus();
return;
}
else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0))
{
mozWrap(txtarea, bbopen, bbclose);
return;
}
else
{
txtarea.value += bbopen + bbclose;
txtarea.focus();
}
storeCaret(txtarea);
}


function bbstyle(bbnumber) {
var txtarea = document.post.message;

txtarea.focus();
donotinsert = false;
theSelection = false;
bblast = 0;

if (bbnumber == -1) { // Close all open tags & default button gensmalls
while (bbcode[0]) {
butnumber = arraypop(bbcode) - 1;
txtarea.value += bbtags[butnumber + 1];
buttext = eval('document.post.addbbcode' + butnumber + '.value');
eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');
}
imageTag = false; // All tags are closed including image tags :D
txtarea.focus();
return;
}

if ((clientVer >= 4) && is_ie && is_win)
{
theSelection = document.selection.createRange().text; // Get text selection
if (theSelection) {
// Add tags around selection
document.selection.createRange().text = bbtags[bbnumber] + theSelection + bbtags[bbnumber+1];
txtarea.focus();
theSelection = '';
return;
}
}
else if (txtarea.selectionEnd && (txtarea.selectionEnd - txtarea.selectionStart > 0))
{
mozWrap(txtarea, bbtags[bbnumber], bbtags[bbnumber+1]);
return;
}

// Find last occurance of an open tag the same as the one just clicked
for (i = 0; i < bbcode.length; i++) {
if (bbcode == bbnumber+1) {
bblast = i;
donotinsert = true;
}
}

if (donotinsert) { // Close all open tags up to the one just clicked & default button gensmalls
while (bbcode[bblast]) {
butnumber = arraypop(bbcode) - 1;
txtarea.value += bbtags[butnumber + 1];
buttext = eval('document.post.addbbcode' + butnumber + '.value');
eval('document.post.addbbcode' + butnumber + '.value ="' + buttext.substr(0,(buttext.length - 1)) + '"');
imageTag = false;
}
txtarea.focus();
return;
} else { // Open tags

if (imageTag && (bbnumber != 14)) { // Close image tag before adding another
txtarea.value += bbtags[15];
lastValue = arraypop(bbcode) - 1; // Remove the close image tag from the list
document.post.addbbcode14.value = "Img"; // Return button back to normal state
imageTag = false;
}

// Open tag
txtarea.value += bbtags[bbnumber];
if ((bbnumber == 14) && (imageTag == false)) imageTag = 1; // Check to stop additional tags after an unclosed image tag
arraypush(bbcode,bbnumber+1);
eval('document.post.addbbcode'+bbnumber+'.value += "*"');
txtarea.focus();
return;
}
storeCaret(txtarea);
}

// From http://www.massless.org/mozedit/
function mozWrap(txtarea, open, close)
{
var selLength = txtarea.textLength;
var selStart = txtarea.selectionStart;
var selEnd = txtarea.selectionEnd;
if (selEnd == 1 || selEnd == 2)
selEnd = selLength;

var s1 = (txtarea.value).substring(0,selStart);
var s2 = (txtarea.value).substring(selStart, selEnd)
var s3 = (txtarea.value).substring(selEnd, selLength);
txtarea.value = s1 + open + s2 + close + s3;
return;
}

// Insert at Claret position. Code from
// http://www.faqts.com/knowledge_base/vie ... 52/fid/130
function storeCaret(textEl) {
if (textEl.createTextRange) textEl.caretPos = document.selection.createRange().duplicate();
}

//-->
</script>

<form action="{S_POST_ACTION}" method="post" name="post" onsubmit="return checkForm(this)">
<table cellspacing="1" class="posting_body">
<tr class="toplines">
<th colspan="2">{L_POST_A}</th>
</tr>
{POST_PREVIEW_BOX}
<tr>
<td colspan="2"><h2>{L_POST_A}</h2></td>
</tr>
{ERROR_BOX}
<!-- BEGIN switch_username_select -->
<tr>
<td class="row1 one">{L_USERNAME}:</td>
<td class="row2 two"><input type="text" class="post postbig" tabindex="1" name="username" maxlength="25" value="{USERNAME}" /></td>
</tr>
<!-- END switch_username_select -->
<!-- BEGIN switch_privmsg -->
<tr>
<td class="row1 one">{L_USERNAME}:</td>
<td class="row2 two"><input type="text" class="post postbig" name="username" maxlength="25" tabindex="1" value="{USERNAME}" />
<input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="button" onclick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250, resizable=yes, WIDTH=400'); return false;" /></td>
</tr>
<!-- END switch_privmsg -->
<tr>
<td class="row1 one">{L_SUBJECT}:</td>
<td class="row2 two"><input type="text" name="subject" maxlength="60" tabindex="2" class="post postbiggest" value="{SUBJECT}" /></td>
</tr>
<tr>
<td class="row1 three">{L_MESSAGE_BODY}<br />
<div style="width: 100%; text-align: center; padding-top: 20px;">
<table cellspacing="5" style="width: 100px; margin: 0 auto;">
<tr>
<td colspan="{S_SMILIES_COLSPAN}" class="txtcenter">{L_EMOTICONS}</td>
</tr>
<!-- BEGIN smilies_row -->
<tr class="txtmiddle">
<!-- BEGIN smilies_col -->
<td><a href="javascript:emoticon('{smilies_row.smilies_col.SMILEY_CODE}')"><img src="{smilies_row.smilies_col.SMILEY_IMG}" style="border: 0;" alt="{smilies_row.smilies_col.SMILEY_DESC}" title="{smilies_row.smilies_col.SMILEY_DESC}" /></a></td>
<!-- END smilies_col -->
</tr>
<!-- END smilies_row -->
<!-- BEGIN switch_smilies_extra -->
<tr class="txtcenter">
<td colspan="{S_SMILIES_COLSPAN}"><a href="{U_MORE_SMILIES}" onclick="window.open('{U_MORE_SMILIES}', '_phpbbsmilies', 'HEIGHT=300, resizable=yes, scrollbars=yes, WIDTH=250'); return false;" target="_phpbbsmilies">{L_MORE_SMILIES}</a></td>
</tr>
<!-- END switch_smilies_extra -->
</table>
</div>
</td>
<td class="row2 four">
<div>
<input type="button" class="button" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px" onclick="bbstyle(0)" onmouseover="helpline('b')" />
<input type="button" class="button" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px" onclick="bbstyle(2)" onmouseover="helpline('i')" />
<input type="button" class="button" accesskey="u" name="addbbcode4" value="u" style="text-decoration: underline; width: 30px" onclick="bbstyle(4)" onmouseover="helpline('u')" />
<input type="button" class="button" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" onmouseover="helpline('q')" />
<input type="button" class="button" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" onmouseover="helpline('c')" />
<input type="button" class="button" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" onmouseover="helpline('l')" />
<input type="button" class="button" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" onmouseover="helpline('o')" />
<input type="button" class="button" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" onmouseover="helpline('p')" />
<input type="button" class="button" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(16)" onmouseover="helpline('w')" />

<input type="button" class="button" accesskey="yy" name="addbbcode18" value="YouTube It!" style="width: 80px" onClick="bbstyle(18)" onMouseOver="helpline('yy')" /><br />


<input type="button" class="button" accesskey="w" name="addbbcode16" value="{L_BBCODE_CLOSE_TAGS}" onclick="bbstyle(-1)" onmouseover="helpline('a')" />
</div>
<div>
{L_FONT_COLOR}: <select name="addbbcode18" onchange="bbfontstyle('[color=' + this.form.addbbcode18.options[this.form.addbbcode18.selectedIndex].value + ']', '[/color]');this.selectedIndex=0;" onmouseover="helpline('s')">
<option style="color:black; background-color: {T_TD_COLOR1}" value="{T_FONTCOLOR1}">{L_COLOR_DEFAULT}</option>
<option style="color:darkred; background-color: {T_TD_COLOR1}" value="darkred">{L_COLOR_DARK_RED}</option>
<option style="color:red; background-color: {T_TD_COLOR1}" value="red">{L_COLOR_RED}</option>
<option style="color:orange; background-color: {T_TD_COLOR1}" value="orange">{L_COLOR_ORANGE}</option>
<option style="color:brown; background-color: {T_TD_COLOR1}" value="brown">{L_COLOR_BROWN}</option>
<option style="color:yellow; background-color: {T_TD_COLOR1}" value="yellow">{L_COLOR_YELLOW}</option>
<option style="color:green; background-color: {T_TD_COLOR1}" value="green">{L_COLOR_GREEN}</option>
<option style="color:olive; background-color: {T_TD_COLOR1}" value="olive">{L_COLOR_OLIVE}</option>
<option style="color:cyan; background-color: {T_TD_COLOR1}" value="cyan">{L_COLOR_CYAN}</option>
<option style="color:blue; background-color: {T_TD_COLOR1}" value="blue">{L_COLOR_BLUE}</option>
<option style="color:darkblue; background-color: {T_TD_COLOR1}" value="darkblue">{L_COLOR_DARK_BLUE}</option>
<option style="color:indigo; background-color: {T_TD_COLOR1}" value="indigo">{L_COLOR_INDIGO}</option>
<option style="color:violet; background-color: {T_TD_COLOR1}" value="violet">{L_COLOR_VIOLET}</option>
<option style="color:white; background-color: {T_TD_COLOR1}" value="white">{L_COLOR_WHITE}</option>
<option style="color:black; background-color: {T_TD_COLOR1}" value="black">{L_COLOR_BLACK}</option>
</select>
&nbsp;{L_FONT_SIZE}: <select name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]')" onmouseover="helpline('f')">
<option value="8">{L_FONT_TINY}</option>
<option value="9">{L_FONT_SMALL}</option>
<option value="10" selected="selected">{L_FONT_NORMAL}</option>
<option value="12">{L_FONT_LARGE}</option>
<option value="14">{L_FONT_HUGE}</option>
</select>
</div>
<div>
<input type="text" name="helpbox" maxlength="100" class="helpline postbiggest" value="{L_STYLES_TIP}" />
</div>
<textarea name="message" rows="15" cols="35" tabindex="3" class="post postbiggest" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{MESSAGE}</textarea>
</td>
</tr>
<tr>
<td class="row1 three">{L_OPTIONS}:<br />{HTML_STATUS}<br />{BBCODE_STATUS}<br />{SMILIES_STATUS}</td>
<td class="row2 four">
<!-- BEGIN switch_html_checkbox -->
<div>
<input type="checkbox" class="checkbox" name="disable_html" {S_HTML_CHECKED} /> {L_DISABLE_HTML}
</div>
<!-- END switch_html_checkbox -->
<!-- BEGIN switch_bbcode_checkbox -->
<div>
<input type="checkbox" class="checkbox" name="disable_bbcode" {S_BBCODE_CHECKED} /> {L_DISABLE_BBCODE}
</div>
<!-- END switch_bbcode_checkbox -->
<!-- BEGIN switch_smilies_checkbox -->
<div>
<input type="checkbox" class="checkbox" name="disable_smilies" {S_SMILIES_CHECKED} /> {L_DISABLE_SMILIES}
</div>
<!-- END switch_smilies_checkbox -->
<!-- BEGIN switch_signature_checkbox -->
<div>
<input type="checkbox" class="checkbox" name="attach_sig" {S_SIGNATURE_CHECKED} /> {L_ATTACH_SIGNATURE}
</div>
<!-- END switch_signature_checkbox -->
<!-- BEGIN switch_notify_checkbox -->
<div>
<input type="checkbox" class="checkbox" name="notify" {S_NOTIFY_CHECKED} /> {L_NOTIFY_ON_REPLY}
</div>
<!-- END switch_notify_checkbox -->
<!-- BEGIN switch_delete_checkbox -->
<div>
<input type="checkbox" class="checkbox" name="delete" /> {L_DELETE_POST}
</div>
<!-- END switch_delete_checkbox -->
<!-- BEGIN switch_type_toggle -->
<div>
{S_TYPE_TOGGLE}
</div>
<!-- END switch_type_toggle -->
</td>
</tr>
{POLLBOX}
<tr>
<td class="row3 pad4 txtcenter" colspan="2">{S_HIDDEN_FORM_FIELDS}
<input type="submit" tabindex="5" name="preview" class="button" value="{L_PREVIEW}" />
<input type="submit" accesskey="s" tabindex="6" name="post" class="button" value="{L_SUBMIT}" /></td>
</tr>
</table>
</form>

{TOPIC_REVIEW_BOX}

<div class="timezone right">{S_TIMEZONE}</div>
<div class="spacing"></div>

<table cellspacing="0">
<tr class="lines_1">
<th>
<div class="left">
<span class="nav"><a href="{U_INDEX}">{L_INDEX}</a>&nbsp;&nbsp;~&nbsp;&nbsp;<a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></span>
</div>
</th>
</tr>
</table>

<div class="spacing"></div>

<div class="right">
<table cellspacing="0" style="width: 100px;">
<tr>
<td>{INBOX_IMG}</td>
<td>{INBOX}&nbsp;&nbsp;</td>
<td>{SENTBOX_IMG}</td>
<td>{SENTBOX}&nbsp;&nbsp;</td>
<td>{OUTBOX_IMG}</td>
<td>{OUTBOX}&nbsp;&nbsp;</td>
<td>{SAVEBOX_IMG}</td>
<td>{SAVEBOX}</td>
</tr>
</table>
</div>
<div class="clear"></div>

<div class="spacing"></div>

<div class="right">{JUMPBOX}</div>
<div class="clear"></div>


HELP!!!

Giyotin
Registered User
Posts: 31
Joined: Thu Aug 11, 2005 4:41 pm

Post by Giyotin »

hi i m receiving this error message

Critical Error

FIND FAILED: In file [includes/bbcode.php] could not find:

$EMBB_widths = array(''

MOD script line #67 :: FAQ :: Report

CRITICAL ERROR: Could not modify [includes/bbcode.php]


How can i fix tis problem?

Thank you

User avatar
Raimon
Former Team Member
Posts: 12088
Joined: Tue May 30, 2006 5:31 pm
Location: Netherlands
Name: Raimon Meuldijk
Contact:

Post by Raimon »

to installing first the mod multiple bbcode mod -> http://www.phpbb.com/phpBB/viewtopic.php?t=145513 :)
Need phpBB installation, extenstions, Styles or integrate phpBB with you website?
Contact me for fair prices and good service!

Dark Ichigo
Registered User
Posts: 1
Joined: Tue Dec 12, 2006 4:15 pm

Post by Dark Ichigo »

I use the BBTech layout, and the code doesn't seems to work for me, i don't see the youtube video, but when i use it with subSilver it works, can somebody here tell how we could use it in a layout other then the default?

mjpd1
Registered User
Posts: 67
Joined: Tue Sep 24, 2002 9:10 pm
Location: Columbus, OH
Contact:

Post by mjpd1 »

Installed the Multiple BBCode Mod and this YouTube Mod both in under 10 minutes. Works beautifully! Thanks for an excellent mod!!

I may, however, remove the "Link" that gets posted below the video. Clicking on the video itself will take you directly to the video on YouTube, so the link is really kind of redundant.

User avatar
freddie
Registered User
Posts: 404
Joined: Sun Mar 31, 2002 1:40 pm
Location: Estes Park, USA
Contact:

Post by freddie »

mjpd1 wrote: Installed the Multiple BBCode Mod and this YouTube Mod both in under 10 minutes. Works beautifully! Thanks for an excellent mod!!

I may, however, remove the "Link" that gets posted below the video. Clicking on the video itself will take you directly to the video on YouTube, so the link is really kind of redundant.


i have a rss feed on my board, and users dont see flash movies like youtube in there reader, so in that case that link is handy

you can easily remove that link, just look in the mod for the link and remove it

Hazzie
Registered User
Posts: 32
Joined: Fri Jul 12, 2002 9:25 am

Post by Hazzie »

For those with this problem
Parse error: parse error, unexpected '&' in /home/.../public_html/forum/includes/bbcode.php(89) : eval()'d code on line 24

Warning: Cannot modify header information - headers already sent by (output started at /home/.../public_html/forum/includes/bbcode.php(89) : eval()'d code:24) in /home/.../public_html/forum/includes/page_header.php on line 483

Warning: Cannot modify header information - headers already sent by (output started at /home/.../public_html/forum/includes/bbcode.php(89) : eval()'d code:24) in /home/.../public_html/forum/includes/page_header.php on line 485

Warning: Cannot modify header information - headers already sent by (output started at /home/.../public_html/forum/includes/bbcode.php(89) : eval()'d code:24) in /home/.../public_html/forum/includes/page_header.php on line 486


I solved it by changing all the

Code: Select all

< and >
in the following

Code: Select all

<!-- BEGIN youtube -->
<object width="425" height="350">
	<param name="movie" value="http://www.youtube.com/v/{YOUTUBEID}"></param>
	<embed src="http://www.youtube.com/v/{YOUTUBEID}" type="application/x-shockwave-flash" width="425" height="350"></embed>
</object><br />
<a href="http://youtube.com/watch?v={YOUTUBEID}" target="_blank">{YOUTUBELINK}</a><br />
<!-- END youtube -->
to

Code: Select all

< and >
This was in my mod instructions to be placed in templates/subSilver/bbcode.tpl

HTH someone.

marcusbacus
Registered User
Posts: 123
Joined: Wed Nov 29, 2006 1:55 am

Post by marcusbacus »

It doesn't seem to work with the dmj1 style either. The Multiple BBCode MOD is installed, and it is working fine if I switch to Subsilver (blargh). I haven't tested it with other styles but definitely switching to Subsilver isn't in my plans.

Edit: I mean tjm1 style.

ZsasZ
Registered User
Posts: 20
Joined: Sat Jul 15, 2006 6:52 am
Location: in the wired
Contact:

Post by ZsasZ »

I'd like to add my two cents in. Works like a charm as long as I'm using SubSilver, but I get nothing when using another theme (Blacker1, in my case). Any ideas? Thanks for a great mod...
your voice, it chased away, all the sanity in me...

Post Reply

Return to “[2.0.x] MOD Database Releases”