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)

SemperFideles 05-10-2009 07:36 PM

Well, I know I'm sort of solving this problem as I go along but here is my "solution" to the problem in Post #9.

In AuthPlugin_vBSSO.php, I added a chdir commands before the call to global.php:

Quote:

define('THIS_SCRIPT', 'wiki');
chdir ('/home/puritanb/public_html');
require_once( CWD . '/global.php');
chdir ('/home/puritanb/public_html/includes');
require_once( CWD . '/includes/functions.php');
chdir ('/home/puritanb/public_html/w/includes');
It eliminates the error that it cannot find the functions_dfha.php file but I still cannot edit any pages or save preferences. I get this error when I attempt to edit pages:

Quote:

Your edit has been rejected because your client mangled the punctuation characters in the edit token. The edit has been rejected to prevent corruption of the page text. This sometimes happens when you are using a buggy web-based anonymous proxy service.
I've tried clearing the cache and cookies and multiple browsers but the problem persists. I hope you're able to understand what the problem might be because I'm hoping to get this nice mod working. I'm even willing to contribute to this mod to keep it supported.

NoeJeko 05-10-2009 09:01 PM

Colonel,

Please try the steps I sent you in PM. Your board has quite a few addons and there's a good chance it's conflicting with one of them if this does not work. I've tested this addon against a clean MW and vB instance as well as with a few addons (vBSEO, vB Advanced, etc) but there's no way I can reasonably check against all existing mods. I'm willing to work with you directly as time permits.

@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).

@Flowison, after stealing my site's design and me sending a legal request to your host to get it removed, you get no support from me. Good luck on your own.

dvsDave 05-14-2009 02:29 AM

very interesting! I have the old NuWiki mod on my site and am in need of something new for my 1000+ articles. The one feature I must have to have before migrating to a new system is to have the auto-linking of the wiki entries to words in the forums.

simunaqv 05-15-2009 09:49 PM

Hi NeoJeko,
I am trying to get this mod to work on my site but it is not working properly. When I try to login to the wiki site, it immediately logs me out of the wiki and out of the forum as well.
Following is the information about my site:

forum url: http://www.urduweb.org/mehfil/
wiki url: htt://wiki.urduweb.org

I will readily provide any further information required by you.
Thanks,

simunaqv 05-16-2009 09:38 AM

Ok, it seems to work now. I had overlooked the instruction for setting the cookie path to '/'. :erm:
Now I will begin testing this mod on my site. Thanks for this useful mod.

XFSImperial 05-16-2009 07:18 PM

The bridge seems to be working as I see my forum username on the wiki, but the wiki header and footer is covered in errors. I know the vba is vbadvanced. I'm running vba 3.1.0, are these errors version related?


Quote:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_template.php on line 19

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_template.php on line 42

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_template.php on line 50

Warning: Invalid argument supplied for foreach() in [path]/includes/init.php(298) : eval()'d code on line 15

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in [path]/includes/vba_cmps_include_top.php on line 621

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at [path]/includes/class_core.php:3254) in /home/avelegio/public_html/wiki/wiki/includes/GlobalFunctions.php on line 2581

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:3254) in /home/avelegio/public_html/wiki/wiki/includes/WebResponse.php on line 48

Warning: Cannot modify header information - headers already sent by (output started at [path]/includes/class_core.php:3254) in /home/avelegio/public_html/wiki/wiki/includes/WebResponse.php on line 16
Edit: One of our network admins was able to fix the problem. Evidently had to do with difference in the way php4/php5 treat the arrays and the fact that the server for this wiki install is on Litespeed and not Apache.

Mastergumble 05-18-2009 06:17 PM

I got everything working, the only issue i get but not a big problem is if i log on vb and use the link to mysite/wiki everything wark without problems on mysite.com/wiki/Main_Page

But if i log from the wiki directly i get redirected to mysite.com/wiki/index.php?title/index.php/Main_Page

Still working just cant log frm any article without getting back to the main page...

Any idea if i can simple disable the login from the Wiki page making possible to log only by the vbullet ?

Tkx

GoodOmens 05-20-2009 02:57 PM

One of my users has a slash in his user name and is receiving a error when going to the wiki (fatal error)

Is there a simple fix or should I just ban user-names with slashes?

Peter Walker 05-28-2009 06:39 PM

Hi,
I have just installed this hack and think it is a great way of linking vBulletin with Mediawiki. By limiting access to Forum members, I can now forget about unwelcome spam and vandalism on my Wiki.

I tried to install it over two separate servers (Wiki on one web server and forum on another), but could not get that to work. I am moving the wiki domain to the same server as my forum instead.

There is one issue I hope can be solved. On my forum, I insist all members use their real names (e.g. "John Smith") as usernames. As it is a closed forum and non-members cannot see the usernames, this is no problem. However, as soon as my forum members start writing Wiki entries, their username, e.g. real name is displayed on the Wiki.

Could you implement a system where instead of the forum usernames, the Wiki optionally displays a pseudonym instead of the forum username. This could be an optional feature and use either a VB User Profile Field, to store the pseudonym, or alternatively the system automatically generates a pseudonym from the username (or both).

Some people do not want to have their real name displayed next to public Wiki entries and the way the system is setup now, there is no way of preventing this when using your mod.

Regards

Peter

BRotondi 05-28-2009 06:55 PM

Hi Peter

As you can see, there are still little and bigger problems with this hack and the author has only little time.

My suggestion: Enable Multi-Registering in vB so your users can create a 2nd account and use this one for the wiki.

Bruno
Edit: btw. you can setup your Wiki also as "no anonymous reading"


All times are GMT. The time now is 09:00 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.01400 seconds
  • Memory Usage 1,755KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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