phplist

NOTE:: Before reporting an issue, make sure you are running the latest version, currently 3.3.1


View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0017152phplist applicationUser Managementpublic17-04-14 14:4218-04-14 14:32
Reporteralpha1 
PrioritynormalSeverityfeatureReproducibilityN/A
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version3.0.5 
Target Version3.0.XFixed in Versionplugin Development 
Summary0017152: Cannot find user by their [USERID]
DescriptionphpList provides a [USERID] placeholder, that can be used for among other things, making user unique links, such as a google analytics trackable link. But no way is provided to search for the subscriber associated with the [USERID]. I would like to suggest a way to search by the [USERID] for analytics purposes.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0053529)
michiel (manager)
17-04-14 16:23

you can load /admin/?page=user&id=[USERID] manually
(0053530)
alpha1 (reporter)
17-04-14 16:33

That actually doesn't work.

I searched my email in PHPlist, and found a field called "uniqid" which is what [USERID] spits out.
Both of the links below fail, with any user.
admin/?page=user&id=55eda09e00656d52d66b0bc56c88b3e7
admin/?page=user&uniqid=55eda09e00656d52d66b0bc56c88b3e7

However in the user's row in phpmyadmin, another field called `id` exists, which has a value of '14917' and that does hold true and work with the link you offered, admin/?page=user&id=14917.

But that `id` field is not what [USERID] outputs.

I think a search by and GET hook for uniqid are in order, and if I can help in any way, I'd like to.
(0053531)
michiel (manager)
17-04-14 16:50


ah, interesting, that's a confusion on ID and UNIQID. That could do with looking at.
(0053532)
alpha1 (reporter)
17-04-14 17:05

It would be nice to allow for both to be used as placeholders and searches/GET lookups.

The Userid gives away a little bit of info, as its an auto-increment value, so it says how many subscribers the system has, where UNIQID I believe is a completely random Md5 hash and is IMO more appropriate for a tracking ID (Its also used for the preferences pages and such)
(0053535)
duncanc (developer)
18-04-14 14:22

See the Subscribers plugin https://github.com/bramley/phplist-plugin-subscribers [^]
It supports searching by id, by uniqid as well as by email and user attributes.
(0053536)
michiel (manager)
18-04-14 14:32

cool, so all is sorted


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker