Hi,
We know that you are trying to integrate Joomla plugin with codoforum.
But, we are confused with what you have done uptil now since you have replied to many other topics.
Can you post all your steps that you have done until now ?
We will then guide you with the integration.
Hi
I turn on plagin sso in backend of codoforum, then copy file sso on my site and configured file client.php.
Now everyone who visit my codoforum, codo see as USER which codo create avtomaticaly. And doesnt matter login people on site or not.
lets try
site: sexsector.info
login adesh
pass: 1234
forum url: http://sexsector.info/interactive/
Hi,Yes I can
<?php
/**
require 'sso.php';
/**
SSO plugin settings
*/
$settings = array(
"client_id" => 'from codoforum backend',
"secret" => 'from codoforum backend',
"timeout" => 6000
);
$sso = new codoforum_sso($settings);
$account = array();
/**
A simple example would be using PHP SESSION
*/
if (USER_IS_LOGGED_IN) {
$account['uid'] = USERID; //Your logged in user's userid
$account['name'] = USERNAME; //Your logged in user's username
$account['mail'] = EMAILID; //Your logged in user's email id
$account['avatar'] = ''; //not used as of now
}
$sso->output_jsonp($account); //output above as JSON back to Codoforum
exit();>
Hi,
Sorry for the late reply.
"client_id" => 'from codoforum backend',
"secret" => 'from codoforum backend',
You did not enter the client_id and secret yet ?
if (USER_IS_LOGGED_IN) {
$account['uid'] = USERID; //Your logged in user's userid
$account['name'] = USERNAME; //Your logged in user's username
$account['mail'] = EMAILID; //Your logged in user's email id
$account['avatar'] = ''; //not used as of now
}
You need to edit this part too.
Do you use any CMS or is your website custom built ?
will it works with php 5.6?
client.php and sso.php I mast delete from server and install this component?
what I must insert in the field SSO Get User Path in backend of codoforum if I install this component?
Hi,
We are sorry... The support has been dead the past 1 week.
We were really busy with a launch of a new product.
We are now back again.
Did you install the component given in this link:
https://github.com/evnix/joomla-codoforum-sso
After, installation, you need to copy the client id and secret that you have set in the codoforum backend->sso to the joomla components->sso
if I take this component I must not copy sso.php and client.php on my site. Am I right? Just install component and set secret and client id. But what in this case I must set in backend of codoforum in field "SSO Get User Path:"? ?
Your previous draft for topic is pending
If you continue, your previous draft will be discarded.