The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solution for these wiki spam accounts
Author Message
Coruja
Sphere Developer
*****

Posts: 987
Likes Given: 5
Likes Received: 226 in 187 posts
Joined: Jul 2012
Reputation: 7

Dimension Shard

Post: #1
Solution for these wiki spam accounts
many wiki's (including mine and sphereserver wiki) always had many spam accounts created just to spam crap ads like "enlargement pills", "donate money", etc

also sphere wiki closed the account registration because this. But there's a fix for this, this thing will prevent these spam accounts to be created:
http://www.mediawiki.org/wiki/Extension:KeyCAPTCHA

to install just download the extension, copy-paste it on /extensions folder and add this code at the end of LocalSettings.php:
Code:
# KeyCAPTCHA for MediWiki 1.16.x - 1.18.x
require_once( "$IP/extensions/keyCaptcha/keyCaptcha.php");
$wgKeyCaptchaPrivateKey = '[this key will be provided on KeyCAPTCHA registration]';
$wgKeyCaptchaID = '[this key will be provided on KeyCAPTCHA registration]';
and create an account on http://www.keycaptcha.com to get these keys

here on my wiki i'm using keycaptcha and it blocks 100% of these spam accounts
01-13-2014 10:23 AM
Find all posts by this user Like Post Quote this message in a reply
amonvangrell
Banned

Posts: 337
Likes Given: 17
Likes Received: 32 in 20 posts
Joined: Aug 2012

britannia shard

Post: #2
RE: Solution for these wiki spam accounts
cool.
thx
01-13-2014 10:30 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 2 Guest(s)