Customizing SMF > Portals, Bridges, and Integrations

SMF and MediaWiki Bridge

<< < (64/66) > >>

homer87:
Hello excuse me for my english.
I have installed the bridge but i have this error:

"Wiki has a problem

Sorry! This site is experiencing technical difficulties.
Try waiting a few minutes and reloading.

Can't contact the database server: Unknown error"

When disable the bridge, the error disappear.

Can anyone help me please?

Thanks.

Liam_michael:
I installed the wiki to my main address biology-forums.com/wiki/ and it takes a long time to load; somewhat slow.

If I change the location to wiki.biology-forums.com (sub-address), would it increase the loading speed?

poveyjo:
Hi,

Is it possible to rung this brodge across different domains?

eg mydomain.org/wiki
and
mydomain.com/forum

?

if so, how?  At the moment it logs into the forum but not the wiki

Liam_michael:

--- Quote from: poveyjo on December 03, 2011, 04:41:40 PM ---Hi,

Is it possible to rung this brodge across different domains?

eg mydomain.org/wiki
and
mydomain.com/forum

?

if so, how?  At the moment it logs into the forum but not the wiki

--- End quote ---

I tried this, but there is an issue with the logging in. It doesn't work across different domains. :-\

poveyjo:
Thanks Shuban...

Ok, I thought so.

Although now I've tried it with a brand new forum installation (1.15) on the same domain, and I get the same problem.
That is, the MW links point to SMF logon, but it doesn't log the user into the wiki also...

I'm using MW1.17 (with semantic mediawiki) and SMF 1.15.

Does anyone have this working with MW 1.17?

My Config:
(in auth_smf.php):
 $wgHooks['UserLoadFromSession'][] = 'AutoAuthenticateSMF'; //fixed line

IN localsettings:

# 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 and wgSMFVersion.
# 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 = "/forums";

# Set to the version of SMF you are using.
$wgSMFVersion = "1.1";
#$wgSMFVersion = "2.0";

# Use SMF's login system to automatically log you in/out of the wiki
# This will only work 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 wgCookeDomain below
$wgSMFLogin = true;

# Make "Enable local storage of cookies" is unchecked in the
# SMF Admin -> Server Settings -> Feature Configuration section
# www.domain.org/wiki [nofollow] and www.domain.org/forums [nofollow] -> www.domain.org [nofollow]
# wiki.domain.org and forums.doman.org -> .domain.org
$wgCookieDomain = 'www.peakbagging.org.nz [nofollow]';
#$wgCookiePath = '/'; // Optional, defaults to '/'
#$wgCookieSecure = false;  // Optional, only change on scheme mismatch

# Require members to be a part of this SMF group(s) to login
# NOTE: Members of the SMF Administrator group are always able to login
#$wgSMFGroupName = 'Wiki Editor';
#$wgSMFGroupName = array('Wiki Editor', 'Global Moderator');

# Grant members of this SMF group(s) wiki sysop privileges
# NOTE: These members must be able to login to the wiki
#$wgSMFAdminGroupName = 'Wiki Admin';
#$wgSMFAdminGroupName = array('Wiki Admin', 'Global Moderator');

# Load up the extension
require_once "$IP/extensions/Auth_SMF.php";
$wgAuth = new Auth_SMF();

Thanks

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version