The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

User Access Manager
tweak for function addUserColumn (2 posts)

  1. Dric
    Posted 4 years ago #

    Your function breaks display of other custom columns : their data values are empty. It's because you don't return the value ($empty) if columnName is not uam_access.

    I suggest you a little patch :

    public function addUserColumn($empty, $columnName, $id)
            if ($columnName == 'uam_access') {
                return $this->getIncludeContents(
              return $empty;

    This should solve the problem.


  2. Number 6
    Posted 3 years ago #

    Hi Dric, I know this is an old post but I just wanted to say thanks. I ran into the problem myself and after spending ages stepping through code with the debugger I came to the same conclusion. I wasn't sure though so it was great to find your post confirming it.

    Just for reference for anyone else trying to find this, for User Access Manager version 1.2.2 the function addUserColumn is on line 1189 of plugins/user-access-manager/class/UserAccessManager.class.php

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • User Access Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic