Extensions Database 3.2 / 3.3 / 4.0 ⇒ 3.3 & 4.0 Post Thanks

3.2 & 3.3 & 4.0
Post Reply Previous topicNext topic
User avatar

Topic Author
dmzx Online
Founder
Founder
Posts: 6763
Joined: 13 Jan 2014, 21:45
19 given 2

Post Thanks

Post by dmzx »

Extension Name: Post Thanks

Author: dmzx

Extension Description:
Thank posts with one click: thank button on every post, thankers list, per-member counters, leaderboard, notifications, anti-abuse limits and a one-click import from Thanks for posts.




- Fix: the counters on the index follow a thanks or an un-thanks straight away again; they are adjusted in the cache instead of forcing a full recount.
- Fix: the recent list no longer folds two separate runs of the same pair into one entry with the older time.

- Fix: the recent list on the index is ordered by the time of the thanks instead of by row id, so imported thanks no longer appear out of order.
- Fix: the counters on the index only count thanks on visible posts, matching what the lists show. They used to include thanks on posts that were deleted or awaiting approval, which made the total higher than the list.
- New ACP tool: find and remove thanks whose post no longer exists.

- The bar on the index now compares this week with the week before (green when busier, grey when level, red when quieter) instead of showing this week's share of all thanks ever, which was always near zero on an established board.

- Perf: the index counters no longer read the whole table in one aggregate; the today and week figures now use the thanks_time index and cost nothing.
- Perf: the counters and the top-of-the-month list get the same cache-stampede guard as the recent-thanks query, so one slow recompute can never be started by several requests at once.
- Perf: giving or removing a thanks no longer invalidates the index counters; they refresh on their own every five minutes instead of forcing a full scan after every thanks.
- Perf: while one request recomputes a cached figure, the others are served the last known value instead of an empty block or zeroes.
- Cache keys no longer use md5 (EPV notice).
- Comments cleaned up to the house rule (structural tags only).

Screenshots:

Extension Download:
…

Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `postthanks`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `postthanks` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at
    (your forum root)/ext/dmzx/postthanks/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Post Thanks` under the Disabled Extensions list, and click its `Enable` link.
rudesmen thanked this post

Post Reply Previous topicNext topic