vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Integration with vBulletin - vbWiki Standard - vBulletin+MediaWiki integration (https://vborg.vbsupport.ru/showthread.php?t=136242)

Rehven 04-15-2007 06:29 PM

Quote:

Originally Posted by ElfMage (Post 1199462)
User group mapping in the Standard version is done through vbWiki_Init.php.

For instance, add and customize the following to the 'custom settings' section in vbWiki_Init.php:

PHP Code:

$g_vbWiki_Usergroup_Mapping            = array (
            
/*Administrators*/    => "sysop,bureaucrat",
            
/*Registered Users */    => "editors"
    
); 

Thanks.

First, great product ElfMage =)

Using Standard version, I've got my vB group mappings going fine. But how do I restrict wiki access to only certain vB groups? During testing and data-population I want only certain groups to have wiki access.

Do I make a group in LocalSettings.php and restrict access there? How will that prevent people seeing the Main Page? Is there actually a way to restrict access to the main page?

Lots of questions =)

Thanks =)


EDIT: OK I've changed my wiki LocalSettings.php to deny everyone except Sysops and Bureaucrats, but ordinary users can still go to the Main Page (they just get a Permission Error page). I'd like to have non-Sysops/Bureaucrats not even load up the wiki Main Page, possibly redirect to a specific error page. Can this be done with vbWiki?

ElfMage 04-17-2007 09:06 PM

Quote:

Originally Posted by Rehven (Post 1228496)
First, great product ElfMage =)

Thanks, appreciate the feedback.

Quote:

Originally Posted by Rehven (Post 1228496)
Using Standard version, I've got my vB group mappings going fine. But how do I restrict wiki access to only certain vB groups? During testing and data-population I want only certain groups to have wiki access.

EDIT: Removed Mapping instructions, just realized you had already posted this..:rolleyes:

Once you have the mapping taken care of, then you need to set up per group security, which you did already in the changes to LocalSettings.php that you mention.

Quote:

Originally Posted by Rehven (Post 1228496)
Do I make a group in LocalSettings.php and restrict access there? How will that prevent people seeing the Main Page? Is there actually a way to restrict access to the main page?

For instance, if you want to keep all users from viewing any page in your wiki you do use the following:

PHP Code:

$wgGroupPermissions['*'    ]['createaccount']   = true;
$wgGroupPermissions['*'    ]['read']            = false;
$wgGroupPermissions['*'    ]['edit']            = false;
$wgGroupPermissions['*'    ]['createpage']      = false;
$wgGroupPermissions['*'    ]['createtalk']      = false

'*' means unregistered/not-logged in.

But you could easily create custom groups as well.

Quote:

Originally Posted by Rehven (Post 1228496)
EDIT: OK I've changed my wiki LocalSettings.php to deny everyone except Sysops and Bureaucrats, but ordinary users can still go to the Main Page (they just get a Permission Error page). I'd like to have non-Sysops/Bureaucrats not even load up the wiki Main Page, possibly redirect to a specific error page. Can this be done with vbWiki?


To accomplish this you would need to write a bit of code. In vbWiki_Init.php, at the very end of the file, add the following:

PHP Code:


if (!$wgUser->getID())
    
exec_header_redirect("http://url/to/page/where/unregs/should/go"); 

Similarly, you could check for regular vBulletin usergroups:
PHP Code:


if ($vbulletin->userinfo['membergroupid'] != 6)
    
exec_header_redirect("http://url/to/page/where/non-admins/should/go"); 

Not sure if this answer your questions (or if these work.. :rolleyes:). Let me know in either case.

Thanks.

rfikki 05-14-2007 10:11 PM

Is your bridge/integration working with Vbulletin 3.6.6? Can this be used along with Semantic MediaWiki extension for MediaWiki? Will this bridge still work? How will it affect things?
see:
http://ontoworld.org/wiki/Semantic_MediaWiki
http://svn.wikimedia.org/svnroot/med...nticMediaWiki/
http://ontoworld.org/wiki/Help:Installation

CHIPIT195 05-15-2007 03:02 AM

Will the Lite version run with MediaWiki 10.00 and vB 3.6.6?

If so, I will try it out, and I'm considering the pro version...

ElfMage 05-15-2007 03:37 PM

Quote:

