HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Latest Discussions Prime 1.1.2

This started as a modification of the Latest Discussions addon, but since then I have replaced all code with my own. I found the original to be very poorly written (it hardly uses Vanilla's API at all -- it makes its own MySQL connection, queries the database, and generates its own link HTML). I am new to writing Vanilla extensions, but it is clear that this extension has some important advantages.

Anyway, this simply shows a list of the most recently updated discussions in the panel (and how long ago the last comment was posted). Unfortunately, the number of discussions listed (10) is currently hardcoded (though not hard to change), but I'm seeing if this can be added as a user preference.

It adds a division to the forum preferences in the account section. This gives you the option to hide display of the list, sort the list in order of most recently created discussions (instead of which had the most recent comments, the default behaviour), and restrict the list to discussions you've commented in.