7f84a2ed013d0962fee55dae99f5b4c3d8dde172
jdarwood007 Add the Stop Forum Spam mod

jdarwood007 authored 4 years ago

1) <?xml version="1.0"?>
2) <!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
3) <modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
4) 	<id>SleePy:StopForumSpam</id>
5) 	<version>1.0</version>
6) 
7) 	<file name="$sourcedir/Subs-Editor.php">
8) 		<operation>
9) 			<search position="replace"><![CDATA[	// Start with any testing.
10) 	if ($do_test)
11) 	{
12) 		// This cannot happen!
13) 		if (!isset($_SESSION[$verificationOptions['id'] . '_vv']['count']))
14) 			fatal_lang_error('no_access', false);
15) ]]></search>
16) 			<add><![CDATA[	// Start with any testing.
17) 	if ($do_test)
18) 	{
19) 		// Check against SFS
jdarwood007 Move Txt to a func for auto...

jdarwood007 authored 4 years ago

20) 		if (!empty($smcFunc['classSFS']) && is_callable(array($smcFunc['classSFS'], 'checkVerificationTest')))