Spuds / SMF-Member-Awards

Member Awards for SMF 2.0
Other
8 stars 8 forks source link

Update to SMF 2.1.4? #59

Open dismissyourself opened 6 months ago

dismissyourself commented 6 months ago

I am trying to use this modification on my forum running SMF 2.1.4, it is the best forum award mod I know of. Unfortunately, despite being able to successfully install this modification via emulating SMF 2.0, I run into the "Primary Key field missing in insert call" error when trying to add a new award. I've been told the only workaround is for the modification to be updated to work with SMF 2.1.4. Is this something that is being planned? I am willing to pay if necessary!

Spuds commented 6 months ago

I had done a preliminary release for 2.1 here: https://github.com/Spuds/SMF-Member-Awards/releases/tag/3.1.0 it should install and run, so start with that.

Be SURE to uninstall the old version (leave the data of course) or you will cause yourself to go mental (see: https://github.com/Spuds/SMF-Member-Awards/issues/58 to see what can happen)

dismissyourself commented 6 months ago

Thank you so much, this works perfectly! I noticed it isn't showing up when I have my custom theme active, but I am guessing that is a theme issue because it works perfectly on curve2.

Spuds commented 6 months ago

Not showing up is because the addon, unfortunately, requires a couple of theme template edits.

If during the install it did not offer to install in other themes, you will need to manually make those edits.

If you look in the install_display_template.xml file of the package you will see the required edits for Display.template.php of your custom theme. Using just the curve ones, find the similar areas and make the edits (its all things to add) You can also look at your working curve2 theme to see how the edits should look.