Access control to user data

16 years 9 months ago #40701 by mikko
Replied by mikko on topic Re:Access control to user data
It should be about right. {$user} is resolved to the userid.

You should put your site to debug to see what kind of query it produces, and then try running this with phpMyAdmin to see why it does not return results.


-Mikko

Please Log in to join the conversation.

16 years 9 months ago #40708 by chris2005
Replied by chris2005 on topic Re:Access control to user data
I subscribed to this topic. It seems the forum post you'd made did not come properly with the email. {user} was missing in it. I will try it again with the proper query.

Please Log in to join the conversation.

16 years 9 months ago #40712 by chris2005
Replied by chris2005 on topic Re:Access control to user data
I got it working now. I use:

select 1 from #__comprofiler where id={$my} and cb_psygenoten=1;

to get the functionality I need. So {$my} instead of {$user}

Thanx for your help.

Regards,
Chris

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.196 seconds

Facebook Twitter LinkedIn