[MMO] Coin Widget

[MMO] Coin Widget 2.1.3

No permission to download

kick

Well-known member
kick submitted a new resource:

[MMO] Coin Widget - Bitcoin and Litecoin Donation Buttons

Bitcoin and Litecoin donation buttons. A widget with details for donations of Bitcoin and Litecoin is added to the sidebar. For each of the systems, the number of donated funds and the balance are displayed. The wallet is specified in the add-on settings.
View attachment 224101
View attachment 224102
View attachment 224103
The project name is taken from the forum settings and leads to the main page
Donations are welcome and will be directed to the...

Read more about this resource...
 
thank you for this...

a couple things tho i was noticing..

it would be good for the donation link, to open in a new tab instead of navigating away from the forum...

then also, a minor note, but i see the litecoin button does not have the litecoin icon...
 
it would be good for the donation link, to open in a new tab instead of navigating away from the forum...
application opens

then also, a minor note, but i see the litecoin button does not have the litecoin icon...
Unfortunately in font awesome there is no icon, but I will try to connect the font icon if I find
 
application opens

not sure what you mean....
when i click the link, it automatically tries to open my hardware wallet somehow, which is nice....however, i am saying it currently opens in the tab where the forum used to be open....

so.....after making a donation, members will have to re-enter the forum url into the browser to return.....this would be much better UX opening in a NEW tab, which can be closed after the donation then they can easily go right back to the forum view......see what i mean?

can you not simply put a target _blank on the link?

regards
 
so.....after making a donation, members will have to re-enter the forum url into the browser to return.....this would be much better UX opening in a NEW tab, which can be closed after the donation then they can easily go right back
I will do a little later
 
hello,
i noticed one other minor thing doing a test today....we did a sample donation, which displays, however the donation count was counted 2x so shows 2 when there was really only one donation....

regards
 
saw some server errors recently.....

  • GuzzleHttp\Exception\ServerException: Error fetching bitcoin: Server error: GET https://blockchain.info/address/mywalletaddy?format=json&limit=0 resulted in a 500 Internal Server Error response: 404 page not found
  • src/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
  • Generated by: Admin
  • May 16, 2020 at 10:21 AM
Stack trace
#0 src/vendor/guzzlehttp/guzzle/src/Middleware.php(66): GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), Object(GuzzleHttp\Psr7\Response))
#1 src/vendor/guzzlehttp/promises/src/Promise.php(203): GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object(GuzzleHttp\Psr7\Response))
#2 src/vendor/guzzlehttp/promises/src/Promise.php(156): GuzzleHttp\Promise\Promise::callHandler(1, Object(GuzzleHttp\Psr7\Response), Array)
#3 src/vendor/guzzlehttp/promises/src/TaskQueue.php(47): GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}()
#4 src/vendor/guzzlehttp/promises/src/Promise.php(246): GuzzleHttp\Promise\TaskQueue->run(true)
#5 src/vendor/guzzlehttp/promises/src/Promise.php(223): GuzzleHttp\Promise\Promise->invokeWaitFn()
#6 src/vendor/guzzlehttp/promises/src/Promise.php(267): GuzzleHttp\Promise\Promise->waitIfPending()
#7 src/vendor/guzzlehttp/promises/src/Promise.php(225): GuzzleHttp\Promise\Promise->invokeWaitList()
#8 src/vendor/guzzlehttp/promises/src/Promise.php(62): GuzzleHttp\Promise\Promise->waitIfPending()
#9 src/vendor/guzzlehttp/guzzle/src/Client.php(131): GuzzleHttp\Promise\Promise->wait()
#10 src/vendor/guzzlehttp/guzzle/src/Client.php(89): GuzzleHttp\Client->request('get', 'https://blockch...', Array)
#11 src/addons/MMO/CoinWidget/Widget/CoinWidget.php(21): GuzzleHttp\Client->__call('get', Array)
#12 internal_data/code_cache/widgets/_40_widget_mmo_coin_widget.php(5): MMO\CoinWidget\Widget\CoinWidget->render()
#13 src/XF/Template/Templater.php(6681): XF\SubContainer\Widget->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array, Array)
#14 src/XF/SubContainer/Widget.php(168): XF\Template\Templater->renderWidgetClosure(Object(Closure), Array)
#15 src/XF/Template/Templater.php(1634): XF\SubContainer\Widget->getCompiledWidget(Array, Array)
#16 internal_data/code_cache/templates/l1/s57/public/forum_list.php(229): XF\Template\Templater->widgetPosition('forum_list_side...', Array)
#17 src/XF/Template/Templater.php(1315): XF\Template\Templater->{closure}(Object(SV\AdvancedBbCodesPack\XF\Template\Templater), Array)
#18 src/XF/Template/Template.php(24): XF\Template\Templater->renderTemplate('forum_list', Array)
#19 src/XF/Mvc/Renderer/Html.php(48): XF\Template\Template->render()
#20 src/XF/Mvc/Dispatcher.php(458): XF\Mvc\Renderer\Html->renderView('XF:Forum\\Listin...', 'public:forum_li...', Array)
#21 src/XF/Mvc/Dispatcher.php(440): XF\Mvc\Dispatcher->renderView(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#22 src/XF/Mvc/Dispatcher.php(400): XF\Mvc\Dispatcher->renderReply(Object(XF\Mvc\Renderer\Html), Object(XF\Mvc\Reply\View))
#23 src/XF/Mvc/Dispatcher.php(58): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#24 src/XF/App.php(2184): XF\Mvc\Dispatcher->run()
#25 src/XF.php(391): XF\App->run()
#26 index.php(20): XF::runApp('XF\\Pub\\App')
#27 {main}
Request state
array(4) {
["url"] => string(11) "/community/"
["referrer"] => string(91) "https://www.mysite.com/community/threads/threadtitleID/page-4"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}
 
The widget needs to only try to refresh the account balances at certain intervals. It's being denied by the coin explorer for trying too often. I also saw the double transaction thing happen.
 
Top Bottom