Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

JeffreyWay's avatar

New Forum Feature: Mention Notifications

Hey, all -

I just pushed a commit that will alert you when a user in the forum mentions you (by using @ and then your username, like @JeffreyWay).

If you're currently browsing when the "mention" is left, then you'll immediately receive an alert (through Pusher). Otherwise, when you next visit the site, you'll find a notification count bubble next to your username in the nav bar.

notification count

If you notice anything odd, let me know. I'm sure there's a couple quirks that I missed. :)

0 likes
40 replies
daveyoi's avatar

First sign of madness is to mention yourself in a forum, isn't it @daveyoi?

2 likes
henrique's avatar

What if I don't remember the name I have here?

Edit: @henrique, ok, I got it, but what if I mention @henrique twice?

Edit 2: got nothing :(

1 like
bacondrinker's avatar

There has been this one small thing that has been annoying me since the forum has been launched. There is no gap between the topic at the top (I know, it's a tiny thing, but ocd)

Pic:

alt nogaps

carkis's avatar

@bacondrinker That's a Twitter Bootstrap quirk when you use the tab pills in that specific distribution. I noticed it when I did the same for a site.

JeffreyWay's avatar

Yeah - it's because they use display: table to align them properly. I'll see if I can work around that.

HRcc's avatar

Regarding topic gap issue from previous page

@JeffreyWay ... or set left & right margin of a to 5px, remove left margin of first item and right margin of last - result here

jgravois's avatar

Is there a lesson on how to create those notification bubbles ... I desperately need that for a project.

JeffreyWay's avatar

@jgravois - Not right now, but I could do one. Mostly, it's a matter of storing an "activity" in a database table each time a relevant reply is left. Then, when they click on one of their notifications, behind the scenes, it sends an AJAX request to delete or archive the record.

Next

Please or to participate in this conversation.