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
0015274phplist applicationSubscribe Processpublic03-05-09 21:5502-11-12 12:29
PlatformOSOS Version
Product VersionFutureDevelopments 
Target Version4.0.xFixed in Version2.11.8 
Summary0015274: Unsubscribe from inactive/private lists
DescriptionI have a combination of public lists (active with a subscribe page), private lists (deactivated, no subscribe page), and semi-private lists (active, but with own subscribe page). One user may be on any number of these lists.

The problem is that, in order for a user to unsubscribe from specific lists via the preferences page, the lists must be 1) active 2) listed on the default subscribe page. These are not desirable, because I don't want to advertise the private and semi-private lists to anyone who is not already on these lists, either on a subscribe page or their preferences page.

I've found this patch on internet and it works great for me, I suggest that this is the way it should be in a standard version.

The patcher says:

"After giving it some thought, I determined that I needed to modify the code to display ALL lists a user is subscribed to on their preferences page, in addition to the default behavior of showing active lists enabled for that subscribe page. Once they unsubscribe from a list not enabled for that page, it disappears as expected.

I have provided my modifications as a patch below. I'm not too familiar with the phplist code, but it seems to work as expected.

Is there a better way to solve this problem, or can a solution like this be added to a future release? Perhaps as a configuration option ("Show all lists user is subscribed to on preferences page.")"

I'm attaching his patch - it works for me too.
TagsNo tags attached.
Attached Filestxt file icon suscribelib2.php_patch.txt [^] (3,091 bytes) 03-05-09 21:55 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
h2b2 (manager)
30-04-10 03:26

Related to this forum thread: [^]
michiel (manager)
02-11-12 12:29


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker