Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 2003
Posts: 9
Lurker
Lurker
Offline
Joined: May 2003
Posts: 9
This is more of a Drupal question but someone here may have the answer for us.

We have been using UBB Threads for years and love it. Our web site is being converted to Drupal but we want desperately to keep UBB Threads. How do we integrate it into Drupal, keeping it password protected for our members *without* implementing a second log in process within UBB itself.

In other words. We want people who are members to seamlessly have access to UBB without having to log in a second time to the BBS.

Sponsored Links
Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
My answer that I posted on ubbcentral still stands, the work done should be done from within the drupal code.

That is keeping the userdatabases into sync, and writing the cookies that ubb.threads reads for auto login.

While we could actually help with the code/how to's to do the ubb part, I for one have no experience with drupal.

Can you code yourself?

Last edited by blaaskaak; 11/07/2007 10:48 AM.
Joined: May 2003
Posts: 9
Lurker
Lurker
Offline
Joined: May 2003
Posts: 9
Yes, we can code. Just wondering if anyone had done this before and what we need to be aware of specifically.

Joined: Feb 2007
Posts: 329
Yarp™
Yarp™
Offline
Joined: Feb 2007
Posts: 329
Okay, this makes it easier to talk about it.

There should be something in the drupal code that copies a user registration to ubb.threads. You can have a look in /scripts/adduser.inc.php what code is needed to add a user to ubb.threads.

Now you would also want to create a logon cookie for the user, so that they don't have to log in. /admin/loginas.php could be of help on that field.

Joined: Nov 2003
Posts: 482
Enthusiast
Enthusiast
Offline
Joined: Nov 2003
Posts: 482
i've done a similar 'mod / hack' for 2 sites. 2 different approaches.

approach 1: the site uses a htaccess list, which is maintained by a 3rd party program. that 3rd party program essentially updates that list based upon credit card subscriptions.

then the ubbthreads side simply checks when a user tries to access ubbthreads.php and sees if they exist in the DB (threads db) yet. if they don't then a new threads user is created, added the the 'User' group and they then access threads.

approach 2: similar to what a portal-master, threads-slave would be setup as. as the portal verifies new user signups, does all the email verification etc and adds the user, it then sends a message to threads to 'add a new user' in a URL (get). ubbthreads checks to see if that user exists, then adds the user to the appropriate group.

threads then goes further to note the portal cookies for username and takes care to setup the corresponding ubbt cookies to allow the users to transparently log in..

sooo, it can be done... just how you want to slice / dice smile

Sponsored Links
Joined: May 2003
Posts: 9
Lurker
Lurker
Offline
Joined: May 2003
Posts: 9
Some followup Questions:

1) How do we provision new UBB.threads accounts correctly since Drupal will be driving, not creating users via the UBB admin area?

2) What is the syntax for the magic cookie that Drupal should set when a Drupal login event happens successfully?

3) Is there a way to sync UserIDs and Passwords between Drupal and UBB? The front door will be mandatory Drupal and users will not be able to log into UBB. So could we possibly blank out the ability to log in via UBB?

4) Syntax for adjusting that cookie when a Drupal logout event occurs so UBB.threads no longer thinks the user is properly authenticated.

Joined: May 2003
Posts: 9
Lurker
Lurker
Offline
Joined: May 2003
Posts: 9
We still would like some answers to our questions posted above. Can anyone help?

Joined: May 2003
Posts: 9
Lurker
Lurker
Offline
Joined: May 2003
Posts: 9
And the module now exists to integrate UBB.threads with Drupal.

UBB.threads integration
http://drupal.org/project/ubb

Joined: Jul 2010
Posts: 1
Lurker
Lurker
Offline
Joined: Jul 2010
Posts: 1
I posted on ubbcentral still stands, the work done should be done from within the drupal code.

Joined: Mar 2000
Posts: 21,079
Likes: 3
I type Like navaho
I type Like navaho
Joined: Mar 2000
Posts: 21,079
Likes: 3
Thank you guys! Excellent work smile


- Allen wavey
- What Drives You?
Sponsored Links

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)