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


Recent Events
  • 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.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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?

Show filtered data to Community Builder users
(1 viewing) (1) Guest
Go to bottomPage: 123
TOPIC: Show filtered data to Community Builder users
#11675
Show filtered data to Community Builder users 13 Years, 2 Months ago Karma: 0
Hi,

Is there an possibility to show filtered data to Community Builder users (different users, differt data)?
The administrator has disabled public write access.
 
#11676
Re:Show filtered data to Community Builder users 13 Years, 2 Months ago Karma: 748
Hello,

Do you want to display data from database and use ID of logged user into SQL query or you mean something another?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#11695
Re:Show filtered data to Community Builder users 13 Years, 2 Months ago Karma: 0
I want to show certain sql data to certain users. For example: user ID 2 can only see data concerning his own scores, user ID 3 etc.
The administrator has disabled public write access.
 
#11712
Re:Show filtered data to Community Builder users 13 Years, 2 Months ago Karma: 748
The module provides ability to user ID of logged user into SQL query. One note, currently it can be shown in module position or in an article.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#12827
Re:Show filtered data to Community Builder users 13 Years, 1 Month ago Karma: 0
Specifically, how do I filter the data or query by logged in user? Here is what I have and it works great. However, I need to filter by logged in user. Any help will be appreciated.

Code
------------------------------------------------------------------------------------
SELECT jos_facileforms_subrecords.name, jos_facileforms_subrecords.value, jos_facileforms_records.id
FROM jos_facileforms_subrecords
LEFT JOIN jos_facileforms_records ON jos_facileforms_subrecords.record = jos_facileforms_records.id
WHERE jos_facileforms_subrecords.title IN ('Project Title')
ORDER BY jos_facileforms_subrecords.id

-------------------------------------------------------------------------------------

thank you in advance for your help!
Last Edit: 2011/03/25 02:25 By garyjoomla.
The administrator has disabled public write access.
 
#12829
Re:Show filtered data to Community Builder users 13 Years, 1 Month ago Karma: 748
Hello,

You can use {$UserId} predefined variable in SQL query. {$UserId} contains ID of logged user.

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