I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).

If you are new here, please see some information on how to ask for support. Thank you!

alexg

Forum Replies Created

Viewing 15 posts - 1,771 through 1,785 (of 2,212 total)
  • Author
    Posts
  • in reply to: Plugin Overrides #3834
    alexg
    Keymaster

    But then what about the function:

    function my_wallets_views_dir_override( $dir ) {
    return get_stylesheet_directory_uri() . ‘/wallets/include/views/’;
    }
    add_filter( ‘wallets_views_dir’, ‘my_wallets_views_dir_override’ );

    ?

    in reply to: Plugin Overrides #3832
    alexg
    Keymaster

    Yes thank you. I must update the documentation.

    These paths were from before each view got its own directory.

    Views now have their own directory so that they can have alternative templates.

    The correct paths are the longer ones.

    in reply to: Plugin Overrides #3831
    alexg
    Keymaster

    So, like this:

    function my_wallets_views_dir_override( $dir ) {
    return get_stylesheet_directory_uri() . ‘/wallets/include/views/’;
    }
    add_filter( ‘wallets_views_dir’, ‘my_wallets_views_dir_override’ );

    But you say:

    wp-content/plugins/wallets/includes/views/balance.php
    wp-content/plugins/wallets/includes/views/move.php
    wp-content/plugins/wallets/includes/views/deposit.php
    wp-content/plugins/wallets/includes/views/withdraw.php
    wp-content/plugins/wallets/includes/views/transactions.php

    Should this not be:

    wp-content/plugins/wallets/includes/views/balance/default.php
    wp-content/plugins/wallets/includes/views/move/default.php
    wp-content/plugins/wallets/includes/views/deposit/default.php
    wp-content/plugins/wallets/includes/views/withdraw/default.php
    wp-content/plugins/wallets/includes/views/transactions/default.php

    What about account value ?

    wp-content/plugins/wallets/includes/views/account_value/default.php

    Graeme

    in reply to: Plugin Overrides #3830
    alexg
    Keymaster

    I just saw it : function my_wallets_views_dir_override( $dir ) {
    return ‘/path/to/the/directory/where/the/new/templates/are/copied’;
    }
    add_filter( ‘wallets_views_dir’, ‘my_wallets_views_dir_override’ );

    My apologies ..

    in reply to: Cancelled and filled trades not clearing #3829
    alexg
    Keymaster

    Also, is the market pair set to “enabled”?

    in reply to: Cancelled and filled trades not clearing #3828
    alexg
    Keymaster

    To be clear, it is normal for already performed trades to remain in the history views, even after cancelling the open trades.

    I believe you mean that open orders remain in the orderbook views? Is that what you are saying?

    in reply to: Plugin Overrides #3826
    alexg
    Keymaster

    Hello,

    Did you follow the instructions in the documentation about overriding the views directory?

    Instructions are given under “Frontend” -> “Frontend UI WordPress Filters” -> “Alternative knockout templates”.

    Essentially you need to use the wallets_views_dir filter to point to your new views directory.

    kind regards

    in reply to: Cancelled and filled trades not clearing #3825
    alexg
    Keymaster

    Hello,

    Do the orders still show up after you refresh the page?

    Normally after you place an order the orderbook view is refreshed with a new JSON API call to the orderbook API endpoint.

    If this call fails due to network issues the view might not be updated.

    But the bids and asks views only display orderbook data and the query for orderbook data only retrieves open orders.

    Can you check if the orders remain after a page refresh please?

    Thanks.

    kind regards

    in reply to: Permissions problem? #3824
    alexg
    Keymaster

    Hello,

    Does your admin user have the manage_wallets capability? It sounds like not.

    You can use any third-party plugin that manages roles and capabilities to assign manage_wallets to your user.

    This should solve your problem, but please tell me if it does not.

    kind regards

    in reply to: Pending/Unconfirmed Withdrawals #3823
    alexg
    Keymaster

    Hello,

    Yes, this makes sense.

    I do plan to do an update at some point where transactions will be searchable by a number of criteria, including status. This has been suggested before and is in my backlog.

    In the meantime, in the upcoming 3.6.0 release, admins with the manage_wallets capability will be able to receive an email whenever a transaction requires admin approval.

    kind regards
    Alex

    in reply to: Blockio DB Table in adapter #3822
    alexg
    Keymaster

    Hello,

    The error you report is not an exception but a database error and I do not think it indicates that your DB cannot handle this charset/collation.

    Please keep in mind that coin adapters are an abstraction/encapsulation of crypto wallets, and they do not touch the database directly.

    The collation is set to latin1 to match the character set which is also latin1 for fields that do not require Unicode. This includes coin symbols, addresses and transaction IDs.

    Latin1, as you know, has one byte wide characters and this saves space. If four bytes were used as you suggest, this would cause problems with the size of some table indexes. This is why latin1 is used. It is unlikely that your database cannot handle this basic collation and charset as it is the most basic one – essentially ASCII.

    Instead, it is possible that you have run on some of the block.io service limits with a free account and this is probably why you do not get new addresses. At this point in time if I were you I would prefer to use the CoinPayments adapter which has no such limitations.

    In any case the SQL UPDATE wp_wallets_adds SET status = 'current' where id = 1; should not generate an error, and it does not on my machine. This is curious. Which DB are you using? Can you show me SELECT VERSION();?

    kind regards

    in reply to: Wallets are not being generated #3819
    alexg
    Keymaster

    Hello,

    Good to know that you fixed the problem.

    The installation instructions already mention that you should enable the get_callback_address permission. See step 3 at https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/coinpayments-adapter-extension/

    About the other error (JSON parse error), please see the troubleshooting guide in the documentation where it is covered extensively.

    kind regards

    in reply to: Display single coin #3818
    alexg
    Keymaster

    Hello San,

    This is not currently possible. It was recently requested.

    I will let you know here when it will be implemented.

    kind regards

    in reply to: TX fees missing in order #3817
    alexg
    Keymaster

    Hello,

    I will release today a patch for the gateway where fees can be enabled or disabled.

    But the payment gateway does not currently work with multi-vendor plugins. The reason is that on checkout the payment is done to one account.

    As mentioned before, I do plan to address multi-vendor plugins in the future.

    kind regards

    in reply to: How to create different pages for trading pairs #3816
    alexg
    Keymaster

    Hello,

    This makes sense. I will add some static shortcodes in the future. The current ones work with live polling over the JSON API and therefore probably won’t be very SEO friendly, although they do have their uses.

    It has already been requested to be able to show the chart while not being logged in. This will be possible in a future release.

    I will post here when the static shortcodes are implemented.

    I am currently doing the same on the parent plugin.

    kind regards

Viewing 15 posts - 1,771 through 1,785 (of 2,212 total)