Previous Thread
Next Thread
Print Thread
Rate Thread
Joomla JFusion plugin for UBB.threads integration #318649
10/22/2010 3:14 AM
10/22/2010 3:14 AM
Joined: May 1999
Posts: 1,966
Sweden, Stockholm
Gardener Offline OP
Addict
Gardener  Offline OP
Addict

Joined: May 1999
Posts: 1,966
Sweden, Stockholm
This is a plugin to JFusion to integrate Joomla with UBB.threads.

I'm not the original developer, but I've updated it to work with JFusion 1.5.2 and done some minor additions.

I can't guarantee that it works for you, but I'm running it on my site.

My setup is using UBB.threads as "master" and "Joomla internal" as slave and having "Dual Login" set. This means that users can log into either Joomla or UBB.threads and get logged in to both.

It should also create users in Joomla automatically if they don't exist yet, and keep the databases in sync.

If you have any questions, I'm happy to help if I can.

Attached Files
ubb-plugin-jfusion-1_5_2.zip (11 downloads)
JFusion plugin for UBB.threads integration with Joomla
Last edited by Gardener; 11/08/2010 5:16 AM. Reason: Updated file
Sponsored Links
Re: Joomla JFusion plugin for UBB.threads integration [Re: Gardener] #318716
03/16/2011 1:43 PM
03/16/2011 1:43 PM
Joined: Mar 2011
Posts: 10
B
Bassin' USA Offline
Newbie
Bassin' USA  Offline
Newbie
B

Joined: Mar 2011
Posts: 10
Does Joomla and UBBThreads need to be installed on the same domain, or can one be on a subdomain?

Re: Joomla JFusion plugin for UBB.threads integration [Re: Gardener] #318717
03/16/2011 3:42 PM
03/16/2011 3:42 PM
Joined: Jan 2000
Posts: 5,947
Portland, OR, USA
Gizmo Online tapedshut

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Online Tapedshut

UBB.Dev / UBB.Wiki Owner
Time Lord

