Just remove the "l.courseid = %%COURSEID%% condition" and it should give you a sitewide report.
# CHANGE UserID
- WHERE l.userid = %%USERID%% AND l.courseid = %%COURSEID%%
+ WHERE l.userid = %%USERID%%
%%FILTER_STARTTIME:l.timecreated:>%% %%FILTER_ENDTIME:l.timecreated: