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?

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 9 Years, 11 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 9 Years, 11 Months ago Karma: 760
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 9 Years, 11 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 9 Years, 11 Months ago Karma: 760
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