"spending"...
- one7media
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
16 years 5 months ago #2806
by one7media
Hi Emir,
I know that the spending feature isn't part of the install, and I read the post about what code to apply, but I'm just lost.
Do you provide paid support or anything? I just need it to perform one simple function - write an ad in com_marketplace. I don't know what file to put the query in, and even if I did, I wouldn't know where to put it.
If a could make it cost 1 vode to place 1 ad, that would be awesome. This way I can disable their non-functioning paid ads component and use something that works --> not to mention give more flexibility with packages by selling multiple vodes at discounted prices.
PLEASE HELP! I DON'T MIND PAYING FOR SUPPORT!
I know that the spending feature isn't part of the install, and I read the post about what code to apply, but I'm just lost.
Do you provide paid support or anything? I just need it to perform one simple function - write an ad in com_marketplace. I don't know what file to put the query in, and even if I did, I wouldn't know where to put it.
If a could make it cost 1 vode to place 1 ad, that would be awesome. This way I can disable their non-functioning paid ads component and use something that works --> not to mention give more flexibility with packages by selling multiple vodes at discounted prices.
PLEASE HELP! I DON'T MIND PAYING FOR SUPPORT!
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
16 years 5 months ago #2808
by Saka
Emir Sakic
www.sakic.net
Sure. Send me a mail and I will make a quote for you.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- one7media
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
16 years 5 months ago #2809
by one7media
Hi Emir,
I sent you an e-mail. I'm scheduled to launch this site on Monday and really need this done!
Thanks
I sent you an e-mail. I'm scheduled to launch this site on Monday and really need this done!
Thanks
Please Log in or Create an account to join the conversation.
- one7media
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
16 years 5 months ago #2810
by one7media
PLEASE let me know if you can do this..............
I'm stuck until I hear back.........
I'm stuck until I hear back.........
Please Log in or Create an account to join the conversation.
- serge06
- Offline
- New Member
Less
More
- Thank you received: 0
16 years 3 months ago #3191
by serge06
Hi,
I also have Marketplace installed, any chance you anyone could share how to implement the spending for marketplace or any other component, so that I could get the idea? I understand that the following code is used, so for example, which file and where would I put this for users to get one vote for posting on a SMF forum?
I understand that I need to update this line so ut ads credits:
$sql = "UPDATE #__vode_credits SET credit=credit+1 WHERE userid='$uid'";
Thanks for any help
I also have Marketplace installed, any chance you anyone could share how to implement the spending for marketplace or any other component, so that I could get the idea? I understand that the following code is used, so for example, which file and where would I put this for users to get one vote for posting on a SMF forum?
I understand that I need to update this line so ut ads credits:
$sql = "UPDATE #__vode_credits SET credit=credit+1 WHERE userid='$uid'";
Thanks for any help
<?php
class Vodes {
function Vodes(){}
function getVodes( $uid ){
$database =& JFactory::getDBO();
$sql = "SELECT credit FROM #__vode_credits WHERE userid='$uid'" ;
$database->setQuery( $sql );
$balance = $database->loadResult();
return $balance ? $balance : 0;
}
function updateVodes( $uid ){
$database =& JFactory::getDBO();
echo $uid;
$sql = "UPDATE #__vode_credits SET credit=credit-1 WHERE userid='$uid'";
$database->setQuery( $sql );
if( !$database->query()) return false;
return true;
}
}
?>
Please Log in or Create an account to join the conversation.