Message boards : Web interfaces : tools to unsubscribe from all old threads
Message board moderation
Author | Message |
---|---|
Send message Joined: 27 Jun 08 Posts: 641 |
I did not see any way to easily unsubscribe from old posts so I put together a perl script here that allows anyone to unsubscribe from all threads on all registered projects that are over X days old. You can specify the number of days. You will have to edit the file unsubscribe.pl and change the following 4 lines my $InitialSite = "http://www.gpugrid.net"; my $username = "YourUsername"; my $password = "YourPassword"; my $cutoff = 7; The "7" unsubscribes all posts over a week. Make sure you read the readme.txt about special characters in username or password. The initial site can be any site you are registered with except that climatewarming bs one. if you run "unsubscribe.pl list" it will just lists the threads that are older than your cutoff day. If you leave off the "list" they will be unsubscribed from. email if a problem. I have not tested this on ubuntu but it *should* work like the merge one. Enjoy. |
Send message Joined: 29 Aug 05 Posts: 15561 |
I did not see any way to easily unsubscribe from old posts You see that Subscribe button on top of a thread? After you've clicked it, it changes to an Unsubscribe button. How difficult can that be? ;-) The only difficulty to get rid of the subscription on some project forums is when the thread is hidden, but I believe that the latest versions of the forum software cancel all subscriptions on threads that people are subscribed to when the thread is hidden. |
Send message Joined: 27 Jun 08 Posts: 641 |
I did not see any way to easily unsubscribe from old posts Hi Jord. Clearly one can click on the unsubscribe, but my perl code automates going to all projects and doing it for you based on a cutoff date for old posts. In looking here under "Difficult/Complex" there is an acknowledged need to propagate profiles between projects, same for "forum preferences" and a quote "list of recent posts and threads". These can all be done using perl without haveing to update the php code at any of the servers. Clearly, you or any of the developers can code up a bunch of php pages to do these items, but it hasnt happened yet and all of the above are easy to do in perl. For example, the "initial site" that must be supplied in my perl scripts (unsubscribe or merge) could easily be used as a template to propagate profile and other info to all other registered projects. I have started codeing that. However, a good php programmer could do us all a favor and code up some pages to handle this and install it at the servers. Again, it hasnt happened yet. I have a lot of experience in aspx, but have written only a single php page and it me took a long time to get it right. I am unsure what a hidden thread is, but if it does not "show up" then my script will be unable to unsubscribe from it. |
Send message Joined: 29 Aug 05 Posts: 15561 |
I am unsure what a hidden thread is, but if it does not "show up" then my script will be unable to unsubscribe from it. When us moderators "delete" a thread, it is still available in the database and can still be read by moderators. Not by normal folk. (Hmmm, I seem to imply that us mods are abnormal ;-)) That's what a hidden thread is. |
Send message Joined: 25 Nov 05 Posts: 1654 |
:) You need "moderator vision" to see the posts. A bit like xray vision. |
Send message Joined: 30 Oct 05 Posts: 1239 |
(Hmmm, I seem to imply that us mods are abnormal ;-)) I never claimed to be normal. Kathryn :o) |
Send message Joined: 27 Jun 08 Posts: 641 |
Unfortunately, about 1/2 of the projects I am registered with use a spam blocker to confirm profile edits. That defeats my perl program. The first couple of projects I looked at didnt use any spam blocking mechanism and I assumed I could propagate a profile change using perl. Once I got into it I discovered this problem. |
Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License,
Version 1.2 or any later version published by the Free Software Foundation.