FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Plugins and Code Hacks » Logging in from another php application
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Logging in from another php application [message #28927 is a reply to message #28910] Fri, 18 November 2005 19:10 Go to previous messageGo to previous message
holdech is currently offline  holdech   Canada
Messages: 9
Registered: November 2005
Karma:
Junior Member
I really must comment on the excellent support I'm receiving.
It's refreshing to have someone realize that not everyone has time to dig through a complex application and figure it all out themselves.
You understand that support = acceptance and takeup rate.

I do need a bit more help though.
Maybe if I explain what I'm up to, that will help.

I'm using FUD as the company and user support forum for our web based business application. When employees are established for one of our clients, I'm setting them up in FUD. I am using your API now and it works great.
I did need to remove the restriction around email uniqueness (code and DB index/constraint).
Many employees use the same generic "company email"...
I also created the login name as a concattenation of clientID and userID (numeric sequence assigned values that are the primary index on their respective tables). This ensures userID will always be unique across our application.

So far, so good! I now want the user to access FUD via a link in our app i.e. the app handles the login - they never see an ID/password for FUD.

Problem, is that the /scripts/forum_login.php is designed for mySQL and has a "REPLACE INTO" command.

I'm using postgreSQL, so my question is - do you already have a postgres version or patch?

If not, I assume the best course is to delete any session records out there for the applicable FUD userID - then change the REPLACE INTO to an "INSERT INTO"?

Thanks again

Chris

[Updated on: Fri, 18 November 2005 19:12]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Modified version of popfud.php: popfudx.php
Next Topic: New threads on the front page of the site
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 00:31:02 GMT 2024

Total time taken to generate the page: 0.06979 seconds