News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Custom Achievements

Started by Leprechaun7377, June 29, 2020, 12:20:14 PM

Previous topic - Next topic

Leprechaun7377

Link to Mod

Add customizable achievements to your forum! No coding needed, manage it all from the admin UI.

Create your own achievements to be assigned to users. Achievement assignment can be done manually (including with a bulk assign/unassign ui) or automatically based on database fields. For automatic badges you decide what to reward. The script for automatic awarding runs every 2 hours, but you can configure that as needed. Achievements can also be assigned by providing a link to users that when clicked adds the assignment to their account (great for a puzzle or scavenger hunt).

Achievements show on profiles and users can select up to 4 achievements to show on posts.

Features

  • Custom achievements
  • No code needed
  • Manual Assignment
  • Automatic Assignment
  • User link click assignmnet
  • Achievements show on posts
  • Achievements show on profiles

hxxp:paypal.me/chrisjohndigital?locale.x=en_US [nonactive]

sam666

Great mod, thanks. Looks to be just the tool to encourage more user engagement  ;D

efk


Leprechaun7377

Here's a set of screenshots I have from a little bit before release. I don't think anything visually changed, but there might have been some minor adjustments like spacing after the screenshots.

efk

Can't see how does it looks like on profile. But mod itself looks similar to Member Awards mod and its purpose is awesome. I will install it in following days.

Dzonny

Nice one :)
I'd add screenshots in the mod description though.

Leprechaun7377

Quote from: efk on July 08, 2020, 09:42:23 PM
Can't see how does it looks like on profile. But mod itself looks similar to Member Awards mod and its purpose is awesome. I will install it in following days.

I believe the two mods server similar purposes. Looking quickly at the Member Awards mod I believe mine is more flexible in that you can automatically give rewards based on nearly anything in the database though mine does require that you know the tables and columns of the database to accomplish that. I believe the Member Awards mod has a defined set of things that the awards can be automatically awarded from.

The screenshots I uploaded above did include the profile view, but I've added here a screenshot that shows more of the profile view for context.

Leprechaun7377

Quote from: Dzonny on July 09, 2020, 09:39:33 AM
Nice one :)
I'd add screenshots in the mod description though.

Thanks! :)

I've added some screenshots in the mod description. I looked for but did not see how to add the "Below are some preview images of what the mod looks like when being used" that I see on some mods.

vbgamer45

For that you just add an additional attachments as jpeg or png file and that makes it a screenshot.
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Showstandards

Hi team,

For some reason this does not display on my posts or profiles.

I have assigned the award to the user but it's not displaying on profile or in posts by that user.

How can I get it to display on both profile and posts? Have I missed a setting?

efk


Leprechaun7377

Did you assign an image to the achievements? I believe they won't show up if there's no image.

Achievements should always show up on profiles, but users can enable/disable achievements to show on their posts. If they aren't showing on posts, you should double check the user's settings for Achievements under Modify Profile.

Showstandards

Yes, it's enabled and yes, there is an image. I'm the user in question. Here's the show settings, profile. No achievements in post either.

Leprechaun7377

Are there any errors showing up in the logs?

Showstandards

Quote from: Leprechaun7377 on December 13, 2020, 07:44:15 PM
Are there any errors showing up in the logs?

No, nothing recently from when I installed achievements addon, nothing related to achievements add on.

Leprechaun7377

The mod needs to modify existing templates to display on posts and the profile. Did you install a theme after install? Did you check the install in other themes during install?

Showstandards

Quote from: Leprechaun7377 on December 14, 2020, 06:59:37 AM
The mod needs to modify existing templates to display on posts and the profile. Did you install a theme after install? Did you check the install in other themes during install?

No, the theme was there before I installed, I've only just installed it. I tried the default team, and with default it does show up in the profile but not in the posts. Is there something I need to change to make it work with a secondary theme?

I tried reinstall and the only thing that doesn't run is this, which I read is not essential?

12.   Execute Modification   ./Themes/default/languages/Modifications.english-utf8.php   Skipping file

Showstandards

I've got it working. Your reminder about templates made me have a proper look at install, and I didn't realise I had to check boxes next to the template before it installed them. I'm sorry guys! Thanks for the help!

Speed King

Just installed Custom Achievements mod on my 2.1 RC4 forum, PHP 8.0.
I get these errors:

[05-Feb-2022 14:38:34 Europe/Sofia] PHP Warning:  Undefined array key 2 in /home/bulataka/public_html/BNF/Sources/achievements/AchievementsAdmin.php on line 261
[05-Feb-2022 14:38:34 Europe/Sofia] PHP Warning:  Undefined array key 3 in /home/bulataka/public_html/BNF/Sources/achievements/AchievementsAdmin.php on line 261
[05-Feb-2022 14:38:34 Europe/Sofia] PHP Warning:  Undefined array key 1 in /home/bulataka/public_html/BNF/Sources/achievements/AchievementsAdmin.php on line 261

Strannik64

How to make a reward for the number of topics created on the forum?

ATLANTIS29

I know this is an old topic, so I know this might be a long shot but is there a way to change the max size of the image I want to use something 150x35 and some 35x35 which I thought I had done until I add a 2nd 3rd 4th achievement then it just squashes them down to fit on 1 row so how do i make it put 1 per row and maintain source image size?

vicente127

Hello, I can't make the icons to work or show, only appears like a broken img, but the icons appear inside their config...

You cannot view this attachment.
You cannot view this attachment.

Diego Andrés

Inspect the expected path for those images.
Perhaps you need to add them to your theme as well?

SMF Tricks - Free & Premium Responsive Themes for SMF.

vicente127

I don't know, it's the default smf theme, and they are fine and accessible with the link :(

vicente127

Quote from: Diego Andrés on September 16, 2023, 05:29:51 PMInspect the expected path for those images.
Perhaps you need to add them to your theme as well?

I found the issue, for some reason, the permissions were enough for the mod to show the images in the control panel, but they weren't enough to show for the 'public' so I just made the permissions 755 for the folder images inside achievements and now it works, thank you anyway, because in the end it helped inspecting the route of the image.

The new problem is inside posts... inspecting the images it shows like the images should be stored inside a folder called like the forum post and that's very weird... happens with Profile or any other URL that isn't index, since its there where the Source folder is stored.

You cannot view this attachment.

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

vicente127


vicente127

Quote from: Kindred on September 19, 2023, 12:50:16 PMAre you using prettyurls?

This was the issue, any way to make them work together?

vbgamer45

Looks like achievements images are using relative urls instead of absoulte which breaks subdirectories urls
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

Senkusha

This may be a dumb question, but what does Link do?
--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

Diego Andrés


SMF Tricks - Free & Premium Responsive Themes for SMF.

Senkusha

In the Achievement Admin section:

You cannot view this attachment.
--Senkusha
The Anime Brigade
Anime-style Role Playing Games and Discussion.
(SMF v. 2.1.4, PHP v. 8.0)

Diego Andrés

Looks like you use this to go a to a form where you can send the reward.

SMF Tricks - Free & Premium Responsive Themes for SMF.

Advertisement: