Problem implementing createdBy.fullname

7 posts by 2 authors in: Forums > CMS Builder
Last Post: November 19, 2013   (RSS)

By gkornbluth - November 15, 2013 - edited: November 17, 2013

Hi All,

In order to show the name of the person who created a record, I’m trying to implement <?php echo $record['createdBy.fullname']; ?> in a standard vanilla list page foreach loop in V 2.53 and can’t get it to work.

I've tried to find an answer to this on the forum, and although I've used it before (and it's even a recipe in my CMSB Cookbook), I’m a bit confused

I even tried putting this in the load records call, although I thought that it was true by default:

 'loadCreatedBy' => true,

I don't know if this is related but in the cmsAdmin directory there's an error log with a number of entries like this:

[16-Nov-2013 14:35:14 UTC] PHP Warning:  php_uname() has been disabled for security reasons in /home/k9class/public_html/cmsAdmin/lib/menus/admin/general.php on line 746
[16-Nov-2013 14:35:27 UTC] PHP Warning:  php_uname() has been disabled for security reasons in /home/k9class/public_html/cmsAdmin/lib/menus/admin/general.php on line 744
[16-Nov-2013 14:35:27 UTC] PHP Warning:  php_uname() has been disabled for security reasons in /home/k9class/public_html/cmsAdmin/lib/menus/admin/general.php on line 745
[16-Nov-2013 14:35:27 UTC] PHP Warning:  php_uname() has been disabled for security reasons in /home/k9class/public_html/cmsAdmin/lib/menus/admin/general.php on line 746



Any ideas appreciated?

Thanks,


Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By gkornbluth - November 18, 2013 - edited: November 21, 2013

Hi Dave,

Thanks for looking at this.

So the two issues are unrelated? uname() is not critical then.

best,

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By Dave - November 18, 2013

Hmm, that's odd.  Are you using Website Membership with a different membership table or something like that? 

Can you email me CMS/FTP login details and and a link to this forum post and I'll take a look?  (Note: Don't post login details to the forum).

Thanks!

Dave Edis - Senior Developer
interactivetools.com

No, it's a pretty straight forward installation.

Login will be on it's way in a few seconds, but Ross has it already, since he's been doing the listings manager conversion on this site.

Thanks,

Jerry

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php

By Dave - November 18, 2013

Hi Jerry, 

That user record (#1003) isn't showing because it is flagged as hidden:
Status [x] Don't display homepage on website (which is actually the standard "hidden" field)

Is that not how you want it to work? 

Dave Edis - Senior Developer
interactivetools.com

Hi Dave,

All the user records are hidden, (must have been a default in the import from listings manager) but I didn't put the two ideas together.

Sorry to spin your wheels, but I learned something. (now if I can only remember it)

Have a great day,

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php