New notifications feature

Discussion about the AutoHotkey Foundation and this website
Bruttosozialprodukt
Posts: 463
Joined: 24 Jan 2014, 22:28

New notifications feature

Post by Bruttosozialprodukt » 06 Dec 2014, 23:10

Credits to vasili111 for the improved version of this guide!
Some of you may have noticed the new notifications area in the status bar:

Image



Joedf and I have been working on this for quite some time and the outcome is really amazing.

It's purpose is basically to inform you about new activity in topics that you created, posted or subscribed. It automatically updates itself in the background, so you don't have to manually reload your topics pages all the time.




So how do I use it?

Every topic has a dedicated subscribe button. Click it to subscribe:

Image



To unsubscribe just click it again:

Image



Or, when you get a notification on a thread you don't care about, click one of the Image buttons.

Image




How to get automatically subscribed to my own topics and topics I reply to?

1. First of all click on the "new notifications" link on the top of the page.

Image



2. Click on "Posting settings" on popup overlay.

Image



3. Set "Notify me upon replies by default" to "Yes".

Image




How do I disable the email notifications?

1. Click on the "new notifications" link on the top of the page.

Image



2. Uncheck the "Emails" checkbox.

Image




How to manage the list of current subscriptions?

1. Click on the "new notifications" link on the top of the page:

Image



2. Click on "Manage subscriptions" on overlay menu:

Image



3. Check the checkboxes that you wish to Unsubscribe:

Image



4. Press "Unwatch marked":

Image




If you have any questions, feedback or suggestions, feel free to leave them here.
The progress
Last edited by Bruttosozialprodukt on 07 Dec 2014, 07:29, edited 1 time in total.

vasili111
Posts: 747
Joined: 21 Jan 2014, 02:04
Location: Georgia

Re: New notifications feature

Post by vasili111 » 07 Dec 2014, 04:03

Content of this post was moved to the first post of current thread.
Last edited by vasili111 on 07 Dec 2014, 09:07, edited 6 times in total.
DRAKON-AutoHotkey: Visual programming for AutoHotkey.

vasili111
Posts: 747
Joined: 21 Jan 2014, 02:04
Location: Georgia

Re: New notifications feature

Post by vasili111 » 07 Dec 2014, 04:06

Also I could not find the checkbox "Emails" in "new notifications" overlay menu. It has been removed or it is visible only in certain situations?

Edit:
"Emails" checkbox is only visible when user is on the page of the subscribed topic, right?
DRAKON-AutoHotkey: Visual programming for AutoHotkey.

Bruttosozialprodukt
Posts: 463
Joined: 24 Jan 2014, 22:28

Re: New notifications feature

Post by Bruttosozialprodukt » 07 Dec 2014, 06:37

Great job! Do you want me to put it in the first post?


Joedf probably just did some testing which temporarely disabled the feature. For me it's visible everywhere.
Try to reload your browser using Ctrl+F5.

vasili111
Posts: 747
Joined: 21 Jan 2014, 02:04
Location: Georgia

Re: New notifications feature

Post by vasili111 » 07 Dec 2014, 07:12

Bruttosozialprodukt wrote:Great job! Do you want me to put it in the first post?
Yes, it will be nice :)
I will delete my post content after you add it to firs post.
Bruttosozialprodukt wrote:Joedf probably just did some testing which temporarely disabled the feature. For me it's visible everywhere.
Try to reload your browser using Ctrl+F5.
It is fixed now for me too.


I updated several images, added "How to manage the list of current subscriptions?" section and "The progress" spoiler.
DRAKON-AutoHotkey: Visual programming for AutoHotkey.


vasili111
Posts: 747
Joined: 21 Jan 2014, 02:04
Location: Georgia

Re: New notifications feature

Post by vasili111 » 07 Dec 2014, 08:07

I think it is very useful future which will help not to miss activity in those threads that we are interested. Bruttosozialprodukt and Joedf have done really great job for creating that functionality for your forum!
DRAKON-AutoHotkey: Visual programming for AutoHotkey.

