Hi All, got a quick query for you.
I am trying to help a new user with a fairly tricky issue, to grab the user data from modx and use that data in Muut, a forum system. Here is the link:
http://forums.modx.com/thread/99335/need-help-with-php-connecting-muut-forum-to-modx
Anyway, we were playing around with the modx code for getting user data, like this:
<?php
$profile = $modx->user->getOne('Profile');
return $profile ? $profile->get('email') : '';
And i found i can get fullname, email, id, but NOT username. What gives, anyone know?
The problem over there is to take the Modx fullname, for example, and use it as the definition of the Muut terminology. So, we know we can get some/most of the user data we need for now, but how to pass it on?
Looking for a little php help on that one