The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
modXvBin - modX CMS and vBulletin integration script Details »» | |||||||||||||||||||||||||||
modXvBin - modX CMS and vBulletin integration script
Developer Last Online: Apr 2014
BanzaiTokyo modXvBin 1.0
BanzaiTokyo modXVBin 1.0 is an integration script that synchronizes the users databases of modX and vBulletin. We've chosen vBulletin forum script as the core of the package. It has more developed tools to work with the users and is just a more advanced piece of software. BanzaiTokyo modXvBin requires that the PHP files of both systems (modX and vBulletin) are located on the same server. As for the databases - they can be anywhere since the script looks up the information for the connections in the configuration files. What has already been done: 1. When a user logs in one system he is automatically logged in in the other. 2. When a user is registered in one system he is automatically registered in the other. In fact the registration is done through vBulletin. The data for modX's database is taken from there. 3. When a user edits their password or email in the User Control Panel in vBulletin, the script automatically updates the parameters in modX. 4. The same happens when you change user's parameters from vBulletin Admin Control Panel. 5. vBulletin password reset works for both systems. What has not been done yet: 1. Registration though the means of modX script (through registration form or creation of webuser in admin panel) doesn't add the user in vBulletin's database. 2. The user modifications in modX admin panel are not automatically transferred to the vBulletin database. 3. modX password reset does not reset passwords in vBulletin. 4. User removal from either modX or vBulletin database does not remove him from the other system. 6. The script will not affect the users registered in either of the systems before the installation of the script. If it is needed the users can be created manually in the other system and password reset. Installation These are istrtuctions for istallation of BanzaiTokyo modXVBin script version 1.0. I. in vBulletin 1. Plugins & Products -> Manage Products -> Add/Import Product -> choose product-modixvbin.xml from the installation archive and install. 2. In the beginning we recommend to turn off GZIP HTML output in vBulletin Options -> Cookies and HTTP Header Options -> GZIP HTML Output. After install, test user login and registration. If everything works ok, you can turn it back on. 3. Languages & Phrases -> Phrase Manager -> Phrase Type: GLOBAL find phrase "modxpath" and set it to modX (see below). II. In modX 1. Manager -> Resources -> Manage resources -> Plugins -> New plugin. Plugin name - any name. Take "vBulletin" for instance. Plugin code - insert the contents of modx_vblogin.php Menu tab System Events: check OnWebLogin, OnWebLogout. Save. 2. In index.php anywhere (you can do it right after "<?php" insert the contents of modx_index.php in $VBDIR put the path to vBulletin script (see below) III. Setting the Paths Paths have to be relative and end with "/" Let's take BanzaiTokyo.com for example: modX is installed in the root folder and vBulletin is located in the folder "forum". In this case: 1. In vBulletin: modxpath has to link to modX, e.g. une level higher. What we have to write is simply "../" Of course when you edit the phrase in "English (US) Translation" window you don't use brackets. 2. In modX the forum can be found one level below in the folder "forum". So, we'll just write: $VBDIR = "forum/"; To give you an example of how it is done if both scripts are installed on the same level, just in different directories, for example modX is in yoursite/modx and vBulletin in yoursite/vBulletin 1. In modxpath you put "../modx/" 2. $VBDIR = "../vb/"; The script is officially released and has been tested on http://BanzaiTokyo.com/forum However we do not guarantee that it will not have any bugs errors and will not ruin your whole database and even your server In fact we do not guarantee anything at all. You agree to use this script "as is". Show Your Support
|
Comments |
#2
|
||||
|
||||
Nice, will see if I can use it.
|
#3
|
|||
|
|||
Please, let us know if you experience any problems.
|
#4
|
||||
|
||||
Works great, hope you will implement the 6 points you stated above soon :P
|
#5
|
|||
|
|||
I'm trying to use it on a website with the latest version of modx (0961p2) and latest vBulletin (3.7) and its not working with the given instructions.
Heres what I did: - Created a modx plugin with the given code and set it to run at login/logout - Added vBulletin plugin and enabled it and set modxpath to the right path (../modx-0961p2/) - Put $VBDIR = "../forum/" right after <?php in index.php (thats the only line I added) The error I get on login: Fatal error: Call to a member function on a non-object in /home/immortal/public_html/modx-0961p2/manager/includes/document.parser.class.inc.php(745) : eval()'d code on line 11 Error I get on logout: Fatal error: Call to a member function on a non-object in /home/immortal/public_html/forum/includes/functions_login.php on line 393 And vBulletin is not being automatically logged in. I noticed the install.txt says something about a modx_index.php but I can't find this anywhere. Is there more to add to the index.php in the modx directory? Any help would be greatly appreciated! -Priyesh |
#6
|
|||
|
|||
Thanks for your message, Priyesh! I will have someone from our tech staff look at your problem.
/sergey |
#7
|
|||
|
|||
Quote:
Thanks in advance! I am on a tight deadline to get this website done. |
#8
|
|||
|
|||
it looks like the original archive that I uploaded was missing modx_index.php I am uploading the correct version right now. So for everybody who downloads it from now everything should work fine. I am sorry for any disconvenience it may have caused.
for those of you who tried installing the script from the old archive, in index.php after $VBDIR line you should add these four: Code:
$CURDIR = getcwd(); chdir($VBDIR); require_once($VBDIR . "global.php"); chdir($CURDIR); |
#9
|
|||
|
|||
First of all, great idea. I'd love to get it to work but I'm having a problem with the implementation. I get a blank page in modx when inserting the code into the modx index.php file. The code itself is added right after <?php as suggested. A quick test showed that it's the line that includes global.php which causes the error.
I'm running 'vBulletin® v3.7.3 Patch Level 1' and ModX 0.9.6.2 Any suggestions? I did exactly what was suggested in the installation instructions, and I added the updated version of the index.php code. thx, Levint |
#10
|
|||
|
|||
I got rid of the blank page by reconfiguring Apache and working on the errors. Login still doesn't work, but I'm nearly there.
grtz, Levint |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|