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-27-2010 05:16 PM

It should not be a charset problem... ok, it is related to the converting, but anyway, it should work.
You need to turn off magic quotes either in php.ini or in .htaccess: http://www.php.net/magic_quotes
That should solve the problem.

About the editor, it's part of the UsabilityInitiative.

Tell me when the problem still exists after turning off magic quotes.
And let me know if you have problems to install the new editor, I can help.

xtremecoders 07-27-2010 05:46 PM

Ok magic quotes Disabled.

I'm running on shared hosting and The php_flag and php_value inside a .htaccess file are technically correct - but for PHP installed as an Apache module only. On a shared host you'll almost never find such a setup; PHP is run as a CGI instead, for reasons related to security (keeping your server neighbours out of your files) and the way phpsuexec runs scripts as 'you' instead of the apache user.

Apache is thus correct giving you a server error: it doesn't know about the meaning of php_flag unless the PHP module is loaded. A CGI binary is to Apache an external program instead, and you can't configure it from within Apache.

Now for the good news: you can set up per-directory configuration putting there a file named 'php.ini' and setting there your instructions using the same syntax as in the system's main php.ini.

Now it's time to setup UsabilityInitiative.

I will inform you.

Thanks.. :up:

bepe 07-27-2010 05:57 PM

GOOD, so magic quotes solved the problem *happy*
BTW, that error is in the manual "3.1 Prepare the Server" ;)

xtremecoders 07-27-2010 06:29 PM

All are READY NOW and is UP and Running.

http://img180.imageshack.us/img180/1127/wiki.png

http://www.xtremecoders.org/forums

Fantastic Work my friend. :D:up:

Soon will get my donation.

BTW. if i install PrefStats i get SQL query errors. Can't find value

Is some useful option to have it or not ?

bepe 07-27-2010 06:45 PM

I don't think you need PrefStats and most of the other stuff
Most of them are just statistics stuff that was used by UsabilityInitiative to collect data, like what menus the users are using the most.

For the editor just add the beginning to your LocalSettings.php and forget about the rest of it...
Like this:
Code:

# Some lines to add to LocalSettings.php to get these extensions up and running:

# Vector enhancements (CollapsibleTabs, SimpleSearch, EditWarning)
require_once( "$IP/extensions/UsabilityInitiative/Vector/Vector.php" );

# Vector enhancements config
# global: Enabled for everyone, users can't disable in preferences (FIXME this behavior should change)
# user: Disabled by default, users can enable in preferences
# Shown values are defaults
$wgVectorModules = array(
        'collapsibletabs' => array( 'global' => true, 'user' => false ), // Doesn't have a user pref
        'editwarning' => array( 'global' => false, 'user' => true ),
        'simplesearch' => array( 'global' => true, 'user' => false ), // Doesn't have a user pref
);
# To really enable SimpleSearch (FIXME)
$wgVectorUseSimpleSearch = true;

# WikiEditor (Toolbar, Toc, Preview, Highlight)
require_once( "$IP/extensions/UsabilityInitiative/WikiEditor/WikiEditor.php" );

# WikiEditor config
$wgWikiEditorModules = array(
        'highlight' => array( 'global' => false, 'user' => true ),
        'preview' => array( 'global' => false, 'user' => true ),
        'toc' => array( 'global' => false, 'user' => true ),
        'toolbar' => array( 'global' => false, 'user' => true ),
);


xtremecoders 07-27-2010 07:21 PM

I don't know why but your settings create DB error on my wiki.

This script run smooth for me.

Code:

# Vector enhancements config
# global: Enabled for everyone, users can't disable in preferences (FIXME this behavior should change)
# user: Disabled by default, users can enable in preferences
# Shown values are defaults
$wgVectorModules = array(
        'collapsibletabs' => array( 'global' => true, 'user' => false ), // Doesn't have a user pref
        'editwarning' => array( 'global' => false, 'user' => true ),
        'simplesearch' => array( 'global' => true, 'user' => false ), // Doesn't have a user pref
);
# To really enable SimpleSearch (FIXME)
$wgVectorUseSimpleSearch = true;

require_once("$IP/extensions/UsabilityInitiative/WikiEditor/WikiEditor.php");
$wgWikiEditorModules['toolbar']['global'] = true; // Enable the WikiEditor toolbar for everyone
$wgWikiEditorModules['toolbar']['user'] = false;// Don't allow users to turn the WikiEditor toolbar on/off individually
$wgWikiEditorModules['toc']['global'] = true; // Enable the TOC for everyone
$wgWikiEditorModules['toc']['user'] = false; // Don't allow users to turn the TOC on/off individually
// Default value:
/*
$wgWikiEditorModules = array(
        'highlight' => array( 'global' => false, 'user' => true ),
        'preview' => array( 'global' => false, 'user' => true ),
        'publish' => array( 'global' => false, 'user' => true ),
        'toc' => array( 'global' => false, 'user' => true ),
        'toolbar' => array( 'global' => false, 'user' => true ),
        'templateEditor' => array( 'global' => false, 'user' => true ),
);
*/
// Set the user preferences to default to use the new features:
/*
$wgDefaultUserOptions['wikieditor-highlight'] = 1;
$wgDefaultUserOptions['wikieditor-preview'] = 1;
$wgDefaultUserOptions['wikieditor-publish'] = 1;
$wgDefaultUserOptions['usenavigabletoc'] = 1;
$wgDefaultUserOptions['wikieditor-template-editor'] = 1;
$wgDefaultUserOptions['usebetatoolbar'] = 1;
$wgDefaultUserOptions['usebetatoolbar-cgd'] = 1;
*/


bepe 07-27-2010 07:32 PM

hm.. strange... I took mine from the README in the wiki/extensions/UsabilityInitiative folder

crazyace 07-27-2010 07:42 PM

I don't have any of the tabs at the top. Example: Create, Move, ect.

bepe 07-27-2010 07:46 PM

hm... never had that problem...
could you send me a link to the forum via PM?

(or if not possible, send me at least a screenshot)

Edit: You need to login to be able to edit the wiki, anonymus edits are disabled... I think that is the problem

Cadellin 07-27-2010 09:39 PM

This has got to be one of the best mods I've see for vB. Easy to follow instructions and seamless installation. So Thank You bepe!

Just one small suggestion for the manual - it doesn't say you have to install MediaWiki first (obvious I know but someone will ask) ;)

/Installed /Nominated

I have two queries when you have time (low-priority):
  1. How can I stop users changing skin? (I think I need to use $wgSkipSkins but I'm not certain)
  2. Can you add a "Wiki Visible" permission in a future version so it is possible to hide the navbar link and Wiki entirely from some users but not others? I've got a custom vB style and I'd like to be able to work on intergrating and populating the wiki without everyone seeing the work-in-progress.


All times are GMT. The time now is 04: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,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_code_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