News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Brigde SMF & MediaWiki

Started by Snakehit, September 21, 2007, 10:26:58 AM

Previous topic - Next topic

Snakehit

Hi,

I've written a bridge between SMF & MediaWiki.

All information can be found here
http://www.mediawiki.org/wiki/Extension:SMF_Authentication


Flying Drupalist

Will this support special characters?

Paracelsus

And support strange usernames with Caps letters and spaces just to name some examples ???

Jungle-Cat

Hello,
I just wrote this up;
http://www.simplemachines.org/community/index.php?topic=197196.msg1254317#new
And i've just realised it should be here! damn!

I tried 2 diff bridges, one being yours. But it didn't work!
I get:
Notice: Undefined variable: result in /wiki/includes/Title.php on line 1112

solutions?

Snakehit

#4
Quote from: Miraploy on September 26, 2007, 09:43:55 PM
Will this support special characters?
Quote from: Paracelsus on September 27, 2007, 07:05:58 AM
And support strange usernames with Caps letters and spaces just to name some examples ???
It will support everything that is supported by SMF when you register your username. The caps will be taken over.

I've just looked up into my database and I have this kind of nicknames
Quotemy nickname
my.nickname
My.Nickname
my_nickname
my-nickname
[my]nickname
mynicKname!
MYNICKNAME

What the script does is very simple, it takes your memberName from $smf_user_info and add it to the mw_users database.

Snakehit

Quote from: Jungle-Cat on September 27, 2007, 09:31:19 AM
Hello,
I just wrote this up;
http://www.simplemachines.org/community/index.php?topic=197196.msg1254317#new
And i've just realised it should be here! damn!

I tried 2 diff bridges, one being yours. But it didn't work!
I get:
Notice: Undefined variable: result in /wiki/includes/Title.php on line 1112

solutions?

You've downloaded the zipfile and installed every file in the zip? There aren't modifications on Title.php so i'm not quite sure what the problem can be.

Did you do some changes?

Jungle-Cat

Oh...
Am I suppose to add those files to their relevant file or copy and replace?
Becayse I copied and replaced...

Snakehit

Add and replace those files yes...

Jungle-Cat

I've made no changes.
I've coped all files and replaced, added the LocalSettigns stuff to the bottom of LocalSettigns.php

I get the error still...

Snakehit

Can you give me the link to your mediawikiwebsite and FTP access? Send me with PM, i'll take a closer look at it.

By the way: Are you still using other bridges? And when you get the error, directly after loading or when you edit some stuff...

Paracelsus

Works fine so far ;)

BTW, isn't there some template/skin/theme you can use, because it looks kind of hard configuring everything there...

Snakehit

Quote from: Paracelsus on September 28, 2007, 11:53:40 AM
Works fine so far ;)

BTW, isn't there some template/skin/theme you can use, because it looks kind of hard configuring everything there...

Nice ;-) , good to hear that.

What do you mean with config your skin? I can add a skin to the package, but I don't see the point because the skin doesn't have any code included with this package.

You have the Userlogin.php file where everything for login/logout is added.

Paracelsus

I meant something that could be more SMF-like, I mean, not to have to customize all the pages from the beginning - if some templates could exist, you would just have to make some changes. When I see it for the first time, I just remember Joomla templates and how easy it is to choose a different template... same as SMF.

But oh well, that's just my lazyness talking...

Congrats for the good job.

Snakehit

Yes, but I have some questions for you too.

Is your wiki also so slow :s, I have already been searching for 3 days to get my wiki speed much faster. I think it's because the caching but when I enable it doesn't makes any difference.

Paracelsus

I don't know if it's slow or not... I have no tools in the server to speed it up, so I really can't make any comparison... I'm thinking to install it on another server to my "official" forum, which probably has some of those things mentioned in Wiki installation to speed it up, but that may take a while...

Flying Drupalist

Does this work with short URLS enabled?

I got error messages saying SMF_Auth cannot be found.

Snakehit

You have this path?
// require the Auth_SMF.php
require_once './extensions/Auth_SMF.php';

$wgAuth = new Auth_SMF();   

Flying Drupalist

#17
NVM, whoops I forgot to upload the API. Thanks

Snakehit


Flying Drupalist


Advertisement: