Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Using SSO and Username and Email not showing
(1 viewing) (1) Guest
component
Go to bottomPage: 123
TOPIC: Using SSO and Username and Email not showing
#54025
Re:Using SSO and Username and Email not showing 9 Years, 8 Months ago Karma: 0
Ok I can change code below to show user form all the time. I have the quiz set to No on Anonymous.

**QUIZ.PHP CODE***
$formView = $this->getSubView('guestform', 'quizform'); /*null;*/
/*if ($user->get('id') == 0 && $quiz->Anonymous != 'Yes')
{
$formView = $this->getSubView('guestform', 'quizform');
}*/

I have commented out the Cookie part in
**VIEW.HTML.PHP**
//else
//{
//$data['Email'] = AriUtils::getParam($_COOKIE, 'aq_email', '');
//$data['UserName'] = AriUtils::getParam($_COOKIE, 'aq_name', '');
//}

I have modified the guestform.xml to add a drop down box to select location. Updated Language files and so forth to correspond to this, as well as add Params so can set variable in templates to pull this location data.
This was working before we turned on SSO. My question is it possible to omit and not even read Joomla's user ID and so forth jus take the input from the username location form presented each time at beginnging of test. Because it is still pulling the logged in user and not populating the Location variable at all.

Thanks for any info, we begin company wide testing with over 30 test and I need to be able to pull these variables from the guestform ....
The administrator has disabled public write access.
 
#54026
Re:Using SSO and Username and Email not showing 9 Years, 8 Months ago Karma: 760
If you want to show values from the form instead of name and email of logged users who took quizzes on "Quizzes results" page on component backend, it requires to modify code of the extension.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#54027
Re:Using SSO and Username and Email not showing 9 Years, 8 Months ago Karma: 0
What would be looking at cost wise to make this a function of this. Because of us using generic accounts we need this option of forcing them to use the guest form to input name. And it bypass SSO credentials.

I am happy to change the code to do it, I jus need to know what files you use to pull this info, or is this more across the whole extension.
The administrator has disabled public write access.
 
#54031
Re:Using SSO and Username and Email not showing 9 Years, 8 Months ago Karma: 760
Data for "Quizzes results" page is provided by "getResultList" method from <joomla_directory>/administrator/components/com_ariquiz/models/quizresults.php file.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 123