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)

Greight 10-10-2010 06:30 PM

Is there any way we can set a different vB style for Wiki?

InfoNirvana 10-12-2010 01:40 AM

I think it make much more sense to have the Navigation Panel to the right, not left.
Does this support Wiki Linking yet ? [Page Two]

tssts 10-14-2010 07:35 PM

I am trying to combine vbMediaWiki with TreeAndMenu (http://www.mediawiki.org/wiki/Extension:TreeAndMenu). The idea is to have folder trees on the left sidebar of MediaWiki.

vbMediaWiki is running fine, but I was not able to make TreeAndMenu in MediaWiki work. My guess: TreeAndMenu requires Monobook, but vbMediaWiki is using vector. The code I have to add to LocalSettings.php is Monobook specific:

$wgHooks['MonoBookTemplateToolboxEnd'][] = 'wfNavTree';
function wfNavTree() {
...

Does anybody had an idea what to use instead of MonoBookTemplateToolboxEnd?

Thanks

Lord Doys 10-15-2010 02:42 PM

when i try to import the product xml i get the following error:

PHP Code:

Unable to find a class to validatevB_TemplateParser_Curlycssfile on line 1083 in F:\xampp\htdocs\forums\includes\class_template_parser.php
#0 F:\xampp\htdocs\forums\includes\class_template_parser.php(1019): vB_TemplateParser->validate_curly(Object(vB_CurlyNode), Array)
#1 F:\xampp\htdocs\forums\includes\adminfunctions_template.php(2863): vB_TemplateParser->validate(Array)
#2 F:\xampp\htdocs\forums\includes\adminfunctions_plugin.php(545): compile_template('????{vb:styleva...')
#3 F:\xampp\htdocs\forums\admincp\plugin.php(1714): install_product(' #4 {main}

Fatal errorUnable to find a class to validatevB_TemplateParser_Curlycssfile on line 1083 in [path]\includes\class_template_parser.php in [path]\vb\vb.php on line 287
#0 vb_error_handler(256, Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1083 in F:\xampp\htdocs\forums\includes\class_template_parser.php , F:\xampp\htdocs\forums\vb\vb.php, 287, Array ([exception] => Exception Object ([] => Unable to find a class to validate: 

and much more... 

any ideas? other products are imported just fine

edit: just tried it with a fresh clean install of version 4.0.3 Patch Level 1 (instead of upgraded forum), same error

Darksky 10-17-2010 08:32 PM

Hi, first of all thanks a lot for this bridge, is very very nice.

I'm experimenting this issue: my vbulletin admin account (primary Aadministrator) is created in wiki but it has not the edit/create rights.
Then i tested with a user with primary group User and all went ok. Also i tested with a custom usergroup and all ok also in this case.

Also, when i click on the special page with the list of WIKI usergroup i see duplicated usergroup. For example, 2 user usergroup...or 2 burocrat usergroup, one of them is translated in italian, the language of vbulletin and wiki installation

Darksky 10-17-2010 08:55 PM

I'm checking the usergroup right and it seems that Administrator doesn't have the create/edit rights that users have .... hummmm it seems that "high" level users such us Sysop (administrator) and burocrat, do not include also the rights of low level users such as Users. Is it normal ?

crazyace 10-21-2010 01:45 AM

This seems to be broken in 4.0.8 - It will load but the layout is messed up.

Lord Doys 10-21-2010 09:37 PM

Quote:

Originally Posted by Lord Doys (Post 2110406)
when i try to import the product xml i get the following error:

PHP Code:

Unable to find a class to validatevB_TemplateParser_Curlycssfile on line 1083 in F:\xampp\htdocs\forums\includes\class_template_parser.php
#0 F:\xampp\htdocs\forums\includes\class_template_parser.php(1019): vB_TemplateParser->validate_curly(Object(vB_CurlyNode), Array)
#1 F:\xampp\htdocs\forums\includes\adminfunctions_template.php(2863): vB_TemplateParser->validate(Array)
#2 F:\xampp\htdocs\forums\includes\adminfunctions_plugin.php(545): compile_template('????{vb:styleva...')
#3 F:\xampp\htdocs\forums\admincp\plugin.php(1714): install_product(' #4 {main}

Fatal errorUnable to find a class to validatevB_TemplateParser_Curlycssfile on line 1083 in [path]\includes\class_template_parser.php in [path]\vb\vb.php on line 287
#0 vb_error_handler(256, Unable to find a class to validate: vB_TemplateParser_Curlycssfile on line 1083 in F:\xampp\htdocs\forums\includes\class_template_parser.php , F:\xampp\htdocs\forums\vb\vb.php, 287, Array ([exception] => Exception Object ([] => Unable to find a class to validate: 

and much more... 

any ideas? other products are imported just fine

edit: just tried it with a fresh clean install of version 4.0.3 Patch Level 1 (instead of upgraded forum), same error

I found out what this issue is
i noticed that that only occurs in 4.03.. in 4.07 i do not have that issue.

the problem lies in the MEDIAWIKIFORUM template in the product xml

if you delete row: 162 through 171 from the product xml it loads fine, and everything will work.

to get back the missing CSS statements, just copy the same part from FORUMHOME into the MEDIAWIKIFORUM template

that should do it

Lord Doys 10-22-2010 10:20 AM

Quote:

Originally Posted by crazyace (Post 2112235)
This seems to be broken in 4.0.8 - It will load but the layout is messed up.

yes i noticed...
many vbulletin templates have been altered.. i am still thinking if it were good or not...
guess ill have to play around with the style editor again

Lord Doys 10-22-2010 11:52 AM

Quote:

Originally Posted by crazyace (Post 2112235)
This seems to be broken in 4.0.8 - It will load but the layout is messed up.

its quite easy to fix.
It seems that the sidebar.css is not loaded in the MEDIAWIKIFORUM template.

replace the line below
{wiki:raw headinclude}

with
{vb:cssfile forumbits.css,forumhome.css,widgets.css,sidebar.cs s,options.css,tagcloud.css}


All times are GMT. The time now is 11:48 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.01853 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
  • (2)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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