Previous Thread
Next Thread
Print Thread
Hop To
Joined: Apr 2007
Posts: 2
N
stranger
stranger
N Offline
Joined: Apr 2007
Posts: 2
Are there any enterprise collab web apps that work well with UBB? I find that forum component of most enterprise collab software is weak. It would really be nice to run UBB and another product as a single site so that the secondary app would add messenging, doc sharing, conferencing, maybe wiki, etc. to UBBs forum feature.

We are naturally also trying to keep costs down by hosting ourselvers and so want to avoid per account fees of most collab software. Any advice or recommendations would be appreciated.

Nick

Joined: Jun 2006
Posts: 16,300
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,300
Likes: 116
Well, Rick has stated he plans to add more portal-ish items to the forum, such as improving the calendar, adding a blogg, adding a gallery...

I'm pushing for some sort of Wiki/enhanced FAQ system...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 116
M
member
member
M Offline
Joined: Jul 2006
Posts: 116
Originally Posted by Gizmo
I'm pushing for some sort of Wiki/enhanced FAQ system...
I would love to see this!

Joined: Jun 2006
Posts: 16,300
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,300
Likes: 116
'eh Rick said somewhere that he's pushing for more board type help system, so who knows :crosses fingers: a UBBWiki sounds sweet to replace a FAQ...


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 116
M
member
member
M Offline
Joined: Jul 2006
Posts: 116
I've recently tried getting dokuwiki to authenticate using ubb.t.

It certainly seems possible as it can authenticate with a mysql backend, but I've not had any luck to get this to work with my installation yet.

Has anyone else happened to give this a try? Or would be willing to? smile

Joined: Jul 2006
Posts: 116
M
member
member
M Offline
Joined: Jul 2006
Posts: 116
Maybe as a start I could get some feedback on the SQL statements I'm using below?

checkPass: The result should be a table with exactly one line containing at least the password of the user. If the result table is empty or contains more than one row, access will be denied. The module access the password as ‘pass’ so an alias might be necessary.
PHP Code
$conf['auth']['mysql']['checkPass'] =
	   "SELECT USER_PASSWORD AS pass
		FROM ubbt_USERS
		WHERE USER_LOGIN_NAME='%{user}'
		AND USER_PASSWORD=MD5('%{pass}')"; 

getUserInfo: This statement should return a table with exact one row containing information about one user. The fields needed are:
‘pass’ containing the encrypted or clear text password
‘name’ the user’s full name (I'm using the Display Name)
‘mail’ the user’s email address
PHP Code
$conf['auth']['mysql']['getUserInfo'] =
	   "SELECT USER_PASSWORD AS pass, 
		USER_DISPLAY_NAME AS name, 
		USER_REGISTRATION_EMAIL AS mail
		FROM ubbt_USERS
		WHERE USER_LOGIN_NAME='%{user}'"; 

getGroups: This statement is used to get all groups a user is member of. The result should be a table containing all groups the given user is member of. The module accesses the group name as ‘group’ so an alias might be necessary.
PHP Code
$conf['auth']['mysql']['getGroups'] =
	   "SELECT GROUP_NAME AS `group`
		FROM ubbt_GROUPS g, ubbt_USERS u, ubbt_USER_GROUPS ug
		WHERE u.USER_ID = ug.USER_ID
		AND g.GROUP_ID = ug.GROUP_ID
		AND u.USER_LOGIN_NAME='%{user}'"; 

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
At first glance the queries look good. Just heading out to dinner, but will take a closer look later.

Joined: Jul 2006
Posts: 116
M
member
member
M Offline
Joined: Jul 2006
Posts: 116
One thing I forgot to ask -- am I using MD5 correctly for the password? Or should I be using a different function to MD5?

Joined: Jun 2006
Posts: 16,300
Likes: 116
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,300
Likes: 116
I md5 in my scripts when I call the get variable in the script (I code for register globals off); so:
$pass = md5($_GET["pass"]);


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Jul 2006
Posts: 116
M
member
member
M Offline
Joined: Jul 2006
Posts: 116
Finally got it working! The checkPass SQL statement needed to be changed to:
PHP Code
$conf['auth']['mysql']['checkPass'] =
	   "SELECT USER_PASSWORD AS pass
		FROM ubbt_USERS
		WHERE USER_LOGIN_NAME='%{user}'";  
I now have DokuWiki authenticating against my UBB.threads installation!

Joined: Dec 2003
Posts: 1,796
Pooh-Bah
Pooh-Bah
Joined: Dec 2003
Posts: 1,796
Very nice work Myke thumbsup


- Allen
- ThreadsDev | PraiseCafe

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Version 7.7.5 Images suddenly not displaying
by Stovebolt - 05/04/2024 11:19 AM
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
Who's Online Now
2 members (Gizmo, 1 invisible), 901 guests, and 169 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240501)