vb.org Archive

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

Peter Walker 05-30-2009 08:34 AM

I have moved my other wiki domain to the same root server, but still cannot get this to work.

I have installed the wiki as follows:

Domain: www.rifewiki.org
Directory: /w with virtual directoy /wiki (pretty names)

VB Forum: www.rifeforum.com
Directory: /forum

I use two seperate MySQL databases

The Wiki works fine when this hack is not used. As soon as I add the hack in Localsettings.php, the wiki stops working (just a white screen, nothing else).

In previous tests, it did work when I used www.rifeforum.com/wiki, but I would prefer to use the dedicated www.rifewiki.org domain instead.

The server runs with Suse Linux and Plesk 8.6

Can someone here tell me how to get this working?

Regards

Peter

aciurczak 05-30-2009 05:28 PM

I was waiting for a working hack like this one before installing MediaWiki, and it's working exactly as I had hoped. Big thanks for putting this together, and for making it so easy to install.

I have one suggestion, when the hack creates the new wiki account based on the vbulletin credentials, is it possible to automatically populate the email address in the wiki account based on the vbulletin account's email address? It seems clunky that users have to re-enter their email address again in the wiki environment. I've disabled email authentication (using $wgEmailAuthentication = false; in localsettings.php) so they at least don't have to go through the email confirmation process a 2nd time.

I'd also suggest that if people only want their vBulletin users to be able to edit the wiki, so set: $wgGroupPermissions['*']['edit'] = false; in localsettings.php.

This hack along with this hack to give the wiki a vbulletin feel have made it pretty straightforward to have a MediaWiki installation fit in very well with a vB installation. My forum is at www.ninjette.org, wiki is at wiki.ninjette.org.

Hall of Famer 06-07-2009 09:05 AM

I really dig this add-on but I just can't get it to work. I receive an error similar to SemperFideles' so I have to give up at least temporarily.

ccunnin71 06-16-2009 01:37 PM

I am still working fine on the old 3.7 version. I will keep an eye on your improvements to this plugin. Thank you for picking this up!!

Peter Walker 06-18-2009 11:19 AM

I have got this working with my two domains: www.rifeforum.com and www.rifewiki.org

Basically I had to setup both domains to point to the same place on the server. I have the forum in the /forum and the wiki in the /w directories.

I now tell those users who want to use a pseudonym to create a new account especially for the Wiki. Those accounts go into a special RifeWiki usergroup and have set permissions to only allow to view posts on my forum, yet have full user rights on the wiki.

Forum members visiting the Wiki under www.rifeforum.com/wiki can access the wiki with their standard username (e.g. "John Smith"). To use the pseudonym, they need to first login under www.rifewiki.org/forum first and then switch to the Wiki at www.rifewiki.org/wiki. it is now possible to switch usernames by simply switching the domain used.

You can read more details on the Main and Help pages of my Wiki.

I do have one problem, which should be easy to solve, yet would appreciate any ideas as to how best to implement it.

As I also have vBadvanced CMPS v3.1.0 installed on my forum, people why type in www.rifeforum.com or www.rifewiki.org will both land on the CMPS page of my forum.

I need some php code that will recognise when someone has called the rifewiki.org domain and automatically redirect them to www.rifewiki.org/wiki while those who used www.rifeforum.com are left where they are in the CMPS. Calls to www.rifewiki.org/forum need to be left unchanged.

Is anyone here up to the task and can post the code here?

emperatour 06-18-2009 06:58 PM

I was using this Mod (as it's explained here) with old versions and lately with vB 3.8.2 and MediaWiki 1.14. But since I upgraded my Wiki to 1.15 it's not working anymore.

Do you think this new version (2.2.0) works with vB 3.8.2 and Wiki 1.15?

Thanks,

Peter Walker 06-19-2009 02:39 PM

Thanks for the info. I was just thinking about upgrading to the Mediawiki 1.15, but will delay that until someone reports that this system works with it.

I am currently running vBulletin 3.8.3 and MediaWiki 1.14 and that combination does work.

Anyone upgraded to MediaWiki 1.15 with this hack yet?

aciurczak 06-19-2009 03:23 PM

I just upgraded to 3.8.3 and MW 1.15, this mod continues to work fine with that combination. First do the 3.8.3 upgrade, and that really doesn't affect this in any way.

The MW 1.15 upgrade works fine, though it can be a pain in the ass if you use short URLs and don't have command line access; needed to switch back to long URL's for the upgrade, then switch back to short URLs afterwards. When the 1.15 upgrade is complete, re-upload the few files for this mod into the MW directories and everything is working just as before.

emperatour 06-21-2009 04:48 AM

Quote:

Originally Posted by BRotondi (Post 1808214)
Does login through Wikis Login-Page work on someones german wiki/vbulletin?
I can enter Login/PW, but will be redirected to the forum without beeing logged in... (workaround programmed in php so not an urgent bug... but interesting...)

Bruno

Quote:

Originally Posted by NoeJeko (Post 1808260)
@BRtondi, can you send me a PM message with any log errors you're encountering? I've had issues with MediaWiki on non iso-8859-1 character sets so this could be a flaw with mediawiki. Also, please send me the username you're attempting to log in (no password, please).

I believe that I have the same problem,
I can log-in to wiki using Admin's and Moderator's user name. But new users and SuperMod cannot log-in to wiki; After entering the Login/pass in wiki it will redirect to the "forum login page" and afterward it will return to wiki again without being logged in.


vBulletin 3.8.2 Mediawiki 1.15 Persian(Farsi) language

vktechnology 06-22-2009 02:36 AM

Thank you for make this mode
it work with wiki 1.5 and vb 3.8

it's working good and simple


All times are GMT. The time now is 05:04 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
  • Page Generation 0.01312 seconds
  • Memory Usage 1,752KB
  • 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
  • (2)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