• I giving away mycred on my site and I want users to be able to convert those mycreds into our altcoin credits is there a good way to do that? I was thinking perhaps some option for users to “cash out” when they have earned a certain amount of mycred – submit the amount of mycred to exchange and give address for their wallet. Then when coins are transfered subtract from their mycreds as a payment.

    Any way to do this now?

    https://wordpress.org/plugins/mycred/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter onlyway

    (@onlyway)

    Is there a way to track the amount of mycreds a user has donated? I would like to reward them with badges and display the amount they have donated on their profiles. Also, I would like to display the amount users have earned in total, after “cashing out” for altcoins and/or purchasing items/memberships on site…

    Plugin Author myCred

    (@designbymerovingi)

    Hey onlyway.

    myCRED does not have a “cash-out” or “withdraw” feature. It however does not mean it can not be added, it’s just not offered due to some of the premium add-ons I am selling which are intended for gamifications. If you feel comfortable with PHP then this is very easy to add in but depends on how you want payouts to work. Your idea of a manual request is one way to do it.

    A simple “manual” cashout system could be built using the Transfer add-on. You could create a “Withdrawal” page where you use the mycred_transfer shortcode pre set with a specific users ID (i.e. your own or a dedicated “accountant”). You then ask your users to transfer the amount of points they want to cash out to this account and you then pay them out however you like. It would give you a log of all payouts as well and you can always transfer the funds back if you want to “cancel” a withdrawal request.

    Everything you do in myCRED is logged. The only exception to this is the Manual Adjustment where you as an admin can adjust a users balance without a log entry.

    So you can always use these unique references and for example add up all log entries with a particular reference. An example of this is the “myCRED Overview” dashboard widget which counts up references like “buyCRED purchases”, “Transfers” etc.

    There is no shortcode to show a total by reference but this can be done via script.
    For example there is the mycred_count_all_ref_instances function which will add up ALL references in your log and present the total for each reference.

    Basic example usage:

    $totals = mycred_count_all_ref_instances();
    if ( isset( $totals['transfer'] ) )
    	echo 'Total transfers: ' . $totals['transfer'];
    else
    	echo 'No transfers yet';

    Example results returned by this function;

    array(
    	'logging_in' => 1000,
    	'transfer'     => 287,
    	'approved_comment' => 28
    )

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘MyCred and AltCoins’ is closed to new replies.