vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Integration with vBulletin - [obsolete!] vbMediaWiki 4.0.2 RC 3 (https://vborg.vbsupport.ru/showthread.php?t=235342)

bepe 02-09-2010 05:35 AM

Quote:

Originally Posted by Gnoll (Post 1977826)
no-word left to describe this work :) , only a question this addon can cause a Security Issue ?

Tagged + https://vborg.vbsupport.ru/external/2012/01/12.gif

Running a public server is always a Security Issue...
Just joking :P

... How does it work?
1. The user is doing a login via vBulletin, I did not temper with that whole login thing there... so it is as save as VB made it.
2. On access MW checks if a user is logged into VB
If yes, then it also logs in the user with the same name to MW... it creates a new MW user if the user does not exist yet (most likely that is, because it's the first login)
Important: WM does NOT change the VB user... it's only checking if someone is online in VB and the rights he has to access the wiki, then it is only using its own users
3. I did my best to make it secure ... I want to run it on my forum too when it is done :)

Anyway, I really don?t think it's causing any Security Issue... but if it would, then it's more likely that WM is compromised... but not VB... I hope that makes u feel better now :)

bepe 02-09-2010 05:44 AM

Quote:

Originally Posted by Hysteresis (Post 1977889)
This mod is awesome I can't wait for full release. Can you make it so it inherits forum style?

the forum style should be inherited; for more complex styles changing the whole page layout... something like header is now footer or so... you would need to change the MEDIAWIKI template

The content of MW is looking like the original media wiki... I think that is good, ppl should see that we are using the original one :) ... anyway, you can change the wiki skin by hand or by editing the css

... but it's almost impossible to make the content of the MW look 100% like the content of VB... Sorry if u meant that ... anyway, both skins are playing nice together

About impossible... make it fit to all possible skins is impossible... sure it is possible if you adapt the one skin u are using to the media wiki... ok... basically everything is possible, it's just a matter of time

Arcade Fire 02-09-2010 07:13 AM

Thanks, I will try.

mabersoft 02-09-2010 07:47 AM

Taged for gold. I will def be using this.

kisanjong 02-09-2010 07:48 AM

excellent work, thanks - tagged for beta release 5*

bepe 02-09-2010 08:13 AM

Quote:

Originally Posted by Arcade Fire (Post 1978108)
Thanks, I will try.

Thank you :)
Please report any existing problems/bugs/issues you come across.
Then I can try to fix it

I did a new install with different location of the wiki
... So I found myself that the Who's online is not working correctly
It?s fixed for the next version already

simunaqv 02-09-2010 08:27 AM

Wonderful piece of work. Marked as isntalled.
What version of MediaWiki are you using? And can you tell us abou the additional features that you are planning. :)

bepe 02-09-2010 08:58 AM

Quote:

Originally Posted by simunaqv (Post 1978144)
Wonderful piece of work. Marked as isntalled.
What version of MediaWiki are you using? And can you tell us abou the additional features that you are planning. :)

Thank you :)

About the version, I'm using the latest one "1.15.1"... right forgot to mention that

Additional features... almost everything looks possible... we just need some good ideas :)
Someday... perhaps... things like this:
  • When searching the forum there should be wiki links in the result page
    - If the article exists to the article else link to create the wiki article
  • Scan posts on the forum for wiki titles and make them linked
    You should know this from the annoying advertising plugins... but the links to the wiki should not me annoying :) they might be really useful to the reader, so it makes sense
  • Add new wiki pages to the "What's new"
  • and so on...

All that is for involving the user more into the wiki and linking the wiki so that it becomes more interesting

xenaxial 02-09-2010 09:57 AM

1 Attachment(s)
Fantastic mod btw.

Just one problem. Using vb4.0.1 and mediawiki v1.5.1. I have the wiki installed as a sub directory of the vb4 install so its reachable from /wiki alone and so far have your mod allowing users to use their vb login on the wiki no problem. Only issue is the vbmediawiki skin. For some reason the default mediawiki skins work fine but if I set it to vbmediawiki or preview it with the user preferences in mediawiki I get some random garbage output.

I've just attached a image of what I'm talking about, I've also tried redownloading the files and reinstalling your skin for mediawiki. I'm happy to use the normal skins however it would be good to know if its something I could have done wrong or otherwise.

Cheers

bepe 02-09-2010 10:19 AM

Quote:

Originally Posted by xenaxial (Post 1978168)
Fantastic mod btw.

Just one problem. Using vb4.0.1 and mediawiki v1.5.1. I have the wiki installed as a sub directory of the vb4 install so its reachable from /wiki alone and so far have your mod allowing users to use their vb login on the wiki no problem. Only issue is the vbmediawiki skin. For some reason the default mediawiki skins work fine but if I set it to vbmediawiki or preview it with the user preferences in mediawiki I get some random garbage output.

I've just attached a image of what I'm talking about, I've also tried redownloading the files and reinstalling your skin for mediawiki. I'm happy to use the normal skins however it would be good to know if its something I could have done wrong or otherwise.

Cheers

Hmm... that I've feared... a problem that I can not recreate :$
ok, this is my config right now:
  • VB installed to D:/www/ ... (is root of http://localhost/)
  • MW installed to D:/www/wiki ... (is http://localhost/wiki)
  • so I've added this two lines to LocalSettings.php:
    define( VB_INSTALL_PATH, '..' );
    require_once( "$IP/includes/AuthPlugin_vbMediaWiki.php" );
  • Admin Control Panel -> vBulletin MediaWiki: Options -> MediaWiki Path
    ./wiki

can u tell me what is different in your case?


All times are GMT. The time now is 05:52 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.01329 seconds
  • Memory Usage 1,747KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (2)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