Compatibility?

More
12 years 3 months ago - 12 years 3 months ago #8726 by Krx
Replied by Krx on topic Re: Compatibility?
Hi

Unfortunately, it doesn't work :(
When I said that it works I thought that it didn't thrown any error when accessing VirtueMart shop, like it used to do.

I installed plugin, enabled it, followed instructions how to set it up in VM and I can see it as payment method in checkout process.
But when checkout is done, no JomSocial points are actually removed.


Joomla 1.7.3
JomSocial 2.4.2
Virtuemart 2.0
Rockettheme Christalline template with Gantry
Php 5.3.8
Last edit: 12 years 3 months ago by Krx.

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

More
12 years 3 months ago #8727 by nordmograph
Replied by nordmograph on topic Re: Compatibility?
Hmm
Ok I think I found the issue.
Can you open the php file and look for every occurences of:
$_db
and replace each with
$db
It should fix it.
Let me know

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.

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

More
12 years 3 months ago - 12 years 3 months ago #8731 by Krx
Replied by Krx on topic Re: Compatibility?
Hi

Still nothing.
As suggested in jomsocialuserpoints.php I've changed $_db into $db, 4 occurrences,
and it still doesn't take from JomSocial points pool

Also:
Virtuemart reports "Thank you for your order" even if product costs more than user has available JS Points.
Shouldn't it report with "You do not have enough points" message? At least I saw that message in language file.

Regards
Last edit: 12 years 3 months ago by Krx.

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

More
12 years 3 months ago - 12 years 3 months ago #8734 by nordmograph
Replied by nordmograph on topic Re: Compatibility?
Oh really sorry for this.
This time I reinstalled the whole thing and tested again
And right, still a little stupid mistake:

open jomsocialuserpoints.php
line 35 replace aup_ration by jsup_ratio
Stupid me.
I tested and got 19 pts deducted for a 18.91 product purchase.
Everything seems fine now.

Let me know

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.
Last edit: 12 years 3 months ago by nordmograph.

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

More
12 years 3 months ago #8735 by Krx
Replied by Krx on topic Re: Compatibility?
Hi

Never mind, it happens :)

I'm glad that it works now:
Points are taken from JS, and warning message popups if not enough points for current order.

Thanks again for working at this date and helping me, most of my associates are already off from work until next half of next week.

Regards

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

Time to create page: 0.317 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.