Forum Replies Created

Viewing 15 replies - 1 through 15 (of 17 total)
  • Thread Starter stumaxuk

    (@stumaxuk)

    Ahh that did the trick, thank you @kellymetal !

    I am indeed using CPT UI, yes.

    Forum: Plugins
    In reply to: [NFT Login] Broken
    Thread Starter stumaxuk

    (@stumaxuk)

    Cool, thanks so much!

    I re-tested and registration now works where it didn’t before .

    I still see a similar error in console but it seems of no consequence –

    inpage.js:1 MetaMask - RPC Error: Internal JSON-RPC error. {code: -32603, message: 'Internal JSON-RPC error.', data: {…}}
    (anonymous) @ inpage.js:1
    (anonymous) @ inpage.js:17
    _runReturnHandlers @ inpage.js:17
    _processRequest @ inpage.js:17
    await in _processRequest (async)
    _handle @ inpage.js:17
    handle @ inpage.js:17
    _rpcRequest @ inpage.js:1
    (anonymous) @ inpage.js:1
    request @ inpage.js:1
    bound bound request @ web3-1.6.1.min.js?ver=1.6.1:22
    u.send @ web3-1.6.1.min.js?ver=1.6.1:22
    s @ web3-1.6.1.min.js?ver=1.6.1:10
    n @ web3-1.6.1.min.js?ver=1.6.1:10
    y._executeMethod @ web3-1.6.1.min.js?ver=1.6.1:22
    (anonymous) @ nft-login-module.js?ver=1.2.4:146
    Promise.then (async)
    (anonymous) @ nft-login-module.js?ver=1.2.4:143
    Promise.then (async)
    nftlogin_connect_and_verify @ nft-login-module.js?ver=1.2.4:141
    await in nftlogin_connect_and_verify (async)
    onclick @ wp-login.php?action=register:71
    nft-login-module.js?ver=1.2.4:151 Error in tokenOfOwnerByIndex Error: Internal JSON-RPC error.
    {
      "code": -32000,
      "message": "execution reverted"
    }

    I’m actually wondering at this point, is the NFT check really useful at the registration point if it is always checked at login ? It’s at login where it really matters I guess ? Perhaps it should be optional, anyway just a thought!

    Thanks for the help!

    Forum: Plugins
    In reply to: [NFT Login] Broken
    Thread Starter stumaxuk

    (@stumaxuk)

    OK so looks like using 721 will be fine for my use case, but it will need to be on polygon.

    Created this one – 0xd2246De330fD7D65706411Dd35D234FCCA13C6d8

    It works fine for logging in with an exsiting user but not for registering still.

    Also it seems that tokenOfOwnerByIndex isn’t available on poly? Any thoughts on how to have this work for both login and registration?

    Thanks

    Forum: Plugins
    In reply to: [NFT Login] Broken
    Thread Starter stumaxuk

    (@stumaxuk)

    Thanks @dave123 very helpful!

    OK so this contract isn’t the actual one I need to use, just one I have available to test with right now, so this shouldn’t be a problem for my project as I can ensure tokenOfOwnerByIndex is included.

    Unfortunately all other available ones I have for testing are ERC1155 right now, the eventual plan will be to use ERC1155 on Polygon, is this option not possible at the mo?

    Thanks!

    Forum: Plugins
    In reply to: [NFT Login] Broken
    Thread Starter stumaxuk

    (@stumaxuk)

    Hi,

    Just checked this again, my bad there’s a detail I forgot to mention.

    For an existing wp user the verification is working, but for a new user registering it isn’t.

    Site is set to allow anybody to register and it will assign them as a contributor.

    Registering is via http://wordpress.site/wp-login.php?action=register

    there’s nothing from inpage:js in console, only thing that isn’t from mm is this from wp-login.php

    Uncaught (in promise) {code: -32000, message: 'execution reverted'}
    Promise.then (async)
    (anonymous) @ nft-login-module.js?ver=1.2.3:147
    Promise.then (async)
    (anonymous) @ nft-login-module.js?ver=1.2.3:143
    Promise.then (async)
    nftlogin_connect_and_verify @ nft-login-module.js?ver=1.2.3:141
    await in nftlogin_connect_and_verify (async)
    onclick @ wp-login.php?action=register:73

    any ideas?

    Many thanks for the support.

    Forum: Plugins
    In reply to: [NFT Login] Broken
    Thread Starter stumaxuk

    (@stumaxuk)

    Sorry, forgot to add, it’s on eth .

    Forum: Plugins
    In reply to: [NFT Login] Broken
    Thread Starter stumaxuk

    (@stumaxuk)

    Hey @dave123 , no problem.

    Here’s the one I’m testing with and it’s 721 I believe – 0x244FC4178fa685Af909c88b4D4CD7eB9127eDb0B

    Thanks for the speedy response.

    Struggling with this too, tried the code as suggested, trying to move from book/s to client/s

    Added the code to /author-pro/functions.php

    // rename custom post type books to clients 
    add_filter( ‘genesis_author_pro_archive_slug’, ‘custom_author_pro_archive_slug’ );
    function custom_author_pro_archive_slug() {
    return 'clients';
    }
    
    add_filter( ‘genesis_author_pro_book_slug’, ‘custom_author_pro_book_slug’ );
    function custom_author_pro_book_slug() {
    return 'client';
    }

    Updated permalinks a few times , tried creating new books to see if it only changes new ones ..

    Nothing I have attempted seems to do the trick .. Any ideas ?

    Thanks!

    stumaxuk

    (@stumaxuk)

    This one had me stumped too. After reading the thread it wasn’t immediately obvious what I needed to do, so in case it helps others –

    I’m currently running WP 4.2.2

    just adding –

    add_theme_support( 'post-thumbnails' )

    To your theme’s functions.php appears to do the trick.

    Stu

    stumaxuk

    (@stumaxuk)

    Hi Rengal,

    Sorry to report that the issue appears to still be present, I just installed 6.0.4 about 15 minutes ago, I was scratching my head about how to use it for a while and then found this thread …

    Thanks,
    Stu

    It appears not to be logging anything at all in the database assuming the data should be under wp_download_log > Columns . Thought i’d mention 🙂

    Thanks.

    I also tried the upgrade to 4.2.1 in case it helped, no joy unfortunately!

    I’ve just installed on wordpress 4.2 with the new 1.7.2 version, unfortunately the missing logs issue appears to still be present .

    Thread Starter stumaxuk

    (@stumaxuk)

    It’s OK I figured it out, the issue was due to the ‘Async JS and CSS’ plgin, adding jquery.min,js to the exceptions list sorted out all of the issues..

    Stu

    Thread Starter stumaxuk

    (@stumaxuk)

    Correction, the above broke the audio player plugin that i’m using this with.

    This did the trick though –

    if (this.href.indexOf(AAPLhome) >= 0 && this.href.indexOf('/home') < 0 && this.href.indexOf('/vhs') < 0){

Viewing 15 replies - 1 through 15 (of 17 total)