Originally Posted by rfikki (Post 1247656)
Is your bridge/integration working with Vbulletin 3.6.6? Can this be used along with Semantic MediaWiki extension for MediaWiki? Will this bridge still work? How will it affect things?
see:
http://ontoworld.org/wiki/Semantic_MediaWiki
http://svn.wikimedia.org/svnroot/med...nticMediaWiki/
http://ontoworld.org/wiki/Help:Installation

We haven't tested this extension. However from briefly looking at its description, it seems that it is more involved in the parsing and searching of wiki articles. If this is the case vbWiki will work fine with it (user logins, etc).

ElfMage 05-15-2007 03:38 PM

Quote:

Originally Posted by CHIPIT195 (Post 1247811)
Will the Lite version run with MediaWiki 10.00 and vB 3.6.6?

If so, I will try it out, and I'm considering the pro version...

Support for MW 1.10.0 was added to vbWiki Pro version 1.3 RC3. We will be releasing the corresponding vbWiki Standard version soon.

rfikki 05-16-2007 04:57 PM

Warning: Cannot modify header information

I get a bunch of these errors when I try to visit the wiki after I place this line(modified to include the proper path):

require_once "/path/to/wiki/vbWiki/vbWikiPro_Init.php";

in the LocalSettings.php file per the instructions for installing the Pro version that I purchased.

Any help appreciated....

Notice: Only variable references should be returned by reference in /home/www/ku/includes/class_hook.php on line 101

Notice: Only variable references should be returned by reference in /home/www/ku/includes/class_hook.php on line 101

Notice: Only variable references should be returned by reference in /home/www/ku/includes/class_hook.php on line 101

Notice: Only variable references should be returned by reference in /home/www/ku/includes/class_hook.php on line 101

Notice: Only variable references should be returned by reference in /home/www/ku/includes/class_hook.php on line 101

Notice: Only variable references should be returned by reference in /home/www/ku/includes/class_hook.php on line 101

Notice: Only variable references should be returned by reference in /home/www/ku/includes/class_hook.php on line 101

Notice: Only variable references should be returned by reference in /home/www/ku/includes/class_hook.php on line 101

Notice: Only variable references should be returned by reference in /home/www/ku/includes/class_hook.php on line 101

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/User.php on line 1943

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/User.php on line 1944

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/User.php on line 1947

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/User.php on line 1920

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/User.php on line 1923

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/User.php on line 1929

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/User.php on line 1920

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/User.php on line 1923

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/User.php on line 1929

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/WebResponse.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/WebResponse.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/WebResponse.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/WebResponse.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/WebResponse.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/WebResponse.php on line 10

Warning: Cannot modify header information - headers already sent by (output started at /home/www/ku/includes/class_hook.php:101) in /home/www/ku/wiki/includes/WebResponse.php on line 10

siriuxs 05-16-2007 08:47 PM

I have an error: http://www.pchs.it/wiki-pchs/

Why?

My forum: www.pchs.it/forums
MyMediaWiki: www.pchs.it/wiki-pchs/
MyvbWiki: www.pchs.it/forums/vbWiki

Please help me :(

ElfMage 05-17-2007 03:13 AM

Quote:

Originally Posted by rfikki (Post 1248893)
Warning: Cannot modify header information

I get a bunch of these errors when I try to visit the wiki after I place this line(modified to include the proper path):

require_once "/path/to/wiki/vbWiki/vbWikiPro_Init.php";

in the LocalSettings.php file per the instructions for installing the Pro version that I purchased.

Hi, did you add the require_once at the end of LocalSettings.php? Could you PM me a link to your site?

Thanks.

(P.S. you can access our support forum over here: vbWiki Pro Installation & Support, or the ticket system at: Premium Support Portal)

ElfMage 05-17-2007 03:14 AM

Quote:

Originally Posted by siriuxs (Post 1249069)
I have an error: http://www.pchs.it/wiki-pchs/

Why?

My forum: www.pchs.it/forums
MyMediaWiki: www.pchs.it/wiki-pchs/
MyvbWiki: www.pchs.it/forums/vbWiki

Please help me :(


Hi I just went to your site and I don't see vbWiki Std or vbWiki Pro installed. What kind of error are you getting?

Thanks.


All times are GMT. The time now is 10:55 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.01370 seconds
  • Memory Usage 1,800KB
  • 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
  • (4)bbcode_php_printable
  • (9)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