How to Create SVG animation in simple way?

General Discussion

Suggested Topics


  • 0 Votes
    1 Posts
    671 Views

    I can successfully connect and work with a local instance of mongodb.
    However, when from local dev machine I change the mongodb connection string to point to Mongodb Atlas I get the following error:

    not authorized on admin to execute command { create: "socket.io", capped: true, size: 5242880 } {"name":"MongoError","ok":0,"errmsg":"not authorized on admin to execute command { create: \"socket.io\", capped: true, size: 5242880 }","code":8000,"codeName":"AtlasError"}

    The database is hosted on Mongodb Atlas cluster.

    The user is assigned a role: atlasAdmin @ admin.

    { "url": "http://localhost:4567", "secret": "somesecret", "database": "mongo", "mongo": { "host": "127.0.0.1", "port": 27017, "username": "", "password": "", "database": "", "uri": "mongodb+srv://<user>:<password>@somecluster.mongodb.net/somedbname" }, "port": "4567" }

    MongoDb npm package version: 3.2.3

    MongoDb version on Atlas: 4.0.8

    enter image description here

  • 0 Votes
    6 Posts
    818 Views

    @ddck I'm talking about RSS. It is better to download the article to your website and edit it, and then transfer it to the forum using the RSS plugin

  • 0 Votes
    3 Posts
    3k Views

    Thanks for the reply. I'll keep learning and I'll get back to you if needed.

  • 0 Votes
    4 Posts
    2k Views

    I solved my problem, but without using a helper function. here is how I solved it:
    $(window).on('action:topic.loaded', function (event, data) {
    var replynum = data.postcount - 1;
    console.log(replynum)
    });

    I have tested it and it works, every time a topic is loaded I can get the postcount.
    However, I am still unable to know why my helper function is not being executed 😕

  • 0 Votes
    2 Posts
    1k Views

    I can't reproduce the bug after a while. It may cause by cache.