It is currently January 13th, 2025, 3:28 am



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Remove links from a host from posts.
PostPosted: January 2nd, 2025, 1:35 pm 

Joined: October 31st, 2021, 4:30 pm
Posts: 14
Hello everyone,
First of all I'd like to wish you all the best for 2025.

Can I delete links from a host I just deleted?

I have just deleted the host send.cm and I want themanager to delete all the links corresponding to this host.


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove links from a host
PostPosted: January 3rd, 2025, 8:50 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13003
Location: Earth
Hi,

use "Extract and replace links" feature: http://manager.themasoftware.com/faq.php?expand=faq303

There is an option at the top "Remove all links" and also option to search in "All websites".

* Since you delete the host from the program as I understood -> add the host back in "HOSTS" tab, disable other hosts which you have there, leave only send.cm enabled (then only that host will be extracted from posts to remove). All other hosts should be red (disabled) so that won't be extracted, enable them later after done.

* In "POSTS" -> select any site -> select posts -> press "Extract links" button -> send.cm links will be extracted, at the top choose to search in all websites and enable "Remove all links" -> press "Replace links" button.

All links will be removed (from all websites if you chose to search in all websites).

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove links from a host from posts.
PostPosted: January 4th, 2025, 11:06 am 

Joined: October 31st, 2021, 4:30 pm
Posts: 14
Hello Freddy,

Thank you, it works perfectly.


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove links from a host from posts.
PostPosted: January 4th, 2025, 11:17 am 

Joined: April 27th, 2019, 10:20 am
Posts: 16
Freddy this works well, but there is one problem, tags in some cases remain in the message and are not removed along with the links.

Example

[code]
Link
Link
Link
[/code]

After deletion, tags remain in this form

[code]
[/code]


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove links from a host from posts.
PostPosted: January 4th, 2025, 1:44 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13003
Location: Earth
Will improve for next update to clean-up that automatically.

For now you can clean-up those with "Replace text" feature and regex search: http://manager.themasoftware.com/faq.php?expand=faq402

In replace text window at the top you can choose to search in all websites and all posts.

Search text (enter on the left, enable regex option):
Code:
(?i)\[code\]\s*\[/code\]


On the right - leave empty.

On a warning press "Search in other posts anyway".

Edit: Improved for next update to do that automatically (4.08).


Attachments:
search_anyway.png
search_anyway.png [ 12.5 KiB | Viewed 73 times ]
replace_text.png
replace_text.png [ 109.97 KiB | Viewed 73 times ]

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister
Top
 Profile  
Reply with quote  
 Post subject: Re: Remove links from a host from posts.
PostPosted: January 4th, 2025, 1:49 pm 

Joined: April 27th, 2019, 10:20 am
Posts: 16
Thank you, I'm using it now


Top
 Profile  
Reply with quote  
 Post subject: Re: Remove links from a host from posts.
PostPosted: January 5th, 2025, 4:51 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 13003
Location: Earth
Made it easier if need to remove all host links for next update.

4.08
* Added new button in "HOSTS" -> "Remove all host links from all posts". In case host becomes dead / offline and need to remove all host links.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC