Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vbMediaWiki Vector Details »»
vbMediaWiki Vector
Version: 1.06 RC, by bepe bepe is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 4.0.x Rating:
Released: 07-24-2010 Last Update: 08-18-2010 Installs: 169
DB Changes Uses Plugins Template Edits Auto-Templates
Additional Files Is in Beta Stage  
No support by the author.

vbMediaWiki Vector

Manual (don't forget to RTFM!)

Interested in doing a translation? PM me

Screenshot Look here!

Changelog Online Version, click here!

vbMediaWiki IRC Channel
I might be online... just try or use the forum
irc://irc.freenode.net/vbmediawiki
http://webchat.freenode.net?channels=vbmediawiki
Donations
Every donation is welcome and appreciated. This product is for free and it will stay free despite the fact‎ that commercial products with much less capabilities cost a lot of money. So before you spend that money on other products, try this one and feel free to send that money to me
http://www.duplexgaragen24.de

Download Now

File Type: zip vbMediaWiki_Vector_1.06_RC_(fixed).zip (805.7 KB, 1242 views)
File Type: zip vbMediaWiki_Vector_1.06_RC_fix_only.zip (11.7 KB, 143 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
daviet

Comments
  #172  
Old 08-20-2010, 07:38 AM
bepe bepe is offline
 
Join Date: Nov 2009
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Daryn View Post
I have a question about the User Registration Regex. I have a few users who have non english characters in their usernames. If I change this setting to allow only alphanumeric characters does this mean that they will be forced to change their userid or otherwise not be able to login? Or will it simply only allow users going forward to only use those specific characters?
Yes, it would only affect new user registrations. Worst case would be that two users get the same Wiki account.
e.g:
VB username 1: "test_test"
VB username 2: "test test"
Both would use the "Test test" wiki user account, because all '_' will be converted to ' '.

For tests I created an user "_test : ? ^ & ( ) *" in VB, even there the user was able to use the wiki with this username: "Test : ? ^ & ( ) *" and the userpage was: "User:Test_:_%3F_^_%26_(_)_*"
As you see the first char should not be an '_' or an ' ' else it just gets removed, the other chars did not really make a problem.

I need to do some more tests to see what chars we really need to disallow.
Reply With Quote
  #173  
Old 08-20-2010, 10:09 AM
Daryn Daryn is offline
 
Join Date: Nov 2008
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bepe View Post
Yes, it would only affect new user registrations. Worst case would be that two users get the same Wiki account.
e.g:
VB username 1: "test_test"
VB username 2: "test test"
Both would use the "Test test" wiki user account, because all '_' will be converted to ' '.

For tests I created an user "_test : ? ^ & ( ) *" in VB, even there the user was able to use the wiki with this username: "Test : ? ^ & ( ) *" and the userpage was: "User:Test_:_%3F_^_%26_(_)_*"
As you see the first char should not be an '_' or an ' ' else it just gets removed, the other chars did not really make a problem.

I need to do some more tests to see what chars we really need to disallow.
Thank you for the info. I did a bit of digging as well and found out that the characters forbidden in a username are the same as those that are forbidden in a page title. There is an article that talks about that here.

http://en.wikipedia.org/wiki/Wikiped...den_characters

I hope that helps a little bit. Based on that I think you should be able to get a regex that should work for just about everyone.
Reply With Quote
  #174  
Old 08-20-2010, 10:59 AM
bferrell bferrell is offline
 
Join Date: Nov 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

With this new mod, are the users in the MediaWiki table ignored? My users are getting login errors on the old product, and I was looking for a way to delete them out of the MW user tables, but if this mod solves that, I'll uninstall the old mod and install this one. Thanks for any advice.

Brett
Reply With Quote
  #175  
Old 08-20-2010, 12:13 PM
bepe bepe is offline
 
Join Date: Nov 2009
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Daryn View Post
Thank you for the info. I did a bit of digging as well and found out that the characters forbidden in a username are the same as those that are forbidden in a page title. There is an article that talks about that here.

http://en.wikipedia.org/wiki/Wikiped...den_characters

I hope that helps a little bit. Based on that I think you should be able to get a regex that should work for just about everyone.
Yes, I've read that page, but not all the page title restrictions are needed for the user.
I've come up with this now:
PHP Code:
/^[^#:~\/[\]]{1}[^_#:~\/[\]]*$/ 
[^_ #:~\/[\]]{1} -> for avoiding space as first char
_ -> would be converted to a space in the username
# -> Wiki does not allow it
: -> someone might use a username like 'Talk:ToMe' ... that would be a Wiki Namespace
~ -> Wiki does not allow this sequence: '~~~'
/ -> Name is used in the URL, so we cannot have users with something like "../" or "./" or "/../" in the name... so disallow the '/' or the '.'
[] -> Wiki does not allow it
Reply With Quote
  #176  
Old 08-20-2010, 12:20 PM
bepe bepe is offline
 
Join Date: Nov 2009
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bferrell View Post
With this new mod, are the users in the MediaWiki table ignored? My users are getting login errors on the old product, and I was looking for a way to delete them out of the MW user tables, but if this mod solves that, I'll uninstall the old mod and install this one. Thanks for any advice.

Brett
I did some changes to the login stuff... but even with the old version there should not have been problems if an user name exists in the Wiki User DB already... this mod will just use the existing Wiki user if the VB user exists in the wiki DB already

Can you tell me exactly what username is making the problems? (vb and the one that is in the wiki)

I need to recreate the problem or you send me a link to your forum with one of this accounts that is have problems... I need to look into that
Reply With Quote
  #177  
Old 08-20-2010, 04:15 PM
sapphiremagus sapphiremagus is offline
 
Join Date: Sep 2007
Posts: 27
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everything seems to working more or less ok.

Couple of things:
1) The nav bar shows a blank tab, instead of Wiki or whatever I've defined as mediawiki_name in Phrases.

2) It seems to have some issues with my website when displaying integrated, such as Chat box EVO loading for enternity.

My site is www.houseofkarrdes.com - Wiki is visible to guests.

EDIT: Also, the sub-nav bar shows: {wiki:raw personal_urls}, which I'm assuming is where things like the user's wiki preferences are supposed to be.
Reply With Quote
  #178  
Old 08-20-2010, 04:53 PM
bferrell bferrell is offline
 
Join Date: Nov 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I should've looked, I've started from scratch with 1.16 since I'd deleted some users out of the previous versions user table before I realized how bad that was. I've installed the new version on top of 1.16 and I don't see Wiki in the tab either.

http://www.velocityxl.com/wiki
Reply With Quote
  #179  
Old 08-20-2010, 04:53 PM
bferrell bferrell is offline
 
Join Date: Nov 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh, and the subtab text is black on only contains "{wiki:raw personal_urls} "
Reply With Quote
  #180  
Old 08-20-2010, 05:51 PM
bferrell bferrell is offline
 
Join Date: Nov 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, for some reason although I am a vb Administrator, and I have the sysop and beaurocrat setting for admins set to use, I don't get the edit option.
Attached Images
File Type: jpg noedit.jpg (66.1 KB, 0 views)
Reply With Quote
  #181  
Old 08-20-2010, 07:27 PM
bepe bepe is offline
 
Join Date: Nov 2009
Posts: 176
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sapphiremagus View Post
Everything seems to working more or less ok.

Couple of things:
1) The nav bar shows a blank tab, instead of Wiki or whatever I've defined as mediawiki_name in Phrases.

2) It seems to have some issues with my website when displaying integrated, such as Chat box EVO loading for enternity.

My site is www.houseofkarrdes.com - Wiki is visible to guests.

EDIT: Also, the sub-nav bar shows: {wiki:raw personal_urls}, which I'm assuming is where things like the user's wiki preferences are supposed to be.
The old templates did not get overwritten...
- Did you uninstall the old version before installing the new one?
- Did you edid some of the vbMediaWiki templates before installing?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:08 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05717 seconds
  • Memory Usage 2,364KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (1)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete