UserID at preferences page

oriolhernan

Joined: 2008-01-08
Posts: 41
Posted: Thu, 2009-01-22 12:28

I want to get the userId in the preferences page to make some improvements. BUt I can't find the correct sintax to get the id of the user in that page.

I tried $id.userId, and $user.userId but don't work

Anyone can tell me how to do it please?

Thanks!

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25964
Posted: Thu, 2009-01-22 23:09

If you enable buffered debug mode it should have the info you desire in the popup. Not sure if a 'guest' gets a ID or not.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
oriolhernan

Joined: 2008-01-08
Posts: 41
Posted: Fri, 2009-01-23 05:31

Thanks! I didn't think about debug! The correct variable is $user.id