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

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
  #32  
Old 01-31-2006, 06:13 AM
leonsio leonsio is offline
 
Join Date: Jun 2002
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you must only remove users, if you update from vbridge

if not, skip this

now go to Connector administration and setup the module ( you must choose the "joomla sql" from the module list
Reply With Quote
  #33  
Old 01-31-2006, 06:28 AM
Langly Langly is offline
 
Join Date: Dec 2005
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm still getting this error if I try to login to vbulletin.

Code:
Parse error: parse error, unexpected '{' in /usr/home/domains/www/htdocs/forums/includes/connector/joomla.class.php on line 24
I don't have, nor have the ability to add php v5. Here is my hosts info:
Code:
Web Server:  Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7g PHP/4.3.11
When I try to save in the connector administrator, it says it saves it then it goes to a page with this error on it:

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

you are using the wrong module

you should choose "joomla sql" not joomla in the module list
Reply With Quote
  #35  
Old 01-31-2006, 02:41 PM
Langly Langly is offline
 
Join Date: Dec 2005
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, here is what I did:
1. uploaded vb_connector files to forum directory into their correct directories.
2. uploaded joomla_sql.class.php to the forum root directory
3. added product-connector.xml into vbulletin product manager
4. went to vb connector menu to manage connections and the only option for module I was given was Joomla. Plus, I got an error about 'vbconnectors' table not being present in SQL. I just manually added that table.

What did I miss?

Thanks
Reply With Quote
  #36  
Old 01-31-2006, 05:53 PM
oojacoboo oojacoboo is offline
 
Join Date: Jan 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, these instructions never end, very confusing. Nonetheless, I am trying to get this isntalled. I assume this is needed for the joomla com_connector to function properly..

I don't know what the install link at the top of the thread does, clueless!
I did everything Langly said above.
I tried to install the product in my vB install and I get the following SQL error...

Quote:
Database error in vBulletin 3.5.3:

Invalid SQL:

CREATE TABLE IF NOT EXISTS `connectors` (
`id` int(11) NOT NULL auto_increment,
`title` varchar(255) collate latin1_german1_ci default NULL,
`module` varchar(255) collate latin1_german1_ci NOT NULL default 'joomla',
`url` varchar(255) collate latin1_german1_ci NOT NULL default '',
`vb_useradd` tinyint(4) NOT NULL default '0',
`app_useradd` tinyint(4) NOT NULL default '0',
`params` text collate latin1_german1_ci,
`published` tinyint(4) NOT NULL default '0',
PRIMARY KEY (`id`)
);

MySQL Error : You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'collate latin1_german1_ci default NULL,
`module` varchar(255
Error Number : 1064
Date : Tuesday, January 31st 2006 @ 07:47:34 PM
Script : http://www.xxxxxx.com/forum/admincp/plugin.php
Referrer : http://www.xxxxcom/forum/admincp/plu...?do=productadd
IP Address : xx.xxx.xx.xxx
Username : xxxxxxx
Classname : vb_database
Do I need to run this query in phpmyadmin? When I reattempt I get a column for connectors already present in the user table. So, I removed that field and then I attempt again, and I get this error. Please advise.

What can I replace that with? I am using the following...

Web Server Apache v1.3.34
PHP 4.4.1
MySQL Version 4.0.26-standard
Reply With Quote
  #37  
Old 01-31-2006, 06:15 PM
Langly Langly is offline
 
Join Date: Dec 2005
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I got the same error as well so I just deleted the 'collate latin1_german1_ci' and that installed fine.

Well, installed fine up to the point where I am at the moment.
Reply With Quote
  #38  
Old 01-31-2006, 06:50 PM
oojacoboo oojacoboo is offline
 
Join Date: Jan 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

langly, if you are using the sql module, you need to put it into the modules folder in your vb forum as well with the standard SOAP module.

Then install this module, not the standard one and be sure its configured properly. The SOAP one gnerates this error, b/c you don't have PHP5 and SOAP enabled on your server.

Thats what I did and everything appears to be working now. About to start working on my integration. I would love some profile integration, I know thats gonna be the roughest thing...
Reply With Quote
  #39  
Old 01-31-2006, 08:04 PM
Langly Langly is offline
 
Join Date: Dec 2005
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My vbulletin doesn't have a modules folder. My joomla does though. I do not have the ability to put SOAP on my host since they do not have php5. Only php4. I can put it on but it won't do anything.
Reply With Quote
  #40  
Old 01-31-2006, 08:05 PM
oojacoboo oojacoboo is offline
 
Join Date: Jan 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

/forum/includes/connector, its not a modules folder. Sorry for the confusion.
Reply With Quote
  #41  
Old 01-31-2006, 08:50 PM
Langly Langly is offline
 
Join Date: Dec 2005
Posts: 115
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, got that done but when I click on Componants in Joomla all it does is sends me back to the main page in Joomla admin. If I go to menu manager and try to create a Componant link it sets that up. Then I go to my homepage and click on the link I just made and all it does is tell me I have chosen a page that is not there. I'm guessing I'm missing something in Joomla somewhere.
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:00 PM.


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.04949 seconds
  • Memory Usage 2,304KB
  • 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
  • (3)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