Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #61  
Old 11-23-2005, 05:29 AM
Dsyn11 Dsyn11 is offline
 
Join Date: Nov 2005
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is anyone else developing Wiki software for vB? I'm under time constraints to get this up.
Reply With Quote
  #62  
Old 11-23-2005, 12:55 PM
MarsNIIT MarsNIIT is offline
 
Join Date: Aug 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LunaTech
I'm sharing Deafwasp's problem with weeno's version.

Line 11 of my LocalSettings has

require_once("AuthPlugin_vBulletin.php");
$wgAuth = new AuthPlugin_vBulletin ( "localhost", "admin", "xxxxxxxxx", "db");

When it tries to access a user the following error pops up: Warning mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/site/html/wiki/AuthPlugin_vBulletin.php on line 47

I tested and it is logging into the db right, but there must be something when it selects the data that messes it up. Any ideas?

Is there a way to make the AuthPlugin_vBulletin.php output text? If I can have it output variables onto the screen, I could try to debug the issue.

I'm error too, , i use prefix table name .
Reply With Quote
  #63  
Old 11-23-2005, 08:42 PM
ndahiya ndahiya is offline
 
Join Date: Aug 2004
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Kai Backman

Add this snippet to you LocalSettings.php. Insert your vBulletin DB information:
Code:
require_once("AuthPlugin_vBulletin.php");

$wgAuth = new AuthPlugin_vBulletin(<hostname>, <vb_username>, <vb_password>, <vb_dbName);
And then AuthPlugin_vBulletin.php itself:
.......

This works perfectly fine, but for one problem.... Inserting the code in LocalSettings.php creates a "session" to mysql every time someone accesses *any* page in the wiki... (you can see this by putting in the wrong password). On my server, this caused too many sessions being created in mysql, and resulted in the intermittent access problems (as the db was unavailable)!!


The way around this is to insert this code at the begining of

wiki/includes/User.php and
wiki/includes/SpecialUserlogin.php (not sure if we need to insert the code in this file, but just to be sure... )

This takes care of the excess pinging problem, as the vb database is accessed only when a user tries to login.
Reply With Quote
  #64  
Old 11-23-2005, 09:04 PM
LunaTech LunaTech is offline
 
Join Date: Aug 2004
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarsNIIT
I'm error too, , i use prefix table name .
You got it!

I just changed all "FROM user" to (for my prefix) "FROM vb3_user" in AuthPlugin_vBulletin.php

I'll look into the changes suggested by ndahiya now.

Update: Tested, putting the code in wiki/includes/User.php is all that is needed. Putting it in SpecialUserlogin.php seemed to mess things up. My guess is because it is a class file.

Now I'm looking how to remove certain text and better customize wiki.
Reply With Quote
  #65  
Old 11-24-2005, 01:20 AM
MarsNIIT MarsNIIT is offline
 
Join Date: Aug 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It works fine now, thanks

http://www.wiki.niitvn.info/index.php/Main_Page

Error with MediaWiki VBulletin stats extension, please help me

Warning: end(): Passed variable is not an array or object in /home/wikiniit/public_html/includes/Parser.php on line 489
Reply With Quote
  #66  
Old 12-10-2005, 03:20 PM
STGU_daNo STGU_daNo is offline
 
Join Date: Jul 2004
Location: Winnipeg, MB, Canada
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way those who made this script could create a new post either here on vb.org or over on meta for mediawiki outlining step-by-step what one has to do to integrate vb and mediawiki?
Reply With Quote
  #67  
Old 12-18-2005, 03:17 AM
FeralTitan FeralTitan is offline
 
Join Date: Apr 2005
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by STGU_daNo
Is there any way those who made this script could create a new post either here on vb.org or over on meta for mediawiki outlining step-by-step what one has to do to integrate vb and mediawiki?
Can you code gurus do a release please... I would love to have this integration. also a step by step guide to install would be great. Thanks for all the stuff done so far.
Cheers
Reply With Quote
  #68  
Old 12-18-2005, 03:21 AM
InsanityPwns InsanityPwns is offline
 
Join Date: Jul 2005
Location: Porterville, CA
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by FeralTitan
Can you code gurus do a release please... I would love to have this integration. also a step by step guide to install would be great. Thanks for all the stuff done so far.
Cheers
I would agree. I have been watching this for a while now and I'm not too comfortable with all the little code changes here and there from the different posts. I'm afraid I might mess something up. I can't wait for a release of this though.
Reply With Quote
  #69  
Old 12-18-2005, 11:26 PM
Darax The Good Darax The Good is offline
 
Join Date: Jan 2003
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well I just got my template addon upgraded to 3.5. Is there a 'main thread' for this? I only have about 8 hours a week to dedicate to this, but I'd love to help out.
Reply With Quote
  #70  
Old 12-23-2005, 08:23 AM
GrendelKhan{TSU's Avatar
GrendelKhan{TSU GrendelKhan{TSU is offline
 
Join Date: Jun 2005
Location: Boston | Seoul, S. Korea
Posts: 1,311
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

so is this...like.... still happening? I can't wait for this
Reply With Quote
Reply

Thread Tools
Display Modes

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 08:08 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.05036 seconds
  • Memory Usage 2,273KB
  • Queries Executed 14 (?)
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)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete