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

#  Profile for alex01

##

[![alex01's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/31427-alex01 "View alex01's Profile")

**[ Offline](/forum/user/31427-alex01)**

- **User Type:** User

- **Register Date:** 01 Mar 2014
- **Last login:** 12 years 6 months ago
- **Time Zone:**  UTC +0:00
- **Local Time:** 16:50

- **Posts:** 4
- **Profile views:** 50

- **Gender:** Unknown
- **Birthdate:** Unknown

- Posts

#  alex01's recent posts  (4 messages )

All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year     All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post | <a id="forumbottom"> </a> [   ](#forumtop) |
|---|---|---|---|---|
| [](/forum/31-development/866983-developing-a-plugin#150057) | [Developing a plugin](/forum/31-development/866983-developing-a-plugin#150057 "Hi I am using Akeeba Subscriptions in conjunction with Hikashop to track how many free purchases (they will be downloads) a user can have per their subscription. I want to write a plugin which: -When installed adds a field to the hikashop user table named 'download&#95;count' or something along those lines. Default value is 0. -When a user has purchased a subscription through Akeeba subs (I believe there is even a way to make this purchase through hikashop, which may make it easier?) add a value to the new field which allows them to have x amount of free downloads. -When a user uses a free purchase (which will be a downloadable audio file) I want to decrement the number in my custom field. Once it reaches 0 the user cannot make any more free purchases until their new subscription.  Is this a feasible idea? I have done some practice plugin development from a book but this is my first real undertaking in developing an actual plugin, and I know there are probably some standards I need to follow within Hikashop.  I was reading the API and was going to call the function onBeforeDownloadFile(&amp;$filename,&amp;$do,&amp;$file) when a user goes to download a file and say decrement by 1. From my knowledge, to download a file from Hikashop an email gets sent to a user with a link to download a file, so will this function get called when they click that link?  NOTE: The reason I am using Hikashop for this is because the website will also have pages which are 'Subscriber Only' pages and I couldn't think of a better way to integrate that + allowing users to have x amount of free downloads. I can think of ways to do it separately but the only way I could think of joining them together was the creation of a plugin.  Any help would be appreciated as I want to be armed with as much knowledge before I undertake this, as I know it's going to be a tricky task. If anyone has a better idea also I'd love to hear it!")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 12 years 7 months ago, by [alex01](/forum/user/31427-alex01 "View alex01's Profile")       [Last Post](/forum/31-development/866983-developing-a-plugin#150113 "You'll have to load the products data from the order with a SQL query and check whether the products have a product&#95;subscription&#95;id set in them or not.") 12 years 6 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:4  Views:827 | [Last Post](/forum/31-development/866983-developing-a-plugin#150113 "You'll have to load the products data from the order with a SQL query and check whether the products have a product&#95;subscription&#95;id set in them or not.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      12 years 6 months ago |
| [](/forum/31-development/866983-developing-a-plugin#150051) | [Developing a plugin](/forum/31-development/866983-developing-a-plugin#150051 "Hi I am using Akeeba Subscriptions in conjunction with Hikashop to track how many free purchases (they will be downloads) a user can have per their subscription. I want to write a plugin which: -When installed adds a field to the hikashop user table named 'download&#95;count' or something along those lines. Default value is 0. -When a user has purchased a subscription through Akeeba subs (I believe there is even a way to make this purchase through hikashop, which may make it easier?) add a value to the new field which allows them to have x amount of free downloads. -When a user uses a free purchase (which will be a downloadable audio file) I want to decrement the number in my custom field. Once it reaches 0 the user cannot make any more free purchases until their new subscription.  Is this a feasible idea? I have done some practice plugin development from a book but this is my first real undertaking in developing an actual plugin, and I know there are probably some standards I need to follow within Hikashop.  I was reading the API and was going to call the function onBeforeDownloadFile(&amp;$filename,&amp;$do,&amp;$file) when a user goes to download a file and say decrement by 1. From my knowledge, to download a file from Hikashop an email gets sent to a user with a link to download a file, so will this function get called when they click that link?  NOTE: The reason I am using Hikashop for this is because the website will also have pages which are 'Subscriber Only' pages and I couldn't think of a better way to integrate that + allowing users to have x amount of free downloads. I can think of ways to do it separately but the only way I could think of joining them together was the creation of a plugin.  Any help would be appreciated as I want to be armed with as much knowledge before I undertake this, as I know it's going to be a tricky task. If anyone has a better idea also I'd love to hear it!")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 12 years 7 months ago, by [alex01](/forum/user/31427-alex01 "View alex01's Profile")       [Last Post](/forum/31-development/866983-developing-a-plugin#150113 "You'll have to load the products data from the order with a SQL query and check whether the products have a product&#95;subscription&#95;id set in them or not.") 12 years 6 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:4  Views:827 | [Last Post](/forum/31-development/866983-developing-a-plugin#150113 "You'll have to load the products data from the order with a SQL query and check whether the products have a product&#95;subscription&#95;id set in them or not.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      12 years 6 months ago |
| [](/forum/31-development/866983-developing-a-plugin#149917) | [Developing a plugin](/forum/31-development/866983-developing-a-plugin#149917 "Hi I am using Akeeba Subscriptions in conjunction with Hikashop to track how many free purchases (they will be downloads) a user can have per their subscription. I want to write a plugin which: -When installed adds a field to the hikashop user table named 'download&#95;count' or something along those lines. Default value is 0. -When a user has purchased a subscription through Akeeba subs (I believe there is even a way to make this purchase through hikashop, which may make it easier?) add a value to the new field which allows them to have x amount of free downloads. -When a user uses a free purchase (which will be a downloadable audio file) I want to decrement the number in my custom field. Once it reaches 0 the user cannot make any more free purchases until their new subscription.  Is this a feasible idea? I have done some practice plugin development from a book but this is my first real undertaking in developing an actual plugin, and I know there are probably some standards I need to follow within Hikashop.  I was reading the API and was going to call the function onBeforeDownloadFile(&amp;$filename,&amp;$do,&amp;$file) when a user goes to download a file and say decrement by 1. From my knowledge, to download a file from Hikashop an email gets sent to a user with a link to download a file, so will this function get called when they click that link?  NOTE: The reason I am using Hikashop for this is because the website will also have pages which are 'Subscriber Only' pages and I couldn't think of a better way to integrate that + allowing users to have x amount of free downloads. I can think of ways to do it separately but the only way I could think of joining them together was the creation of a plugin.  Any help would be appreciated as I want to be armed with as much knowledge before I undertake this, as I know it's going to be a tricky task. If anyone has a better idea also I'd love to hear it!")        Category: [Development](/forum/31-development "If you are developping a plugin for Hikashop or customizing our component, this is the board to be.")     Topic started 12 years 7 months ago, by [alex01](/forum/user/31427-alex01 "View alex01's Profile")       [Last Post](/forum/31-development/866983-developing-a-plugin#150113 "You'll have to load the products data from the order with a SQL query and check whether the products have a product&#95;subscription&#95;id set in them or not.") 12 years 6 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:4  Views:827 | [Last Post](/forum/31-development/866983-developing-a-plugin#150113 "You'll have to load the products data from the order with a SQL query and check whether the products have a product&#95;subscription&#95;id set in them or not.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      12 years 6 months ago |
| [](/forum/32-content-creation/866309-limiting-number-of-downloads-per-user-per-x#146417) | [Limiting number of downloads per user per x](/forum/32-content-creation/866309-limiting-number-of-downloads-per-user-per-x#146417 "Hi I have installed Hika Shop and have been using it to learn it. I also installed Akeeba Subscription for the solution I am trying to produce.  What I want to do is have users be able to buy a subscription. A subscription will allow a user to download audio files for free, whilst any other user will need to pay a fee. However, I would like to limit the number of downloads a user can have for free depending on their subscription (so they don't get one, download everything and don't renew the subscription).  Is there a way to do this or a solution? I have been looking everywhere and the closest I could find is Hika Shop with Akeeba integration.  Thanks for any help you can provide.  Also, sorry if this is in the wrong section I wasn't sure where to post it.")        Category: [Content Creation](/forum/32-content-creation "If you want to know more about the different options of the product and category creation.")     Topic started 12 years 7 months ago, by [alex01](/forum/user/31427-alex01 "View alex01's Profile")       [Last Post](/forum/32-content-creation/866309-limiting-number-of-downloads-per-user-per-x#146494 "Hi,  I'm thinking that this is more a question of finding a file downloader extension for Joomla which allows you to restrict the number of downloads per user based on the user group of the user so that you can configure akeeba subscriptions to add the user to the corresponding group(s) when they purchase a subscription. Or maybe see what can be done with Akeeba subscriptions, alphauserpoints and a file downloads extension so that when the user buys/renew a subscription, he gets points, and that he can then use the points to download the files he wants.") 12 years 7 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:665 | [Last Post](/forum/32-content-creation/866309-limiting-number-of-downloads-per-user-per-x#146494 "Hi,  I'm thinking that this is more a question of finding a file downloader extension for Joomla which allows you to restrict the number of downloads per user based on the user group of the user so that you can configure akeeba subscriptions to add the user to the corresponding group(s) when they purchase a subscription. Or maybe see what can be done with Akeeba subscriptions, alphauserpoints and a file downloads extension so that when the user buys/renew a subscription, he gets points, and that he can then use the points to download the files he wants.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      12 years 7 months ago |

[](/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)
