We recently implemented notifications but found that people got a bit confused about where to go to subscribe. They wanted to be able to subscribe on the homepage of our forum and not within specific nodes. Plus, they seemed a bit confused when we asked them to subscribe to all content on a thread page.

To try and fix this, I created a second block that just provides links to notification options and can appear on every page. I'll attach a patch shortly.

Julia

CommentFileSizeAuthor
#1 notifications-619180.patch1.88 KBJuliaKM

Comments

JuliaKM’s picture

Status: Active » Needs review
StatusFileSize
new1.88 KB

Here's the patch. Looking forward to hearing how it can be improved. Notifications has so many useful functions, it was hard to know the best ones to use to implement for the new block.

jose reyero’s picture

Status: Needs review » Needs work

The patch doesn't look bad, though it would need some more things like like checking access permissions, etc...

Take a look at notifications_user_overview(), you could pick stuff from that page.

Anyway I think the best and simplest way to accomplish this would be creating a custom block with static html. However if you really want a generated block and want to put some more work on it, we may consider it for inclusion in the module.

JuliaKM’s picture

It actually checks access permissions right now with:

if (!empty($info['access']) && user_access($info['access'])) {

I'll look at notifications_user_overview() and try to find a more appropriate way to check for user access.

circuscowboy’s picture

Version: 6.x-2.x-dev » 6.x-4.0-beta7

I need a button on my home page that allows people to subscribe to the available notifications for numerous nodes.

The patch seems to do what I want but because I need anonymous notifications I have to use the new beta7 which is substantially different.

It seems like this would be a common request. The equivalent to a page with all the RSS feeds available for the site.

Is there any plan for a global block that someone can choose the topics (nodes) they wish to have notifications for. This could be on the sidebar and would really help for usability.

If there is someone else who as explored this please point me in this direction as I can't find anything.

Perhaps I can just create a custom php block to call these items. Any help would be appreciated.

Thanks

Scott

jodyfr’s picture

Subscribing

SchwebDesign’s picture

a global block as mentioned in comment 4 is exactly what i need as well. subscribing!