Topic-icon Problem with AUP RULES : No points

Support Specialist
11 years 9 months ago #25572 by alzander
Lorenzo,
It's really too bad, but you can't leave 2 reviews on the JED. We wish it were possible as we'd get many more reviews :D

As for your issue, we really didn't change *anything*, so I'm not sure what was going on. Either way, very happy to hear it's going now.

Best of luck!
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 8 months ago #26151 by lorde
Hi Alex,
I do not know what's going on...:(
everything was going well with the integration AUP/JFBConnect, then a couple of days ago again the same problem : no points assigned for "I like" and for any comments, the same happens on the pages of K2 items.
I did only the update of SCLogin to 1.1.4 and I do not think that this is the problem with AUP

What's your best advice?
Can you give a check to my administration side?

I sent you a PM via email.
Regards,
Lorenzo
The topic has been locked.
Support Specialist
11 years 8 months ago #26153 by alzander
Lorenzo,
It's not you, it's us. JFBConnect has a bug in the 4.2.4 release that just came out. We were notified of it on Friday and will be releasing an update next week to fix it. You can make a minor code-fix change to fix it as well. In the /plugins/system/jfbcsystem/jfbcsystem.php file, around line 210, you'll see:
$status = 'status: true,';
// get Event Notification subscriptions
$subs = "\nFB.Event.subscribe('auth.authResponseChange', function(response) {jfbc.login.on_login();});";
Alter that last line to add a period ( . ) in front of the equals ( = ) sign:
$subs .= "\nFB.Event.subscribe('auth.authResponseChange', function(response) {jfbc.login.on_login();});";
The issue only presents itself when you have AUP or email notifications for Like/Comments enabled *and* are using the Auto-Login feature of JFBConnect. If you disable auto-login, the other features work.

Hope that helps, and again, sorry for the issue. If you have any questions or issues, let us know!
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 8 months ago #26163 by lorde
Hello ALex,
thank you for your prompt reply.
I tryed to use the php line modification but I didn't get any results (no AUP additional points)

I tryed also to hide option "auto login with Facebook" without change the php line, but no results.
The issue is still there :(

Maybe another solution?
Regards,
Lorenzo
The topic has been locked.
Support Specialist
11 years 8 months ago #26170 by alzander
I just looked at the front-end. Things look right from what I can see there.. JFBConnect should be notified of new Likes and Comments. Auto-login looks disabled right now.

From what I can see on the front then, things look right. The things I can't check are:
* AUP integration for JFBConnect is enabled (Social -> Misc area, I believe)
* The AUP plugins for JFBConnect for the features you want (Like, Comment, Request) are published.
* Points are set for the amount to award for each action
* The user hasn't already been awarded points for the action (A user only gets point for Like'ing a page once, etc).

If all of that checks out, then something else is wrong, but I'm not sure what. Would it be possible to send me super admin credentials to the site?

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

None
11 years 8 months ago #26181 by lorde
Hi Alex,
as you said everything looks good in frontpage.
All the options are ok, so I think that there is something else.
I sent you a PM with credential to for backend.

Cheers,
Lorenzo
The topic has been locked.
Active Subscriptions:

None
11 years 8 months ago #26182 by lorde
Hello Alex,
do you have any news for me?
Did you received the credentials for the backend?
Best,
Lorenzo
The topic has been locked.
Support Specialist
11 years 8 months ago #26187 by alzander
Lorenzo,
Yes, I received the credentials and just got a chance to look into the issue. First, everything in the admin area looks to be configured correctly. So, then I went and found a page with a Like button on it. To test, I was using the page below:
http://www.liveandshop.com/index.php?option=com_k2&view=item&id=118:test
When I click the Like button, our Javascript is executing properly to notify JFBConnect that a new Like is triggered. This calls a page from your site in the background which then, should execute the AUP integration. However, instead, there's a Javascript error appearing that the URL we're calling can't be reached. If I go to the page directly, I get a 403 forbidden message. You can try yourself on the following URL:
http://www.liveandshop.com/index.php?option=com_jfbconnect&controller=social&task=likeCreate&href=http%253A%2F%2Fwww.liveandshop.com%2Findex.php%253Foption%253Dcom_k2%2526view%253Ditem%2526id%253D118%253Atest
It's a long URL, but that's normal. I'm not sure why that page won't load. Since it can't though, that's why the JFBConnect -> AUP code won't execute. There are a lot of things that can prevent some URLs from loading (being forbidden), anything from an agressive firewall to a problem with your .htaccess files rules.

Either way, if you can investigate what's preventing that page from loading, that should resolve the problem. Hope that helps and isn't too confusing. Unfortunately, I don't really know what's causing the forbidden error so I can't help narrow it down much further.

Best of luck,
Alex
The topic has been locked.
Active Subscriptions:

None
11 years 8 months ago #26188 by lorde
Hi Alex,
thank yo for your answer.
OK, I understand the situation and I will exame why that's happen.
Before investigating what do you think if I remove JFBConnect and to proceed for a new clean installation?

Regards,
Lorenzo
The topic has been locked.
Support Specialist
11 years 8 months ago #26190 by alzander
No, I don't think uninstalling and re-installing will have any effect. I don't think it will hurt, so you're free to try and all your settings will remain, but it shouldn't change anything.

Basically, the 403 Forbidden error looks to be coming from Apache itself. That means that Joomla isn't even being executed, which means it's not an issue with Joomla, JFBConnect or anything else at that level. It's a lower-level issue that needs to be understood.

Hope that explains,
Alex
The topic has been locked.