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
#12843
Re:Show filtered data to Community Builder users 13 Years, 1 Month ago Karma: 0
Thanks! Works perfectly and thanks for the quick response.
The administrator has disabled public write access.
 
#15143
Re:Show filtered data to Community Builder users 12 Years, 11 Months ago Karma: 0
Hi,

I started the thread and i'm finally ready to use ARI Data Tables for my own project. But i don't know how to connect the data to the specific Community Builder user.

I want to show all the data from jos_ezrealty where the unit_num = cb_object.

Can somebody help me out?

Thanks!
Last Edit: 2011/05/19 14:47 By diender.
The administrator has disabled public write access.
 
#15144
Re:Show filtered data to Community Builder users 12 Years, 11 Months ago Karma: 748
Hello,

Sorry, but could you explain what is "unit_num" and "cb_object"? It is hard to help because we don't know structure of your tables and what SQL query you use. The module provides ability to use user ID in SQL queries. Does community builder use own identifier for users or use standard Joomla! user id?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#15146
Re:Show filtered data to Community Builder users 12 Years, 11 Months ago Karma: 0
Quick reply!

unit_num is the field where the Unit Number of properties is stored in a Realty component (see attached file for the structure. cb_object is a field i created in Community builder (see attached file).

I want to show the registred user the data of his own property. The value in field unit_num in jos_ezrealty has to correspond with the value in field cb_object in jos_comprofiler.

Thanks,

Mischa
Last Edit: 2011/05/19 15:07 By diender.
The administrator has disabled public write access.
 
#15181
Re:Show filtered data to Community Builder users 12 Years, 11 Months ago Karma: 748
Try to use the next SQL query:

Code:


SELECT
  R.*
FROM
  #__ezrealty R INNER JOIN #__comprofiler C
    ON R.unit_num = C.cb_object
WHERE
  C.user_id = {$UserId}



Regards,
ARI Soft
The administrator has disabled public write access.
 
#15219
Re:Show filtered data to Community Builder users 12 Years, 11 Months ago Karma: 0
Hi,

This didn't work. I now use the user id to match the desired property. This works fine! Thanks for helping.
The administrator has disabled public write access.
 
Go to topPage: 123