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,246 through 1,260 (of 2,212 total)
  • Author
    Posts
  • in reply to: Moved: Coin icon filter not applied to menu items #5478
    alexg
    Keymaster

    The issue with icon filters not being applied is now fixed in version 3.9.3 which was released just now.

    in reply to: Balance not showing up in profile #5477
    alexg
    Keymaster

    In the latest version 3.9.3 the “No currencies” message is only shown if there are actually no currencies enabled. It is no longer shown while the data is still being loaded from the server.

    in reply to: Could not add trade pair. #5476
    alexg
    Keymaster

    Hello,

    Are you still experiencing the issue of not being able to add a market to the Exchange?

    If you are interested, there are two things you can check:

    1. Install the latest version of the parent plugin, 3.9.3, released just now. You will now be able to check the setting “Disable transients (debug)” in a multisite install. Does this make a difference? Do you see the markets in the frontend when this is checked? If not, then uncheck the option again as it will make your plugin somewhat slower when checked.

    2. Could you please check to make sure that both the parent plugin and the exchange extension are network-activated? If one of the plugins is activated on a single site then it might not work. I would therefore recommend that you go to network admin settings and deactivate both plugins, then check that they are deactivated in your site where you do your tests, then finally network activate both plugins again.

    with regards

    in reply to: date and time of transactions #5471
    alexg
    Keymaster

    You have no access to the premium downloads because you are on a tax exempt membership plan and your VAT number does not check out on VIES. Could you please check the VATIN you entered in your profile? You can access your profile at https://www.dashed-slug.net/membership-login/membership-profile/

    Let me know if you think this is in error.

    with regards

    in reply to: date and time of transactions #5466
    alexg
    Keymaster

    Is it possible that your database runs on another server than your PHP/web server?

    Other transactions use the PHP time as reported by WordPress, but this extension uses the MySQL time because it is implemented as a pure SQL solution. I could change this but it is faster if you make sure the DB server has the correct time.

    with regards

    in reply to: date and time of transactions #5464
    alexg
    Keymaster

    OK I understand now.

    The plugin inserts the current date as it is set on your server.

    It uses the MySQL function <a href="https://dev.mysql.com/doc/refman/8.0/en/date-and-time-functions.html#function_current-time">current_time()</a>.

    If you adjust the clock on your server, your new airdrops will be assigned the correct time.

    To update the airdrop that you created already, use the code I posted above.

    with regards

    in reply to: Moved: deposit address not displayed #5460
    alexg
    Keymaster

    Hello,

    You would need to enter the code exactly as I posted it, but without the <?php opening tag if it already exists. Plase the code at the bottom of the file after all other text.

    The error you reported means that the curly braces are not balanced. If you can check your code again, please let me know what you find.

    with regards

    in reply to: date and time of transactions #5459
    alexg
    Keymaster

    Hello,

    Thank you and happy new year to you too.

    Unfortunately this is not possible at the moment.

    If you are interested in making the airdrop appear as if it occurred at some point in time, you can update the created_time and updated_time columns in the DB manually. For example, imagine you just performed an airdrop with a tag of ad-5be9b4ca31a06 and you would like it to appear as if it happened on the change of the new year. You would do the following:

    1. Back up your database.

    2. In your MySQL console, do this: UPDATE wp_wallets_txs SET created_time='2018-01-01 00:00:00', updated_time='2018-01-01 00:00:00' WHERE tags LIKE '%ad-5be9b4ca31a06%'. (Replacewp_` with your actual table prefix if needed).

    Were you interested in actually performing the airdrop on a schedule? This is not currently possible.

    with regards

    in reply to: What's "slug" in recipient? #5458
    alexg
    Keymaster

    Hello,

    The information is passed into get_user_by(). “slug” corresponds to the user_nicename column in the DB. It is a sanitized form of the user_login string.

    All users have slugs. In fact, if you use dashes instead of spaces, it can be a dashed-slug!

    with regards

    in reply to: New TX hook #5457
    alexg
    Keymaster

    Hello,

    Again thank you for your feedback. This is indeed a bug. The status of the transaction is updated in the database, but the action receives the state of the transaction before the update. I will fix this in the upcoming 3.9.3 release. You can assume that any internal transactions you receive with wallets_move_receive have been executed.

    with regards

    in reply to: Moved: Coin icon filter not applied to menu items #5456
    alexg
    Keymaster

    Hello,

    I have moved your post to a new thread, as it is unrelated to the other thread.

    Thank you for reporting this, you are correct. The coin icon filter is not applied in the menu item and in some other places, while it is applied correctly to the JSON API results. I have already fixed this issue and will release it as part of the upcoming 3.9.3 release which should be out today.

    with regards

    in reply to: ERROR when activating second coin adapter #5453
    alexg
    Keymaster

    Sure, here’s an example. I have omitted most of the rows for clarity, hopefully you get the idea:

    
    function wallets_multiadapter_coins_filter( $coins ) {
    	$coins['ABC'] = array(
    
    		// Coin symbol
    		'symbol' => 'ABC',
    
    		// Coin name
    		'name' => 'ABC coin',
    
    		// several rows omitted here
    
    		// URL to an 64x64 icon for the coin. Or leave empty to pull the icon from 'assets/sprites/SYMBOL.png'.
    		'icon url' => 'http://www.example.com/abc-coin-icon-64x64.png',
    	);
    
    	$coins['XYZ'] = array(
    
    		// Coin symbol
    		'symbol' => 'XYZ',
    
    		// Coin name
    		'name' => 'XYZ coin',
    
    		// several rows omitted here
    
    		// URL to an 64x64 icon for the coin. Or leave empty to pull the icon from 'assets/sprites/SYMBOL.png'.
    		'icon url' => 'http://www.example.com/xyz-coin-icon-64x64.png',
    	);
    
    	return $coins;
     }
    
    add_filter( 'wallets_multiadapter_coins', 'wallets_multiadapter_coins_filter' );
    in reply to: wordpress 5.0.2 – CoinPayments adaptor error http500 #5452
    alexg
    Keymaster

    Hello,

    I am not always online. Here’s some tips about your issue:

    First, to regain control of your site, you can delete the plugin directory. In this case it would be wp-content/plugins/wallets-cp. After deleting this directory you should regain control of your site. If you need to delete the parent plugin as well, it is in wp-content/plugins/wallets. You will not lose any data related to the plugin.

    If you like to try again, you can try the following:

    1. Switch to a standard theme. Install the CoinPayments adapter again. Does it work this time? Some themes improperly enqueue the TGMPA library, causing issues with other plugins that use the same library. If installation works with the other theme, then delete the file wp-content/plugins/wallets-cp/includes/third-party/class-tgm-plugin-activation.php and try your original theme again.

    2. If the above fails, I would recommend that you enable WordPress debugging. Then, once the 500 error is caused, the error will be written out to wp-content/debug.log. Please send me the error message if you find it.

    3. Also, which version of PHP are you using?

    Hope this helps. Let me know if it doesn’t.

    with regards

    in reply to: Security question #5451
    alexg
    Keymaster

    Hello,

    As you saw, the notification API accepts TXIDs from anyone (but not confirmation counts). Then, the plugin queries the wallet about these transactions by their ID. The plugin will only insert a transaction to the DB if it concerns a user on the system and if it is valid according to the wallet. The API endpoint is very simple and secure. It does not need to trust the caller.

    The same is true with blocks but blocks are not currently being used in anything. The hook is available for future use.

    with regards

    in reply to: ERROR when activating second coin adapter #5441
    alexg
    Keymaster

    I see. Could you please provide an example on how I could add both coins using the same function? do I just simply copy & paste the code below the first adapter?

Viewing 15 posts - 1,246 through 1,260 (of 2,212 total)