vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Joomla Connector/Bridge (https://vborg.vbsupport.ru/showthread.php?t=101761)

leonsio 12-10-2005 10:28 AM

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

wertis 12-10-2005 11:39 AM

thank's

ERuiz 12-11-2005 04:46 PM

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.

leonsio 12-11-2005 04:58 PM

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 )

ERuiz 12-11-2005 05:21 PM

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.

leonsio 12-16-2005 10:14 AM

*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

leonsio 01-20-2006 07:33 AM

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

oojacoboo 01-31-2006 04:22 AM

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.

leonsio 01-31-2006 05:37 AM

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

oojacoboo 01-31-2006 06:53 AM

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?


All times are GMT. The time now is 04:36 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01076 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete