Skip to Content Skip to Menu

Plugin - jAwards AutoReward

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
16 years 4 weeks ago #78096 by krileon
Replied by krileon on topic Re:Plugin - jAwards AutoReward
Yes this is doable. Just need to make a plugin that checks the field. If field equals whatever you wanted it to. Then update user table and have it set a new group type.

I'd make it for you, but unfortunately I do not have the time as I am busy with my very own site, lol. I've been adding a new feature for users to experience nearly daily.

Recently developed a gift system like you see on facebook or myyearbook using points.

Just too busy for side projects, but I'm sure with a bit of learning and digging you can throw something together.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
16 years 3 weeks ago #78296 by krileon
Replied by krileon on topic Re:Plugin - jAwards AutoReward
Version 7 is now complete. I HIGHLY. No I demand you upgrade to this version.

Here's the reason. ALL previous versions have a progress system in them. Lets say I upload 20 pictures and I get an award for 10 then 20 pictures. I re-login, but am only granted the 20 picturs award. This is a big problem.

Well that problem is fixed in version 7.

ALSO Version 7 has been modified extensively to enhance speed. The amount of queries has literally been reduced by 50% and I have also eliminated any errors still present.

A few other minor changes here and here as well.

You do NOT have to replace your config file. However there was a minor change to the GroupJive Group. Simply remove the 1 from gjg1id and gjg1reason in your config file. That's all.

If you're upgrading. Just copy over cb.autoawardstab.php and that's it. You'll then experience the new enhanced version 7.

I wasn't going to release this version for public use, but figured what the hell. Enjoy.
SEE LATEST POSTS FOR LATEST VERSION

Post edited by: krileon, at: 2008/11/01 17:20


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Attachments:

Please Log in or Create an account to join the conversation.

  • piersol
  • piersol
  • OFFLINE
  • Posts: 36
  • Thanks: 0
  • Karma: 5
16 years 3 weeks ago #78684 by piersol
Replied by piersol on topic Re:Plugin - jAwards AutoReward
I couldnt get version 7 to display my awards properly.

I went back to version 6 as it works just fine with awarding and removing and displaying.

Can you tell me what drawbacks i will have by still using v6?

And as for getting v7 to work, maybe it has something to do with . "\n AND a.gift=0" as that wasnt in earlier versions. It could have been user error, but im applying the same steps as i had for V6 and it doesnt show awards.

That being said, im very happy with v6.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
16 years 3 weeks ago #78727 by krileon
Replied by krileon on topic Re:Plugin - jAwards AutoReward
piersol wrote:

I couldnt get version 7 to display my awards properly.

I went back to version 6 as it works just fine with awarding and removing and displaying.

Can you tell me what drawbacks i will have by still using v6?

And as for getting v7 to work, maybe it has something to do with . "\n AND a.gift=0" as that wasnt in earlier versions. It could have been user error, but im applying the same steps as i had for V6 and it doesnt show awards.

That being said, im very happy with v6.


Version 6 uses virtually double the queries to achieve the same goal. Version 7 should work just fine for you. You'd need to apply the fix again to only display that 1 award, but there shouldn't be any problems with that.

Version 7 cut down on the query usage and now allows awards to be given even if a user surpass award1. An example is if a user posted 10 pictures and got an award for every 5 pictures posted. They'd only get the award for 10 pictures and not 5 as well. Version 7 fixed this issue.

But if all you are doing is displaying 1 award. Then there isn't much point to using all the other functionality and would probably be best to edit the entire file to only function for that 1 award.

*Edit* Whoops I forgot to take that out before uploading, lol. I'll fix that and upload it. Thanks for pointing that out. That's a query used to avoid making my Gift tab items show up in the awards tab.

Post edited by: krileon, at: 2008/11/01 17:05


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48541
  • Thanks: 8290
  • Karma: 1445
16 years 3 weeks ago #78728 by krileon
Replied by krileon on topic Re:Plugin - jAwards AutoReward
Here's version 7 fixed. Sorry about that little tidbit of code. This should take care of that issue.

Also if you wish to only show 1 specific award. Then add:
[code:1]
. "\n AND a.award = YOURAWARDID"
[/code:1]
after line 576

CHECK LATEST POST FOR LATEST VERSION

Post edited by: krileon, at: 2008/12/02 04:08


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Attachments:

Please Log in or Create an account to join the conversation.

  • Scotty87
  • Scotty87
  • OFFLINE
  • Posts: 15
  • Thanks: 0
  • Karma: 0
16 years 1 week ago #79568 by Scotty87
Replied by Scotty87 on topic Re:Plugin - jAwards AutoReward
I'm not overly experienced with coding, I can't figure out where in the file I need to add the IDs... Can someone show me an example or something?

Thanks A lot!

Great Plugin!

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum