Skip to content

Commit d2c339c

Browse files
author
CleanTalk
committed
Merge pull request #6 from VladCleantalk/master
fixed link output
2 parents f2e676f + f167f27 commit d2c339c

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

CleantalkMod.php

+6
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,12 @@ function template_cleantalk_above()
412412
*/
413413
function template_cleantalk_below()
414414
{
415+
global $modSettings;
416+
if(!empty($modSettings['cleantalk_tell_others']))
417+
{
418+
$message = '<a href="https://cleantalk.org/smf-anti-spam-mod">SMF spam</a> blocked by CleanTalk';
419+
echo '<div class="cleantalk_tell_others" style="text-align: center;padding:5px 0;">', $message, '</div>';
420+
}
415421
}
416422

417423
function cleantalk_buffer($buffer)

install.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
'integrate_general_mod_settings' => 'cleantalk_general_mod_settings',
1616
'integrate_load_theme' => 'cleantalk_load',
1717
'integrate_exit' => 'cleantalk_exit',
18-
'integrate_buffer' => 'cleantalk_buffer',
18+
//'integrate_buffer' => 'cleantalk_buffer',
1919
);
2020

2121
$isInstalling = empty($context['uninstalling']);

0 commit comments

Comments
 (0)