Vodes for Joomla 1.5
- rakib
- Topic Author
- Offline
- New Member
- Thank you received: 0
Vodes for Joomla 1.5 is attached here. Also can be downloaded from www.mediafire.com/?jnyrazt6zwn . It is tested with Joomla 1.5.5. Hope for the best
Please Log in or Create an account to join the conversation.
- jolmeda
- Offline
- New Member
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- rakib
- Topic Author
- Offline
- New Member
- Thank you received: 0
To install this component in Joomla 1.5 first enable System - Legacy plugin ( Extensions -> Plugin Manager -> system-legacy) and then install it. Hope every thing will work fine.
If you get any problem just put a message in this thread. I will try to reply it.
* I forgot to mention that the component is tweaked to get it working in Joomla! 1.5. So this modified component only works if legacy mode is on.
Please Log in or Create an account to join the conversation.
- jolmeda
- Offline
- New Member
- Thank you received: 0
I know it's a lot of stuff but we want to offer our users great features, and we feel that vodes is the best way, since you pay for them and you select how to expend them.
I was thinking about installing VirtueMart, but with it, there's no way to charge the Live Events. What do you suggest?
Thanks a lot
Please Log in or Create an account to join the conversation.
- serge06
- Offline
- New Member
- Thank you received: 0
Hi,
Vodes for Joomla 1.5 is attached here. Also can be downloaded from www.mediafire.com/?jnyrazt6zwn . It is tested with Joomla 1.5.5. Hope for the best
Could you please clarify or give an example how to use your included file vodes_util.php for some of us who are not yet PHP inclined?
Thanks
Please Log in or Create an account to join the conversation.
- rakib
- Topic Author
- Offline
- New Member
- Thank you received: 0
I just wanted to know what system are you using for expend your Vodes.
I am using a image gallery site where each vode is spent upon each image upload. so I tweaked image gallery code and used my vodes_util.php to spend the vode. Here goes the code:
// keep vodes_util.php in the same directory as your file(i.e spend.php) where you will write code for spending
// that is both vodes_util.php and spend.php will be in the same directory
// and use the following line in spend.php
require_once('vodes_util.php');
$my = & JFactory::getUser();
$uid = $my -> id;
$vode = new Vodes();
if( $vode -> getVodes( $uid ) <= 0){ // if not enough vode
$mainframe->redirect( JRoute::_("index.php?option=com_vodes") , JText::_('You do not have enough credits. So please buy credits to upload'));
}
else if ( IMAGE_UPLOAD_SUCCESSFUL ){
$vode -> updateVodes( $uid ); // spend one vode from user's current crdits/vodes
}
I have a music site, and we want to use the vodes to download songs and cds, to sell clothes, and to pay some Live events that we are going to have available on our site, like pay per view, but using the Vodes.
I know it's a lot of stuff but we want to offer our users great features, and we feel that vodes is the best way, since you pay for them and you select how to expend them.
I was thinking about installing VirtueMart, but with it, there's no way to charge the Live Events. What do you suggest?
Thanks a lot
For example, to download songs and cds if you charge 5 vodes then you have to change updateVodes function( in vodes_util.php ) and should replace
$sql = "UPDATE #__vode_credits SET credit=credit-1 WHERE userid='$uid'";
$sql = "UPDATE #__vode_credits SET credit=credit-5 WHERE userid='$uid'";
Please Log in or Create an account to join the conversation.