It is currently April 19th, 2024, 7:14 am



Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 56, 57, 58, 59, 60, 61, 62 ... 74  Next
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: September 25th, 2020, 2:21 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12640
Location: Earth
Search for:
Code:
.+


Replace with:
Code:
"hello\$0" "bye\$0"


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 7th, 2020, 12:36 pm 

Joined: October 15th, 2014, 4:37 pm
Posts: 4
Hello Freddy. I need solution for this variations:

Main post BEFORE:
Code:
[center][url=https://imagetwist.com/xxx][img]https://img250.imagetwist.com/xxx[/img][/url]

[b] Nice Title (2028)[/b]
>>>some text<<<

[b]Category:[/b]
[b]Starring:[/b]

[b]Screens:[/b]
[url=https://imagetwist.com/xxxxxxxx][img]https:///xxxxxxx[/img][/url]

[b]Download Links:[/b]
[b]Rapidgator:[/b]
[b][url=http://rg.to/file/xxxxxx]xxxxx[/url][/b]

[b]Keep2s:[/b]
[b][url=https://k2s.cc/file/xxxx]xxxxx[/url][/b]
 [/center]


1. For DLE Blog AFTER:
Code:
[center][url=https://imagetwist.com/xxx][img]https://img250.imagetwist.com/xxx[/img][/url]

[b] Nice Title (2028)[/b]
>>>some text<<<[/center]
================
[center][url=https://imagetwist.com/xxx][img]https://img250.imagetwist.com/xxx[/img][/url]

[b] Nice Title (2028)[/b]
>>>some text<<<

[b]Category:[/b]
[b]Starring:[/b]

[b]Screens:[/b]
[url=https://imagetwist.com/xxxxxxxx][img]https://img202.imagetwist.com/xxxxxxx[/img][/url]

[b]Download Links:[/b]
[b]Rapidgator:[/b]
[b][url=http://rg.to/file/xxxxxx]xxxxx[/url][/b]

[b]Keep2s:[/b]
[b][url=https://k2s.cc/file/xxxx]xxxxx[/url][/b]
 [/center]



2. For IP Board 4.x AFTER:

Code:
[center][url=https://imagetwist.com/xxx][img]https://img250.imagetwist.com/xxx[/img][/url]

[b] Nice Title (2028)[/b]
>>>some text<<<

[b]Category:[/b]
[b]Starring:[/b]

[b]Screens:[/b]
[url=https://imagetwist.com/xxxxxxxx][img]https:///xxxxxxx[/img][/url]

[b]Download Links:[/b]
[code][b]Rapidgator:[/b]
http://rg.to/file/xxxxxx

[b]Keep2s:[/b]
https://k2s.cc/file/xxxx[/code]
 [/center]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 8th, 2020, 5:11 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12640
Location: Earth
1. You don't need to repeat those first lines for DLE blogs. themaPoster can do that automatically. Make sure in "Other settings" for that blog option to use separator is not enabled (it must be disabled to work as you desire).

You only need to add the "center" tags and separator above category. This replacement would do that:

Search for:
Code:
[b]Category


Replace with:
Code:
[/center]\n================\n[center]\n[b]Category


Simple replacement (not regex, do not enable regex).

2.1. To remove the "b" / "url" tags around links:

Search for:
Code:
\[b\]\[url=(https?://(rg|k2s).+?)\].+


Replace with:
Code:
$1


Enable regex search.

2.2. To add "code" tag:

Search for:
Code:
(?si)(Download Links:\[/b\])(.+)(\[/center\])


Replace with:
Code:
$1\n[code]$2[/code]$3


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 9th, 2020, 7:26 am 

Joined: October 15th, 2014, 4:37 pm
Posts: 4
Perfect, everything works fine.
Thank you Freddy


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 20th, 2020, 12:56 pm 

Joined: April 5th, 2013, 3:13 pm
Posts: 7
Hi, Freddy. I have forum *******.net. There must be [code] tags in links. How it works I have already figured out how to do this. I have links in the drafts of the form
[URL = https: //******.com/4bz6r3hw9/072.mp4.html] 072.mp4 - 777.0 MB [/ URL].
When [code] is applied, the [URL = ... [/ URL] does not go anywhere. How to make a replacement link to be like here, whithout [URL = ... [/ URL]:
[code] https://*******.com/4bz6r3hw9/072.mp4.html [/ code]?


Last edited by Dikiy58 on October 20th, 2020, 5:59 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 20th, 2020, 3:41 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12640
Location: Earth
Please always write examples inside "code" tags. No need to add any spaces then around other tags.

Search for:
Code:
(?i)\[URL=(.+?)\].+?\[/URL\]


Replace with:
Code:
$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 20th, 2020, 4:30 pm 

Joined: April 5th, 2013, 3:13 pm
Posts: 7
Freddy wrote:
Please always write examples inside "code" tags. No need to add any spaces then around other tags.

Search for:
Code:
(?i)\[URL=(.+?)\].+?\[/URL\]


Replace with:
Code:
$1


Enable regex search.


No, it doesn't fit. With this replacement, not only links to the file are replaced, but also links to screenshots. I need only links on filehost replace


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 20th, 2020, 5:21 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12640
Location: Earth
I would need example of specific filehost then. You did wrote "******". That won't work. I need specific example then.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 20th, 2020, 6:00 pm 

Joined: April 5th, 2013, 3:13 pm
Posts: 7
Freddy wrote:
I would need example of specific filehost then. You did wrote "******". That won't work. I need specific example then.

https://xubster.com/


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 20th, 2020, 6:52 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12640
Location: Earth
Search for:
Code:
(?i)\[URL=(https?://xubster.+?)\].+?\[/URL\]


Replace with:
Code:
$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 20th, 2020, 7:18 pm 

Joined: April 5th, 2013, 3:13 pm
Posts: 7
Freddy, you are the best! Thank you!


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 31st, 2020, 2:09 am 

Joined: August 28th, 2011, 12:50 pm
Posts: 163
Code:
[url=https://img47.pixhost.to/images/181/170118602_anacondas_and_lil_mamas_9.jpg][img]https://t47.pixhost.to/thumbs/181/170118602_anacondas_and_lil_mamas_9.jpg[/img][/url]


to 1st image

Code:
[img]https://img47.pixhost.to/images/181/170118602_anacondas_and_lil_mamas_9.jpg[/img]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: October 31st, 2020, 7:37 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12640
Location: Earth
Search for:
Code:
\[url=(.+?pixhost.+?)\]\[img\].+?\[/img\]\[/url\]


Replace with:
Code:
[img]$1[/img]


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: December 4th, 2020, 11:29 am 

Joined: December 2nd, 2013, 9:36 pm
Posts: 55
Hi Freedy is there a replacement to thema poster to add as subject name a specific parte of the message?

lets say inside the message i always use

Title: This is my title

so the software grabs only "This is my title" i have some hundreds of post like this and want to gfetchem to post em on a blogger. thank you in advance


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: December 4th, 2020, 11:36 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12640
Location: Earth
Yes, there is custom tag: <postSubject>

You can add "<postSubject>" to message text with replacement where needed.

It's automatically replaced with actual subject of the message when posting.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 56, 57, 58, 59, 60, 61, 62 ... 74  Next

Who is online

Users browsing this forum: No registered users and 15 guests


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