Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Q2A Core by
edited by
i've modified the qa-external-users.php file and its function the best i could think of but it does not work: i'm logged in on our extranet but it still show the "login" link. If i click "users" it does not show the list of users existing in our database.
I checked the database connection and it works so it's not that.

Can you help? Here is the full code on pastbin: http://pastebin.com/PQb1vXEh

I'm not completely sure i did the very first function correctly. It's my user table's primary key you are after, right? That's what i understood:

function qa_get_mysql_user_column_type() {

but is that correct?
related to an answer for: single sign-on: the other database

1 Answer

–1 vote
Yes, you should generally use the primary key for your user table as the column type in qa_get_mysql_user_column_type().

As for why the other code is not working, it is hard to say since so much depends on your system and database. You can use the echo command in PHP to output debug information to work out the problem.