Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Vbulletin Application Connector Details »»
Vbulletin Application Connector
Version: 0.0.2, by leonsio leonsio is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: 3.5.3 Rating:
Released: 12-15-2005 Last Update: 03-09-2006 Installs: 75
DB Changes Uses Plugins
Additional Files  
No support by the author.

Version 0.2
Bugfix: now it is posible to define active/inactive connectors
ADD: Changing userdata ( email and username )

Version 0.1
init Release

that this hack do?

with this hack you can connect other applications with vbulletin
this hack provide a simple api to create own module, to connect different application with vbulletin, and create common login with it

this addon is the same like com_connector for joomla

example:

you have an CMS or own created application and you want to have common login with vbulletin
so you must creat a class ( = module ) which knows some methods like login/logout
this methods will be called by the connector if the user login into VB
if you want the connector will try to add the user to your application or vbulletin, if the user dont exists
the connect to your application can be created by soap/xmlrpc calls, database connnects, ldap or something else, its your choose

for a little demo i have included a joomla module, which connects to joomla using SOAP calls to get common login with vbulletin ( needs JMSOAP addon for joomla )

demo is on my side: www.c4u.to

if you log in into joomla, you will be automaticaly logged in vbulletin, by com_connector hack for joomla ( which is using VB_SOAP on vbulletin side )
if you login into vbulletin, you will be automaticaly logged in into joomla, by this hack ( using JMSOAP addon on joomla side )

in the next version i will include functions to update/delete users


installation
1. unzip the package, move all files von vb_connector folder to your forumroot
2. install product xml file

the you have new menu in admincp to create connectors
it is posible to use one module more then once

howto create own modules: http://forum.joomla.org/index.php/to...html#msg131894

you can use this tutorial for joomla, difference with joomla is, that you will get all parameters as array, not as object, look at the joomla.class.php file in the package

Show Your Support

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

Comments
  #22  
Old 01-19-2006, 11:01 AM
joomlamoves joomlamoves is offline
 
Join Date: Nov 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi leonsio

another forum, another thread!!! if i can get this working (and add some CB and LDAP hacks) i wouldn't mind slapping all of this in one place (like joomla forge?).

anyways, the logout of the connector is a little buggy, i get:

Warning: Invalid argument supplied for foreach() in /includes/connector/joomla.class.php on line 107

also, I had to manually set "published" in vb_connector table to 1....

it doesn't log me out either. it DOES log me into joomla if i login to vbulletin.

i will test more on the user updates on each side, as well as useradd.
i need all of this working before i attempt to integrate ldap / cb hacks..

thanks for all your help so far, greatly appreciated....!
Reply With Quote
  #23  
Old 01-19-2006, 11:06 AM
leonsio leonsio is offline
 
Join Date: Jun 2002
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

userdata changes from vbulletin side are not supported by this version

the update will be released this/next week
Reply With Quote
  #24  
Old 01-20-2006, 01:35 PM
leonsio leonsio is offline
 
Join Date: Jun 2002
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*update*

version 0.2 is online

now it is posible do make connectors enabled/disabled

options to change username/email added

password will be added later, by update of the plugin

joomla (soap) module updated
now it is posible to change username/email and it will be changed in joomla too
Reply With Quote
  #25  
Old 01-20-2006, 04:25 PM
joomlamoves joomlamoves is offline
 
Join Date: Nov 2005
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by leonsio
*update*

version 0.2 is online

now it is posible do make connectors enabled/disabled

options to change username/email added

password will be added later, by update of the plugin

joomla (soap) module updated
now it is posible to change username/email and it will be changed in joomla too
I have installed both updates and tested. works great!!! thanks again.
Reply With Quote
  #26  
Old 01-27-2006, 02:08 PM
Masiello's Avatar
Masiello Masiello is offline
 
Join Date: Jul 2005
Location: Italy
Posts: 426
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

EDIT: when the next release module for php4?

Question, not about XOOPS Integration?
Reply With Quote
  #27  
Old 01-29-2006, 10:47 AM
leonsio leonsio is offline
 
Join Date: Jun 2002
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

next release is ~Monday, the actual php4 module is a little bit buggy
it works only if VB and joomla are in the same DB
Reply With Quote
  #28  
Old 01-30-2006, 11:05 AM
leonsio leonsio is offline
 
Join Date: Jun 2002
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

joomla_sql module updated

if you have problems with this module, try to enable ( or disable ) the persistente connection ( mysql ) in your config.php

this should fix the problem, if joomla and vbulletin are in different databases
Reply With Quote
  #29  
Old 01-31-2006, 04:23 AM
Langly Langly is offline
 
Join Date: Dec 2005
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I try to import product-connector.xml from the vbulletin Import Product menu. It gives errors when I try to use Connector Administration and save something.

Code:
Parse error: parse error, unexpected '{' in /usr/home/domains/www/htdocs/forums/includes/connector/joomla.class.php on line 24
BTW, for the URL under that same menu do I use the URL to direct to my mainpage of my site, my forums, my registration or what?

Another thing, when I try to logout my forums it brings me to a page with this error:

Code:
Parse error: parse error, unexpected '{' in /usr/home/domains/www/htdocs/forums/includes/connector/joomla.class.php on line 24
Reply With Quote
  #30  
Old 01-31-2006, 05:34 AM
leonsio leonsio is offline
 
Join Date: Jun 2002
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you dont have php5 installed, you should use joomla_sql module not joomla module

the URL ist the url to joomla ( siteURL in the joomla configuration )
Reply With Quote
  #31  
Old 01-31-2006, 06:03 AM
Langly Langly is offline
 
Join Date: Dec 2005
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I've edited the joomla_sql file and uploaded it to my forum root directory. What do I do next for it to show up and work?

BTW, when you said to remove the users from the Joomla user table, were we also supposed to remove the users from vbulletin user table as well? My Joomla now has 1 user while my vbulletin has 86 users. I deleted them from the vbulletin user table but they are still there.
Reply With Quote
Reply


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 07:00 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.04709 seconds
  • Memory Usage 2,308KB
  • Queries Executed 25 (?)
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_code
  • (1)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
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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