Topic Visitors Counter Plugin

Hi
I’ve made a simple plugin to display how many visitors are visiting a topic.

https://github.com/saiqulhaq/tvc

This plugin calculates visitors based on session id, so it will not increment the total viewer data if there is multiple browser tabs opening same topic.
It will track user when entering or leaving to another topic, but it can’t update the data if user close the browser tab. However it’s not a big issue, I already have plan for that, I can set expire time for each tracked session and use heartbeat system to check that user still viewing the topic.

I will start to add that functionality and some test after GSOC student apply deadline, so the background of why I create this plugin is because I need more familiarize my self with Discourse.
Few days ago I sent a GSOC Proposal for ‘Webhook for Discourse events’, but I still have no feedback from mentors, and I can’t find who is the mentor, so please let me know who is the mentor so I can contact with him.
Based on this groundwork, I want to propose ‘See who’s writing’ GSOC idea.

I know it’s not useful plugin, but I will very appreciate every feedbacks for this plugin.

6 „Gefällt mir“

I don’t know why you got no feedback, @erlend_sh is in charge of that.

2 „Gefällt mir“

oh okay, I am still waiting patiently
I’m just worrying because the deadline is less than 3 days away

2 „Gefällt mir“

Entschuldigung für die Verzögerung bei den Bewertungen, Saiqul. Ich habe gestern jedoch einen Kommentar im Bewertungsbereich eingereicht; sendet die GSoC-App keine Art von Benachrichtigung dazu?

Das Erstellen eines Plugins wie dieses, um deine Fähigkeiten zu demonstrieren, ist ein sehr guter Ansatz! :thumbsup: Du solltest es im #customization:plugin-Verzeichnis einreichen, sobald es funktionsfähig ist.

6 „Gefällt mir“

It’s OK, I understand you must have been busy. I want to say thanks to you of your time for reviewing my proposal.
I just checked my email, my proposal file on google docs, and GSoC site, but I can’t find your review. Could you tell me more where you submitted your comment please?

OK absolutely will do.

1 „Gefällt mir“

D’oh! I posted in the admin-only comments section. Sent you a message on Meta instead.

1 „Gefällt mir“

Oh man! Good!
Maybe, finally, we will enjoy a lot of features that have many forums!

You’re going to expand this features?

Ja klar, ich werde die grundlegende Funktionalität bald fertigstellen und sie in das Verzeichnis Customization > Plugin einreichen, damit du Feedback geben kannst, falls du nichts dagegen hast.

6 „Gefällt mir“

Hi @sam

I have read your message_bus library to complete the basic functionality of this plugin
I’ve tried some ways, but the way that works is by add some method on MessageBus middleware
please take a look at this gist.
how do you think? Would it be a problem for MessageBus performance or something awful?

Ich möchte gerne sehen, wie viele Besucher – angemeldet und anonym – gerade mein Forum besuchen.
Kann dieses Plugin diesen Zweck erfüllen?
Oder kennt ihr eine andere Möglichkeit?

Es wäre sehr gut, wenn es eine Option gäbe, diese Zahl den Nutzern anzuzeigen (oder auszublenden).