dashed-slug.net
Forum Replies Created
-
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] TypeError on Frontend and nothing displayedThe fix is out now in 2.13.7.
Please mark this thread as resolved if the issue is indeed solved.
Otherwise please let me know.
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] TypeError on Frontend and nothing displayedThank you for reporting this. Your description of the problem is very thorough.
I will fix the issue in the next patch release which should be out soon.
Apologies for the inconvenience.
kind regards
AlexForum: Reviews
In reply to: [Bitcoin and Altcoin Wallets] 500 Internal Server Error, plugin is corruptedYou have also posted this as a support question.
For the benefit of others I am posting the link here.
https://ww.wp.xz.cn/support/topic/500-internal-server-error-plugin-is-corrupted-2/
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] CoinPayment: Merchant IDHello Nicholas,
If I understand your query correctly, you are asking where to find the Merchant ID? The Merchant ID is not $PayByName, it is a hex string.
Login to your CoinPayments account and go to Account -> Account Settings -> Your Merchant ID. This is the hex string that you need to enter into the CoinPayments adapter settings.
If I misunderstood your query please let me know.
P.S. This forum is for the main plugin which is hosted here at ww.wp.xz.cn. In the future please note that the support forum for the CoinPayments extension is at https://www.dashed-slug.net/forums/forum/coinpayments-net-coin-adapter-extension-support/ You are always welcome to contact me by email.
kind regards
AlexForum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Transactions page not workingHello Brayden,
You mentioned two issues.
About exceeding block.io’s API limits, you have three things you can do:
1. Set slightly larger time intervals to your cron job, and to the front-end polling rate.
2. Upgrade your plan with block.io
3. Switch to another adapter such as the CoinPayments adapter.I would start with 1 but it’s your call.
About the theme issue: Yes it should be possible to resolve this, but it will require some debugging. Ideally the theme developers should be in the best position to help you.
The plugin itself does nothing when a transaction row is clicked. Only when you click on addresses or transaction IDs in the transaction row (links), it should redirect you to a block explorer site.
kind regards
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] 500 Internal Server Error, plugin is corruptedOK Derek, good to hear that you found the source of the issue. Logs usually contain clues to the source of the problem.
It sounds like this is an issue with the CoinPayments adapter. I don’t know why it would fail to create a NVST deposit address but I will look into it.
If you do continue to face issues with this adapter, in the future please use the forum at https://www.dashed-slug.net/forums/forum/coinpayments-net-coin-adapter-extension-support/ This forum is for issues with the main plugin that is hosted here at ww.wp.xz.cn.
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Transactions page not workingHello,
I have disabled editing capabilities for the administrator because users would lock themselves out of the caps screen by removing the
manage_walletscapability from themselves.You can still edit capabilities via other plugins, but I do not think this is the issue here.
Just to confirm what you reported:
1. Transactions are listed correctly in the
[wallets_transactions]UI table, but when you click on one, you get redirected to the same page? Is this correct?2. Are you clicking on the TXID or elsewehere on the transaction?
3. What coin are these transactions for?
It could be that you need to setup a blockexplorer for your coin. There is an explanation on how to do this in the documentation. Alternatively, it could be an issue with your theme. It might be worth checking if this issue still happens when you temporarily change theme.
Give me answers to the above questions and I can help you debug this.
kind regards
AlexForum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] 500 Internal Server Error, plugin is corruptedHello,
Error 500 is a very general error, it means that anything anywhere could have gone wrong. If you encountered the error right after installing this plugin, simply go to
wp-content/pluginsand delete thewalletsdirectory. If this plugin was causing the problem, then you will regain access to your WordPress installation. Additionally, any transactions that you may have already performed with the plugin will not be lost, but will be safe on your database.To diagnose why this occurred, I will need some more information, such as any error messages, or a copy of the PHP logs during the time the error occurred.
kind regards
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Save Change Button (submit button)Yes, installation instructions for installing
mbstringare here:http://php.net/manual/en/mbstring.installation.php
If you are on a managed server then your host should perform this. Otherwise, it depends on what package manager your distribution uses.
Having said this,
mbstringis no longer a required extension in version 2.13.3 of the plugin. You may simply upgrade to the latest version to resolve your issue.Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Save Change Button (submit button)Hello,
Thanks for reporting this.
I am already aware of the issue and have patched it.
It is due to be out on the next release which will be out soon.
In the meantime if you wish to resolve your immediate issue, install the
mbstringPHP module, as explained in the warning that you see on the top of your screen.Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Get Balance via PHPApiHello,
You are very close. A little background: The
get_instance()static method returns the singleton object that has the PHP API. This was done so as not to pollute the global namespace with functions. Polluting the global namespace is against the ww.wp.xz.cn guidelines, and for good reason. Using PHP namespaces on the other hand is not compatible with some older version of PHP.So, what you need to do is hold the object into a variable, and then call the methods on that object, like so:
$dsw = Dashed_Slug_Wallets::get_instance();
$dsw->get_balance( ‘BTC’, null, false, $user_id );I have since realized that this is not ideal. I am currently moving towards a new implementation of the API which will be based on WordPress actions and filters, so as to not need to call static methods. This will also mean that calling an action or filter from an extension while the main plugin is not installed will not cause an error, thus eliminating the need for guard clauses of the form
if ( class_exists( 'Dashed_Slug_Wallets' ) ) { ....The new API will make heavy use of wp_parse_args(), so that it will be easier to pass any number of arguments without worrying about the position of those arguments or providing defaults when not needed. Therefore, the new call will be something like:
$balance = apply_filters( ‘wallets_api_balance’, 0, array( ‘symbol’ => ‘BTC’ ) );
This change is scheduled for version 3.0.0. The old calls will continue to work as before but will be marked deprecated and there will be a deprecation warning printed in the logs. The deprecated calls will delegate to the new actions and filters. This will all be documented with examples in the documentation.
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Source Map ErrorHello,
The error you report simply states that you do not have a source code copy of these two libraries for debugging purposes. These libraries are distinct projects that you can treat as black boxes when stepping the application through the debugger. The JavaScript source for the plugin is available in unminified form and minified form.
There is no shortcode
[manage_balance]. Perhaps you’re thinking of[wallets_balance]?The shortcodes are detailed here: https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/shortcodes/
As long as you have set the correct capabilities to your user roles,
[wallets_balance]should work.Have you gone through the troubleshooting section under the title “I do not see the UI elements in the frontend”?
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] BitCoin and Altcoin error messageLooking more into this, it seems that you need to install the
php-mbstringextension on your server. This should resolve your issue.Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] BitCoin and Altcoin error messageOK it seems there is some issue with the code that displays whether your wallet is locked, next to the passphrase input box.
Can you please open a new separate thread about this, as it is different from the issue posted by the OP?
In the new thread, please post your PHP version. If you don’t know it, it is included in the debug info given at your dashboard. Go to Admin -> Dashboard -> Bitcoin and Altcoin Wallets and show me the debug info displayed there.
Thank you.
Forum: Plugins
In reply to: [Bitcoin and Altcoin Wallets] Shapeshift api ratePlease note that this support forum is for the main plugin, Bitcoin and Altcoin Wallets which is hosted here on ww.wp.xz.cn.
The support forum for the ShapeShift extension is at https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/shapeshift-extension/
To answer your question: The USD rates shown in the forms in italics beneath the input boxes, are determined from the exchange rate provider that you choose under Wallets -> Rates and have nothing to do with ShapeShift.