The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#51
|
|||
|
|||
I can't seem to get this to work. I made a user group like you did, and added a user to it. The usergroup number was 11 instead of 17, and I changed those numbers. Still nothing.
require_once( "includes/DefaultSettings.php" ); require_once("AuthPlugin_vBulletin.php"); $wgAuth = new AuthPlugin_vBulletin("localhost", "name", "pass", "db_name"); Is that code right? Then the authplugin_vbulletin.php file is in the main directory with localsettings.php. I can't think of anything else. Do I need to first manually put all of the users in the wiki db? I can't figure this out, and am not much of a coder. Is there anyway to test to see what part of this equation is not working? Thank you all for the help. |
#52
|
|||
|
|||
Quote:
arn |
#53
|
|||
|
|||
Fatal error: Call to a member function on a non-object in /home/user/public_html/manuals/includes/SpecialUserlogin.php on line 314
I figured it OUT! I am the smartest man alive! I googled this Thus, I simply amended line 264 of SpecialUserlogin.php from this: $u =& $this->initUser( $u ); to this: $u = $this->initUser( $u ); P.S. Arn, you have an awesome site there. I wanted to know why the wiki installs like wiki/index.php/Main_Page? Arn, you don't seem to have this problem. How did you get around this one? |
#54
|
|||
|
|||
Quote:
I had to use .htaccess rewrites to fix the /wiki/ subdirectory issue. I also use my own frontpage.php file which is just a php script that is not the wiki script. Main_Page redirects to my frontpage. There is a potential problem with doing these redirects. you have to explicity exclude any subdirectories that you want to be able to access, otherwise it will try to directed everything to your wiki script HTML Code:
RewriteRule ^$ /frontpage.php?%{QUERY_STRING} [L] RewriteRule ^Main_Page$ /?%{QUERY_STRING} [L,R] RewriteCond %{REQUEST_URI} !^/skins/.* RewriteCond %{REQUEST_URI} !^/images/.* RewriteCond %{REQUEST_URI} !^/frontpage\.php RewriteCond %{REQUEST_URI} !^/index.php RewriteRule ^(.*)$ /index.php?title=$1&%{QUERY_STRING} |
#55
|
|||
|
|||
Quote:
Actually, there is another way to fix this error (i was getting them for a long time!!)... on line 314, insert the following: $unique_varname_xyzabc = $u; The problem is actually a PHP problem (likely restricted to PHP 4.3.11)... so only a few lucky ones like sammyman and me get it! it has something to do with php getting confused about the variable scope... |
#56
|
|||
|
|||
any updates on this? I need a vBulletin Wiki like a zombie needs brains.
|
#57
|
|||
|
|||
I'm using Kai Backman's script at the moment on MW 1.5 and there seems to be a problem.
When I try to login at MediaWiki, I get this MYSQL error: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/xassius/public_html/wiki/AuthPlugin_vBulletin.php on line 47 line 47 in Kai's Auth script is: if(mysql_num_rows($vb_find_result) == 1) { Could anyone please help (I've tried weeno's code as well, without luck) |
#58
|
||||
|
||||
I saw a 3.5.1 forums with Wiki integration. :/
are they using this?? anyway.... any word on an official release? |
#59
|
|||
|
|||
is there any way to get the Wiki software integrated into the vB database so my users only need to log into my site? I don't want to make them log into the MediaWiki site...
can I pay someone to do this? |
#60
|
|||
|
|||
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. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|