SMF MediaWiki integration released

Started by SleePy, December 05, 2011, 11:40:48 PM

Previous topic - Next topic

Biology Forums

I would love to see a "related topics" block in this theme. Is anyone interested in developing such a thing?

For example, if a wiki article is simple to a thread title, it shows it below. :D

I would pay for its development.

emanuele

Quote from: Draffi on July 21, 2013, 07:36:30 PM
Definatly...the SMF Bridge for MW (v1.21.1) are not working.

(fresh installed on both, XAMPP)

Have an error:
Warning: session_destroy(): Trying to destroy uninitialized session...
I have installed the auth on a forum several weeks ago following few of the tricks I posted in this very topic and everything works as expected, so it *is* working.

One thing I remember I did at least once, but don't remember any more if it was related to the session_destroy or not, was to truncate the users table of the wiki...not a big suggestion, I know...


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Draffi

After trying almost the half day, to make the Bridge working, i finsihed this with a success.

you need to truncate the mediawiki user table, for to make this working

(smf 2.0.4 /MW 1.21.1)

I`m using the smfcurve-skin for the wiki - and i have a question:

How can i delete the "Logoff" Button in the UserInfo above the sidebar?

emanuele

Quote from: Draffi on July 22, 2013, 05:35:20 PM
After trying almost the half day, to make the Bridge working, i finsihed this with a success.

you need to truncate the mediawiki user table, for to make this working
Probably when you created the user while installing MediaWiki, you created one with the same username as the one in SMF.

Why do you want to remove the logoff button?
I'm not sure it's possible.


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Draffi

Grr.....i was changing some settings in MW in the user-profile and now, i`m not able to log-in anymore....

>:(

Exactly for this reason, i want to delete the logoff-Button: When i click on this, i logged off from the MW not from SMF !!!

(this was different when i was bridging MW 1.16)

HELP! How can i login again into MW?

emanuele



Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.


vbgamer45

The code their does not work with SMF 1.1.x
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Biology Forums


emanuele



Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.


Draffi

Quotehttps://github.com/SimpleMachines/smf-mw-auth/blob/master/Auth_SMF.php#L44

If this answer was for me: I was donig this - bridge not working correctly, if you are log-out from MW 1.21.1 (and 1.19, too)

You CAN only re-log-in, if you are trunkate the mw_user table...

emanuele

The answer was for you, yes.
Did you set the variable mentioned in the paragraph I linked?


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Draffi


Quote# Make sure "Use database driven sessions" is checked in the
# SMF Admin -> Server Settings -> Feature Configuration section

CHECKED

Quote# NOTE: Make sure to configure the wgCookeDomain below
#$wgSMFLogin = true;

Deleted the #-Symbol

Quote#$wgCookieDomain = 'domain.com';
insert my domain, tested with myforum.com and www.myforum.com - not function.

Furthermore, when you use the smfcurve-skin with MW 1.21.1 you never can use the upper-menu-tabs in the wiki-personal settings...(Where timezone, skin-select, editor settings are stored...)


emanuele

Quote from: Draffi on July 24, 2013, 05:39:57 PM
Quote# NOTE: Make sure to configure the wgCookeDomain below
#$wgSMFLogin = true;

Deleted the #-Symbol
Is wgCookeDomain enabled or not in your case?
I've seen it work better if disabled (commented out).


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

Draffi

i tried at first only with the "main setting" (require smf_auth), was not working (login), so step-by-step i turn all the settings on (together with the fixes from this thread, eg. comment out one line in smf_aut, trunkate the mw_user table...) at the end, i can login, but when i logout (in mw !) i never can login again.

for this reason i was asking to disable the link...

Draffi

well....i stepback to MW 1.16 - in some month i will see if somebody have a better Bridge/newer version...


studentforums

I installed the bridge and the wiki pages load but I am not logged into the wiki by logging into smf and I get this error when I log into the wiki

Unable to view external table
MySQL Error Number: 1054
MySQL Error Message: Unknown column 'memberName' in 'field list'

I have just upgraded bith smf to 2.05 and wikimedia to 1.21.2
I only help those that help themselves. I suppose I am a bit like GOD that way.
If you realise anything useful, say something useful and help someone else.

Student forum for GCSE, IGCSE, IB, O & A Level and University Students

emanuele

Considering memberName is a 1.x column name, I bet you are using the wrong code.
Where exactly did you download it?


Take a peek at what I'm doing! ;D




Hai bisogno di supporto in Italiano?

Aiutateci ad aiutarvi: spiegate bene il vostro problema: no, "non funziona" non è una spiegazione!!
1) Cosa fai,
2) cosa ti aspetti,
3) cosa ottieni.

studentforums

SMF from the smf website, mediawiki from mediawiki.
The file SMF_Auth.php was alread installed. I have not edited it.
I only help those that help themselves. I suppose I am a bit like GOD that way.
If you realise anything useful, say something useful and help someone else.

Student forum for GCSE, IGCSE, IB, O & A Level and University Students

Advertisement: