XF2 Add-on [AP] apathy - Activity/Longevity Meters 1.1.0

virgilio183

Well-known member
☆☆ Special ☆☆
☆ Pro ☆
Master
Joined
May 16, 2021
Messages
25,956
Reaction score
35,563
Points
113
NullCash
628,030
6c3323f636ca3.png

Inspired by WetWired's vBulletin mod

This addon adds an "activity" and a "longevity" meter to users postbits and profiles.

A cron job runs every Monday at Midnight which resets the activity meters to 0.

Admins can control how many posts are required to fill the activity bar to 100%, the color of the meters, and can disable them from appearing in postbits or profiles.
fa68878d45104.png
7be7ca667ed75.png


Compatible XF Versions 2.2
 

Attachments

  • apathy-ActLong-1.1.0.zip
    76.8 KB · Views: 0

TheProphet

Member
XNullUser
Joined
Oct 19, 2022
Messages
39
Reaction score
11
Points
8
NullCash
198
Updated with version 1.1.2

  • Turn progress bar style properties into CSS properties so its easier to style the bars without template editing
  • Create a bar height style property
  • Use min() to limit percentages to 100%
  • Create permissions for being able to view each meter - make sure you set them or the meters wont appear!
  • Extend user entity and create calculateActivityPercent() and calculateLongevityPercent()
  • Allow admins to configure the start date for longevity
 

Attachments

  • apathy-ActLong-1.1.2-00a7bd97.zip
    51.5 KB · Views: 0
Top