Trophies 1.0.2 - [Updated: 19th Jan, 2016] Dec 17, 2015 11:49:08 GMT -8 ®i©hie, aRMY83, and 4 more like this
Post by Peter on Dec 17, 2015 11:49:08 GMT -8
Test the Trophies plugin here: trophies.proboards.com
The Yootil plugin 1.1.1 or higher is required for this plugin to work. Place the Yootil plugin at the top of your plugin list.
Yootil Plugin: www.proboards.com/library/plugins/item/38
Trophies Plugin: www.proboards.com/library/plugins/item/1189
- There is nothing showing in mini profiles
If you are using a custom theme or mini profile layout, then this is likely your problem. The Trophies plugin requires the mini profile to have the class "mini-profile", and the profile link must exist in the mini profile (this can be hidden) with the class "user-link". These are the vanilla classes, removing them is not a good idea.
- I have a custom mini profile and want to style / move the trophy information
There is a class you can use on any element in the mini profile so that you can position the trophy information anywhere you like.
- I have a custom profile and would like to move the trophy information
There is an ID you can add to an element so that you can position the trophy information anywhere you like on the profile page.
- Some trophies are not popping up when I am sure myself or my members have met the requirements
Please note that some trophies are not retroactive. So trophies that are for reading topics, following members and a few others, will only pop once the requirement has been met, as there is no existing data that the trophy plugin can look at.
Some trophies have basic AFK protection. For example, the time based trophies requires the use to have the window / tab focused. They cannot open a window / tab in the background and go do other things (i.e watch YouTube, play Games).
Trophies such as "Topics Read" have basic protection to prevent the user opening lots of topics in multiple tabs.
If you are still sure a trophy should have popped up, please post in this topic so I can investigate.
- Me or some of my forum members have lost their trophies
Trophies are stored locally for each user until they are synced to the account. If the user decides to use another browser before the trophies are synced, then they will have to earn them again.
Trophies are synced to the account when a user posts or sends a message. This is due to the limitations of how plugin developers are allowed to set key data. I may consider adding in more places to sync the data in the future.
- Why can I not see other members trophies when they have told me they earned some?
See the above question.
- Will you add more trophies?
The Trophies plugin is close to the limit for the amount of trophy images it can store. However, the Trophy plugin has support for trophy packs. So the answer is yes, though I need ideas for trophies.
- Trophy title or description doesn't really make sense, can I change it?
Thinking up names for trophies was difficult, so I'm open to suggestions for better names and descriptions. For the moment, no trophy can be changed in the core pack.
- Why does it say I am level X and at 100%?
A level doesn't roll over to the next if the XP / Points are exactly the same as the level requirement.
- Can I disable the stat animations?
Not at this time. If people prefer not for it to "crunch" the numbers, then I will consider options.
- Can I add custom trophies?
You sure can, however you need to know how to create a pack. Please post and I will show you a basic example. Warning: programming knowledge needed.
- Can I disable a trophy?
This was going to be an option in the first release, but decided not to include it for now. So maybe in the future.
- Can I add / remove a trophy from a members account?
Currently you can not. I did think about adding support for this, but it will need to be for a future release. If there is interest, I will consider adding it in sooner.
- Can I customise anything?
As with nearly anything on the forum, you can modify the way things look (i.e font size, padding, margins) with CSS.
Custom Profiles and Mini Profiles
Example of using the custom class to modify the location of mini profile trophy information:
Example of using the custom ID to modify the location of the trophy information on the profile:
The repository also contains an example of a pack for any plugin authors wanting to add trophies to their own plugins.
Date is UK format.
- Tied local data to actual accounts so that multiple accounts can earn trophies separately.
- Added in some events to help future packs.
- Pre init check added.
- Fixed typo in trophy description.