[TH] User Improvements

xF2 Add-on [TH] User Improvements 1.3.0 Patch Level 9

No permission to download
Changelog
Bugfixes & Changes
  • Fixed a bug that would break profile tab ajax loading and redirect to the specific profile tab pages instead, if the trophy profile tab was not enabled.
  • Now renders the level progress widget progress bar title as XF tooltip and applies number formatting to the numbers shown.
Changelog
Bugfixes & Changes
  • Fixed a bug that would throw an error if the trophy showcase on postbit was enabled and the user of the post was deleted.
  • Fixed account reactivation container message styling.
  • Fixed account deactivation container message styling.
  • Latest reactivation date is now hidden on the account reactivation page, if it's further than two years in the future.
  • Changed "unlimited" reactivation time to work as effectively 5 years reactivation time (pretty realistically, after 5 years no one is gonna reactivate their account anymore, and it also solves the pretty annoying number bug that keeps popping up for people that use outdated php and/or mysql versions)
Changelog
Bugfixes & Changes
  • Fixed a bug that would throw a number of undefined index errors when a user opened his trophy tab or popup in the profile.
Changelog
Bugfixes & Changes
  • Trophy points are now shown as short numbers with tooltips to improve overall readability.
  • Now shows totals for all trophy categories on the trophy help page.
Changelog
Important: You may not upgrade to this version from a Beta-Version. If you're still running a Beta version of this add-on, it is mandatory that you upgrade to version 1.0.0 first. You can download it from the history tab.

Bugfixes & Changes
  • Fixed a bug that would show a numeric error if a user tried to deactivate his account.
  • Fixed a bug that would eventually prevent criteria to be checked correctly if using criteria from other add-ons.
  • Added a bunch of missing phrases.
Additions
  • You may now split of the trophy list in the user profile about tab into a separate tab inside the member profile. To do so, activate the new option in the user trophies options.
  • You may now manually reward trophies to users. Manually rewarding trophies in this way will skip the criteria check and reward the trophies even if the user(s) in question do not meet the required criteria.
Changelog
Important: You may not upgrade to this version from a Beta-Version. If you're still running a Beta version of this add-on, it is mandatory that you upgrade to version 1.0.0 first. You can download it from the history tab.

Bugfixes & Changes
  • Changed the Amazon connected account provider setup phrases to actually match Amazons service instead of Battle.net.
  • Changed all internal connected account provider IDs to prevent incompatibility with other add-ons that also implement these connected account providers.
    • Please note: If you're experiencing any trouble after updating from 1.0.0 to 1.1.0 with your connected account provider setup, please reinstall this add-on. I've implemented the update procedure in three different ways, but it might still happen that you run into this unsolved error.
New Functionalities
  • Trophy showcases have been added. You can activate the trophy showcase from the options section.
    • Trophy showcases are currently available for message postbits and member profiles. They share their setup in terms of how the trophies to be picked are determined.
    • The number of trophies shown in the showcase is managed through the XF permission system. There is a permission for each location to determine how many trophies should be shown there.
    • A number of style properties have been added to aid you in styling your trophy showcase to your liking.
  • Added a bunch of user criteria that are related to functionality provided by this add-on, including:
    • User has (no) user name color
    • User has at least X profile views
    • User has no more than X profile views
    • User has changed his name at least X times
    • User has changed his name no more than X times
  • Trophy icons now support custom inline css. You may add any inline-css to a trophy icon when editing the trophy. Inline css applies to all: Font Awesome Icons, images and the simple trophy points display.
Changelog
Bugfixes & Changes
This update is on hold until I have fixed a few things.
  • Fixed an undefined index error that would pop up if users would not have previously changed their names.
  • Resolved an issue that would leave some traces of this add-on in your connected account provider database table upon uninstallation.
  • Resolved a potential source of incompatibility with other add-ons that add connected account providers by prefixing all providers.
    • Upgrading this add-on if you have manually tampered with the database to provide compatibility with other add-ons is not recommended and will probably break some things. You'll have to manually resolve these issues one way or another before attempting to upgrade.
Changelog
Bugfixes & Changes
  • Fixed a bunch of 'undefined index' errors that appeared upon user registration.
  • Changed the system to now take the lowest amount of days from all user groups into consideration instead of the highest to calculate the number of days a user has to wait between two username changes. This means, that if a given user is in two user groups, one which can change the username every 50 days and one which can change the username every 25 days, the user will now be able to change the username every 25 days instead of 50 as before. If the user additionally has his personal time set to 5 days, it will result in 5 days instead of 50 as before. You may need to alter your permission setup to have everything working as before.
  • The "unlimited" choice for the days between username changes permission now works as "unlimited days between each change" instead of "unlimited changes", meaning that a user with this option enabled will be able to change his username only once in a lifetime.
  • To accommodate for the beforehand mentioned change, a new permission has been added that allows users that have been granted this permission to change their username an unlimited number of times.
  • If a user has previously changed his username and needs to wait before he can change his name again, the date of the next possible username change will now be shown on the account details page.
  • Like
Reactions: bluedagger
Changelog
Bugfixes & Changes
  • Fixed a bug that would prevent users from saving their account preferences if the weren't allowed to change their username.
  • Fixed a bug that prevented users from saving their preferences due to a database error when changing their username.
  • Fixed a bug that would prevent the default xenforo privacy settings from being saved.
  • Fixed a bug that would show an empty username color list if the user wasn't allowed to change is username.
  • Fixed a bug that would negatively affect the display of the overview page on member profiles and the members trophy popup.
  • Enabling "display trophy points" in the ACP options now also affects the member profile trophy list as well as the members trophy popup list.
  • Fixed a bunch of BB code parser errors that would occasionally pop up in the ACP error list due to some backwards compatibility breaking changes in XF2 Beta 8.
  • Trophy categories are now correctly sorted by their display order instead of their creation date.
  • Like
Reactions: TheFollower
Changelog
Bugfixes & Changes
  • Assigned default values to all database columns that have been added to default XenForo tables.
  • Fixed an error that would prevent users from registering, when the add-on was disabled.
  • Fixed an error that would prevent users from viewing their profiles about tab and/or their earned trophies page, when they do not have any trophies.
  • Fixed two missing phrases in the trophy overview page.
  • Fixed an error that would prevent trophies from being saved, when no predecessor was selected.
  • Fixed an error that would prevent trophies from being deleted, when no predecessor was selected.
  • Fixed an error that would prevent trophies from being deleted, if no trophy had them selected as predecessor.
  • Basic code refactoring in some places in order to make code more efficient.
  • Like
Reactions: CrazyFace