Sorry if someone already mentioned this, I'm a bit tired to read through everyones posts after wroking all night long.

EasyMOD - Automatic MOD Installer
beta (0.3.0)
Installation Failed
EasyMOD encountered the following error(s). A general error could be ABC. A critical error means D and you should do XYZ.
Error Detail
Critical Error
FIND FAILED: In file [includes/bbcode.php] could not find:
$EMBB_widths = array('') ;
$EMBB_values = array('') ;
MOD script line #55 :: FAQ :: Report
MOD Data
MOD Title: Don't Spoil It! 1.0.1 Dont_Spoil_It_1_0_1.mod
Author: darklordsatan N/A N/A http://eviltrend.sourceforge.net
Processed Themes: subSilver; xand
Processed Languages: english
Files Edited: 1
Commands Processed: 1
Unprocessed Commands: 0
The following commands were not recognized by EasyMOD and were ignored. The MOD script line number is displayed.
Unprocessed Commands
EasyMOD successfully processed the following commands:
Commands Processed
OPEN #50
includes/bbcode.php
Powered by phpBB 2.0.22 © 2001 phpBB Group
Code: Select all
[spoiler:f047bd7abe]Test.[/spoiler:f047bd7abe]
Code: Select all
#
# ----- [ OPEN } ------
#
templates/SubSilver/bbcode.tpl
# ----- [ FIND ] ----------
#
<!-- BEGIN spoiler_open -->
<div
#
#----- [ IN-LINE FIND] ---------
#
<div
#
# -----[ IN-LINE, AFTER ADD] ------
#
onMouseOver="this.style.cursor='hand'"
Code: Select all
<td><span class="genmed"><input type="button" class="button" accesskey="{MultiBB.KEY}" name="{MultiBB.NAME}" value="{MultiBB.VALUE}" style="width: {MultiBB.WIDTH}px" onClick="{MultiBB.STYLE}" onMouseOver="helpline('{MultiBB.VALUE}')" /></span></td>
Code: Select all
<td><span class="genmed"><input type="button" class="button" accesskey="" name="" value="" style="width: px" onClick="" onMouseOver="helpline('')" /></span></td>
Code: Select all
// MULTI BBCODE-begin
function Multi_BBCode()
{
global $template, $lang;
// DO NOT CHANGE THIS ARRAY
$hotkeys = array('', 'd', 'e', 'g', 'h', 'j', 'k', 'm', 'n', 'r', 't', 'v', 'x', 'y', 'z', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0');
//NOTE: the first element of each array must be '' Add new elements AFTER the ''
$EMBB_widths = array('','60') ;
$EMBB_values = array('','Spoiler') ;
for ($i=1; $i<count($EMBB_values); $i++)
{
// load BBcode MODs info
$val = ($i*2)+16 ;
$help_lang = ( !empty($lang['bbcode_help'][(strtolower($EMBB_values[$i]))]) ) ? $lang['bbcode_help'][(strtolower($EMBB_values[$i]))] : $lang['bbcode_help'][$EMBB_values[$i]];
$template->assign_block_vars('MultiBB', array(
'KEY' => $hotkeys[$i],
'NAME' => "addbbcode$val",
'HELP' => sprintf($help_lang, $hotkeys[$i]),
'WIDTH' => $EMBB_widths[$i],
'VALUE' => $EMBB_values[$i],
'STYLE' => "bbstyle($val)")
);
}
}
// MULTI BBCODE-end
******FIXED******* It was switched in the postingbody area.$EMBB_widths = array('','60') ;
$EMBB_values = array('','YouTube','Spoiler') ;
Code: Select all
$EMBB_widths = array('','30') ;
$EMBB_values = array('','S') ;
Code: Select all
#-----[ IN-LINE FIND ]---------------------------------
$EMBB_widths = array(''
#-----[ IN-LINE AFTER, ADD ]---------------------------------
,'60'
#-----[ IN-LINE FIND ]---------------------------------
$EMBB_values = array(''
#-----[ IN-LINE AFTER, ADD ]---------------------------------
,'Spoiler'
Code: Select all
// MULTI BBCODE-begin
function Multi_BBCode()
{
global $template, $lang;
// DO NOT CHANGE THIS ARRAY
$hotkeys = array('', 'd', 'e', 'g', 'h', 'j', 'k', 'm', 'n', 'r', 't', 'v', 'x', 'y', 'z', '1', '2', '3', '4', '5', '6', '7', '8', '9', '0');
//NOTE: the first element of each array must be '' Add new elements AFTER the ''
$EMBB_widths = array('','55','60') ;
$EMBB_values = array('','Spoiler','YouTube') ;
for ($i=1; $i<count($EMBB_values); $i++)
{
// load BBcode MODs info
$val = ($i*2)+16 ;
$help_lang = ( !empty($lang['bbcode_help'][(strtolower($EMBB_values[$i]))]) ) ? $lang['bbcode_help'][(strtolower($EMBB_values[$i]))] : $lang['bbcode_help'][$EMBB_values[$i]];
$template->assign_block_vars('MultiBB', array(
'KEY' => $hotkeys[$i],
'NAME' => "addbbcode$val",
'HELP' => sprintf($help_lang, $hotkeys[$i]),
'WIDTH' => $EMBB_widths[$i],
'VALUE' => $EMBB_values[$i],
'STYLE' => "bbstyle($val)")
);
}
}
// MULTI BBCODE-end