Topic-icon no points for aup rules

Active Subscriptions:

None
11 years 6 months ago #48726 by andbal2
hi, aup rules don't assign points for send requests, comments and like facebook, just for new user and new user with facebook. any ideas to solve this? tx
The topic has been locked.
Support Specialist
11 years 6 months ago #48766 by alzander
Replied by alzander on topic no points for aup rules
Please make sure that:
* You've used the AUP 'scan for new rules' button and configured the rules that were installed with JFBConnect.
* You've enabled the Social Profiles - AUP plugin

If both of those are configured properly and you're still not getting points for any of those features, let us know and we'll have to investigate further.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 6 months ago #48773 by andbal2
Replied by andbal2 on topic no points for aup rules
hi, yes i did as you adviced me, also in jfbconnect, social, other, the aup is active.
i noticed also that delete comment rule works
The topic has been locked.
Support Specialist
11 years 6 months ago #48781 by alzander
Replied by alzander on topic no points for aup rules
Hmmm.. not sure what's happening there then. The Social -> Other -> "Enable AUP Integration" setting actually is a bug and should have been removed. That has no functionality anymore now that we have a dedicated social profile plugin for AUP.

I'm pretty sure you were using AUP integration before this latest release. Can you ensure that you're using the new rules that were installed with JFBConnect 6.2 and not the older rules you may have been using before? Specifically, for the Like configuration, the rule name should be:
plgaup_jfbconnect_facebook_like_create
For requests, it should be:
plgaup_jfbconnect_facebook_request_create

Let me know if that seems correct still and, if so, we'll need to investigate more on your site to determine what's going wrong.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 6 months ago #48800 by andbal2
Replied by andbal2 on topic no points for aup rules
hi, for example i have
for request plgaup_jfbconnect_facebook_request_create
for comment plgaup_jfbconnect_facebook_comment_create
for like plgaup_jfbconnect_facebook_like_create

you advice me to re-install jfbconnect?
The topic has been locked.
Support Specialist
11 years 6 months ago #48822 by alzander
Replied by alzander on topic no points for aup rules
Those are definitely the new rules that came with 6.2. Not sure what's going on. Can you:
* Private Message me admin credentials for the site
* Let me know a specific URL that you're testing with

Also, I know in the past you've used your site within a Facebook Application. Is that how you're testing now and, if so, are the points rewarded when you go directly to the domain outside the Facebook Canvas area?

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 6 months ago #48826 by andbal2
Replied by andbal2 on topic no points for aup rules
hi, yes i use it inside facebook, but i tested also outside and not works. i send you in private message the access, tx
The topic has been locked.
Support Specialist
11 years 6 months ago #48832 by mel
Replied by mel on topic no points for aup rules
I logged into your admin area and saw a few issues with the rules:
1. Some of the rules did not have the plugin type set, so I set it to JFBConnect - Add/Remove Comments, New user on Facebook, Remove Like on Facebook
2. A rule for creating a Like was missing from the list. Auto-detecting new rules did not help, so I manually added the rule. This fixed getting points when adding a Like

When I tried to login to the link templatesocialapp4.socialapp-store.com/it/sala-giochi/regole I received the following error "App Not Setup: The developers of this app have not set up this app properly for Facebook Login" so I created a Joomla user at the link templatesocialapp4.socialapp-store.com/e...com_users&view=login to test.

Please provide a URL for adding a comment so I can test this. I cannot find one on the templatesocialapp4.socialapp-store.com/it/sala-giochi/regole page.
The topic has been locked.
Active Subscriptions:

None
11 years 6 months ago #48837 by andbal2
Replied by andbal2 on topic no points for aup rules
hi, tx for your help on sunday!!! :)
you had that message because the application in not online, you did right to create a user manually. i tested add and remove like and works but not send request. now in this page you have also comment templatesocialapp4.socialapp-store.com/it/sala-giochi/regole
The topic has been locked.
Support Specialist
11 years 6 months ago #48839 by mel
Replied by mel on topic no points for aup rules
I tested Comments and received points properly for adding a comment and deducted properly for removing a comment.

For the request, we found a bug. In /components/com_jfbconnect/controllers/request.php

1. Replace around line 60
if ($aupInstalled)
    AlphaUserPointsHelper::newpoints('plgjfbconnect_request_sent', '', $fbTo);
with
$point = new JFBConnectPoint();
$point->set('name', 'facebook.request.create');
$point->set('key', $to);
$point->award();

and 2. Remove the following block around line 42
$aupInstalled = false;
        if (JFBCFactory::config()->getSetting('social_alphauserpoints_enabled'))
        {
            $api_AUP = JPATH_SITE  . '/components/com_alphauserpoints/helper.php';
            if (file_exists($api_AUP))
            {
                require_once ($api_AUP);
                $aupInstalled = true;
            }
        }

After these changes, please re-test the request.

-Melissa
The topic has been locked.