Jump to content

Recent client activity


Recommended Posts

On the admin homepage, theres a box "Recent Client Activity".


How can you make so that either 1. It shows more than just 5 there or 2. view a full page of the client activity


I did find this post: http://forum.whmcs.com/showthread.php?34761-Recent-Client-Activity-Logs&highlight=Recent+Client+Activity+Logs from 2011... But that info isnt correct anymore.


Where or how can set it up to do one of 2 items above?

Link to comment
Share on other sites

to do 1) you will need to edit modules/widgets/client_activity.php and modify the line below...


$result = select_query("tblclients","id,firstname,lastname,ip,lastlogin","","lastlogin","DESC","0,5");

change the 5 at the end of the line to however many entries you want to show in the widget.


to do 2) you could probably just take the SQL query, create a new report (or adapt from an existing one) and replace the existing query with the above and then modify the output to display it - if you want to try it, the widget should give you a lot of clues with regards to output.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated