[Skip to main content](#vessel-content)

#   Akeeba subscription plugin -- update

##

- **[jonathanfleury](/forum/user/38485-jonathanfleury "View jonathanfleury's Profile")**
- [![jonathanfleury's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar38485.jpg)](/forum/user/38485-jonathanfleury "View jonathanfleury's Profile") Topic Author
- [ Offline](/forum/user/38485-jonathanfleury)

Less More

- Posts: 1
- Thank you received: 0
-
-
-
- [](http://www.guroot.com)
-

10 years 9 months ago -  10 years 9 months ago [\#226467](#226467) by [jonathanfleury](/forum/user/38485-jonathanfleury "View jonathanfleury's Profile")  *[Akeeba subscription plugin -- update](/forum/31-development/881548-akeeba-subscription-plugin-update#226467 "-- HikaShop version -- : 2.5 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.6.12 -- Browser(s) name and version -- : Chrome 47.0.2526.80 (64 bits)  Hello,  I found what might be a bug in akeeba subscription plugin.  The plugin do not consider Level Group of akeeba subscription. This result in lost of subscription time when adding a subscription to a user which already has a subscription in same level group.  Quote from &quot;  www.akeebabackup.com/documentation/akeeb...ns/level-groups.html &quot; : &#91;In practice, this means that if you have –let's say– a 3 month, a 6 month and a yearly subscription you should put them in the same group. No matter which subscription your user buys and in which order he will not lose any subscription time. Moreover, if you have a trial and a full subscription you should put both of them in the same group. Thus your users can upgrade from trial to full without losing subscription time.&#93;  I took care of that myself in ~/plugins/hikashop/akeebas/akeebas.php  I did not find a repository on github where to push this modification so maybe I could contribute here.  I change some lines from line 338. You may compare the uploaded file with original one.  Excuse my english, it's not my native languge and I learn everyday.  Regards,  Jonathan Fleury   www.guroot.com")* was created by *[jonathanfleury](/forum/user/38485-jonathanfleury "View jonathanfleury's Profile")*

-- HikaShop version -- : 2.5
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.6.12
-- Browser(s) name and version -- : Chrome 47.0.2526.80 (64 bits)

Hello,

I found what might be a bug in akeeba subscription plugin.

The plugin do not consider Level Group of akeeba subscription. This result in lost of subscription time when adding a subscription to a user which already has a subscription in same level group.

Quote from "[ www.akeebabackup.com/documentation/akeeb...ns/level-groups.html](https://www.akeebabackup.com/documentation/akeeba-subscriptions/level-groups.html)" :
[In practice, this means that if you have –let's say– a 3 month, a 6 month and a yearly subscription you should put them in the same group. No matter which subscription your user buys and in which order he will not lose any subscription time. Moreover, if you have a trial and a full subscription you should put both of them in the same group. Thus your users can upgrade from trial to full without losing subscription time.]

I took care of that myself in ~/plugins/hikashop/akeebas/akeebas.php

I did not find a repository on github where to push this modification so maybe I could contribute here.

I change some lines from line 338. You may compare the uploaded file with original one.

Excuse my english, it's not my native languge and I learn everyday.

Regards,

Jonathan Fleury
[ www.guroot.com](http://www.guroot.com)

*This attachment is hidden for guests.
Please log in or register to see it.*

Last edit: 10 years 9 months ago by [jonathanfleury](/forum/user/38485-jonathanfleury "View jonathanfleury's Profile"). Reason: Mistyped text

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4MTU0OC1ha2VlYmEtc3Vic2NyaXB0aW9uLXBsdWdpbi11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

10 years 9 months ago [\#226468](#226468) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Akeeba subscription plugin -- update](/forum/31-development/881548-akeeba-subscription-plugin-update#226468 "-- HikaShop version -- : 2.5 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.6.12 -- Browser(s) name and version -- : Chrome 47.0.2526.80 (64 bits)  Hello,  I found what might be a bug in akeeba subscription plugin.  The plugin do not consider Level Group of akeeba subscription. This result in lost of subscription time when adding a subscription to a user which already has a subscription in same level group.  Quote from &quot;  www.akeebabackup.com/documentation/akeeb...ns/level-groups.html &quot; : &#91;In practice, this means that if you have –let's say– a 3 month, a 6 month and a yearly subscription you should put them in the same group. No matter which subscription your user buys and in which order he will not lose any subscription time. Moreover, if you have a trial and a full subscription you should put both of them in the same group. Thus your users can upgrade from trial to full without losing subscription time.&#93;  I took care of that myself in ~/plugins/hikashop/akeebas/akeebas.php  I did not find a repository on github where to push this modification so maybe I could contribute here.  I change some lines from line 338. You may compare the uploaded file with original one.  Excuse my english, it's not my native languge and I learn everyday.  Regards,  Jonathan Fleury   www.guroot.com")*

Hi,

Thank you for these modifications, that plugin was not developed by our team but we will have a look at your modifications and test it to potentially integrate these changes in the plugin.

The following user(s) said Thank You: [jonathanfleury](/forum/user/38485-jonathanfleury "View jonathanfleury's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg4MTU0OC1ha2VlYmEtc3Vic2NyaXB0aW9uLXBsdWdpbi11cGRhdGU/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.151 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
