Help SMF by rating it on HotScripts.com, The PHP Resource Index, alexa.com and Softaculous
Doesn´t work with the PostHistory Mod.Code: [Select]Fatal error: Cannot redeclare loadEdit() (previously declared in /xxx/Sources/PostHistory.php:221) in /xxx/Sources/BrokenLinksList.php on line 416 Can you help me?
Fatal error: Cannot redeclare loadEdit() (previously declared in /xxx/Sources/PostHistory.php:221) in /xxx/Sources/BrokenLinksList.php on line 416
if(!empty($id)) loadEdit($id);
if(!empty($id)) loadEditBll($id);
function loadEdit($id)
function loadEditBll($id)
[1]
Notice: Undefined index: broken_link_list in /xxx/Sources/Subs.php on line 4868Notice: Undefined index: title in /xxx/Sources/Subs.php on line 4869
<file name="$sourcedir/Subs.php"> <operation> <search position="before"><![CDATA[$current_action = 'moderate';]]></search> <add><![CDATA[ elseif ($context['current_action'] == 'brokenlinkslist2') $current_action = 'broken_link_list';]]></add> </operation> <operation> <search position="after"><![CDATA[}// Generate a random seed and ensure it's stored in settings.]]></search> <add><![CDATA[ global $sourcedir; require_once($sourcedir . '/BrokenLinksList.php'); countBrokenLinks(); if (!$user_info['is_guest'] && $context['broken_links_count'] > 0) { $context['menu_buttons']['broken_link_list']['alttitle'] = $context['menu_buttons']['broken_link_list']['title'] . ' [' . $context['broken_links_count'] . ']'; $context['menu_buttons']['broken_link_list']['title'] .= ' [<strong>' . $context['broken_links_count'] . '</strong>]'; }]]></add> </operation></file>
<file name="$sourcedir/Subs.php"> <operation> <search position="before"><![CDATA[$current_action = 'moderate';]]></search> <add><![CDATA[ elseif ($context['current_action'] == 'brokenlinkslist2') $current_action = 'broken_link_list';]]></add> </operation> <operation> <search position="after"><![CDATA[}// Generate a random seed and ensure it's stored in settings.]]></search> <add><![CDATA[ global $sourcedir; require_once($sourcedir . '/BrokenLinksList.php'); countBrokenLinks(); if (!$user_info['is_guest'] && $context['broken_links_count'] > 0 && isset($context['menu_buttons']['broken_link_list'])) { $context['menu_buttons']['broken_link_list']['alttitle'] = $context['menu_buttons']['broken_link_list']['title'] . ' [' . $context['broken_links_count'] . ']'; $context['menu_buttons']['broken_link_list']['title'] .= ' [<strong>' . $context['broken_links_count'] . '</strong>]'; }]]></add> </operation></file>
please tell me how to activate it only for 1st place in the topic does, all posts'm not getting.
Sorry I don't understand what you say...
if (!empty($modSettings['bll_enabled']) && $context['bll_enabled'] && allowedTo('brokenlinklist'))
if (!empty($modSettings['bll_enabled']) && $context['bll_enabled'] && allowedTo('brokenlinklist') && $message['id'] == $context['first_message'])
You can try something like this:Edit Themes/{yourtheme}/Display.template.phpSearch for:Code: [Select]if (!empty($modSettings['bll_enabled']) && $context['bll_enabled'] && allowedTo('brokenlinklist'))And Replace for:Code: [Select]if (!empty($modSettings['bll_enabled']) && $context['bll_enabled'] && allowedTo('brokenlinklist') && $message['id'] == $context['first_message'])
Feature Request. When link is mark green automatic send pm to reporter that the link is fine now. is to hard to do ?
Quote from: Skaty on April 06, 2013, 01:08:24 PMFeature Request. When link is mark green automatic send pm to reporter that the link is fine now. is to hard to do ?Maybe not, but I don't have time for do that