Geeklog Bugtracker
Geeklog

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000154 [Geeklog] Feature Requests minor always 2006-09-26 03:15 2009-10-09 12:42
Reporter hallomarkus View Status public  
Assigned To dhaun
Priority normal Resolution reopened  
Status feedback   Product Version
Summary 0000154: A button on a story "subscribe this topic" for better usability
Description A button on a story "subscribe this topic" for better usability
Additional Information One of the key features of GL over other blogs ist the possibility to subscribe topics.
This is hardly visible to the user. Therefore it would be helpful to have a button on a story "subscribe this topic" next to "send to a friend" and "print version".
It would help improve the general usability of GL as discussed here: http://www.geeklog.net/forum/viewtopic.php?showtopic=66100
(Note that this thread above is less on "multiple categories per article" than on usability in general.)
Tags No tags attached.
Target Future Release
Attached Files

- Relationships

-  Notes
User avatar (0000053)
hallomarkus (reporter)
2008-05-09 02:49

geeklog 1
User avatar (0000194)
dhaun (administrator)
2008-06-29 05:24

Seems simple enough. Quick'n'dirty version:

        if ($_CONF['backend'] == 1) {
            $tid = $story->displayElements('tid');
            $result = DB_query("SELECT filename, title FROM {$_TABLES['syndication']} WHERE type = 'geeklog' AND topic = '$tid' AND is_enabled = 1");
            $feeds = DB_numRows($result);
            for ($i = 0; $i < $feeds; $i++) {
                list($filename, $title) = DB_fetchArray($result);
                $feedUrl = SYND_getFeedUrl($filename);
                $feedTitle = "Subscribe to '" . $title . "'";
                $story_options[] = COM_createLink($feedTitle, $feedUrl);
            }
        }

(to go into article.php in 1.5.0, after the "if ($_CONF['pdf_enabled'] == 1) ..." block)
User avatar (0000215)
dhaun (administrator)
2008-07-04 03:49

The link should probably have a type attribute, e.g. type="application/rss+xml", just like the feed links in the site header.
User avatar (0000231)
dhaun (administrator)
2008-07-26 12:26

Implemented in CVS.
User avatar (0001020)
hallomarkus (reporter)
2009-10-09 08:55

Could this be reopened again? Meant was the possibility to subscribe topics by email.

Maybe there should be such a nice sign on the top of the topics like in the forum plugin "subscribe this forum / thread" -> subscribe this topic.
User avatar (0001021)
lwc (reporter)
2009-10-09 12:42
edited on: 2009-10-09 13:12

To make such a common link possible, the second part of this request must be to put COM_emailUserTopics() by default in lib-custom.php's function CUSTOM_runScheduledTask() and put an on/off option in the GUI:

function CUSTOM_runScheduledTask() {
global $_CONF;
    if ($_CONF['emailUserTopics'])
      COM_emailUserTopics();
}

Then again, I assume many would want a much less frequent interval for sending e-mail than the general one. Therefore, it might be better to add a unique scheduler for this in lib-common.php:

// Check and see if there are any new stories to send
if ($_CONF['emailUserTopics_schedule_interval'] > 0) { // 0 means off and > 0 should probably be measured in days
    if ((DB_getItem($_TABLES['vars'], 'value', "name='emailUserTopics_scheduled_run'")
            + $_CONF['emailUserTopics_schedule_interval']) <= time()) {
        DB_query("UPDATE {$_TABLES['vars']} SET value=UNIX_TIMESTAMP() WHERE name='emailUserTopics_scheduled_run'");
        COM_emailUserTopics();
    }
}

The latter solution would also not force admins to manually update their lib-custom.php file.

And let's not forget to fix the entire function in the first place: http://project.geeklog.net/tracking/view.php?id=997


- Issue History
Date Modified Username Field Change
2006-09-26 03:15 hallomarkus New Issue
2008-04-13 13:45 dhaun Status new => resolved
2008-04-13 13:45 dhaun Resolution open => suspended
2008-04-13 13:45 dhaun Status resolved => closed
2008-05-08 17:46 hallomarkus Issue Monitored: hallomarkus
2008-05-09 02:49 hallomarkus Status closed => feedback
2008-05-09 02:49 hallomarkus Resolution suspended => reopened
2008-05-09 02:49 hallomarkus Note Added: 0000053
2008-05-09 03:19 dhaun Project Geeklog 2 => Geeklog
2008-06-29 05:24 dhaun Target => Future Release
2008-06-29 05:24 dhaun Note Added: 0000194
2008-06-29 05:24 dhaun Assigned To None =>
2008-06-29 05:24 dhaun Projection none => tweak
2008-06-29 05:24 dhaun ETA none => < 1 day
2008-06-29 05:24 dhaun Summary A button on a story "subscribe this topic" for better usability => A button on a story "subscribe this topic" for better usability
2008-06-29 05:24 dhaun Description Updated
2008-06-29 05:24 dhaun Additional Information Updated
2008-07-04 03:49 dhaun Note Added: 0000215
2008-07-26 11:19 dhaun Status feedback => assigned
2008-07-26 11:19 dhaun Assigned To => dhaun
2008-07-26 12:26 dhaun Note Added: 0000231
2008-07-26 12:26 dhaun Status assigned => resolved
2008-07-26 12:26 dhaun Fixed in Version => CVS
2008-07-26 12:26 dhaun Resolution reopened => fixed
2008-12-14 09:42 dhaun Fixed in Version CVS => 1.5.1
2009-05-05 18:31 hallomarkus Issue End Monitor: hallomarkus
2009-10-09 08:55 hallomarkus Note Added: 0001020
2009-10-09 08:55 hallomarkus Status resolved => feedback
2009-10-09 08:55 hallomarkus Resolution fixed => reopened
2009-10-09 12:42 lwc Note Added: 0001021
2009-10-09 12:52 lwc Note Edited: 0001021
2009-10-09 12:53 lwc Note Edited: 0001021
2009-10-09 13:12 lwc Note Edited: 0001021
2009-10-09 13:13 lwc Issue Monitored: lwc


Copyright © 2000 - 2009 Mantis Group
Hosted by pair.com
Powered by Mantis Bugtracker