Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Support / PaidSystem Support / [SOLVED] After bring to top not count down credits

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

[SOLVED] After bring to top not count down credits

More
11 years 5 months ago - 11 years 5 months ago #2145 by inzertoo
Hello,

I use credit system on my site, I have selected Bring to Top option for 7 days for 10 credits. Users got 20 credits by default.
After i edit it as user it wont count down 10 credits and user still have 20 credits.

Is this a bug or I need to setup it somewhere?
Last edit: 11 years 5 months ago by loic.
More
11 years 5 months ago #2157 by loic
Hello,

Is the transaction saved by the component ?

Everything work well but the credits are not remove ?
More
11 years 5 months ago #2185 by inzertoo
Replied by inzertoo on topic After bring to top not count down credits
Sure, I updated to 2.9.6 and after add to top is error
Fatal error: Class 'JHTMLAdsmanagerUserGroups' not found in \components\com_paidsystem\api.paidsystem.php on line 1295
More
11 years 5 months ago - 11 years 5 months ago #2187 by inzertoo
Replied by inzertoo on topic After bring to top not count down credits
Fatal error: Class 'JHTMLAdsmanagerUserGroups' not found in \components\com_paidsystem\api.paidsystem.php on line 1295 -- solved

fixed adding:

public static function getUserGroup($userid) {
$db = JFactory::getDBO();

$db->setQuery('SELECT group_id FROM #__user_usergroup_map
WHERE user_id = ' . (int)$userid);

$groups = $db->loadColumn();

if($groups == null)
$groups = array();

return $groups;
}

to helpers/Usergroup.php

but it still wont count down credits - i hope that is some issue in api.paidsystem
Last edit: 11 years 5 months ago by inzertoo.
More
11 years 5 months ago #2205 by tompap
Replied by tompap on topic After bring to top not count down credits
Please check the code. strange that this is present in 2.9.6.

I will need to check your website for credits issue. Please send by mail URL + account + FTP.

THanks
More
11 years 5 months ago #2216 by inzertoo
Replied by inzertoo on topic After bring to top not count down credits
Ive send you private message here in forum, also you can meet me on skype.
Time to create page: 0.135 seconds
Powered by Kunena Forum