vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Integration with vBulletin - MediaWiki/vBulletin Single Sign-On (https://vborg.vbsupport.ru/showthread.php?t=191186)

emath 10-12-2008 12:36 AM

i get :
Quote:

Unable to add cookies, header already sent.
File: /mounted-storage/home94b/sub006/sc49471-HPSH/www/maagar/LocalSettings.php
Line: 1
when i trying to access my wiki after installing the mode and did all right...

http://www.math-pl.co.il/maagar

emath 10-12-2008 12:58 AM

nvm..

BRotondi 10-12-2008 07:47 PM

Thanks for the new version and to all debuggers/helpers!

... nice that there ist such a project here :)

Bruno

NoeJeko 10-16-2008 12:46 AM

I'm still looking to address the MW 1.13 issues ... lack of time is catching up to me. This is not abandoned and a fix will be posted; I just cannot guarantee when.

Veridiac 10-16-2008 03:15 PM

I discovered the reason (or at least one reason) that 1.13 doesn't work - the hook used to authenticate from a session (AutoAthenticate) was removed and changed to a new one that also requires a result

The new hook is UserLoadFromSession http://www.mediawiki.org/wiki/Manual...oadFromSession

I'm going to try changing it myself to see if thats all it is *crosses fingers*

Veridiac 10-16-2008 06:02 PM

I think I have it working, in addition to modifying the hook to UserLoadFromSession, and adding &$result to the function prototype I did the following:

Changed the User::newFromName to initialize the $user object itself without replacing it... when it was replaced the calling function appeared to still have the old $user object which was giving an error.

In doing that I first load defaults, then set the name, set mFrom to name, call load, check if the user has a valid ID and if not add to the database, and then continue on.

In addition, I Found that the sysop groups weren't being removed when I removed someone from admin group so I added $user->removeGroup for both before then adding it again (or not) depending on the users vb group.

I'm not totally familiar with mediawiki's authorization process (I just installed it actually) so some of this may be redundant, or worse something could be missing....

At any rate it appears to be working if I find any problems I'll post here, I'm attaching my copy of AuthPlugin_vBSSO.php if anyone wants to use it.

Edit: Not working at this time, something is causing edit tokens (and maybe more) to not be correct during POST requests, still investigating

BRotondi 10-16-2008 07:57 PM

ey wow! Great Work!! Thanks in the name of the vb/Wiki-Community :up:
(even I cannot test it myself, since still 1.9)

Bruno

carrlos 10-17-2008 03:03 AM

Quote:

Originally Posted by shikareez (Post 1640896)
From MW 1.13+ the "AutoAuthenticate" Hook is renamed to "UserLoadFromSession". So just follow all the instruction and at all, just edit the hook name to "UserLoadFromSession" at near the end of AuthPlugin_vBSSO.php.

Thanks a million shikareez!! That did the trick!!

From this point on I solemnly swear to read all posts on all pages before installing any add-on!! I actually had 1.12 installed then upgraded before installing this!!! :D

Edit:
Is the link in Who's Online suppose to go to a download of the opensearch_desc.php file?????

https://vborg.vbsupport.ru/

http://www.androidmodding.com/wiki

GriZzm0 10-17-2008 10:01 AM

Quote:

Originally Posted by carrlos (Post 1646834)
Thanks a million shikareez!! That did the trick!!

From this point on I solemnly swear to read all posts on all pages before installing any add-on!! I actually had 1.12 installed then upgraded before installing this!!! :D

Edit:
Is the link in Who's Online suppose to go to a download of the opensearch_desc.php file?????

https://vborg.vbsupport.ru/

http://www.androidmodding.com/wiki

It's not like you'll download the "real" opensearch_desc.php. Your browser asks if you want to download it as the php script change the content header to xml as the output is an xml file.

carrlos 10-17-2008 01:18 PM

Quote:

Originally Posted by GriZzm0 (Post 1646931)
It's not like you'll download the "real" opensearch_desc.php. Your browser asks if you want to download it as the php script change the content header to xml as the output is an xml file.

So how do I remove the link or change the link to go to my wiki instead???


All times are GMT. The time now is 04:19 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01320 seconds
  • Memory Usage 1,741KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete