Forum Replies Created
-
AuthorPosts
-
alexg
KeymasterHello,
I am already currently working on multivendor support, since it is a much requested feature. Progress is slow because I am also working on other components and requests. Once I have implemented this I will let you know on this thread and there will be an announcement on the blog.
with regards
alexg
KeymasterOK I understand now.
Since you are using a custom token with the fiat coin adapter, you should know that I already am planning to implement manual withdrawals to that particular adapter. I simply haven’t got around to do this yet because I am very busy with other components. I am currently working on improvements to the Exchange extension. I will add withdrawals when I get to the next sprint for the Fiat coin adapter.
For overriding the icons, please see the manual under Frontend -> JSON API filters -> Coin icon for an example. You should add the code either to a child theme in your functions.php file, or as a new plugin.
In the future could you please start a new thread if you have a new request? This helps me and others who read the forum later.
with regards
alexg
KeymasterIn that case, it would be nice to have manual withdrawal available for custom currencies & fiat currencies.
I am using the fiat currency adapter to host a token which is not available on the adapter & allowing users to withdraw it is quite difficult.
In terms of changing icons for the custom added currency, could you please be kind enough to guide me? I am aware that I have to change the code on a php file somewhere but not really sure what to do or how.
alexg
KeymasterAs you say there is no balances table. Balances are derived from the transactions table.
If you were to insert a row to the
wp_wallets_txs
table with category=deposit and status=done this would affect the balance. You would need to fill most of the other columns as well, most importantly give your transaction a unique ID. The columns are documented in the schema:https://github.com/dashed-slug/wallets/blob/3.9.0/includes/wallets-core.php#L293-L313
As you can understand, this is not a functionality that I want to add to the plugin as it would create a mess, but you are free to do this manually if you like.
with regards
alexg
KeymasterHi Alex, could I please know how I could manually deposit & withdraw user balances from the database? AFAIK, there isn’t any database table showing user balances right now.
alexg
KeymasterI can’t remember but for my previous project I was using cloudflare ‘full’ option for the SSL & it did not allow deposits to come through. I mean the deposits did come through to my wallet but the database didn’t update. When I changed to ‘flexible’ on cloudflare, all the pending deposits were made at once. But this was months ago… maybe you should try for yourself first.
alexg
KeymasterHello,
I’ve never used it and I don’t know.
But I believe others have used CloudFlare with this plugin. Maybe someone could share their experience?
kind regards
alexg
KeymasterHey Vorticism,
Which project are you currently working on built on the dashed-slug plugin & extensions? I have been seeing you for quite a while now here on this forum.
alexg
KeymasterHello,
There is no easy way to do this, except for manual deposits for fiat coins. The fiat coin adapter will be extended in the future to include fiat withdrawals which of course will be manual. You could use the
wallets_fiat_custom_coins
to add currencies.If you want to do manual deposits & withdrawals today with coins that already have a coin adapter, you can do this manually from the database.
with regards
alexg
KeymasterHello,
I do not expect any problems. I have been developing the plugin against the pre-release 5.0.0 versions for some time now and never noticed issues. In particular, any changes related to Gutenberg should not affect the plugin as it does not interface with the editor at all.
That said, if you do notice any problems, please let me know.
with regards
alexg
KeymasterHello,
If you offload cron job tasks away from user requests, this will make a difference in frontend performance, but only if your site has enough traffic.
Unfortunately I do not have numbers for you in terms of matching number of users or requests to server capacity.
About your other question, it seems that the cron nonce has changed. This would happen if you uninstalled and re-installed the plugin. Simply use the new cron nonce in your curl command.
with regards
alexg
KeymasterHi,
Since static templates are rendered on the server side, there is no delay when displaying these on the frontend. Other shortcodes need to wait for the JSON API. In addition, if you use static shortcodes only, you can and should disable polling, which should improve things a bit.
The main motivation behind static shortcodes is that you can have one page for each coin, rather than the user being able to select between all the different coins. A lot of people have requested this.
with regards
alexg
KeymasterHello,
In version
3.9.0
it is now possible to disable internal triggering of cron jobs. Simply set the “Run every” option to the value “(never)”. As discussed before, you should only do this if you have correctly setup a system cron that triggers the plugin’s cron jobs via curl.with regards
alexg
KeymasterIn version
3.9.0
there is now a new admin table that displays balances for all users and coins. Please see the release notes here: https://www.dashed-slug.net/static-wallet-shortcodes/with regards
alexg
KeymasterHello,
This is now possible in version
3.9.0
using the new static templates for shortcodes. Please see the release notes here: https://www.dashed-slug.net/static-wallet-shortcodes/ and the shortcode documentation here: https://www.dashed-slug.net/bitcoin-altcoin-wallets-wordpress-plugin/shortcodes/kind regards
-
AuthorPosts