You Are Here: Home » How-To » Programming

PHPFox & Q2A Single Sign-on Integration – User Related Functions

By Debjit on February 12th, 2014 

In this article we will talk about the last part in our series on PHPFox and Question2Answer Q2A single sign-on integration that lets PHPFox users to use Q2A platform without having to create yet another additional account and simply use their PHPFox signed in session to browse through Q2A.

This part of the tutorial involves defining the User and Avatar related functions for Q2A and as-such it is not necessary for the Single Sign-on mechanism to work. However, If you are reading article without having read the first three parts, then we would recommend you to stop here and go trough them first:

1. Initial setup for Single sign-on user database in Q2A -

2. PHPFox Autoloading for getting access to its APIs in Q2A -

3. Implement the compulsory functions for Q2A - PHPFox SSO -

The 4 function which we will implement in this article in the file qa-external-users.php are:

  • qa_get_logged_in_user_html
  • qa_get_users_html
  • qa_avatar_html_from_userid
  • qa_user_report_action

We are currently preparing content for this article and it will be updated soon.


PHPFox & Q2A Single Sign-on Integration – User Related Functions was originally published on on February 12, 2014 - 7:32 am (Indian Standard Time)