Jump to content


Click here to lend your support to: Traq and make a donation at pledgie.com !
Photo

Extend Users page


  • Please log in to reply
2 replies to this topic

#1 marceln1969

marceln1969

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 01 August 2011 - 08:29 PM

Dear Jack,

Is it possible to extend the 'Users' page with additional information (not only Username, but also Name and Group). It would be great if you could sort on these items (on Username, Name and Group).

Hope to hear from you if this is possible.

regards

#2 Jack

Jack

    Project Founder

  • Administrators
  • 673 posts
  • LocationAustralia

Posted 02 August 2011 - 12:51 PM

You could add this functionality yourself if you really wanted to, but there are no plans to add it in for Traq 2.0.

Traq 3.0 may have something like this though.

#3 marceln1969

marceln1969

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 02 September 2011 - 09:36 PM

Please find the code i've added below. (add username and groupname in User view) see users.php:

?>








$fetchusers = $db->query("SELECT traq_users.id,traq_users.name,traq_users.username,traq_usergroups.name AS gname FROM ".DBPF."users, ".DBPF."usergroups WHERE traq_users.group_id = traq_usergroups.id ORDER BY username ASC");
while($usr = $db->fetcharray($fetchusers))
{
?>







"> "> ">
"><?php echo l('edit')?></span>
')) { window.location = 'users.php?delete='; } return false;"><?php echo l('delete')?></span>


===========================================

Dear Jack,

Is it possible to extend the 'Users' page with additional information (not only Username, but also Name and Group). It would be great if you could sort on these items (on Username, Name and Group).

Hope to hear from you if this is possible.

regards





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users