Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: May 2003
Posts: 9
O
Obie Offline OP
Lurker
OP Offline
Lurker
O
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
B
Yarp™
Offline
Yarp™
B
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
O
Obie Offline OP
Lurker
OP Offline
Lurker
O
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
B
Yarp™
Offline
Yarp™
B
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
S
Enthusiast
Offline
Enthusiast
S
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
O
Obie Offline OP
Lurker
OP Offline
Lurker
O
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
O
Obie Offline OP
Lurker
OP Offline
Lurker
O
Joined: May 2003
Posts: 9
We still would like some answers to our questions posted above. Can anyone help?

Joined: May 2003
Posts: 9
O
Obie Offline OP
Lurker
OP Offline
Lurker
O
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
G
Lurker
Offline
Lurker
G
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
Offline
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
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,554
Posts293,840
Members13,842
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online 142
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 11
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,813
Greg Hard 4,625
Top Posters(30 Days)
Gizmo 4
Morgan 2
isaac 1
Top Likes Received
isaac 66
Gizmo 13
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
Gizmo 1
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2021 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Snapshot build 20201211)
Responsive Width:

PHP: 5.4.45 Page Time: 0.056s Queries: 35 (0.022s) Memory: 3.3349 MB (Peak: 3.5214 MB) Data Comp: Zlib Server Time: 2021-04-12 06:00:05 UTC
Valid HTML 5 and Valid CSS