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/15 17:18 By: krileon Status: CB Doc subscriber  
Karma: 38  
Platinum Joomlapolitan

Posts: 511
graphgraph
Done.

You can now add a subscriber award. User will be granted the award specified for the reason specified for obtaining specified usertype/grouptype. If user loses said usertype/grouptype then the award is removed.

To upgrade just copy and paste over:
cb.autoawardstab.php
cb.autoawardstab.xml

Open your preexisting config.php and add the following at the bottom:
Code:

  //Subscribers             $subid "";             $subreason "Awarded for being a subscriber.";             $subgroup "Author";     //Name of the group ex: Publisher, Author, etc..



I have changed the code to detect usertype. It is now in fact case sensitive. This should solve some issues when the user type was specified and when it checked if the user was of that type it was checking a lowercase version of the type to an uppercase version. Thus not making it equal.

This problem should now be fixed. I repaired it for moderator group as well as subscriber group. So you may have to change your moderator type to be more specific now.

If there's any problems let me know. I have not tested it on 1.5 as I do not have a 1.5 install. I'll try to get it to work for you, but there's not much more I can do. I've inspected 1.5 modules/plugins and used the EXACT same methods to capture usertype/usergroup. So if it doesn't work then the fault has to be elsewhere.

The award is ONLY granted and removed upon LOGIN.

For fresh installs simply install the plugin then begin settings up your config file.

If anyone feels you need to pay. Then go ahead and donate through the link at my site, but I offer this free of charge at full open source. Redistribute as you see fit. I don't care. Just enjoy it, lol.

Post edited by: krileon, at: 2008/10/15 17:26

Post edited by: krileon, at: 2008/10/16 16:40
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/16 16:31 By: piersol Status: CB Doc subscriber  
Karma: 2  
Senior Joomlapolitan

Posts: 67
graphgraph
Plugin version (1.2) different from Community Builder version (1.2 RC 2)

I get this error with CB 1.2RC2

Any ideas?
Click here to see the profile of this user The administrator has disabled public write access.

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

Posts: 511
graphgraph
Man wish we could re-upload our files. Uploaded the wrong one. Gimme a second. Gotta make another post.

Post edited by: krileon, at: 2008/10/16 16:41
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/16 16:43 By: krileon Status: CB Doc subscriber  
Karma: 38  
Platinum Joomlapolitan

Posts: 511
graphgraph
Here you go. Sorry about that:
File Attachment:
File name: plug_autoawards_v6-898aa8f3dc1efef7250212ca337834b6.zip
File size:6645 bytes


aaaand it jumbled the filename.. UHG! rename it to plug_autoawards_v6.zip before installing. Long name will make it error out.

Post edited by: krileon, at: 2008/10/16 16:43
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/16 18:35 By: piersol Status: CB Doc subscriber  
Karma: 2  
Senior Joomlapolitan

Posts: 67
graphgraph
I installed it successfully on cb 1.2rc2 and joomla 1.54

I then checked the option for subscriber.

While i do not see errors. It does NOT award for users change to authors, nor delete for those removed from author back to registered.

I tested by logging in and logging out each time.

I know you are not testing it on J1.5. And it may well work right on 1.0. But I only use j1.5 for new sites and so im unable to benefit from this great tool just yet.
Click here to see the profile of this user The administrator has disabled public write access.

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

Posts: 511
graphgraph
piersol wrote:
I installed it successfully on cb 1.2rc2 and joomla 1.54

I then checked the option for subscriber.

While i do not see errors. It does NOT award for users change to authors, nor delete for those removed from author back to registered.

I tested by logging in and logging out each time.

I know you are not testing it on J1.5. And it may well work right on 1.0. But I only use j1.5 for new sites and so im unable to benefit from this great tool just yet.


Did you edit your config.php to grant the proper award?

It's already set for Author, but ya need to put in the proper award ID. Perhaps you're using the wrong ID. Mouse-over the award in jAwards and you'll see a number at the end. That's the ID you need.

Does ANY of the awards work?

This way I can find out what exactly is causing this.

The way it checks and awards based on usertype is actually now designed to work with 1.5 so there shouldn't be a problem, but likely an issue elsewhere in the plugin. I'll have to weed through it and see what might be causing this.
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.

<< 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