User avatar
joedf
Posts: 9097
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: New notifications feature

Post by joedf » 07 Dec 2014, 18:33

Neat improvement! :D
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]

User avatar
WAZAAAAA
Posts: 89
Joined: 13 Jan 2015, 19:48

Re: New notifications feature

Post by WAZAAAAA » 13 Jan 2015, 22:23

You mean this wasn't a plugin taken from elsewhere, but it was developed by AHK staff? Holy cow! phpBB really needed this!
YOU'RE NOT ALEXANDER

User avatar
joedf
Posts: 9097
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: New notifications feature

Post by joedf » 14 Jan 2015, 00:09

They have something similar in PHPbb v3.1+ But they don't have the `Refresh` ;)
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]

enthused
Posts: 94
Joined: 27 Dec 2014, 03:28

Re: New notifications feature

Post by enthused » 14 Jan 2015, 00:09

very nice feature and I have been using it daily

vasili111
Posts: 747
Joined: 21 Jan 2014, 02:04
Location: Georgia

Re: New notifications feature

Post by vasili111 » 14 Jan 2015, 07:57

joedf wrote:They have something similar in PHPbb v3.1+ But they don't have the `Refresh` ;)
Put that mod at github. I think it will be useful for others too.
DRAKON-AutoHotkey: Visual programming for AutoHotkey.


vasili111
Posts: 747
Joined: 21 Jan 2014, 02:04
Location: Georgia

Re: New notifications feature

Post by vasili111 » 15 Jan 2015, 02:14

DRAKON-AutoHotkey: Visual programming for AutoHotkey.

lexikos
Posts: 9780
Joined: 30 Sep 2013, 04:07
Contact:

Re: New notifications feature

Post by lexikos » 22 Jan 2015, 01:49

Image

Anyone else see the problem with this picture?

User avatar
jNizM
Posts: 3201
Joined: 30 Sep 2013, 01:33
Contact:

Re: New notifications feature

Post by jNizM » 22 Jan 2015, 01:57

[AHK] v2.0.18 | [WIN] 11 Pro (23H2) | [GitHub] Profile

lexikos
Posts: 9780
Joined: 30 Sep 2013, 04:07
Contact:

Re: New notifications feature

Post by lexikos » 22 Jan 2015, 02:04

Huh?

The problem was that none of the notifications were listed. This continued happening until a new notification came in (your post). There were definitely new posts in my subscribed topics (I found them manually).

User avatar
joedf
Posts: 9097
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: New notifications feature

Post by joedf » 22 Jan 2015, 09:28

That is weird... What does the web console say? Any errors?
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]

User avatar
joedf
Posts: 9097
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: New notifications feature

Post by joedf » 22 Jan 2015, 11:02

Ahh ok I figured it out. it's weird since it still works on the mobile version.
SyntaxError: JSON.parse: bad escaped character at line 1 column 185 of the JSON data Iixkb2N1bWV...:26
It is because i put a minified version of the js code. seems the minification must have caused some errors.
working on it now.
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]

User avatar
joedf
Posts: 9097
Joined: 29 Sep 2013, 17:08
Location: Canada
Contact:

Re: New notifications feature

Post by joedf » 22 Jan 2015, 11:30

Nope, i was wrong. i found the issue... looks like there was a tiny exploit... :P
var NotifsServerSide_JSON = '[{"ti":"99","tlpt":"Jan 22 2015 07:55 AM","tt":"Test your Forum Posts","tlpn":"GeekDude","tlpi":"35542","tlpc":""},{"ti":"6050","tlpt":"Jan 22 2015 08:25 AM","tt":"A_DoubleClick (HKCU\Control Panel\Mouse\DoubleClickSpeed)","tlpn":"ekipan","tlpi":"35544","tlpc":""}]';
This topic is the culprit! http://ahkscript.org/boards/viewtopic.php?f=13&t=6050#

some how the scaping isnt working correctly in json_encode();

hmm.. added some custom escaping... hope it works
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]

Post Reply

Return to “About This Community”