[AP] Activity/Longevity Meters

[AP] Activity/Longevity Meters 1.1.3

No permission to download

apathy

Well-known member
The plugin is great but doesn't work on some member groups. There is no option in the permissions section either. can you help me
Do you mean the meters just dont appear for users who belong to certain groups? As you noted there arent any permissions, it's simply a matter of whether you have a specific meter enabled, or whether you want it to show in postbits / profiles.
The next version is going to have permissions in place so all I could advise is waiting and seeing if that update fixes it.
 

javilonas

Member
I like the addon, although I would love to be able to modify the size, width and height of the measurement bars, would it be possible to do this? in my forum when activating the bars they look too big and long.

EDIT: Following his advice and editing ap_actlong_progress_bar.less I was able to leave it to my liking. Thank you!!
 
Last edited:

apathy

Well-known member
Hi @apathy, I love how you put it on your forum under Stats in postbit. Could you provide me with how I could include it like this in mine?

On my postbit I didn't get it too good so I just let it show up in the profile info for now, but it would be great to be able to see it as it shows up on your forum: https://fortreeforums.xyz/threads/ap-activity-longevity-meters.1539/

Thank you!!
I'm hoping to release the next update tomorrow which will make it slightly easier to replace the CSS bars with images. Once it's out I'll post here with a quick how-to.
 

apathy

Well-known member
apathy updated [AP] Activity/Longevity Meters with a new update entry:

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...

Read the rest of this update entry...
 

apathy

Well-known member
Since I was asked about it, here's a quick how-to on replacing the default CSS bars with images. I've made some simple ones for the sake of the tutorial as I'm unsure if I'm free to distribute the originals.
  • Go to Appearance -> Style properties -> [AP] Activity/Longevity Meters
  • Change Progress bar height -> 13px
  • In Progress bar background, upload this as your background image, and add the following to the "Extra" block
    • Code:
      width: 63px;
      background-repeat: no-repeat;
      margin: 20px auto;
  • In Progress bar fill, upload this as your background image, and add the following to the "Extra" block
    • Code:
      height: 7px;
      background-repeat: no-repeat;
  • In Progress bar percentage text, remove everything from the "Extra" block and change the text color to transparent
Your final settings should look like this:
final_settings.png

The results should look like below:
actlong_image_meters.png
 

javilonas

Member
Hi, I noticed that the members page shows Highest activity, with a link to: members/?key=ap_actlong_member_stat

But this one is empty, I always get the message: No user meets the specified criteria.

Noticed that the same thing happens in his forum.
What is this due to? I've been looking for the template that does the functionality, but I can't find it. Could you give me more information about it?

Thank you
 

apathy

Well-known member
Hi, I noticed that the members page shows Highest activity, with a link to: members/?key=ap_actlong_member_stat

But this one is empty, I always get the message: No user meets the specified criteria.

Noticed that the same thing happens in his forum.
What is this due to? I've been looking for the template that does the functionality, but I can't find it. Could you give me more information about it?

Thank you
Without being at home to check, I think the member stat is looking for our old column name. It used to be "ap_activity_meter" and I believe its searching for that, but in a recent update we renamed the column to "ap_actlong_activity_meter"

It should be a simple fix, I'll try get it out in the next day or two
 
Top