The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
3 posters

    Deleting posts

    Guardian-Angel
    Guardian-Angel
    Forumember


    Posts : 755
    Reputation : 15
    Language : English

    Solved Deleting posts

    Post by Guardian-Angel August 9th 2019, 2:57 am

    Hello

    Is there anywhere in the Admin panel that I can set to change delete multi posts at one time, rather than having to delete one at a time?

    Thank you.


    Last edited by Guardian-Angel on August 13th 2019, 3:45 am; edited 1 time in total
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Deleting posts

    Post by SLGray August 9th 2019, 5:49 am




    Deleting posts Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Guardian-Angel
    Guardian-Angel
    Forumember


    Posts : 755
    Reputation : 15
    Language : English

    Solved Re: Deleting posts

    Post by Guardian-Angel August 10th 2019, 2:42 am

    It appears the answer is no?

    If I had 15 posts in one thread and I want to delete 5, they have to be deleted one at a time. When I delete one post, it takes me back to the first page. I might be on page 55 or whatever as an example, then I have to find my page again.

    I wondered if there was an easier way.
    avatar
    Guest
    Guest


    Solved Re: Deleting posts

    Post by Guest August 10th 2019, 1:19 pm

    By default, there's no option to delete multiple posts at once. I could make a code that would allow this, though. Let me know your forum address.
    Storyteller of Wonderland
    Storyteller of Wonderland
    Forumember


    Female Posts : 108
    Reputation : 10
    Language : Russian, German, French, English.
    Location : Russia

    Solved Re: Deleting posts

    Post by Storyteller of Wonderland August 10th 2019, 1:46 pm

    Occultist wrote:By default, there's no option to delete multiple posts at once. I could make a code that would allow this, though. Let me know your forum address.

    This code helps me to clean lazy people on Vkontakte pages who want their walls to become cleaner. Used through the console. If you rewrite the code, it will turn out the same on phphbb, probably))

    Code:
    (function () { 'use strict'; if (!confirm('Delete all posts from the wall?')) return; var deletePostLink = document.body.querySelectorAll('a.ui_actions_menu_item[onclick^="wall.deletePost"]'); for (var i = 0; i < deletePostLink.length; i++) { deletePostLink[i].click(); } alert(deletePostLink.length + ' posts deleted'); }());
    avatar
    Guest
    Guest


    Solved Re: Deleting posts

    Post by Guest August 10th 2019, 2:51 pm

    @Storyteller of Wonderland, that's more or less how to final code will probably look Smile
    Guardian-Angel
    Guardian-Angel
    Forumember


    Posts : 755
    Reputation : 15
    Language : English

    Solved Re: Deleting posts

    Post by Guardian-Angel August 11th 2019, 12:30 am

    @Storyteller of Wonderland and @Occultist Thank you.

    My forum is bachandbachettefans.net

    Would that be the code to use?
    Storyteller of Wonderland
    Storyteller of Wonderland
    Forumember


    Female Posts : 108
    Reputation : 10
    Language : Russian, German, French, English.
    Location : Russia

    Solved Re: Deleting posts

    Post by Storyteller of Wonderland August 11th 2019, 1:03 am

    Guardian-Angel wrote:@Storyteller of Wonderland and @Occultist Thank you.

    My forum is bachandbachettefans.net

    Would that be the code to use?

    I can probably do this, but there is little guarantee. Although it’s worth a try. But not at this time. In any case, maybe someone will be able to create a solution to your problem. And if you look at it soberly, then you can select, for example, 20 out of 40 posts and move them to another section where you will have a garbage can, then delete from there. I have not been using moderation for a long time, but does it seem that there is multiple transfer to those there? Check out this option.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Deleting posts

    Post by SLGray August 11th 2019, 2:19 am

    One way to do this without coding is to use the split option and then delete the topic of the split posts.



    Deleting posts Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    Guardian-Angel
    Guardian-Angel
    Forumember


    Posts : 755
    Reputation : 15
    Language : English

    Solved Re: Deleting posts

    Post by Guardian-Angel August 11th 2019, 3:37 am

    @Storyteller of Wonderland it would be great if I can "select" posts and move them, but I don't see an option on how to do that.

    @SLGray I have never used the split option. I will try it.

    Thank you.
    Guardian-Angel
    Guardian-Angel
    Forumember


    Posts : 755
    Reputation : 15
    Language : English

    Solved Re: Deleting posts

    Post by Guardian-Angel August 13th 2019, 3:45 am

    SLGray wrote:One way to do this without coding is to use the split option and then delete the topic of the split posts.

    That helps. Thank you for the suggestion.

    Topic solved.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: Deleting posts

    Post by SLGray August 13th 2019, 3:53 am

    You're welcome.
    Problem solved & topic archived.
    Please read our forum rules:  ESF General Rules



    Deleting posts Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.

      Current date/time is November 11th 2024, 6:28 pm