plug-in in post window

Technical Support

Suggested Topics


  • Post queue too big (crashing site)

    Unsolved Technical Support
    0 Votes
    2 Posts
    239 Views

    I will post a couple queries to help with this.

    Get number of queued posts

    db.objects.count({_key: "post:queue"});

    Get latest 20 post queue objects ids

    db.objects.find({_key: "post:queue"}).sort({score: -1}).limit(20);

    Using ids from above query you can get the queued posts with

    db.objects.find({_key: "post:queue:<replace_with_id_from_above_query"});

    To delete a post queue from the db with id 123456

    db.objects.remove({_key: "post:queue", value: "123456"}); db.objects.remove({_key: "post:queue:123456"});

    To remove all queued posts

    db.objects.remove({_key: /^post:queue/});

    Hope that helps.

  • Recount Posts

    Technical Support
    0 Votes
    8 Posts
    484 Views

    Ah right, I seem to have the opposite on my site, user.postcount shows less than counts.posts

    But not to worry, now that I understand the differences.

  • 0 Votes
    8 Posts
    1k Views

    @baris that worked thanks again!

  • 0 Votes
    4 Posts
    1k Views

    @ravikum said in How to moderate guest posts?:

    osts to be moderated before displaying them on the forum.

    how can i exclude global-moderators to be moderate this guest category? i dont want mods to be able to delete topics or posts in this category but they should be able to moderal ALL other categories except this one.

    How to do this @baris

  • 0 Votes
    3 Posts
    1k Views

    Nope.....