sitemap  |  contact

Sakic.Net Forum
21 November 2008, 10:15 *
Welcome, Guest. Please login or register.
Did you miss your activation email?
Login with username, password and session length
News: Email Directory goes free: http://www.sakic.net/products/free_products/
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Install was ok now what any manual?  (Read 5789 times)
lexz
Newbie
*
Posts: 1


View Profile
« on: 09 December 2006, 22:19 »

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
Logged
Saka
Administrator
Hero Member
*****
Posts: 1,293


View Profile WWW
« Reply #1 on: 11 December 2006, 20:22 »

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:

Code:
$database->setQuery( "
UPDATE #__vode_credits
SET credit=credit-1
WHERE userid='$my->id'
" );
$database->query();


To read user's balance:

Code:
$database->setQuery( "
SELECT * FROM #__vode_credits
WHERE userid='$my->id'
" );
$row = null;
$database->loadObject($row);
$balance = $row->credit;
« Last Edit: 11 December 2006, 20:25 by Saka » Logged

adamwil
Newbie
*
Posts: 1


View Profile
« Reply #2 on: 18 June 2008, 01:33 »

How Do I Does This I Am Useing The Add Content Page feature built into the base of joomla 1.5.0
Logged
jolmeda
Newbie
*
Posts: 6


View Profile
« Reply #3 on: 10 August 2008, 16:02 »

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!
Logged
Saka
Administrator
Hero Member
*****
Posts: 1,293


View Profile WWW
« Reply #4 on: 10 August 2008, 19:46 »

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.
« Last Edit: 10 August 2008, 19:50 by Saka » Logged

jolmeda
Newbie
*
Posts: 6


View Profile
« Reply #5 on: 10 August 2008, 20:48 »

I do understand.

Sorry
Logged
Pages: [1]
  Print  
 
Jump to: