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
Joomla Connector/Bridge Details »»
Joomla Connector/Bridge
Version: 1.0.0, by leonsio leonsio is offline
Developer Last Online: Jun 2013 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 11-27-2005 Last Update: 03-05-2006 Installs: 63
DB Changes Uses Plugins
Code Changes Additional Files  
No support by the author.

Release Thread on joomla forums: http://forum.joomla.org/index.php/topic,21066.0.html

com_connector
v. 1.0.0
all connectors are moved to separate packages
fixed some bugs with PHP4
support for joomla 1.0.8
better login/synchronisation handling
v. 0.0.8.1 ( bugfix release, no new functions )
bug in the connector administration
v. 0.0.8
updated to joomla 1.0.7
added wrapped mode
v. 0.0.7
updated to joomla 1.0.5
fixed some messages with "warning"
v. 0.0.6
compatibility with new version of VB_SOAP
some bugs by login fixed
v. 0.0.5
cookie store bug in vbulletin module fixed
compatibility with JMSOAP addon, added
v. 0.0.4
added functions to update and delete users
splited modules to own packages
v. 0.0.3
each module has own logout function
fixed bugs in vbulletin_sql module
fixed bug in the connector.php file
v. 0.0.2
vbulletin_Sql module included
select menu in the admintool for the modules
v. 0.0.1
init release, vbulletin module included


Additional Modules

All modules are now in separate packages
to add module just download the module file
and unzip it in the /components/com_connector/modules folder
if not exists, create one

Online Demo running with vbulletin module (SOAP)

http://www.c4u.to

HOWTOs:

switching from vbridge to com_connector
creating own modules
patching joomla.php file himself


Component Information and description
This Component is only for the connection from joomla -> application
at the moment are following things supported:
common login
global changing password
global changing username/email
synchronistion of the users ( by first login or registration )

That does i need to run this component?

for this component alone you needs only joomla 1.0.x
it should run with PHP4 und PHP5(tested)

some modules like vbulletin_soap can have own requirements (needs php5 + SOAP extension )


That does this component do?

this component allow you to connect different applications to joomla over SOAP/XMLRPC, SQL Connects ( other methods are posible too )
You should use this component if you wants to have common login with an aplications ( which based on cookie login (session to, because it use cookie to store a sessionid ))
it is posible to create own moduless to connect any applications

How to install
1.
download and extract the files_to_replace.zip" file
move all files from "upload" folder in your joomla root folder

2.
login into joomla administration and install the "com_connector.zip"
using joomla component installer

How to use
go to "Administration/Components/Connector"
click to "New"


Title: title/name of the module
Module: Choose a Module like "vbulletin"
URL: is a link to the application ( not to the module !! )
Add User to Joomla: if the user not exists in joomla he will be added
Add User to App.: if the user dont exists in the connected application it will be added
Display Mode: Wrapped = in iframe, Not Wrapped = redirect to application


Click on Save
you will be redirected to module settings
this settings can be different in every module


after you have added a data, you can create a menu link

go to Menu config, create on New and select "Connector Item"
in next dialog select you application and click to save

done

Show Your Support

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

Comments
  #22  
Old 12-10-2005, 10:28 AM
leonsio leonsio is offline
 
Join Date: Jun 2002
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by wertis
i receive this:

Parse error: parse error, unexpected '{' in /home/excel/public_html/vb/soap/examples/test.php on line 9

help, please

please read the requirements for "vbulletin" module

if you dont have php5 installed, you should use vbulletin_sql module for com_connector

all infos about are in the release post on joomla.org


@ Deepdog009

it should work, but you have to patch includes/mambo.php manualy
the package include only patched joomla.php file for joomla

look in the file for "COM_CONNECTOR" comments
Reply With Quote
  #23  
Old 12-10-2005, 11:39 AM
wertis wertis is offline
 
Join Date: Dec 2005
Location: lithuania
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thank's
Reply With Quote
  #24  
Old 12-11-2005, 04:46 PM
ERuiz ERuiz is offline
 
Join Date: Feb 2005
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Leonsio, I have been waiting for predator to fix the login/cookie problem but with his recent illness and setback, I can no longer keep on waiting for this fixed. So, I am about to jump ship and give your connector a try.

I have vBridge 1.22 installed on my site along with Joomla 1.0.4 and CBuilder RC2.

I guess I first need to uninstall vBridge and get my Joomla install working properly as if it had never been installed with vBridge, before I continue to install your connector?

Also, is your connector compatible with CB RC2?

You can find me on msn: eruiz_apr001@hotmail.com in case you can be of any assistance. I will be extremely grateful for your help on this, my friend.
Reply With Quote
  #25  
Old 12-11-2005, 04:58 PM
leonsio leonsio is offline
 
Join Date: Jun 2002
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

com_connector aktualy dont work with CB
i dont have time at the moment to look at CB intergration

actualy it is only login from joomla -> vbulletin posible
for other way i will release next weeks an plugin for vbulletin

at oficial joomla forum i have released an tutorial how to migrate from vbridge to joomla

you should follow the instructions in the tutorial ( if you follow all steps you will have all joomla and vbulletin users in vbulletin) the next synchronisation with joomla ( with com_connector ) will by on the fly, by first login or registration

p.s. vbulletin module is my preferred module
vbulletin_sql can a little bit less, it will be supported by predator

if you have php5 installed, you should use vbulletin module ( soap )
Reply With Quote
  #26  
Old 12-11-2005, 05:21 PM
ERuiz ERuiz is offline
 
Join Date: Feb 2005
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1. You are saying that in order to login to the website, the user must first login to Joomla and when he clicks on the Forums link, he will be already logged in to vBulletin? But not the other way around till you release the vBulletin plugin? Actually, I think for my website, it is just best that users login to Joomla first, because the forums are ONLY for registered members anyway.
Reply With Quote
  #27  
Old 12-16-2005, 10:14 AM
leonsio leonsio is offline
 
Join Date: Jun 2002
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*update*

all changes are in the first post

now it is posible to login from vbulletin -> joomla

just install "vbulletin application connector" hack, this is the same like com_connector but for vbulletin
it include joomla module ( which is use SOAP calls)
joomla_sql module will be released later
Reply With Quote
  #28  
Old 01-20-2006, 07:33 AM
leonsio leonsio is offline
 
Join Date: Jun 2002
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the release is updated to version 0.0.8.1

status is not longer beta

com_connector RC1
v. 0.0.8.1 ( bugfix release, no new functions )
bug in the connector administration
v. 0.0.8
updated to joomla 1.0.7
added wrapped mode
v. 0.0.7
updated to joomla 1.0.5
fixed some messages with "warning"

if you update from older version then 0.0.8
please run this query

ALTER TABLE `jos_connectors` ADD `smod` INT NOT NULL AFTER `app_useradd` ;

then just upload new files
Reply With Quote
  #29  
Old 01-31-2006, 04:22 AM
oojacoboo oojacoboo is offline
 
Join Date: Jan 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, im having some issues of course. I really hope you can help me here!

First of all, all the sql queries that I added and tables I used the prefix "mos_" not "jos_", as my database is using the "mos_" prefix. b/c I converted from mambo. Is this the cause of my errors maybe?

I have also renamed the module "vbulletin_sql.class.php" > "vbulletin.class.php" and removed the original, as I was getting an erorr after installing the SQL one. Apparently the script was looking for the "vbulletin.class.php" rather than the SQL module, as I originally installed it. Could this be my issue?

The first error occurs when I activate the module from my Joomla control panel while being logged into my site. When I attempt to logout, I get the following error with the connector activated...

Quote:
Fatal error: Cannot instantiate non-existent class: vbulletin in /xxxxx/xxxxxx/xxxxx/xxxxx/xxxxx/xxxxxx.com/includes/joomla.php on line 889
So, I cleared my cookies and then tried to login to the site and then I get the following error...

Quote:
Fatal error: Cannot instantiate non-existent class: vbulletin in /xxxx/xxxxxx/xxxxx/xxxxx/xxxxxx/xxxxxx.com/includes/joomla.php on line 739
This error I think is created by not having this file...

Quote:
// loading the module
require_once("./components/com_connector/modules/$module->module.class.php");
// Module init
where is this module? It wasn't included. That is on line 735>737. 739 says...

Quote:
$application=new $module->module($params, $module->id);

I have attached my joomla.php file. I searched for your tutorial on how to manually edit this file, but I was unable to find the code or even the full download link for the instructions you provided on doing so, via terminal. Nonetheless, here is the file that I have.
Reply With Quote
  #30  
Old 01-31-2006, 05:37 AM
leonsio leonsio is offline
 
Join Date: Jun 2002
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you shouldn't rename vbulletin_sql to vbulletin

it will not work !!

just put the vbulletin_sql.class.php in the components/com_connector/modules folder

nothing else

then select this module in the Connectors administration
Reply With Quote
  #31  
Old 01-31-2006, 06:53 AM
oojacoboo oojacoboo is offline
 
Join Date: Jan 2006
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

just as I thought, when I tried it this way the first time. I now get this message now that I have renamed it properly...


Quote:
Warning: login(./components/com_connector/modules/vbulletin.class.php): failed to open stream: No such file or directory in /xxxx/xxxx/xxxx/xxxx/xxxx/xxxx.com/includes/joomla.php on line 736

Fatal error: login(): Failed opening required './components/com_connector/modules/vbulletin.class.php' (include_path='.:/usr/local/lib/php') in /xxxx/xxxxx/xxxx/xxxxx/xxxx/xxxx.com/includes/joomla.php on line 736
and, if that original file is in there (which I removed) then it has a SOAP error...

Any ideas?

When I put the original PHP5 and SOAP file back into the modules file, like the error above is requesting, I then get this error...

Quote:
Parse error: parse error, unexpected '{' in /xxxxx/xxxxx/xxxxx/xxxxx/xxxxx/xxxxxx.com/components/com_connector/modules/vbulletin.class.php on line 41
Starting on line 41 I have the following...

Quote:
{
$connect= new SoapClient($this->__data->get('server'));
// falls Benutzer exestiert und bereits eingelogt war, benutzen wir seine Cookies
$userid=($my->id) ? $my->id : $this->_session->userid ;
if($userid !='' AND $userid!=0)
{
This is why I say its trying to connect to the SOAP module and thats why I renamed the file.

Any ideas?
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 09:06 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.07009 seconds
  • Memory Usage 2,323KB
  • 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
  • (8)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