Forum Replies Created
-
AuthorPosts
-
alexgKeymaster
Hello,
I have now replied to your emails.
As you know, I reply to all queries once per day, Monday to Friday only.
with regards
alexgKeymasterHello,
A login widget is out of scope for this plugin. You should search for such a widget elsewhere. Perhaps what you need is a membership plugin?
This is also true for the theme. I do not offer any themes. The UIs are tested with the standard WordPress themes. If you want you can customize appearance of the UIs with the Customizer, or with custom CSS. If you have any questions on how to do specific things with CSS and the UIs, maybe I can help.
with regards
P.S. I have moved your post to a new thread since it was unrelated to the other thread.
alexgKeymasterHello,
@Logo Great to hear that you resolved the issue. I will soon reply to your other posts and emails. In the future, you can open a new thread if you experience issues, and please describe the issue you are encountering in as much detail as possible so I can help you. I reply to all issues once per day Monday to Friday.
with regards
alexgKeymasterHello,
Thank you for paying for membership.
The payment went through ok.
Your account is inactive because you have not yet chosen a username.
You should have gotten an email about this, but maybe it’s in your spam folder.
In any case I am emailing the link to you again.
with regards
P.S. I moved yor post to a new thread as it was not relevant to the other thread.
alexgKeymasterI have now tested a
USDT.BEP2
deposit and can confirm your findings.The amount is deposited in the CP wallet, but the platform does not generate an IPN message, so the plugin is never notified. At the same time, deposits for other coins work fine.
I will continue to investigate and let you know if I find anything else.
In the meantime, do not use BEP2 coins in a production environment.
alexgKeymasterHello,
This has nothing to do with the CoinPayments adapter, or any coin adapter.
I have replied to this at your other post, here: https://www.dashed-slug.net/forums/topic/is-faucet-extension-is-suitable-for-payouts/
with regards
alexgKeymasterHello,
For the faucet extension, you designate a faucet owner (usually an admin).
Deposit funds to that user’s wallets. The faucet then does internal transfers from the admin to the users who request payout. If a user is referred to by another user, the faucet will also do an internal transfer to pay for the referrer’s commission.
For the airdrop extension it’s different: deposit transactions are inserted to the DB to represent the airdrop payouts. You need to pay attention to the hot wallet balance vs the sum of user balances. You can add funds to your hot wallet to back these deposits, so that the users can then withdraw their funds. Use any address in your hot wallet that is not a user deposit address, because if you send to a user deposit address, this will create another deposit transaction in the DB, if that makes sense. A convenient way to replenish your hot wallet balance is the cold storage feature. In the cold storage admin screens, you will find deposit addresses for each wallet, that are not tied to any user. So you can use these to make the hot wallet balance reach a certain percentage of the sum of user balances.
Hope this makes sense, but let me know if you have any more questions.
with regards
P.S. I have moved this thread to the airdrop forum.
alexgKeymasterHello,
No, as far as I know, this would be true only for a full node wallet.
The CoinPayments platform takes care of the fees for you, because they charge a withdrawal fee, and part of that fee pays for the token that buys gas for the transactions.
I have not tested USDT BEP2. Once I do, I will report back here.
with regards
alexgKeymasterHello,
1. Try this:
function get_user_html( $user_name, $user_url, $class = 'tipper' ) { if ( $user_url ) { return sprintf( '<a href="%s" class="user %s" target="_blank">%s</a>', $user_url, $class, $user_name ); } return sprintf( '<span class="user %s">%s</span>', $class, $user_name ); } add_filter( 'wallets_tips_ui_message', function( $message, $author_userdata ) { return sprintf( 'Send a tip to %s?', get_user_html( $author_userdata->display_name ? $author_userdata->display_name : $author_userdata->user_nicename, $author_userdata->user_url ) ); }, 20, 2 );
2. The mechanism that lets you override templates only applies to templates, i.e. files under the
templates
directory. You can’t arbitrarily override any sourcecode file. This way of doing things is pretty standard and common among various well-known plugins.While I can’t teach you PHP and WordPress here, the short story is this: You shouldn’t be editing plugin files directly, because when these get updated, your changes are lost. This is why you should be doing your changes in template overrides, if the changes are about the UI, or use the existing filter/action hooks to modify plugin behavior. Furthermore, to avoid the same problem with your theme, it’s best if you create a child theme for your theme, and do all your custom coding there. All of this is explained in detail in the codex.
If you feel that a filter or action is missing from the plugin, let me know, and I will consider adding it, if it makes sense.
with regards
alexgKeymasterCertainly,
You can use the following:
add_filter( 'wallets_tips_ui_message', function( $text ) { return 'YOUR TEXT HERE'; }, 20 );
The original filter is in
frontend.php
, functionfilter_wallets_tips_ui_message()
with regards
alexgKeymasterHello and welcome!
Thank you for your interest in the plugins.
The button text is filterable with the WordPress filter
wallets_tips_tip_the_author
.To change the text, you could add the following code in your theme’s
functions.php
file:add_filter( 'wallets_tips_tip_the_author', function( $text ) { return 'YOUR TEXT HERE'; } );
Furthermore, if you wish to modify the UI in some other way, including the button text, you can copy and modify the UI template. Templates are described in the release notes for version 5.0.0: https://www.dashed-slug.net/wallets-5-0-0/
In short, you can do this:
1. Copy the file
wp-content/plugins/wallets-tips/templates/tips.php
towp-content/themes/YOUR_THEME/templates/wallets-tips/tips.php
.2. Edit the template in your theme directory. Be careful not to break the knockout.js
data-bind
directives.wallets6 is an ongoing effort which will be out in a few months’ time. When it’s out it will be possible to also override the JavaScript that controls the UI behavior.
Hope this helps. Let me know if you have any more questions.
with regards
alexgKeymasterHello,
As you know, when the plugin first submits a withdrawal to the CoinPayments platform, the transaction is not yet on the blockchain.
The platform will give it a “CoinPayments ID” which uniquely indentifies the transaction request.
Then the CoinPayments platform executes the transaction and next time the plugin queries the platform it gets back the TXID.
The plugin will replace the CoinPayments ID with the TXID once it becomes available.
If this is not working, then it can mean one of only that the cron jobs are not running. This is unlikely if other transactions are executed successfully.
Please note that a transaction may take a few hours before it is executed on the blockchain if the network is congested. During this time the CoinPayments ID will appear in place of the TXID.
Let me know if you are unable to fix this. You should not have to enter the TXIDs by hand.
with regards
P.S. I have moved your post to a new thread since it was not related to the other thread.
alexgKeymasterHello,
Thank you for the screenshot. I believe you, but unless I know what the user did I cannot reproduce the issue. This is why I insist on more data (see my posts above).
If I cannot reproduce the issue, I cannot solve it. I have attempted to reproduce the issue multiple times.
If you can send me all the user’s data in the
wp_wallets_txs
, wp_wallets_orders and wp_wallets_trades tables, then I will be able to reproduce it and possibly understand what happened.Another possibility is that you could manually deposit 60 satoshi to the user, and see if this happens again. Since you say that other users do not face the same problem, it could be a one-time thing, possibly dependent on to the data in the database.
with regards
alexgKeymasterOK,
Delete the wrong deposit row from your DB. The row will be in the
wp_wallets_txs
table.You can now upgrade the Monero coin adapter to version
1.1.3
.The
wallets_cryptonote_coins
filter now accepts an additional “decimals” argument. See the gist here for an example: https://gist.github.com/alex-georgiou/7181cc71c320cbe078a5623479b0a852For example, if your coin has 9 decimals, you should set
decimals
to9
, andamount pattern
to%01.9f
.Hope this helps. As always, let me know if you encounter any problems.
with regards
alexgKeymasterHello,
Oops! I was not aware that there are forks with a different number of decimals! Thanks for letting me know.
I will have to release a new version of the coin adapter. Until then, do not use the coin adapter for this fork.
I will notify you again here.
P.S. I have moved your post from the TurtleCoin adapter forum to the Monero coin adapter forum.
with regards
-
AuthorPosts