- Posts: 13
- Thank you received: 0
How to Customize the Subscription Status List?
- Rob
-
Topic Author
- Offline
- New Member
-
There are two things I want to do:
1. "Expired is misspelled and I want to correct it
2. I want to add "Inactive" as an option
I thought that all I had to do was update the en-GB.com_osmembership.ini language file, but that didn't do it. I vaguely remember editing a file that didn't seem directly related to the membership status, but that's all I remember.
Any help would be greatly appreciated!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
1. To add new status , you will need to edit the code in the two files below :
- administrator/components/com_osmembership/views/subscribers/view.html.php
- administrator/components/com_osmembership/views/subscriber/view.html.php
Look at the code, you will see the code for status options as follow:
Just add the new status into the $options array
2. To correct the text expired, you can edit it in the two language files below:
language/en-GB/en-GB.com_osmembership.ini
administrator/language/en-GB/en-GB.com_osmembership.ini
Hope this help.
PS: I just released version 1.5.4 of the extension. Maybe you should upgrade to that latest version before doing the modification.
Tuan
Please Log in or Create an account to join the conversation.
- Rob
-
Topic Author
- Offline
- New Member
-
- Posts: 13
- Thank you received: 0
That worked great, thanks! But I'm still having a small problem. I have attached all four edited files so you can see how I changed them. The problem is that the status I added is "Inactive", but if I select it for a subscriber and then look at the subscriber list, the status shows as "Cancelled-Refund Pending". Which is the next item on the list after "Inactive" - as if Inactive is being skipped.
Did I do something wrong in the files?
Thanks!
Please Log in or Create an account to join the conversation.
- Rohan
- Offline
- New Member
-
- Posts: 1
- Thank you received: 0
recently purchased this extension and have to say it is one of the best ones.
Could you confirm if the payment for a subscription is automatically refunded when i updated the status? Or do i have to refund the money to my subscribers from somewhere else?
Thanks,
Rohan
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
Rohan wrote: Hi,
recently purchased this extension and have to say it is one of the best ones.
Could you confirm if the payment for a subscription is automatically refunded when i updated the status? Or do i have to refund the money to my subscribers from somewhere else?
Thanks,
Rohan
Hi Rohan
Unfortunately, it is not possible to process the refund automatically. You will have to refund the money manually to your subscriber !
Tuan
Please Log in or Create an account to join the conversation.
- Rob
-
Topic Author
- Offline
- New Member
-
- Posts: 13
- Thank you received: 0
Have you been able to take a look at these files? I'd really like to figure out what's wrong with the customized status list?
Thanks!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
I am sorry. I am too busy these days and could not look at your code. It seems you forgot to edit code in another file administrator/components/com_osembership/views/subscribers/tmpl/default.php. Please look at that file and you should be able to edit the code to make it works properly.
Tuan
Please Log in or Create an account to join the conversation.
- Graham S. Jarvis
- Offline
- Premium Member
-
- Posts: 115
- Thank you received: 3
I'd like to "bump" this topic - to see if there has been any changes since 8 years 3 weeks ago !!! that make changing the Subscription Status List easier to customise?
Adding "cancelled - no refund required" would be useful.
Thanks,
-Graham-
PS: There are Views:870 - so someone must be interested in this

Please Log in or Create an account to join the conversation.
Support
Documentation
Information
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.