Author Topic: [DONE] E-mail notification on topic reply  (Read 7837 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
[DONE] E-mail notification on topic reply
« on: 22 September 2012, 16:52:23 »
Hi,

we have some issues with the MegaGlest bug report forum which I'd like to discuss. It often happens that people register to the forums, post a bug report, which we reply to, and they are never seen again. I assume the default forum configuration is to not send e-mail notifications when a topic you've created receives replies. If this is the default setting this would explain why this is happening.

And if that's so, then I would very much recommend to change this default. Unless you decide not to (and change your forum profile accordingly) you should receive an e-mail notification when a topic you started gets new replies. This would very much help us making sure that people do not just forget about their bug reports and never visit the forums again.

Thanks for considering.

Edit by Omega: Changed title
« Last Edit: 26 September 2012, 17:08:58 by Omega »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: E-mail notification on topic reply
« Reply #1 on: 23 September 2012, 00:41:04 »
I can enable it so that "notify me of replies" is checked by default (in the "attachments and other options" section, underneath the text area when posting), but it would apply to all posts. There's no way to limit it just to one category, and it would apply not only to creating a new topic, but to posting a reply in any topic too. In other words, for a frequent poster, it's spam galore.

If I put a bit more time into it, I could write a script to check if it's the error report's category AND a new topic (simply using Javascript to look for the navigation section, which would say " Glest » General » MegaGlest »
Bug Reports") and enable the checkbox only if that's the case. In which instance, I'd also have to ensure that the "attachments and other options" section defaults to open. It would require a bit more work, but should be doable. However, it seems far, far superior to having to uncheck that box every time you post.

The easier alternative would be to ask people to tick that "notify me of replies" box (or choose the menu option "Notify" at the bottom of the thread) to their bug reports. Of course, it has the flaw that some people apparently don't read the read me sticky.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: E-mail notification on topic reply
« Reply #2 on: 23 September 2012, 16:08:05 »
I think the best option is to enable it globally by default, and then everyone who doesn't know what they're doing will get replies, and every frequent poster will just disable this option. This is a one-tme change, and also ensures that people actually take care on setting up their preferences properly if they stick around for longer. I've talked to people who actually expected to receive notifications by default, and whom only got back to me after sending them e-mail.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: E-mail notification on topic reply
« Reply #3 on: 24 September 2012, 04:32:14 »
As such a change would affect all members of the Glest Board, current and future, I'm waiting for more opinions to be expressed before any changes are made.

For emphasis, the options are:
  • Globally enable notification when posting or replying to a topic. This is done at the user profile level. Individual users can opt out on a permanent scale from Profile > Modify Profile > Notifications or on a by-post scale by unticking the "notify me of replies" box in "attachments and other options" (below the text area of the post screen). Upsides to this is that it applies to every message, making it far more likely for a new user to return to his or her posts. Downsides include that it'll be necessary for users to manually opt out if they wish, and users who aren't aware of how to do this (read: haven't seen this topic) may be annoyed by large volumes of email that they don't know how to stop.
  • Creating a custom mod to default the "notify me of replies" box in "attachments and other options" (below the text area of the post screen) to true on certain categories (presumably just MegaGlest and GAE's bug reports categories). This cannot be permanently opted out on, but would only apply to creating a new post, not just replying to a post. Of course, you can still opt out on a by-post scale by unticking that box when creating new threads in said categories (which, for most people, isn't often). This has the upsides that it won't force the community to opt out of notifications on a global scale, while still ensuring that the original posters of bug reports can get notifications of new messages. It has the downsides that there's no way to permanently opt out (so if Tomreyn makes a million bug reports, he's gonna have to untick that box every time).
  • Do absolutely nothing. Upsides of no extra work for anyone (myself included), downsides of not solving the issue at hand (that people are creating bug reports which lack information or require followup, yet they never return). In which case, the dirty work around is to ask people to tick that "notify me of replies" box in the bug reports read me threads (although we all know that not everyone actually reads that).

Tomreyn already gave his opinion. I sit on the fence between options two and three. Glest community, the choice is yours.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

Ishmaru

  • Behemoth
  • *******
  • Posts: 1,071
  • um wat??
    • View Profile
    • DelphaDesign
Re: E-mail notification on topic reply
« Reply #4 on: 24 September 2012, 19:53:48 »
I agree with tomreyn, it should be enabled globally by default, and frequent users can opt out if they choose.
Annex: Conquer the World Release 4 For Pc Mac + Linux
https://forum.megaglest.org/index.php?topic=9570.0
Annex is now on Facebook!
https://www.facebook.com/AnnexConquer

titi

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 4,240
    • View Profile
    • http://www.titusgames.de
Re: E-mail notification on topic reply
« Reply #5 on: 24 September 2012, 23:36:16 »
I would also like to have it enabled by default. If people hate it they need to configure their email client with a filter or disable the default behabiour in their profile( I think this is possible ).
Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

GunChleoc

  • Horseman
  • ****
  • Posts: 202
    • View Profile
    • Fòram na Gàidhlig
Re: E-mail notification on topic reply
« Reply #6 on: 26 September 2012, 09:13:55 »
I vote for Option 1. I think the easiest way is to just enable it globally in everybody's profiles, and then people can opt out. Opting out is easy to do, and it won't create as much work for you as would programming a JavaScript.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: E-mail notification on topic reply
« Reply #7 on: 26 September 2012, 17:08:20 »
Alright, it's done. If you open the "attachments and other options", you should see "Notify me of replies" is checked. Again, to opt out, go to Profile > Modify Profile > Notifications and untick " Turn notification on when you post or reply to a topic".
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: [DONE] E-mail notification on topic reply
« Reply #8 on: 27 September 2012, 09:55:47 »
Thank you.

Now does this really mean people will receive e-mail now when they start their first topic on the forums and someone replies to it (but they have not modified their forum profile)?

In other terms, what's this option set to by default?
Quote
When sending notification of a reply to a topic, send the post in the email (but please don't reply to these emails.)

My understanding is that if this is disabled by default, new users will not actually receive e-mail notifications when someone replies to their topics.

On a side note, since these changes are affecting all, not just new users, it would probably be good to send a global announcement message by e-mail, explaining that the change was made, why it was made, and how people can opt out of receiving these notifications. Here's a draft (feel free to use ths or something else entirely):

Quote
Hi,

we're contacting you today about a change to the free forum account you registered on the Glest forums at http://glest.org/glest_board

We have recently made a change to how forums users get notified about replies to their posts on the forums. Starting september 26, you will receive e-mail notifications whenever someone replies to a forum thread you started. While this can be an inconvenient default for regular users, it has turned out that this is a crucial setting for new users. We find that newly registered community members will often post something, get a reply, but never respond to this since they have just forgotten about the forums and never login again.

To deal with this issue, we had to make a change to the global default configuration. Unfortunately this does not just affect newly registering users, but every existing account, too. So, if you are a regular user, you may want to opt out from e-mail and on-board notifications of topic replies. You can do so with a few simple steps:
* Log in at http://glest.org/glest_board/?action=login
* Click on: Profile -> Account Settings
* Click on: Modify Profile -> Notifications
* Untick "Turn notification on when you post or reply to a topic"

If you would like to receive on-board but not e-mail notifications of topic replies, please keep "Turn notification on when you post or reply to a topic" ticked and untick "When sending notification of a reply to a topic, send the post in the email (but please don't reply to these emails)" instead.

These changes were discussed at http://glest.org/glest_board/?topic=8609 - we would appreciate your feedback there.

Thanks for reading, and for your time, and we're looking forward to see you again soon on the Glest forums.

The Glest.org forums administrators
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

MoLAoS

  • Ornithopter
  • *****
  • Posts: 433
    • View Profile
Re: [DONE] E-mail notification on topic reply
« Reply #9 on: 27 September 2012, 10:15:48 »
i got an email when someone responded to my thread today. i had to go to settings to opt out.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: [DONE] E-mail notification on topic reply
« Reply #10 on: 27 September 2012, 20:54:24 »
To answer your question, the default is to notify users of replies to their posts (which includes topics they created and posts in other people's topics). This was applied to all users, past, present, and future, and will occur on every post they make unless they opt out (either per-post from "attachments and other options" or permanently from their user profile). So, yes, if a new user signs up today, they'll receive notifications about replies to any post they make. I sent out a notification to all users regarding the change.
 
Edit: Damn, it's been half an hour and only 45% of the emails have been sent. I think it's time to purge spam accounts again.

Edit2: *audible groan* - The BBCode in the email wasn't converted into HTML... Oops. I think the overall message gets across, though. Kinda... :/
« Last Edit: 27 September 2012, 23:11:02 by Omega »
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
Re: [DONE] E-mail notification on topic reply
« Reply #11 on: 27 September 2012, 23:17:08 »
To answer your question, the default is to notify users of replies to their posts (which includes topics they created and posts in other people's topics). This was applied to all users, past, present, and future, and will occur on every post they make unless they opt out (either per-post from "attachments and other options" or permanently from their user profile). So, yes, if a new user signs up today, they'll receive notifications about replies to any post they make. I sent out a notification to all users regarding the change.

Very nice.

Edit: Damn, it's been half an hour and only 45% of the emails have been sent. I think it's time to purge spam accounts again.

It must be about 40K user accounts now, at least that's the the range of UIDs which are getting assigned to newly registered users now. So indeed this could take a while. I got mine already, though.

Edit2: *audible groan* - The BBCode in the email wasn't converted into HTML... Oops. I think the overall message gets across, though. Kinda... :/

It doesn't look so nice, but should be ok, also with HTML mail clients, I guess.
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: [DONE] E-mail notification on topic reply
« Reply #12 on: 29 September 2012, 03:48:07 »
Edit: Damn, it's been half an hour and only 45% of the emails have been sent. I think it's time to purge spam accounts again.

It must be about 40K user accounts now, at least that's the the range of UIDs which are getting assigned to newly registered users now. So indeed this could take a while. I got mine already, though.
Not nearly that high, thankfully. I purged out all zero-post, older-than-a-month accounts. Approximately 10,000 accounts (plus another 4,000 which never cleared the email verification), which puts our current accounts at 2,144 (of which maybe 10% is spam accounts newer than 30 days). Also optimized the databases and some general maintenance. Shouldn't be any trouble, but in case anything seems off, anywhere, let me know.
« Last Edit: 29 September 2012, 04:14:54 by Omega »
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

Coldfusionstorm

  • Golem
  • ******
  • Posts: 868
    • View Profile
Re: [DONE] E-mail notification on topic reply
« Reply #13 on: 15 November 2012, 19:46:38 »
Edit: Damn, it's been half an hour and only 45% of the emails have been sent. I think it's time to purge spam accounts again.

It must be about 40K user accounts now, at least that's the the range of UIDs which are getting assigned to newly registered users now. So indeed this could take a while. I got mine already, though.
Not nearly that high, thankfully. I purged out all zero-post, older-than-a-month accounts. Approximately 10,000 accounts (plus another 4,000 which never cleared the email verification), which puts our current accounts at 2,144 (of which maybe 10% is spam accounts newer than 30 days). Also optimized the databases and some general maintenance. Shouldn't be any trouble, but in case anything seems off, anywhere, let me know.

Why does this kind of talk totally turn me on?.
I just love databases interactions between different programs making stuff more efficieint!.

and nice trim of the Database!
WiP Game developer.
I do danish translations.
"i break stuff"

MoLAoS

  • Ornithopter
  • *****
  • Posts: 433
    • View Profile
Re: [DONE] E-mail notification on topic reply
« Reply #14 on: 15 November 2012, 20:09:12 »
databases are so much fun. i dunno why but they are.

Omega

  • MegaGlest Team
  • Dragon
  • ********
  • Posts: 6,167
  • Professional bug writer
    • View Profile
    • Personal site
Re: [DONE] E-mail notification on topic reply
« Reply #15 on: 15 November 2012, 21:01:04 »
Why does this kind of talk totally turn me on?.
I just love databases interactions between different programs making stuff more efficieint!.
Oh, let me turn you on, baby. So I started working on that Mod Download Center in my free time. Just a start, but it'll get there. Anyway, the site is run with the standard jumble of markup and programming languages. HTML, CSS, JS, PHP, and MySQL. Honestly, you'd figure someone would find a way to unify web development by now. Anyway, The site functions via a series of get variables passed into the main PHP script, which references a MySQL table for the Glest mods. Each mod has its own row, and stores the name, type (tech, tileset, map, etc), description, author, version, download link (stored relatively based on a unique ID assigned to the mod and a timestamp), download count, rating (stored as the sum of all ratings and the number of times it's been rated, which gives us the average rating), and the engines the mod is compatible with. Anyway, so the main page is a nifty little table with the most useful data displayed: mod name, author name, rating, downloading link, download size, download count, license, engines (pictures below). This one page can display different tables depending on the type of mods we're looking for. And then there's also support for sorting the table in different ways and filtering by engine. And all of these values of independent of each other, so you can look for techs sorted by rating which are MegaGlest compatible.

But anyway, what about the rest of the data stored about mods? Well, when you click a mod from the table, we're presented with a new page, which, from the supplied mod ID, displays data about that one mod (again, pics below). In addition to the standard name, author, description, etc, we also have up to three images (which conveniently open in lightboxes to see fullsized images). These images are the only thing that's done slightly differently than the rest of the mod's data. Instead of storing their location in the database, they're given a folder based on the mod's unique ID. The images are optional, and the page scales appropriately when none or less than three images are supplied. Anyway, over to the rating, which is a feature I'm rather proud of. The rating system uses AJAX (first time trying that out) to dynamically update the rating without forcing the user to reload the page. When hovering over the stars on the mod page, you can choose your rating. Clicking the star sends an AJAX request to a new PHP page with the star's ID (mapped via an image map, as we're using two superimposed images for the stars; one being the faded background and the other being the dynamically resized golden stars). This AJAX script modifies the rating total and rating count before sending a success message. Upon receiving that, the original page makes a note that you've already rated the mod and "locks" the rating (yes, the fact rating isn't locked until receiving this success message means you could rate and refresh before the success message is received, yet not be locked out, but nobody really cares that much).

So as that stands, the ability to display mods and offer them for download is more or less fully complete. Technically, if I wanted to manually create the database of mods and upload the files, the site would be fully functional. The filters are also pretty easy to use, so one could link <site URL>?type=tech&filter=engineMegaGlest to link to the list of mods of type "tech" (defined as both factions and techtrees) that are compatible with MegaGlest. Input has some basic, but sufficient, sanitation of input.

However, I still want to finish a proper "add mod" section first. The add mod page would allow a new mod to be added without having to directly add a row to the mod list table. Simply fill in the required fields, optionally choose up to three images (which the server would resize; creating a moderate sized and a thumbnail image), choose the file (in the future, I'd like to add the ability to bundle extra downloads on the page, so that, for example, the source files that a modder used could be bundled on the mod's page as a separate download. In the meantime, there's an "other" type for catching things like this).

There'll also be an "edit mod" page, which would allow an existing mod to be edited: a new download can be uploaded, details can be edited, and the images can be changed.

At one point of time, I'd like to add a user account system, so that modders can be linked to their mods, allowing them to edit the mod's entry themselves (admins would be able to edit any mod's entry). This would likely be done in an overly cautious way: An admin-only section would allow for creating a new account, which could then be passed to the modder so they can create their mod. The reason for this being that spam would be unacceptable.

Anyway, I promised pictures (click to view full images):








All which should have been posted on the other topic, but hey, what ever turns you on!

Edit: You wanna know what I did prior to learning how to use databases? I saved everything in text files. The last time I had a rating system, it saved the actual rated values in a text file, separated by spaces. So we'd end up with a file something like 5 3 4. Then I'd use PHP's explode() function to split the contents of that file into an array. I'd then add up all the elements of that array and divide it by the size of the array.

Yeah, I like databases better.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

 

anything