Forum Replies Created
-
AuthorPosts
-
alexg
KeymasterThank you for the additional details.
It sounds like some of the issues were resolved, so that’s great to hear.
What do you see in place of the shortcodes?
Normally, if a shortcode cannot be rendered, it will display an error message (unless if you have hidden errors with custom CSS).
Failing this, it may be a good idea to enable logging and check the
debug.log
file for any errors.If you cannot find any error messages, I can login to your site and check. If you want me to, please email admin credentials for your site and I’ll login and check.
with regards
alexg
KeymasterHello and welcome. Thank you for paying for membership.
First of all, the activation code is only for automatic updates to your extensions. It is possible that it’s in your spam folder. You can also find your activation code when you log in to this site, in the site’s homepage and other pages. Just search for “activation” in the page. If you can’t find it, you can email me and I’ll send you the code again. For details about the activation code see here: https://www.dashed-slug.net/dashed-slug/extension-updates-activation/
Please tell me the following:
1. What do you mean by “No users are being allocated wallets”? What do you see on the screen? If you have used the shortcodes and you see “No currencies are currently enabled”, then see the relevant guide in the howto section: https://www.dashed-slug.net/howto-debug-shortcodes-no-currencies-are-currently-enabled/
Also, since you are on multisite, it’s possible that users were not assigned capabilities correctly. Please go to Wallets -> Capabilities and check. Admins should have “manage_wallets”, while other users should have “has_wallets” and all other wallets capabilities, except “manage_wallets”.
2. If you have installed the CoinPayments adapter but you haven’t managed to enable any currencies, then let’s focus on this issue first. You mentioned that you see an error message to check your code. What error message is this? Please show me.
For example, some themes incorrectly use TGMPA in such a way that they crash the plugins that also use TGMPA. If you show me the error message I’ll be able to tell what’s wrong.
3. You also mentioned that you see an error communicating with CoinPayments. Can you show me the error?
Since you are using the plugin on a multisite installation, please also tell me whether the plugin (and its adapters and app extensions) are network-activated, or if they are only activated on single sites in your network.
In short, please be as specific as possible so I can help. Any errors you see, please copy and paste them so I can see the problem.
P.S. I have moved your post to a new thread, since it was not related to the other thread. Since you are able to download premium extensions, then the issue is not related to the activation code. I have checked your account and it is a premium account.
with regards
alexg
KeymasterHello,
Thank you. This is part of the information I requested. Please see again my previous posts.
with regards
alexg
KeymasterHello,
In continuation to our previous discussion,
Unfortunately this is even less information than before.
If you want me to look at this issue again, please provide at least one of the following two things:
1. Clear instructions on how to reproduce the issue
Please see points 1 – 5 at https://www.dashed-slug.net/forums/topic/negative-aviable-balance-after-trade/#post-10275
I would need to see the base and quote balances of both users before and after the transaction, AND a screenshot of the trades under “Wallets” -> “Transactions” at a minimum.
2. An SQL dump of the transaction and trade data for the two users.
For example, if the trade was between users 123 and 321 and between coins with tickers ABC and XYZ, you could issue the following into the MySQL console:
select * from wp_wallets_txs where account in (123,321) and symbol in ('ABC','XYZ');
select * from wp_wallets_orders where account in (123,321) and ( base_symbol in ('ABC','XYZ') or quote_symbol in ('ABC','XYZ') );
Do not worry about sharing personal data – there are none. The users here are just integer numbers. This is not going to be a GDPR problem.
If you can provide either one of the above, then I can investigate the issue again.
Thank you
with regards
alexg
KeymasterHello,
I have now replied to your emails.
As you know, I reply to all queries once per day, Monday to Friday only.
with regards
alexg
KeymasterHello,
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.
alexg
KeymasterHello,
@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
alexg
KeymasterHello,
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.
alexg
KeymasterI 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.
alexg
KeymasterHello,
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
alexg
KeymasterHello,
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.
alexg
KeymasterHello,
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
alexg
KeymasterHello,
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
alexg
KeymasterCertainly,
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
alexg
KeymasterHello 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
-
AuthorPosts