![]() |
Ok a new bug popped up recently:
Users can no longer edit ANYTHING. I get the following error: Quote:
No changes have been made by me so I'm really scratching my head on this one. Only thing I can think of is changes in latest vbulletin. |
it sounds like you didn't make the required changes to class_core.php or the changes were overwritten by a vB upgrade. Remember if you upgrade your forum you must reapply the changes to class_core.php.
Posted from my Blackberry, please excuse spelling. |
Quote:
Consider this a user error :o |
Hopefully they'll work something into vBulletin so that I don't have to do this in the future. I posted in the "hook requests" forum on vb.com but it isn't really a hook I'm after... more like an option to disable the input cleaner for certain scripts.
|
Quote:
In the meantime, I'll mark as installed and satisfied :) |
I have it running now. This is an awesome hack. I did notice though that in vB when looking at a user and where there are I get: Current Activity: Unknown Location /index.php/Erythropoietin_(EPO) .
My wiki is on a sub.domain although URLs to domain.com/wiki will resolve to the sub domain. I have tried various "Wiki Path" in the vB options. So basically, the Who's On doesn't see the path of the wiki and the link DOES point to the correct wiki page however, it is without the base wiki domain. |
Quote:
Quote:
Thanks to everyone for your support and using this mod. |
Double post ftw.
I just realized what's causing this and /facepalm for not realizing it beforehand. You can add this line to the .htaccess file in your wiki directory and then the change to class_core.php is not necessary: php_flag magic_quotes_gpc off If you don't have a .htaccess file in your wiki directory, just create it. This applies to servers running Apache only. Alternatively, you can disable magic_quotes_gpc in php.ini. This feature is depreciated as of PHP 6.0.0 anyway, so it makes sense to start coding with the mentality that your input no longer has this shield. I'll update the installation instructions when I make the next major update; it doesn't make sense to advertise an update for this minor change. Future versions will not require the code change. |
Sorry for asking the same, but I cannot find the solution in the thread: Does this Hack work with vBulletin 3.7.4 and MediaWiki 1.13?
Login via Wiki does not work... (Redirecting to vB, but nothing happens. I restored the original Userlogin.php to be able to login...) Thanks for a short info. Bruno |
vB 3.7.4 just came out recently; I haven't had time to test this plugin against it.
|
Thanks for the Info. So it should work with 3.7.3 and 1.13?
|
vB 3.6.9-3.7.3 / MW 1.12. There are steps in this thread to get it to work with 1.13 but I haven't integrated them into the package yet.
I do intend to make this compatible with vB 3.8 when it is released. Also, I've added PayPal information so the "Support Developer" links are now active. It's not a requirement for use (else it wouldn't be called a donation, heh) but if users like this mod a small donation would be greatly appreciated =] |
Quote:
|
I tried the AuthPlugin_vBSSO.php for MediaWiki 1.13 here... but it does not work 100%:
- login/logout through Wiki does not work - logout through Forum does not work - but login through Forum works Anyone got it to work with 1.13 and 3.7.4? Bruno |
I'll try to get a working version for 1.13/3.7.4 out by the end of this week. I have a few days off from my job but I have a major project coming up with my startup.
|
Tried also only to change AutoAuthenticate to UserLoadFromSession (#115)... same effect...
Thanks for your efforts! It does not really hurry for me... but I'm curious about bringing it to work :) Bruno |
And a little hint: Use vars in LocalSettings.php for "Forgot password" and "Please use your forum information for login. Login across the forum and wiki is the same"
since other languages need to update this German: "Passwort verloren", "Bitte verwenden Sie für die Anmeldung die selben Login-Daten wie fürs Forum." (not perfect, perhaps someone can improve this...) Bruno |
Quote:
Yeah I'm bummed too. I spent a whole freaking day trying to figure out what I was doing wrong with retracing my steps over and over and over again. I've got VB3.7.4.patch 1 and MW 1.12.1 and after 9 hours don't have it working. I really wish the original post would actually say that it won't work with MW1.13.1 in red bold. Sure could save a lot of people from wasting a whole day. www.moparstyle.com/forums www.moparstyle.com/wiki |
I someone ever figures this out -- please email me at dave@oldhippie.com so I can get back on this.
|
I'll update this thread when I get it working.
|
Quote:
|
I tried it, but it's not working 100% (see above)...
Bruno 1.13.2 / 3.7.4 SP1 |
I use VB 3.7.4.PL1 and MW 1.13.2 and everything is working fine...
(Follow this to get it working: https://vborg.vbsupport.ru/showpost....6&postcount=98) Also... you DONT need to edit class_core.php... I found a different way as I really dont like editing VB core files... In wiki/includes/User.php find: PHP Code:
PHP Code:
|
Quote:
|
http://semantic-mediawiki.org/wiki/Semantic_MediaWiki
Semantic MediaWiki (SMW) is a free extension of MediaWiki ? the wiki-system powering Wikipedia ? that helps to search, organise, tag, browse, evaluate, and share the wiki's content. While traditional wikis contain only texts which computers can neither understand nor evaluate, SMW adds semantic annotations that bring the power of the Semantic Web to the wiki. http://semantic-mediawiki.org/wiki/Semantic_MediaWiki |
I tried this already (last poste on Page 9)...
Bruno |
What is all that extra stuff that Veridiac did to AuthPlugin_vbSSO.php? All I did is rename AutoAuthenticate to UserLoadFromSession and everything works fine. Why was all that extra stuff necessary?
|
What Versions do you use?
|
I just got everything running with Vb 3.72 and MW 1.13.
Steps I followed: - Install media Wiki - Edit the Localsettings file with define( VB_SYSTEM_PATH, '/var/www/html/forum' ); require_once( "$IP/includes/AuthPlugin_vBSSO.php" ); $wgGroupPermissions['*']['createaccount'] = false; - Set the VB path in the localsettings file and then uploaded it. - Edited the AuthPlugin_vBSSO.php file from: $wgHooks[AutoAuthenticate ][] = 'vBSSOAutoAuth'; to $wgHooks['UserLoadFromSession'][] = 'vBSSOAutoAuth'; - uploaded the files in the upload directory - edited User.php as stated in Post #143 After that I just went to the Wiki page and refreshed and it showed me logged in. I did not make any of the class_core.php edits. Great Hack... just takes a bit of patience to work through it due to all the new versions. |
the class_core hacks are not necessary for login, only for "user count/where is the user" inside vB. For such a thing you need to edit the core...
Thanks for the information, I will try it again! Bruno |
I did all you said but still have the same problem... Are you sure it works 100%? Please check the following:
1. login from vB -> check at wiki 2. logout from wiki -> go back and see if inside wiki really logged out 3. login from Wiki -> check at vB and wiki If it works for you I'm really curious what vB changed from 3.72 to 3.74 ... Bruno |
OK -- I'm really really confused as to where to go from here as this thread has jumped all over and I can't figure out the good information from the bad information.
What I've done so far is to follow the instruction in the upload: Code:
STEP 1: Upload the contents of the "upload" directory into your wiki root directory. Edit So what do I need to do to get this to work? 1. replace modified class_core.php back with the original unmodified version? 2. Edited the AuthPlugin_vBSSO.php file from: $wgHooks[AutoAuthenticate ][] = 'vBSSOAutoAuth'; to $wgHooks['UserLoadFromSession'][] = 'vBSSOAutoAuth'; 3. edited User.php as stated in Post #143 (which mediawiki or vbulletin?) 4. Do I make any changes in my LocalSettings.php -- beyond what I did in the instructions? Am I missing anything on what I need to do to take this from where doing everything in the readme.txt to getting this to work? |
Which Versions do you use?
|
Vb 3.74.1
Mw 1.13.2 |
does not work.... I have the same Versions...
|
With this versions it is possible to login via vB in Wiki AND vB, but as written above you cannot logout both or login through Wiki.
NoeJeko will try to solve the problem. We need some patience... :) Bruno |
I am working the issue. Right now I can only claim compatibility with vB 3.6.9-3.7.3 and MW <= 1.12.
|
1001 Thanks! ... hope you dont lose to much time with this...
|
Check the MediaWiki 1.13.2 RELEASE-NOTES file.
* AutoAuthenticate hook renamed to UserLoadFromSession I had to change that hook in includes/AuthPlugin_vBBSSO.php below: //$wgHooks['AutoAuthenticate'][] = 'vBSSOAutoAuth'; $wgHooks['UserLoadFromSession'][] = 'vBSSOAutoAuth'; Otherwise Single-Signon did not work with MediaWiki 1.13.2. FYI for y'all. Rick |
Thanks for your feedback. This is written above, but you still will not be able to
1. logout from wiki -> go back and see if inside wiki really logged out 2. login through Wiki -> check at vB and wiki Or does it work on your side? Bruno |
All times are GMT. The time now is 12:47 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|