Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
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.
Attachments
ubb-plugin-jfusion-1_5_2.zip (16.01 KB, 11 downloads)
JFusion plugin for UBB.threads integration with Joomla
SHA1: 8bcca68e97547c51ae53d621c1070a3009d4b780

Last edited by Gardener; 11/08/2010 6:16 AM. Reason: Updated file
Sponsored Links
Joined: Mar 2011
Posts: 10
Newbie
Newbie
Offline
Joined: Mar 2011
Posts: 10
Does Joomla and UBBThreads need to be installed on the same domain, or can one be on a subdomain?

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
If you set the cookie domain to ".example.com" in both systems, it should work. Note the dot at the start.

Joined: Mar 2011
Posts: 10
Newbie
Newbie
Offline
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
Joined: May 1999
Posts: 1,715
Addict
Addict
Joined: May 1999
Posts: 1,715
Have you installed JFusion?

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

Joined: Mar 2011
Posts: 10
Newbie
Newbie
Offline
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...


Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
smile Glad you got it working smile


- Allen wavey
- What Drives You?
Joined: Mar 2011
Posts: 10
Newbie
Newbie
Offline
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
Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Joined: Mar 2011
Posts: 10
Newbie
Newbie
Offline
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!

Joined: Mar 2011
Posts: 10
Newbie
Newbie
Offline
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!

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Joined: Mar 2011
Posts: 10
Newbie
Newbie
Offline
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?

Joined: Mar 2011
Posts: 10
Newbie
Newbie
Offline
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!

Joined: Jan 2000
Posts: 5,833
Likes: 20
UBBDev / UBBWiki Owner
Time Lord
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,833
Likes: 20
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, My UBB Scripts
Joined: Mar 2011
Posts: 10
Newbie
Newbie
Offline
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"?


Link Copied to Clipboard
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
bluehost
InterServer
Visit us on Facebook
Member Spotlight
JAISP
JAISP
PA
Posts: 449
Joined: February 2008
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20221218)