Forums | Mahara Community

Developers /
q2a integration


anonymous profile picture
Deleted user
Posts: 1

16 November 2012, 3:30 PM

Hi everyone, i want to integrate the log in system of mahara with that of a question and answer script called Q2A.Q2A has been designed to share a log-in system but requires a bit of modification, and i'm not an expert at php so I was wondering if someone could help me with this?

The external users config requirements are too lengthy to post her, so i thought it best to ask bit by bit.

First i need to know: function qa_get_mysql_user_column_type() {

Does mahara use textual or numerical identifiers? I need to enter the appropriate type i.e.

return 'VARCHAR(32)'; OR

return 'INT UNSIGNED';

Or other.

Then i need to edit this correctly:

return array(
            'login' => 'http://www.mysite.com/login',
            'register' => 'http://www.mysite.com/register',
            'logout' => 'http://www.mysite.com/logout',
        );

Then i need to edit the options for: function qa_get_logged_in_user()

Is mahara php session based or cookie based?

If anyone could help me with that it would be most appreciated, and i may have to ask more later.

I appreciate anyone who might take the time to help me with this, thanks in advance.

A post by Deleted user was deleted

2 results