Joined: Jan 2000
Posts: 5,947
Portland, OR, USA
I'm pretty sure they need to be on the same domain as the set cookies would have to be on the same domain.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.SitemapsJames Corthell
Re: Joomla JFusion plugin for UBB.threads integration [Re: Bassin' USA] #318718
03/16/2011 4:34 PM
03/16/2011 4:34 PM
Joined: May 1999
Posts: 1,966
Sweden, Stockholm
Gardener Offline OP
Addict
Gardener  Offline OP
Addict

Joined: May 1999
Posts: 1,966
Sweden, Stockholm
If you set the cookie domain to ".example.com" in both systems, it should work. Note the dot at the start.

Re: Joomla JFusion plugin for UBB.threads integration [Re: Gardener] #318719
03/17/2011 1:07 PM
03/17/2011 1:07 PM
Joined: Mar 2011
Posts: 10
B
Bassin' USA Offline
Newbie
Bassin' USA  Offline
Newbie
B

Joined: Mar 2011
Posts: 10
Sorry for the delayed response and thanks for getting back to me so quickly. Here's what I have setup:

mydomain.com (Live site with UBBThreads 7.4.2 running)
examplesub.mydomain.com (New Site with Joomla installed)

I tried installing the plug in through the joomla cpanel, and got these errors (I changed folder names in the message):

Warning: require_once(D:\xxxx\xxxx\subdomain-example\libraries\joomla\installer\adapters\jfusion.php) [function.require-once]: failed to open stream: No such file or directory in D:\xxxx\xxxx\subdomain-example\libraries\joomla\installer\installer.php on line 216

Fatal error: require_once() [function.require]: Failed opening required 'D:\xxxx\xxxx\subdomain-example\libraries\joomla\installer\adapters\jfusion.php' (include_path='.;C:\php5\pear') in D:\xxxx\xxxx\subdomain-example\libraries\joomla\installer\installer.php on line 216

Not sure what that "installer.php" file is. It is not in that folder (hense the error)...

Any ideas would be appreciated...

Sponsored Links
Re: Joomla JFusion plugin for UBB.threads integration [Re: Bassin' USA] #318720
03/17/2011 1:47 PM
03/17/2011 1:47 PM
Joined: May 1999
Posts: 1,966
Sweden, Stockholm
Gardener Offline OP
Addict
Gardener  Offline OP
Addict

Joined: May 1999
Posts: 1,966
Sweden, Stockholm
Have you installed JFusion?

Re: Joomla JFusion plugin for UBB.threads integration [Re: Gardener] #318721
03/17/2011 1:51 PM
03/17/2011 1:51 PM
Joined: Mar 2011
Posts: 10
B
Bassin' USA Offline
Newbie
Bassin' USA  Offline
Newbie
B

Joined: Mar 2011
Posts: 10
Yes... Jfusion is installed

Re: Joomla JFusion plugin for UBB.threads integration [Re: Bassin' USA] #318722
03/17/2011 2:11 PM
03/17/2011 2:11 PM
Joined: Mar 2011
Posts: 10
B
Bassin' USA Offline
Newbie
Bassin' USA  Offline
Newbie
B

Joined: Mar 2011
Posts: 10
OK, let's just say that I feel really stupid right now... I was trying to install the plugin in Joomla, not within Jfusion's plugin manager...

It installed. I will be working on configuring this later when I can backup my DB and take the forums down.

I'm sure I will be back, but hopefully not. Thanks for creating this plugin...


Re: Joomla JFusion plugin for UBB.threads integration [Re: Gardener] #318727
03/17/2011 8:37 PM
03/17/2011 8:37 PM
Joined: Mar 2000
Posts: 25,587
Texas
AllenAyres Offline
I type Like navaho
AllenAyres  Offline
I type Like navaho

Joined: Mar 2000
Posts: 25,587
Texas
smile Glad you got it working smile


- Allen wavey
- What Drives You?
Re: Joomla JFusion plugin for UBB.threads integration [Re: AllenAyres] #318771
05/03/2011 2:50 PM
05/03/2011 2:50 PM
Joined: Mar 2011
Posts: 10
B
Bassin' USA Offline
Newbie
Bassin' USA  Offline
Newbie
B

Joined: Mar 2011
Posts: 10
And I'm back... question, I'm getting the following errors:

Warning: include(\includes\config.inc.php) [function.include]: failed to open stream: No such file or directory in D:\xxxx\xxxx\xxxx\administrator\components\com_jfusion\plugins\ubb\admin.php on line 108

Warning: include() [function.include]: Failed opening '\includes\config.inc.php' for inclusion (include_path='.;C:\php5\pear') in D:\xxxx\xxxx\xxxx\administrator\components\com_jfusion\plugins\ubb\admin.php on line 108

I do not have a folder named "php5 (i.e. C:\php5\pear) mine is named "PHP"... so I am assuming this why I am getting this error?

Also, in my DIR C:\php\pear\ there is no folder called "includes" and therefore no file called "config.inc.php"

Any ideas what I need to do?

Thanks in advance...

Sponsored Links
Re: Joomla JFusion plugin for UBB.threads integration [Re: Gardener] #318772
05/03/2011 5:07 PM
05/03/2011 5:07 PM
Joined: Jan 2000
Posts: 5,947
Portland, OR, USA
Gizmo Online tapedshut

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Online Tapedshut

UBB.Dev / UBB.Wiki Owner
Time Lord

Joined: Jan 2000
Posts: 5,947
Portland, OR, USA
Warning: include(\includes\config.inc.php)
Warning: include() [function.include]: Failed opening '\includes\config.inc.php' for inclusion

That's saying your config.inc.php file doesn't exist; are you using the full path to the config file?


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.SitemapsJames Corthell
Re: Joomla JFusion plugin for UBB.threads integration [Re: Gizmo] #318773
05/04/2011 7:46 AM
05/04/2011 7:46 AM
Joined: Mar 2011
Posts: 10
B
Bassin' USA Offline
Newbie
Bassin' USA  Offline
Newbie
B

Joined: Mar 2011
Posts: 10
I see where that needed to be added under "Direct path to software". Had to find that file in my forum DIR.

Two other messages I'm seeing are:

ubb: Dual login might work best with the following cookie domain .exampledomain.com

ubb: Dual login might work best with the following cookie path /

I'm set up with a domain (live site running UBBThreads) and my new joomla site (located at a subdomain example.exampledomain.com)

The plan is to do away with the subdomain when I go live... Any insight on these messages?

Thanks so much for you help!

Re: Joomla JFusion plugin for UBB.threads integration [Re: Bassin' USA] #318775
05/06/2011 10:07 PM
05/06/2011 10:07 PM
Joined: Mar 2011
Posts: 10
B
Bassin' USA Offline
Newbie
Bassin' USA  Offline
Newbie
B

Joined: Mar 2011
Posts: 10
OK no luck on the cookie path questions, but I have a real issue that I need some assistance with. Got everything in sync with my Joomla site and UBB, but now new users get this error:

0: PASSWORD_UPDATE_ERRORDB function failed with error number 1064
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 '' at line 1 SQL=UPDATE ubbt_USERS SET USER_PASSWORD = '6a204bd89f3c8348afd5c77c717a097a' WHERE USER_ID =1: BLOCK_UPDATE_ERRORDB function failed with error number 1064
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 '' at line 1 SQL=UPDATE ubbt_USERS SET USER_IS_BANNED = 0 WHERE USER_ID =



Please help, I'm stuck...

Thanks!

Re: Joomla JFusion plugin for UBB.threads integration [Re: Gardener] #318776
05/07/2011 12:17 AM
05/07/2011 12:17 AM
Joined: Jan 2000
Posts: 5,947
Portland, OR, USA
Gizmo Online tapedshut

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Online Tapedshut

UBB.Dev / UBB.Wiki Owner
Time Lord

Joined: Jan 2000
Posts: 5,947
Portland, OR, USA
unfortunately I'm not using Jamoola to test it, but I Googled the error and I've seen some mentions of an error in Jamoola.


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.SitemapsJames Corthell
Re: Joomla JFusion plugin for UBB.threads integration [Re: Gizmo] #318777
05/07/2011 9:05 AM
05/07/2011 9:05 AM
Joined: Mar 2011
Posts: 10
B
Bassin' USA Offline
Newbie
Bassin' USA  Offline
Newbie
B

Joined: Mar 2011
Posts: 10
I had found this on jFusion's forums:

Topic Link About Error - JFusion's Forums

They are discussing a work around for VBulletin, not sure if this might help?

Re: Joomla JFusion plugin for UBB.threads integration [Re: Bassin' USA] #318778
05/13/2011 8:09 AM
05/13/2011 8:09 AM
Joined: Mar 2011
Posts: 10
B
Bassin' USA Offline
Newbie
Bassin' USA  Offline
Newbie
B

Joined: Mar 2011
Posts: 10
I'm not sure if anyone is even reading these posts at the moment, but I will continue to post updates in the hope that someone will shed a little light on some of the issues I am encountering. Here's the latest update:

I was able to get the above problem resolved... the issue was that I was trying to use Joomla login as the master and the UBBthreads Jfusion Plugin as the slave. Reversed that (as it was originally described above) and now when users register through UBBthreads, an account is created in Joomla. Users who login through either side are logged into both.

First minor issue: When they log out, if they log out of joomla, it logs them out of UBBthreads, but if they log out of UBBthreads, they are still logged into the Joomla side... any thoughts?

Second issue: During the initial user sync, my Joomla "ADMIN" account was flagged as a conflict. I tried to ignore, then update the slave software, and later even tried deleting and recreating the account from scratch, but no matter what I try, my admin account has been rendered useless. Can't log in, I get the error "JUser::_load: User does not exist
"

When I log in as another superadmin, I can see the account. It's very odd. Not sure if anyone has also had something like this happen?

Any feedback is greatly appreciated!

Re: Joomla JFusion plugin for UBB.threads integration [Re: Gardener] #318779
05/13/2011 11:17 AM
05/13/2011 11:17 AM
Joined: Jan 2000
Posts: 5,947
Portland, OR, USA
Gizmo Online tapedshut

UBB.Dev / UBB.Wiki Owner
Time Lord
Gizmo  Online Tapedshut

UBB.Dev / UBB.Wiki Owner
Time Lord

Joined: Jan 2000
Posts: 5,947
Portland, OR, USA
Can you hack the jamoola templates and change the logout link to go to the UBB's logout page?

As for your error, I don't know; is the username taken in threads? Or is the user #1 account not the same as the ubb's user #1 (or whatever?)


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, UBB.SitemapsJames Corthell
Re: Joomla JFusion plugin for UBB.threads integration [Re: Bassin' USA] #318783
05/19/2011 3:22 PM
05/19/2011 3:22 PM
Joined: Mar 2011
Posts: 10
B
Bassin' USA Offline
Newbie
Bassin' USA  Offline
Newbie
B

Joined: Mar 2011
Posts: 10
Originally Posted by Bassin' USA
Two other messages I'm seeing are:

ubb: Dual login might work best with the following cookie domain .exampledomain.com

ubb: Dual login might work best with the following cookie path /

Thanks so much for you help!


I'm not one to start hacking templates... I'm already using a 3rd party plugin for login/registration. It's not such a big deal.

The admin account was unique in both systems. Not sure what happened...

Any thoughts on my two messages "in the quote above"?


Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with, and recommend, the following Web Hosts:
· Stable Host
· Blue Host
· Interserver.net
Visit us on Facebook
Member Spotlight
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Show All Member Profiles 
Forum Statistics
Forums64
Topics37,467
Posts293,523
Members13,802
Most Online1,498
Mar 17th, 2017
Top Posters(All Time)
AllenAyres 25,587
JoshPet 11,330
Rick 8,373
LK 7,396
Lord Dexter 6,503
Gizmo 5,947
Greg Hard 5,533
Top Posters(30 Days)
isaac 1
Today's Statistics
Currently Online 932
Topics Created 0
Posts Made 0
Users Online 2
Birthdays 14
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2018 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 7.7.0
(Snapshot build 20181115.dev)
PHP: 5.4.45 Page Time: 0.049s Queries: 16 (0.013s) Memory: 3.3086 MB (Peak: 3.5587 MB) Data Comp: Zlib Server Time: 2018-12-14 12:02:10 UTC