themaPoster
http://poster.themasoftware.com/forum/

Forum replacements problems.
http://poster.themasoftware.com/forum/viewtopic.php?f=4&t=634
Page 45 of 74

Author:  gorizon [ October 21st, 2018, 10:28 am ]
Post subject:  Re: Forum replacements problems.

Hi

before
https://fbom.me/file/427c3ae244435

after
Spoiler!

Author:  Freddy [ October 21st, 2018, 12:30 pm ]
Post subject:  Re: Forum replacements problems.

Just use "links" tag configuration as described in FAQ: http://poster.freddy.lt/faq.php?expand=faq104

It will be added automatically for needed forum.

Author:  Crackpot [ November 13th, 2018, 1:11 pm ]
Post subject:  Re: Forum replacements problems.

input
Code:
abc.S01e13.720P.Bluray.X264-Geckos Ffb Ffb-29

output
Code:
abc.S01e13.720P.Bluray.X264-Geckos

Author:  Freddy [ November 13th, 2018, 1:58 pm ]
Post subject:  Re: Forum replacements problems.

If it's always "Ffb" then this would work (if not it's possible to make more generalized replacement).

Search for:
Code:
(?i)(.+?) ffb ffb-[0-9]+


Replace with:
Code:
$1


Enable regex.

Author:  Crackpot [ November 14th, 2018, 8:03 am ]
Post subject:  Re: Forum replacements problems.

thanks another one

input
Code:
abc.S01e13e14.720P.Bluray.X264-Geckos


output
Code:
abc.S01e13e14

Author:  Freddy [ November 14th, 2018, 9:42 am ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
(?i)(^.+?S[0-9]+E[0-9]+).+


Replace with:
Code:
$1


Enable regex.

Author:  Crackpot [ November 20th, 2018, 9:47 pm ]
Post subject:  Re: Forum replacements problems.

input:
The Twilight Zone - 2x01 - King Nine Will Not Return_(ENGLISH)_DJJ.HOME.SAPO.PT


output
The Twilight Zone - 2x01

Author:  Freddy [ November 21st, 2018, 11:01 am ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
(?i)(^.+? - [0-9]+x[0-9]+).+


Replace with:
Code:
$1


Enable regex.

Author:  gorizon [ November 28th, 2018, 8:55 pm ]
Post subject:  Re: Forum replacements problems.

Freddy wrote:
Just use "links" tag configuration as described in FAQ: http://poster.freddy.lt/faq.php?expand=faq104

It will be added automatically for needed forum.

the only way to do this?
can this be done through replacements in one forum?

Author:  Freddy [ November 29th, 2018, 5:09 pm ]
Post subject:  Re: Forum replacements problems.

gorizon wrote:
Freddy wrote:
Just use "links" tag configuration as described in FAQ: http://poster.freddy.lt/faq.php?expand=faq104

It will be added automatically for needed forum.

the only way to do this?
can this be done through replacements in one forum?


You could done it with replacement, but links options are already per forum. If you add the replacement it will conflict with links setting and it will end up with two spoiler tags.

The replacement would be:

Search for:
Code:
https?://fboom.+


Replace with:
Code:
[spoiler]$0[/spoiler]


Enable regex.

Author:  Crackpot [ November 29th, 2018, 6:07 pm ]
Post subject:  Re: Forum replacements problems.

not sure if possible or not. Input
Code:
<div class="bbcode_description">Openload (1GB Link Interchangeable)</div>
<dl>https://openload.co/f/Yg/Overlord.1975.1080p.part1.rar
https://openload.co/f/q/Overlord.1975.1080p.part2.rar</dl>

Openload (1GB Link Interchangeable)
https://openload.co/f/Yg/Overlord.1975.1080p.part1.rar
https://openload.co/f/q/Overlord.1975.1080p.part2.rar


Output
Code:
<div class="bbcode_description">Openload (1GB Link Interchangeable)</div>
<dl>https://openload.co/f/Yg/Overlord.1975.1080p.part1.rar
https://openload.co/f/q/Overlord.1975.1080p.part2.rar</dl>

Author:  Freddy [ November 29th, 2018, 9:16 pm ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
(?s)Openload \(1GB Link Interchangeable\)\nhttp.+openload.+?(\n|$)


Replace with:
Code:
(leave empty)


Enable regex.

Author:  zaika [ December 2nd, 2018, 12:36 pm ]
Post subject:  Re: Forum replacements problems.

wrong sorry

Author:  Freddy [ December 2nd, 2018, 3:28 pm ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
https?://filecrypt.+


Replace with:
Code:
$0\n\n[b]Another Host[/b]\n[code]https://worldbytez.com/users/italiano/14972/LINK[/code]


Enable regex.

Author:  zaika [ December 2nd, 2018, 4:12 pm ]
Post subject:  Re: Forum replacements problems.

Im sorry Freddy but i added wrong link no filecrypt but keeplinks it must be so:

Search
Code:
https://www.keeplinks.co/p95/5c02a1a698142


Replace Adding another link with:
Code:
https://www.keeplinks.co/p95/5c02a1a698142

[b]Another Host[/b]
[code]https://worldbytez.com/users/italiano/14972/LINK[/code] 

Page 45 of 74 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/