dashed-slug.net › Forums › Exchange extension support › Missing coin icons in market table when logged out
Tagged: get_coins_info, icons, json api, logged-out
- This topic has 9 replies, 3 voices, and was last updated 4 months ago by
alexg.
-
AuthorPosts
-
May 18, 2020 at 4:44 am #8358
Anonymous
InactiveHi Alex,
I am experiencing a small issue with the logos of crypts in the markts table when the user is loged out. When I login they appear properly.
Please could you verify on your end if it is an issue?
I don find any error in my console.
Thanks
Best regards
May 18, 2020 at 7:46 am #8360alexg
KeymasterHello,
This is expected. The coin information is retrieved from the
get_coins_info
API endpoint, which is not available if you are not logged in.The issue here is, why are you even seeing the UI? The UI should not be visible if you are not logged in. Which UI are you seeing while logged out? This could be a caching issue.
with regards
May 18, 2020 at 7:55 am #8361alexg
KeymasterContinuing from my last reply:
If you are referring to the public shortcodes of the exchange, then yes, the icons are not available to those UIs for the reason described above. This is something that I will have to address soon. I am making a note of it.
Thank you.
with regardsMay 18, 2020 at 1:19 pm #8364Anonymous
InactiveCorrect Alex, I was meaning the public shortcodes, which are the same for both publinc and non-public, like markets, market history…
Thanks for the clarification. Much appreciated your consideration.
Best regards
July 5, 2020 at 6:38 pm #8764Anonymous
InactiveAlex,
In the current version 1.3.2 it seems not fixed yet, right?
Than you in advance
Best regards
July 6, 2020 at 4:28 am #8772alexg
KeymasterThat is correct. I have not had the time to develop a solution.
with regards
July 6, 2020 at 6:53 pm #8775Anonymous
InactiveOk, please let me know about it.
Thank you
Best regards
December 20, 2020 at 7:11 pm #9626deutsche-emark
ParticipantAt this time i have had the same problem.
Anyone know how to solve it?
Thanks
FyuriDecember 21, 2020 at 7:47 am #9628alexg
KeymasterYeah, sorry but I haven’t spent time on this.
This issue is due to bad design in the API’s access control. This will be resolved with
6.0.0
, the next major version of wallets, which replaces the JSON-API with new restful APIs. Because the new restful APIs will have finer access control, there will be a public API that reports currency information to users who are not logged in.In the meantime, you could use
[wallets_exchange_market template="static"]
. Because the template is static, no information is passed through the API, so there is no issue with coin icons.Hope this helps.
with regards
June 2, 2023 at 8:20 am #12918alexg
KeymasterFor the record, this has been resolved in version
2.0.0
of the Exchange (and later), which is compatible with version6.0.0
of the parent plugin (and later). Sorry for the long delay guys. -
AuthorPosts
- You must be logged in to reply to this topic.