Deleting posts

Go down

Solved Deleting posts

Post by Guardian-Angel on 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
Guardian-Angel
Guardian-Angel
Forumember

Posts : 629
Reputation : 15
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

Solved Re: Deleting posts

Post by SLGray on 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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 46802
Reputation : 3278
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Deleting posts

Post by Guardian-Angel on 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.
Guardian-Angel
Guardian-Angel
Forumember

Posts : 629
Reputation : 15
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

Solved Re: Deleting posts

Post by Occultist on 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.
Occultist
Occultist
Forumember

Posts : 181
Reputation : 48
Language : English and couple others

https://idonthaveaforum.forumotion.com

Back to top Go down

Solved Re: Deleting posts

Post by Storyteller of Wonderland on 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'); }());
Storyteller of Wonderland
Storyteller of Wonderland
Forumember

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

http://milanwake.forum2x2.ru

Back to top Go down

Solved Re: Deleting posts

Post by Occultist on August 10th 2019, 2:51 pm

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

Posts : 181
Reputation : 48
Language : English and couple others

https://idonthaveaforum.forumotion.com

Back to top Go down

Solved Re: Deleting posts

Post by Guardian-Angel on 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?
Guardian-Angel
Guardian-Angel
Forumember

Posts : 629
Reputation : 15
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

Solved Re: Deleting posts

Post by Storyteller of Wonderland on 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.
Storyteller of Wonderland
Storyteller of Wonderland
Forumember

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

http://milanwake.forum2x2.ru

Back to top Go down

Solved Re: Deleting posts

Post by SLGray on 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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 46802
Reputation : 3278
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Deleting posts

Post by Guardian-Angel on 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 : 629
Reputation : 15
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

Solved Re: Deleting posts

Post by Guardian-Angel on 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.
Guardian-Angel
Guardian-Angel
Forumember

Posts : 629
Reputation : 15
Language : English

http://www.bachandbachettefans.net/forum

Back to top Go down

Solved Re: Deleting posts

Post by SLGray on 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.
SLGray
SLGray
Administrator
Administrator

Male Posts : 46802
Reputation : 3278
Language : English
Location : United States

https://fmthemes.forumotion.com/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum