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


Recent Events
  • 05/09/2017 BIG Autumn SALE

    Use AUTUMN17 coupon code to buy our WordPress or Joomla! extensions with 25% discount. Hurry up! The offer is valid till 11 September.

  • 14/04/2017 Happy Easter

    Wish a Happy Easter and give 30% discount for all our WordPress and Joomla! extensions. Use EASTER17 coupon code. The offer is valid till 17 April.


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?

Change UserName in module result
(1 viewing) (1) Guest
ARI Quiz Lite
Go to bottomPage: 1
TOPIC: Change UserName in module result
#53110
Change UserName in module result 2 Years, 9 Months ago Karma: 0
Hello,
I use Ari Quiz Lite and I want to change in result module the UserName bye the login name.
I found this line in ariquizresult.php
<?php AriQuizWebHelper::displayDbValue($result->UserName); ?>

but how to modify it by Login name?

Best regards
The administrator has disabled public write access.
 
#53114
Re:Change UserName in module result 2 Years, 9 Months ago Karma: 667
Hello,

See "getLastResults" method in <joomla_directory>/administrator/components/com_ariquizlite/kernel/Controllers/class.ResultController.php file.

PS: "ARI Quiz Results" module from "ARI Quiz" extension supports ability to choose what field (login or user name) will be shown in module settings.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#53116
Re:Change UserName in module result 2 Years, 9 Months ago Karma: 0
thanks for yoir answer
but my skills in php and sql are too low for me to know what to change in these line.

I suppose a change in U.name AS UserName but what can I change?

L.login, U.login, ...?

sorry for this stupid question

regards
The administrator has disabled public write access.
 
#53121
Re:Change UserName in module result 2 Years, 9 Months ago Karma: 667
It requires to extend SQL query that it selects user login and then show this field in the module.

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