This is based on my updated member awards 3.0 (which is still a work in progress), although several sites seem to be using it with success. Anyway I've been busy converting this over to Elkarte and the only edits still being made are the template ones to show the award boxes.
This will work on 1.1 only at this point and PHP 7.x+
Member Awards V1.1.1
LicenseThis Elkarte addon is released under a MPL V1.1 license, a copy of it with its provisions is included with the package.
IntroductionA system where members can be given awards to display in their profile and posts.
Features- Awards can be placed in categories for display grouping and easy maintenance
- Awards can be defined as assignable so members with assign awards permission can give an award (not define a new award though)
- Awards can be defined as requestable so members can request and award for the moderation team to approve / deny
- Awards can be assigned by member, by group or by mass selection
- Automatic award assignment can be set for various milestones such as post count, topic count, join date, time on line, etc
- Award post placement can be defined on a per award basis, above avatar, below avatar or with signature. Allows you to define badges as well as awards
- The award image and the details assigned with the image are stored and can then be assigned to members.
- Once assigned, the member can view his/her award album, as well as others awards.
- They will be able to select their favorite image, as well as see who else has earned that award.
- This addon allows users with the permission to upload images that will serve as rewards.
- These images can be assigned a name as well as how they were earned (e.g. Contest, Posts, or the name of a game)
- Those with correct permissions can edit the image and information assigned to that image, as well as completely delete it.
- And more!
Repository / Downloadhttps://addons.elkarte.net/feature/Member-Awards.html / https://github.com/Spuds/Elk-Member-Awards/releases/download/1.1.1/elk-Member-Awards-1.1.1.zip
/me feels Spuds is cheating. :P
Not sure if this is abandoned but -
- tried on Elkarte 1.01/
- Discovered filename case issue (AwardsManage.english.php on disk; code looks for awardsManage.english.php; breaks on Linux.
- fixed errors by renaming file.
Thanks for the fix, you can be sure that if I worked on it, there will be a case problem somewhere :P
I would never do LAMP stack / php development on Windows. I say this as a senior Wintel engineer at a large IT provider :)
The safest approach to filename case in mixed Windows/Linux development is to use all lower case in filenames. Any time you use upper case you risk breakage.
Indeed... they are so easy to miss, just look at all my but reports O:-) .
Generally I do my work on my windows machine and the directory I write to is on my *nix VPS. So I save it and run the test on the *nix machine. But there are times when I'm less than disciplined with that approach, you know for those safe, easy changes or when I'm lacking a good connection, then the wamp stack kicks in.
I really should just set up one of my spare boxes to be a *nix machine and be done with the crazyness.
Hey, so, I'm going to use this on a board. Hurray, you have a user! ("C'mon, man, you know I'm good for it. Just one more hit, please.")
So, ahem, anyways, I have a few suggestions:
- Show awards on main profile page (toggle-able settings per award)
- Show awards on memberlist (toggle-able settings per award)
- If I have awards assigning permissions, then viewing someone's available awards (via their profile) should allow me to one-click assign it to them.
- Same criteria as above should allow for one-click award removal.
Also, a couple bugs to report:
- After adding a rank, ADD button changes to MODIFY. Clicking on it, however, goes to the ADD page for a new rank, not modifying the just added rank.
- Action buttons are not installed by default on non-default themes. Should probably check if theme-specific images exist and use the defaults if not.
- When viewing awards on someone else's profile, an empty awards list shows up as "You have not received any awards." Should say something more like "$memberName has not received any awards."
OK I'll get to looking at those, thanks for the reports (watch the repo for updates)
I'd like to see this go a lot further. :)
Getting an error here. I'm not sure it was happening before 1.0.3. Re-installing didn't help, though I didn't try deleting all the associated data.
/me feels Spuds forgot a tiny little text string. :P
As a temporary measure you can add:
$txt['awards'] = 'Awards';
to your Addons.english.php (or Addons.{your_language}.php).
Hi there!
I am working on my fresh install of 1.1.5 and I am getting this error message for Member Awards (which we love on my site) and I would be awesome if you guys could help me out. I have the Silence theme installed, icons modded in accordance with the Addon thread for that theme. (See attachment)
Should I install it and see how it goes? :)
Best,
Auctor Lucan
@Spuds do you have a version of this which works on Elkarte 1.1?
Just checked my local repo and there is no 1.1, so apparently I never updated it :( .... There are a few un pushed changes to do with directory structure but I have no idea what they are about any longer. Looks like I got sidetracked!
Thanks for the reply, any idea on the work needed to get it working? I don’t know the changes from 1.0 to 1.1 well enough really.
Its been awhile since I did updates, I think the main areas were
- in how settings are saved (1.1 uses the settings abstract class) and the theme layers.
- the theme class was improved and I think it will all work but may add depreciated calls to the elk error log.
- the exception class was updated so calls to things like fatal language are out and you need to use exceptions
- menu class was added/upgraded, again I think the code takes care of all that but its depreciated
- bbc class was added so any custom bbc needs to be redone
Probably a few other things that I'm forgetting now.
Attached is a 1.1 / 7.4 version, most of this was in the repo already but this adds some more fixin's
There is a 'Rankings' branch in the repo as well, that is where this addon is going but I'm not sure if / when I'll finish that, so till then use the attached.
ETA: Found a couple of small template errors and an error when adding to the db, fixed in this new attachment
Small bump to version 1.1.1 :shocked:
This update fixes a few issues reported since the 1.1 release. The link is on the addon site (see first post).