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?

How to recover user profile variables?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: How to recover user profile variables?
#55901
How to recover user profile variables? 9 Years, 1 Month ago Karma: 0
I have enabled some optional profile fields for the registered users of my website (using the User-Profile plugin), Joomla return these variable
with:$profile->profile['city'], $profile->profile['country'], etc
How I can recover these variables in Ari smart data table?
Regards
Roberto
The administrator has disabled public write access.
 
#55904
Re:How to recover user profile variables? 9 Years, 1 Month ago Karma: 760
Hello,

If you want to new predefined variables which can be used in SQL query, see "prepareQuery" method in
modules/mod_aridatatables/includes/kernel/DataTables/Models/class.DataTablesDataSqlModel.php file.

Regards,
ARI Soft
Last Edit: 2015/11/06 19:09 By admin.
The administrator has disabled public write access.
 
#56225
Re:How to recover user profile variables? 9 Years ago Karma: 0
Hi, can you provide a SQL example?
The administrator has disabled public write access.
 
#56226
Re:How to recover user profile variables? 9 Years ago Karma: 760
Hello,

The extension supports ability to use the following predefined variables for currently logged user:

{$UserId} - contains ID of currently logged user.
{$UserName} - name of currently logged user.
{$UserLogin} - login of currently logged user.
{$UserEmail} - email of currently logged user.

The variables can be used in the following way:

Code:


SELECT
 *
FROM
 #__users
WHERE
 id = {$UserId}



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