SMFHacks.com

Badge Awards => Support => Topic started by: FrizzleFried on June 04, 2012, 10:17:51 pm

Title: Might As Well Start
Post by: FrizzleFried on June 04, 2012, 10:17:51 pm
Well... I know this is going to suck to have to ask ... but you knew I was going to do it ...

I need help with the code to get badges to function with Aeva Gallery.  Photos ... comments ... and ratings.  From the little I know about how to do things in PHP... oh... who am I kidding?  I am a hack.  I can move code around ... or figure out how a menu works... or maybe even convert old style headers to curved headers... but I have NO idea WTF I am doing when it comes to accessing the SQL databases... bottom line... i looked at my first bit of code since Commodore 64 BASIC ...oh... 4 months ago when I put up my first forum!

Wee!!

Title: Re: Might As Well Start
Post by: shuban on June 04, 2012, 10:21:40 pm
Profile based stuff is easy, but I wouldn't know a thing.
Title: Re: Might As Well Start
Post by: SMFHacks on June 04, 2012, 10:22:10 pm
Badges for which specific actions?
Title: Re: Might As Well Start
Post by: FrizzleFried on June 04, 2012, 11:33:44 pm
In a perfect world:

Uploading photos... admin definable... so I can make multiple badges... Uploading 10 image, 25 image, 50 images, 100, 200,  etc...

Making comments in the gallery.  Also in a perfect world... admin definable (see above).

Making ratings in the gallery.  See above.

Now... those are in order of importance.  I am not sure if Aeva Gallery saves rating history by user for example so it may not be possible to keep track of how many times they rated, etc.  In which case if just doing the action was to give a badge... that is better than nothing.  Same can be said for comments and uploading however this system would get stale real quick of all badges were given for just doing something once... hence the stepped approach like you've done with posts is always best when possible/sensible.

I am not sure what the current gallery badges are for or how they work (as I don't have your gallery installed).
Title: Re: Might As Well Start
Post by: FrizzleFried on June 05, 2012, 12:37:35 am
Here's an easy one (maybe)?  Since it's your mod...

A Tagging System badge.  Since the tagging system doesn't save user names to each tag I don't think you can do a 10, 20, 30 etc one... right?  But a simple action tag is better than nothing.