Arrow Home arrow Forums
larger font smaller font default font Fixed screen resolution Auto adjust screen size

Joomlapolis Forums  


<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>
Re:Plugin - jAwards AutoReward
Date: 2008/10/23 22:42 By: krileon Status: CB Doc subscriber  
Karma: 38  
Platinum Joomlapolitan

Posts: 511
graphgraph
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.
AllMySocials
"Where social networks come together"
www.allmysocials.com
Click here to see the profile of this user The administrator has disabled public write access.

Re:Plugin - jAwards AutoReward
Date: 2008/10/27 01:11 By: krileon Status: CB Doc subscriber  
Karma: 38  
Platinum Joomlapolitan

Posts: 511
graphgraph
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
AllMySocials
"Where social networks come together"
www.allmysocials.com
Click here to see the profile of this user The administrator has disabled public write access.

Re:Plugin - jAwards AutoReward
Date: 2008/10/31 15:27 By: piersol Status: CB Doc subscriber  
Karma: 2  
Senior Joomlapolitan

Posts: 67
graphgraph
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.
Click here to see the profile of this user The administrator has disabled public write access.

Re:Plugin - jAwards AutoReward
Date: 2008/11/01 17:02 By: krileon Status: CB Doc subscriber  
Karma: 38  
Platinum Joomlapolitan

Posts: 511
graphgraph
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
AllMySocials
"Where social networks come together"
www.allmysocials.com
Click here to see the profile of this user The administrator has disabled public write access.

Re:Plugin - jAwards AutoReward
Date: 2008/11/01 17:21 By: krileon Status: CB Doc subscriber  
Karma: 38  
Platinum Joomlapolitan

Posts: 511
graphgraph
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:

              "\n AND a.award = YOURAWARDID"


after line 576

CHECK LATEST POST FOR LATEST VERSION

Post edited by: krileon, at: 2008/12/02 04:08
AllMySocials
"Where social networks come together"
www.allmysocials.com
Click here to see the profile of this user The administrator has disabled public write access.

Re:Plugin - jAwards AutoReward
Date: 2008/11/13 06:02 By: Scotty87 Status: CB Doc subscriber  
Karma: 0  
Fresh Joomlapolitan

Posts: 16
graphgraph
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!
Click here to see the profile of this user The administrator has disabled public write access.

<< Start < Prev 1 2 3 4 5 6 7 8 9 10 Next > End >>

Documentation

Documentation Subscription Service
(updated for CB 1.2 RC4)

What?

Why?

Where?

Just click here for answers!

Click here for a yearly subscription: subscribe now

Download Latest Release

The latest stable Community Builder Release is version 1.1 for Joomla 1.0 and Mambo.
You need to be a registered member of Joomlapolis to download.

The latest release candidate of Community Builder is version 1.2 RC4, native for Joomla 1.0, 1.5 and Mambo.
It is available as "thank you" to all CB documentation subscribers and now also to all registered joomlapolitans.

CB Login