notasausage
Forum Replies Created
-
Forum: Plugins
In reply to: [Token / NFT / Blockchain Page Gating] Can’t sign Access Control ConditionWell, I solved my own problem after rereading those console messages. Since POAPs are created on xDai but can be moved to mainnet, the Access Control Condition correctly checks for the POAP event ID token on either. Which means to actually sign that row, MetaMask needs to be setup for the xDai (Gnosis) chain so it can switch between chains and sign on both.
That’s pretty easy to do, more info here: https://docs.gnosischain.com/tools/wallets/metamask
Forum: Plugins
In reply to: [Token / NFT / Blockchain Page Gating] Can’t sign Access Control ConditionLocal or Staging didn’t matter. Also noticing this error in the console:
MetaMask - RPC Error: Unrecognized chain ID "0x64". Try adding the chain using wallet_addEthereumChain first.
Attempting to token gate by POAP event ID, so both on xDai and mainnet ETH.
I ended up calling a resize event in the
tabs.js
file for Ultimate Addons for Gutenberg but in a very inefficient way. In both theinit
andtabClickEvent
functions, I’m calling a resize several times (there are several Tabs blocks with Gutenslider blocks inside them on the page). It works, but there must be a better way…Appreciate the help, looking deeper into how UAG blocks work. What I see so far is that each Tabs block is initialized with a
UAGBTabs.init()
function that points to a unique class for each block, and all of thoseinit()
functions are called within adocument.addEventListener
on the page, like so:document.addEventListener("DOMContentLoaded", function(){ window.addEventListener( 'load', function() { UAGBTabs.init( '.uagb-block-de424418' ); UAGBTabs.anchorTabId( '.uagb-block-de424418' ); }); window.addEventListener( 'hashchange', function() { UAGBTabs.anchorTabId( '.uagb-block-de424418' ); }, false ); })
Trying to work out what needs to happen here.
- This reply was modified 3 years, 3 months ago by notasausage. Reason: Formatting
I’m having the same issue with a Gutenslider block inside of the Tabs block from UAG. Resizing the window initializes the block and everything works fine after that. I’ve tried disabling lazy loading globally and within the plugin, turned of the lazy loading from the Smush plugin, and many other things to no avail.
Not sure what to do next. Using the latest version of each plugin:
Gutenslider 5.5.1
UAG 1.25.2- This reply was modified 3 years, 3 months ago by notasausage. Reason: Versions and link
Forum: Plugins
In reply to: [Editor Full Width Gutenberg] Try this – revised codeJust created a new plugin from this block of code and installed it on a WordPress 5.0.3 site using Gutenberg blocks, no issues so far. Personally I prefer a max-width though since I keep my browser wide on a 27″ iMac, but this is much better than the default width.
I had a similar issue and noticed that disabling the Magic Fields plugin brought my Events tab back in the WordPress admin. I’d really like to have both of these plugins activated, but I’m not sure how’d I’d fix Magic Fields at this point (I’ve updated to the latest version of both plugins).