Install was ok now what any manual?
- lexz
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
17 years 11 months ago #30
by lexz
Hello,
I installed Vodes and I managed to test the purchase of credits using the paypal sandbox.
I now would like to know how to configure that the download of an item costs some amount of credits.
I can't find any manual for Vodes.
Hope anyone can help. Thanks in advance.
Regards,
Lexz
I installed Vodes and I managed to test the purchase of credits using the paypal sandbox.
I now would like to know how to configure that the download of an item costs some amount of credits.
I can't find any manual for Vodes.
Hope anyone can help. Thanks in advance.
Regards,
Lexz
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
17 years 11 months ago - 17 years 11 months ago #40
by Saka
Emir Sakic
www.sakic.net
With Vodes you can allow users to purchase the credits (vodes) on your site.
The component handles the payments adding the user credits automatically to the database using the PayPal IPN system. It also has administration of the credits and configuration in the backend.
The PayPal Sandbox test mode, automail, error log and change of language are supported.
So, the Vodes component is made ONLY for automatic purchase of credits using PayPal and auto-adding of credits to a user account. It is not made for spending the credits!
The credits are, however, stored in the database and can be used very easily by other components, modules or custom programmed scripts. Therefore the spending part is left for the user to implement in any way he / she needs it.
It could be to vote for articles and polls, donate, finance the development of information goods, access various areas and other purposes of your choice.
Here is the code to use in your components / modules / mambots / custom scripts for spending the credits.
To decrement user's account:
To read user's balance:
The component handles the payments adding the user credits automatically to the database using the PayPal IPN system. It also has administration of the credits and configuration in the backend.
The PayPal Sandbox test mode, automail, error log and change of language are supported.
So, the Vodes component is made ONLY for automatic purchase of credits using PayPal and auto-adding of credits to a user account. It is not made for spending the credits!
The credits are, however, stored in the database and can be used very easily by other components, modules or custom programmed scripts. Therefore the spending part is left for the user to implement in any way he / she needs it.
It could be to vote for articles and polls, donate, finance the development of information goods, access various areas and other purposes of your choice.
Here is the code to use in your components / modules / mambots / custom scripts for spending the credits.
To decrement user's account:
$database->setQuery( "
UPDATE #__vode_credits
SET credit=credit-1
WHERE userid='$my->id'
" );
$database->query();
To read user's balance:
$database->setQuery( "
SELECT * FROM #__vode_credits
WHERE userid='$my->id'
" );
$row = null;
$database->loadObject($row);
$balance = $row->credit;
Emir Sakic
www.sakic.net
Last Edit: 17 years 11 months ago by Saka.
Please Log in or Create an account to join the conversation.
- adamwil
- Offline
- New Member
Less
More
- Thank you received: 0
16 years 5 months ago #2822
by adamwil
How Do I Does This I Am Useing The Add Content Page feature built into the base of joomla 1.5.0
Please Log in or Create an account to join the conversation.
- jolmeda
- Offline
- New Member
Less
More
- Thank you received: 0
16 years 3 months ago #3134
by jolmeda
Saka... congrats, this is a great component, but I have some concerns with it. None for nothing but since most of joomla users are not familiar with PHP development, why you made the component only for purchase of credits and nothing to spend them.
I suggest that you should post a How to do everything with Vodes... or say how much we have to donate in order to make this component available for spend those credits.
In my case, I have a music website and we are going to have Live Concerts (Pay-per-view) and they are going to use their credits to see these concerts. We also gonna have contests to win Vodes and other stuff.
Do Vodes works with VirtueMart or any other shopping cart system?
Please help us, brother!
I suggest that you should post a How to do everything with Vodes... or say how much we have to donate in order to make this component available for spend those credits.
In my case, I have a music website and we are going to have Live Concerts (Pay-per-view) and they are going to use their credits to see these concerts. We also gonna have contests to win Vodes and other stuff.
Do Vodes works with VirtueMart or any other shopping cart system?
Please help us, brother!
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
16 years 3 months ago - 16 years 3 months ago #3137
by Saka
Emir Sakic
www.sakic.net
Because every user want to spend credits on different stuff. You need to allow users to see concerts, someone want to sell images, others want to sell access to articles etc. So everyone can implement spending of credits within his own custom component with a plugin or 3 lines of custom code. There is no way to make an universal solution.
Integrating it with a shopping cart is possible but then it needs maintenance because every change in the shopping card component would need an update within the Vodes. I am not interesting in doing this but maybe someone else is, this is a GPL component after all. Don't think donations is solution, usually only 1 or 2 people donate and nothing goes off.
Integrating it with a shopping cart is possible but then it needs maintenance because every change in the shopping card component would need an update within the Vodes. I am not interesting in doing this but maybe someone else is, this is a GPL component after all. Don't think donations is solution, usually only 1 or 2 people donate and nothing goes off.
Emir Sakic
www.sakic.net
Last Edit: 16 years 3 months ago by Saka.
Please Log in or Create an account to join the conversation.
- jolmeda
- Offline
- New Member
Less
More
- Thank you received: 0
16 years 3 months ago #3139
by jolmeda
I do understand.
Sorry
Sorry
Please Log in or Create an account to join the conversation.