Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Developers:
Credit system with custom module
musiccreatures



Joined: 20 Jun 2009
Posts: 344
Location: Portland Oregon

Posted: 09/23/11 17:21 
I am looking for the best way to utilize the jamroom credit system in a custom module. I need to know the recommended way to allow users to spend credits to post ads into the mcClassifiedAds V2.x module I have been working on. Any suggestions? I realize I could always simply subtract the credits via DB query but I was hoping that their is some new functions I could use.

Thanks,
Tim McCune

Back to top
Michael
Jamroom Team


Joined: 22 Apr 2008
Posts: 3423
Location: Tokyo

Posted: 09/23/11 21:10 
there is jrUserCredit_logger() which you can use to build your own function and keep a log of the credit.

The actual adding and subtraction are direct though.


_________________
Michael Ussher
Jamroom Network Team Member: http://www.jamroom.net
Priority Support: http://www.jamroom.net/Support_Center
Back to top
musiccreatures



Joined: 20 Jun 2009
Posts: 344
Location: Portland Oregon

Posted: 09/23/11 21:19 
Thanks for your reply. When you say direct, do you mean via SQL Query? IE UPDATE statement?

Thanks,
Tim McCune

Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Developers

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.