LOVE the module. Prior to discovering it I was using 1-time-logins and fighting a loosing battle of login expiration.

In admin/settings/urllogin when I click on "this link" in "A bulk download of all user logon strings as a tab-separated csv file can be downloaded by right-clicking and saving this link. But first set the following options (if required) and save the form." I get a blank CSV file with only the header information "UID Name Email URL".

All of the user id's (10K +) seem to work great on urllogin/status/#### and using the l_test testing.

Inside urllogin.inc I noticed a comment "A theme template file is needed of the page-urllogin-userlist.csv.tpl containing the single line: < ?php print $content; ? >". I created the file in my theme directory to no avail.

Thanks in advance for your help. I am hoping to use the module today for an email campaign.

Kevin

Comments

kayceedub’s picture

+1 I am getting the same issue as Kevin.

BTW, great module! I also love the analysis of requirements and other modules.

kayceedub’s picture

Found the problem.

In urllogin.inc at line 335 and 353, those lines needs to be:

WHERE p.perm like '%login via url%'

instead of

WHERE p.perm = 'login via url'

Also, the role of the users you are generating the urls for need to be something besides authenticated user.

InTheLyonsDen’s picture

Thanks!!!

Regarding, "Also, the role of the users you are generating the urls for need to be something besides authenticated user.", will it work if the user is both an authenticated user AND a different role?

andrewfn’s picture

It is a bit more complicated when the user does not have any roles apart from authenticated user and all authenticated users have urllogin permission. I have a solution that I am just testing which will fix all the problems.

andrewfn’s picture

Status: Active » Fixed

I have fixed the problem and tested it. It should also now work with authenticated users who do not have a role but all authenticated users are given the "login via url" permission.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.