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 - vbMediaWiki Vector (https://vborg.vbsupport.ru/showthread.php?t=247279)

bepe 07-29-2010 04:25 PM

@fortforum
Yes, it would be nice to set it in VB Options... but the problem is that the wiki needs to know somehow where the forum is installed, only then it can access the vb options

... so I cannot set the path in vb (and would not need to, because vb knows exactly where it is installed :D)

@FF|Skyrider
- yes, sub domains are supported
- no, I don?t think it is possible... MediaWiki does not have that option as fare that I know; it can only restrict editor access or completely disallow a group to read articles... but not per page

Joelimo 07-29-2010 04:54 PM

Very nice work bepe ! Thx :)

bepe 07-29-2010 05:02 PM

next version will include a bbcode for linking wiki pages
[wiki]Main_Page[/wiki]

When some day you change the the domain name or the path of the wiki, then the wiki links will still be working.

And sure, it's more easy than writing:

Main_Page

fortforum 07-29-2010 11:09 PM

Quote:

Originally Posted by bepe (Post 2076395)
@fortforum
Yes, it would be nice to set it in VB Options... but the problem is that the wiki needs to know somehow where the forum is installed, only then it can access the vb options

... so I cannot set the path in vb (and would not need to, because vb knows exactly where it is installed

That is of course a very good point. I wasn?t thinking that far, but im glad you have. I wast?t trying to be smart with you or anything, just so you know.

I really like this mod, looking forward to your futher work.

Rolli 07-30-2010 10:12 AM

Works fine for me,Thx bepe:)

Rolli 07-30-2010 10:20 AM

I have found a mistake. If I on new Wiki article click the following error message comes:

PHP Code:

Warnungmysql_connect() [function.mysql-connect]: Access denied for user 'xxxxxxxxxx'@'localhost' (using passwordYESin [path]/includes/mediawiki_functions_search.php (Zeile 33)

Warnungmysql_select_db(): supplied argument is not a valid MySQL-Link resource in [path]/includes/mediawiki_functions_search.php (Zeile 34)

Warnungmysql_query(): supplied argument is not a valid MySQL-Link resource in [path]/packages/vbmediawiki/search/searchcontroller/newwiki.php (Zeile 28)

Warnungmysql_fetch_array(): supplied argument is not a valid MySQL result resource in [path]/packages/vbmediawiki/search/searchcontroller/newwiki.php (Zeile 33

How do I repair this?

bepe 07-30-2010 12:07 PM

I'm very sure that you did not do the DB settings right.

Go to the forum’s Admin Control Panel:
Settings -> Options -> vBulletin MediaWiki: Options
And press ”Edit Settings”

Please check the settings for the wiki db there (that are not the same as the forum db settings)

crazyace 07-30-2010 05:14 PM

Bepe, I still can't get search to work. But I do have the wiki on another database thats septate from my forum database.

bepe 07-30-2010 06:40 PM

you might need to manually do the indexing for the already existing wiki articles, because only new articles will be added to the index automatically
Go to the forum’s Admin Control Panel:
Maintenance->Update Counters->Rebuild Search Index
Edit: Don't delete the index!

Bellethiel 07-30-2010 07:43 PM

hm i rebuild my search index but for some reason it only searches through the wiki articles now and leaves the stuff in the forum alone o.o


All times are GMT. The time now is 10:50 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.01728 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_php_printable
  • (1)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