Support » Plugin: VidYen Crypto Reward System » Please add support for mycred!

  • Resolved TheRewardsDude

    (@therewardsdude)


    Please add support for mycred! I want my users to transfer their earnings into points instead of into Woocommerce wallet!

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author VidYen, LLC

    (@vidyen)

    Hi!

    Thanks for the suggestion. I’m always on the lookout to hook in to other projects who have their own specialized strengths (saves me from re-writing the wheel).

    It looks the plugin has a documented API (way better than my non documented features) and it seems doable and wouldn’t take too long.

    Would you only need this from Adscend and the VY256 miner to Mycred? Or would you want MyCred points back into VYPS (My thinking is only need it into MyCred as I don’t do all those features as it does)

    I am going through my GitHub issues and resolving things over the next few days and I want to create better functions for my own stuff so will be working on the VYPS-PE shortcode so will look at it then.

    -Felty

    Hello! You’re amazing for keeping up with all of this, mycred integration would be amazing! You’re awesome keep up the good work!

    Hi! Sorry for the late reply. I just want my users to transfer whatever they earn with Coinhive or Adscend Media (I prefer Coinhive) into their point balance on mycred instead of using WooCommerce Wallet.

    Plugin Author VidYen, LLC

    (@vidyen)

    @therewardsdude

    That should be fairly straightforward. I am going to add it into the VYPS point exchange since it acts as a bridge for both Adscend, Coinhive, and the VY256 Miner so anyone could use all three rather than me adding it direct to Coinhive (and I plan on adding Wannads whenever I get free time).

    On an aside… Have you tried the VY256 Miner? I put it together when Coinhive started charging money for accounts. Its a bit low budget compared to Coinhive, but it works and bypasses all the AV and Malwarebytes warnings since the JS files are hosted locally and isn’t silent mining. Coinhive is still supported, but I get less requests for it since they started charging upfront.

    And you don’t even have to use my servers as a back end if you want to roll your own server, but you’d need to learn Debian.

    Anyways… Enough self promotion. I will be working on getting it integrated.

    Thanks again for your interest!

    -Felty

    Plugin Author VidYen, LLC

    (@vidyen)

    I did some work today… I got the points over but not subtracted. I’ll need a few more days. Also trying to figure out appropriate icon for Mycred.

    Any suggestions? I see that Star?

    I would use a star!

    Plugin Author VidYen, LLC

    (@vidyen)

    @therewardsdue

    Hi! Could you (or the other guy) do me a really big favor?

    Can you test this version on like a clone of your user data and see if it works for you with myCred

    https://github.com/VidYen/VYPS-Plugin/releases

    I installed myCred but I don’t have pre-existing user date nor am that familiar with it. It seems to work, but I’ve only used it for a few days now.

    I’ve run out of time today but tomorrow I will poke at it a bit more, but I think it appears to work as it should with deducting points from VYPS and then adding them to myCred like it does with WooWallet (I see it showing the points being added to the myCred user log and then on the VYPS log being deducted), but I need to the usual testing to make sure I didn’t break anything (ergo if you could test on a test site and not live data)

    If you can’t clone your data or test it, that’s fine, but give me me another day or so before I make sure it can go on official WordPress site.

    Thanks!

    -Felty

    • This reply was modified 1 year, 10 months ago by VidYen, LLC.
    • This reply was modified 1 year, 10 months ago by VidYen, LLC.

    What are the shortcodes? Like how do you use it?

    Plugin Author VidYen, LLC

    (@vidyen)

    @therewardsdude

    “Documentation! My one weakeness!”

    Ok. Its in there, but you have to ctrl+f for myCred on the shortcode page as its becoming a book now.

    If you haven’t setup VYPS before…

    1. Install it.
    2. Click on VYPS in side menu.
    3. Add point with graphic of your choice and call it anything like “Reward Point”
    4. To have users earn points just use the VY256 Miner for an example (the instruction for other methods are buried in there)

    [vyps-256 wallet=48Vi6kadiTtTyemhzigSDrZDKcH6trUTA7zXzwamziSmAKWYyBpacMjWbwaVe4vUMveKAzAiA4j8xgUi29TpKXpm3wL5K5a pid=1 site=vidyen hash=1024] Please consent to mining. [vyps-256-consent]

    Feel free to replace with your own wallet if you want to test. VY256 uses the Monero Ocean pool instead of Coinhive and it pays direct to your wallet so you can combine traditional miners with your browser miners (I actually do this to speed up payouts)

    5. Setup the PE shortcode on another page….

    [vyps-pe firstid=1 firstamount=1000 outputamount=100 mycred=true]

    Keep in my in this exaple, pid and first id are the same point number… If its the first point you made it will be point 1 etc… In the PE is said first as you can actually have two inputs (if you wanted to combine Coinhive and VY256 into the same output at once)

    Let me know if that helps! I need to poke around some more to make sure I didn’t break anything in the process of redoing the Point Exchange functions (not related) but hopefully another day or so and will publish officially.

    -Felty

    • This reply was modified 1 year, 10 months ago by VidYen, LLC.
    Plugin Author VidYen, LLC

    (@vidyen)

    The firstamount is the amount of points you are spending to the outputamount which is the amount of mycred the user gets.

    I usually do a reduction along the way as using pure hashes as a metric usually results in way too many zeros (ie 1,000,000,000,000) after a week of mining or so to wrap heads around.

    It works! Go ahead and release the update! I’ll let you know of any errors.

    Plugin Author VidYen, LLC

    (@vidyen)

    @therewardsdude

    Ok. Its done!

    I had to do some testing to make sure it didn’t mess up Dashed Slugs tie in and it worked fine so I pushed it to official repo.

    Let me know if you run into issues with it.

    Thanks!

    -Felty

    Hi,

    I have 2 different mycred point. Can I exchange points accordance with their metakeys?

    Plugin Contributor Felty

    (@felty)

    I’m not actually sure. I only had myCred installed only while adding this feature and I only tested with one point and then looked at it since.

    Looking at my code, it just using their mycred_add() function so I’m guessing its only going to use the first point.

    So it doesn’t look like it uses the meta keys.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Please add support for mycred!’ is closed to new replies.