SMF 2.1 RC4 has been released! Try it out and help us test! Read more.
Started by SleePy, December 05, 2011, 11:40:48 PM
Quote from: AnakinSpain on April 29, 2013, 04:44:02 AMTry checking your database and repair all the tables: No
Quote from: emanuele on April 29, 2013, 05:42:36 AMQuote from: AnakinSpain on April 29, 2013, 04:44:02 AMTry checking your database and repair all the tables: No"No" you didn't do it?"No" you don't want to do it?"No" you don't know how to do it?"No" it didn't work?Just to be sure.
# If you experience the issue where you appear to be logged in# eventhough you are logged out then disable the page cache.$wgEnableParserCache = false;$wgCachePages = false;# SMF Authentication# To get started you only need to configure wgSMFPath. # The rest of the settings are optional for advanced features.# Relative path to the forum directory from the wiki# Do not put a trailing /# Example: /public_html/forum and /public_html/wiki -> ../forum$wgSMFPath = "../foro"; # Use SMF's login system to automatically log you in/out of the wiki# This works best if you are using SMF database sessions (default).# Make sure "Use database driven sessions" is checked in the# SMF Admin -> Server Settings -> Feature Configuration section# NOTE: Make sure to configure the $wgCookieDomain below$wgSMFLogin = true;$wgCookieDomain = 'SMFCookie11';# Members in these SMF groups will not be allowed to sign into wiki.# This is useful for denying access to wiki and a easy anti-spam# method. The group ID, which can be found in the url (;group=XXX)# when viewing the group from the administrator control panel.#$wgSMFDenyGroupID = array(4);# Grant members of this SMF group(s) access to the wiki# NOTE: The wgSMFDenyGroupID group supersedes this.#wgSMFGroupID = array(2);# Grant members of this SMF group(s) wiki sysop privileges# NOTE: These members must be able to login to the wiki#$wgSMFAdminGroupID = array(1);# SMF to wiki group translation. This allows us to assign wiki groups# to those in certain SMF groups.$wgSMFSpecialGroups = array( // SMF Group ID => Wiki group name, 5 => 'autoconfirmed', 1 => 'administrator', 5 => 'editor',);# THIS MUST BE ADDED. This prevents direct access to the Auth file.define('SMF_IN_WIKI', true);# Load up the extensionrequire_once "$IP/extensions/Auth_SMF.php";$wgAuth = new Auth_SMF();$wgGroupPermissions['*']['edit'] = false; // MediaWiki Setting