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)

yuerzx 08-08-2010 08:48 AM

Bepe I meet a trouble with your addon, I got the following error. May I know how to fix it? Thanks so much.

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
from within function "UserDailyContribsHooks::storeNewContrib". Database returned error "1146: Table 'yuerhost_Lovewiki.mwk_user_daily_contribs' doesn't exist (localhost)".

Web address: mylovewiki.com

Gnoll 08-08-2010 09:38 AM

OMG ! You are this is amazing ! I cant ... oh !

bepe 08-08-2010 07:00 PM

Quote:

Originally Posted by Gnoll (Post 2078162)
bepe is it possible to use wiki only with Default theme ?

well i'm using some custom themes ( gaming site ), but all s... at when opened wiki, so is there any chance users only see wiki under Default theme ?
(thx for updates)

The integrated wiki should contain 3 skins by default:
vbmediawikiforum - integrated into the forum theme
vbmediawikivector - wiki page in the content area
vector - default wiki skin

you can change the default by adding this line with the name of the default skin to the end of your LocalSettings.php (after the two line you added for vbMediaWiki!):
PHP Code:

$wgDefaultSkin   'vbmediawikiforum'

// remove other skins
You can remove skins using this (also to the end of LocalSettings.php):
PHP Code:

$wgSkipSkins[] = "vbmediawikivector";
$wgSkipSkins[] = "vector"

this would remove the vbmediawikivector and the vector skin

bepe 08-08-2010 07:05 PM

Quote:

Originally Posted by fortforum (Post 2078473)
I can?t get vb search to work very well, as for wiki artikles doesn?t get inkluded . Going for known words in wiki turns up with nothing. Can search be refined in any way?

go to Admin panel->Maintenance->Update Counters->Rebuild Search Index
there select "Wiki Articles" and press "Rebuild Search Index"

please tell me in case that it's not working for you

bepe 08-08-2010 07:13 PM

Quote:

Originally Posted by Cadellin (Post 2079791)
I hesitate to ask as you've done just a brilliant job how could I get the wiki to return the default permissions error message "Username: you do not have permission to access this page. This could be due to one of several reasons:.." when the wiki visible permission is set to no?

Basically how can I get the vBulletin to handle the permissions missmatch rather than mediawiki for the wiki visible permission?

Thanks

yes, would be nicer to get the vBulletin page... need to think about it and need to do some tests

Edit: ok, done
wiki visible -> disabling this will just hide the wiki inside the forum (no navbar link, no stats and so)
Can read -> this will result in the vBulletin permissions page if the user try to access the wiki

bepe 08-08-2010 07:37 PM

Quote:

Originally Posted by ConfusedCartman (Post 2080382)
Just a note: I spent the last few hours fighting to find a good regex to use for user registration, and came up with this:

Code:

^((?!admin|moderator)[A-Za-z0-9 ._-])+$
Since vBulletin does not allow Illegal User Names and Regular Expressions to be used together, you can add multiple phrases in the first portion (separated with a "|" character) that you do not want users to be able to use anywhere in their username (or as their username). The second portion checks for all characters valid in a wiki. Slashes and other characters are excluded because they cause problems, but periods, underscores, dashes, and spaces are all allowed along with alphanumeric characters. I've already tested it live and it works just fine - it's a very elegant solution. I find it preferable to the suggestion in the included pdf, since it allows for more breadth to the usernames and still allows us to customize phrases we don't want allowed as well.

you could allow more chars
see http://meta.wikimedia.org/wiki/Page_name for details
and there is a problem:
Quote:

The first character of a page name cannot be a colon (:), space ( ), or underscore (_).

bepe 08-08-2010 07:41 PM

Quote:

Originally Posted by oddball118 (Post 2080531)
I'm getting this error:

[04-Aug-2010 18:30:21] PHP Parse error: syntax error, unexpected '<' in /home/ACCOUNT/public_html/mydomain.com/forum/global.php(29) : eval()'d code on line 557


My forum is setup as follows:

http://www.mydomain.com

http://www.forum.mydomain.com

http://www.forum.mydomain.com/wiki


Is the problem the subdomain or is it because the wiki directory is located inside the forum directory?


Thanks for your hard work with this mod. :D

no, should not be a problem... could you send be the link to your forum via PM?

bepe 08-08-2010 07:43 PM

Quote:

Originally Posted by Rolli (Post 2080658)
When is to be calculated about on the final version, in so far as there will be generally one? Should one uninstall with a new beta the old version?

I've just added the new skin, when this is working right I'll go RC and then after some time final... but depends on how much results I get, so cannot tell a date or so

bepe 08-08-2010 07:50 PM

Quote:

Originally Posted by yuerzx (Post 2080770)
Bepe I meet a trouble with your addon, I got the following error. May I know how to fix it? Thanks so much.

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
(SQL query hidden)
from within function "UserDailyContribsHooks::storeNewContrib". Database returned error "1146: Table 'yuerhost_Lovewiki.mwk_user_daily_contribs' doesn't exist (localhost)".

Web address: mylovewiki.com

ok, thats strange... check your PMs

Joelimo 08-09-2010 09:38 AM

Thx bepe,

the new Skin looks really great! :)


All times are GMT. The time now is 09:07 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.01500 seconds
  • Memory Usage 1,756KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (8)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