Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

Reply
 
Thread Tools
modXvBin - modX CMS and vBulletin integration script Details »»
modXvBin - modX CMS and vBulletin integration script
Version: 1.00, by resurepus resurepus is offline
Developer Last Online: Apr 2014 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 3.7.0 Rating:
Released: 06-10-2008 Last Update: 09-09-2008 Installs: 15
Uses Plugins Template Edits Auto-Templates
 
No support by the author.

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

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 04-20-2009, 11:49 AM
coffee_bean coffee_bean is offline
 
Join Date: Apr 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks awesome. Any chance that vB 3.8 will be supported?

Also, what happens if a user checks "remember me" in vbulletin. Will they be automatically logged into both for that?

I will likely use this in the near future.
Reply With Quote
  #13  
Old 05-14-2009, 11:11 PM
coffee_bean coffee_bean is offline
 
Join Date: Apr 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK. I've installed it, but logging in doesn't appear to work. If I log in on the forums, I am not logged into the web user on MODx. Any ideas? There are no errors or information displayed.
Reply With Quote
  #14  
Old 02-05-2010, 03:52 PM
Peter Ostry's Avatar
Peter Ostry Peter Ostry is offline
 
Join Date: Jul 2008
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does it make sense to install this modx integration in vBulletin 4?
We've set up a new site and if it does not work we are forced to go back to vBulletin 3.7 ...
Reply With Quote
  #15  
Old 02-05-2010, 04:22 PM
resurepus resurepus is offline
 
Join Date: Dec 2004
Location: Toulouse, France
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Peter Ostry View Post
Does it make sense to install this modx integration in vBulletin 4?
We've set up a new site and if it does not work we are forced to go back to vBulletin 3.7 ...
I don't think it works in vB4, but if you like we could do the necessary adjustments to the script to make it compatible with vB4.
Reply With Quote
  #16  
Old 02-05-2010, 05:25 PM
Peter Ostry's Avatar
Peter Ostry Peter Ostry is offline
 
Join Date: Jul 2008
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by resurepus View Post
I don't think it works in vB4, but if you like we could do the necessary adjustments to the script to make it compatible with vB4.
Yes, this would be great. Please.
Do you do this with an offical release or on project basis or how do you/we handle it?
Reply With Quote
  #17  
Old 03-08-2010, 06:07 AM
momon momon is offline
 
Join Date: Feb 2010
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is something I would be very much interested in as well. Integration of the latest modx version (evolution 1.0.2) and the latest vbulletin version.
Reply With Quote
  #18  
Old 04-16-2010, 07:16 PM
resurepus resurepus is offline
 
Join Date: Dec 2004
Location: Toulouse, France
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the integration of latest versions of MODx and vBulletin is possible, but unfortunately we cannot provide it as a freeware product.
Reply With Quote
Reply

Thread Tools

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 04:45 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.05681 seconds
  • Memory Usage 2,272KB
  • Queries Executed 22 (?)
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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (7)postbit
  • (8)postbit_onlinestatus
  • (8)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
  • 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