yep just re checked and uploaded files again and purged cache and still nothing first time i've ever had a problem with a mod.RMcGirr83 wrote:Are you absolutely positive you uploaded the edited acp files and purged the cache in the ACP itself?
Code: Select all
if (!$update_this_message)
{
unset($this->message);
Follow the mod install instructions in order and you will see which one is correct.Ahri89 wrote:I have this 3 times:
I need help to install this mod.Code: Select all
if (!$update_this_message) { unset($this->message);
Zip up the ACP files this mod has you edit and attach them and I will have a look.vlh1217 wrote:
yep just re checked and uploaded files again and purged cache and still nothing first time i've ever had a problem with a mod.
mmm i use the fisrt result and add after of ( // Check number of links):RMcGirr83 wrote:Follow the mod install instructions in order and you will see which one is correct.Ahri89 wrote:I have this 3 times:
I need help to install this mod.Code: Select all
if (!$update_this_message) { unset($this->message);
Code: Select all
// Check number of links
if ($config['max_' . $mode . '_urls'] && $num_urls > $config['max_' . $mode . '_urls'])
{
$this->warn_msg[] = sprintf($user->lang['TOO_MANY_URLS'], $config['max_' . $mode . '_urls']);
return (!$update_this_message) ? $return_message : $this->warn_msg;
}
// BEGIN MOD signature image check
if($config['max_sig_img_count'] && $this->mode == 'sig' && strpos($this->message, '[') !== false)
{
$user->add_lang('mods/sig_image_check');
$num_imgs = 0;
$num_imgs += $this->parsed_items['img'];
// check the number of images in the sig
if ($num_imgs > $config['max_sig_img_count'])
{
$num_over = $num_imgs - $config['max_sig_img_count'];
if($config['max_sig_img_count'] > 1)
{
$this->warn_msg[] = sprintf($user->lang['MAX_IMGS_COUNT_EXCEEDED'], $config['max_sig_img_count'], $num_over);
return (!$update_this_message) ? $return_message : $this->warn_msg;
}
else
{
$this->warn_msg[] = sprintf($user->lang['MAX_IMG_COUNT_EXCEEDED'], $config['max_sig_img_count'] , $num_over);
return (!$update_this_message) ? $return_message : $this->warn_msg;
}
}
}
// END MOD signature image check
if (!$update_this_message)
{
unset($this->message);
$this->message = $tmp_message;
return $return_message;
}