Thread: Integration with vBulletin - vbMediaWiki Vector
View Single Post
  #415  
Old 09-19-2012, 02:15 AM
ndahiya ndahiya is offline
 
Join Date: Aug 2004
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by lawiki View Post
I have fixed above issues, but still have some problems.

1) Mainly I can not edit the wiki, as any user.
I have made sure the :can login: option is selected for the right user-groups, and have edited my localsettings.php to make sure nothing is blocking this,

2) in the wiki VBMEDIAWIKI location, when I click on ADMIN TOOLS, I get :** Access denied! ***:

3) Same area I try to go to DIAGNOSTICS and I get

1 of 7: Checking MediaWiki Installation

Fatal error: Class 'SiteConfiguration' not found in /home/lawiki/public_html/includes/DefaultSettings.php on line 32
I am now on vb 4.2 patch 2 and mediawiki 1.19.2

1. the edit permission issue: it appears to be a problem (in vb 4.2 only or other versions also?) due to token issues. For some reason, the token is not being created for "new" wiki users.

one fix that has worked for me is to run: php resetUserTokens.php in wiki/maintenance/
I have create a updated version resetUserTokensNull.php that only sets the tokens for users who do not have one. And i set it up as a cron job every hour... This is the best solution i can find so far.

2. and 3. the diagnostics /admin tools appears to be broken for good.


There seems to be another issue with the way caching is being done in SpankMe's version. Memcached cache performance has falled from close to 100% to ~75% (that is a HUGE difference). Not sure why.

Lastly: for not-logged-in users, instead of login at the top right of the wiki (using the Vector skin), see this
Code:
    <0>    Back to the Forum
where the &lt... links to the logout link...



SpankMe? : Please create this mod as a new thread as it has undergone so many changes.

ndahiya
Attached Files
File Type: php resetUserTokensNull.php (2.3 KB, 10 views)
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01193 seconds
  • Memory Usage 1,787KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_attachment
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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
  • showpost_complete