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

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

Author:  Freddy [ June 7th, 2020, 11:53 am ]
Post subject:  Re: Forum replacements problems.

If you're using themaCreator to generate the posts just update your "Main" template in themaCreator and add this line anywhere:

Code:
<tags>{#imdbGenres#}</tags>

Author:  Freedom35 [ June 7th, 2020, 2:59 pm ]
Post subject:  Re: Forum replacements problems.

That may work also. Thank You

I've one more Freddy:

before
Code:
</center>
efery text
after center should be gone

after
Code:
</center>


Basically everything after center tag.

Cheers!

Author:  Freddy [ June 7th, 2020, 4:00 pm ]
Post subject:  Re: Forum replacements problems.

Hm... you wrote the "/center" tag as HTML, are you sure that's correct?

Also how it should handle in case of multiple "/center" tags? Should it remove everything after the first "/center" tag or the last "/center" tag?

Author:  Freedom35 [ June 7th, 2020, 4:05 pm ]
Post subject:  Re: Forum replacements problems.

Yes, html is right.
I only use one center tag, so that's not a problem. It should remove everything after the closing center.
Thank You.

Author:  Freddy [ June 7th, 2020, 4:13 pm ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
(?s)(</center>).+


Replace with:
Code:
($1)


Enable regex search.

Author:  Freedom35 [ June 7th, 2020, 8:10 pm ]
Post subject:  Re: Forum replacements problems.

Thank You. Works fine.

Author:  Shaki [ June 9th, 2020, 11:14 am ]
Post subject:  Re: Forum replacements problems.

Hi Freddy
I need this change in one forum

before

Code:
The 13th Warrior 1999 1080p BRRip x265-RARBG [1.6 GB]
Locked Alone 2018 WEBRip x264-ION10 [803 MB]
Vida S03E05 Episode 21 720p AMZN WEB-DL DDP5 1 H 264-KiNGS [1.41 GB]
Snowpiercer S01E03 Access Is Power 720p NF WEBRip DD+5 1 x264- [2.16 GB]


after

Code:
The 13th Warrior 1999 1080p BRRip x265-RARBG
Locked Alone 2018 WEBRip x264-ION10
Vida S03E05 Episode 21 720p AMZN WEB-DL DDP5 1 H 264-KiNGS
Snowpiercer S01E03 Access Is Power 720p NF WEBRip DD+5 1 x264-


Thank You

Author:  Freddy [ June 9th, 2020, 1:05 pm ]
Post subject:  Re: Forum replacements problems.

For subject this would work:

Search for:
Code:
\[.+\]$


Replace with:
Code:
(leave empty)


Enable regex search.

Author:  ad-team [ June 29th, 2020, 9:59 pm ]
Post subject:  Re: Forum replacements problems.

Hello bro

before
Code:
Effective Cycling



After

Code:
Effective Cycling-{#bookAuthor#}

mean add author name at the end of book title
Thanks

Author:  Freddy [ June 30th, 2020, 4:57 am ]
Post subject:  Re: Forum replacements problems.

If this for themaCreator then in your "Main" template just add the <subject> tag with what you want.

Code:
<subject>{#folderName#} - {#bookAuthor#}</subject>


And please use themaCreator forum for themaCreator related things.

Author:  ad-team [ June 30th, 2020, 6:53 pm ]
Post subject:  Re: Forum replacements problems.

sorry bro for this mistake
thanks a lot

Author:  Crackpot [ July 26th, 2020, 12:57 am ]
Post subject:  Re: Forum replacements problems.

Input
Code:
Wild.Orchid.1989.UNRATED.1080p.BRRip.H264.AAC-P2P
Danger.One.2018.1080p.WEBRip.x264-P2P
Crackerjack.2002.1080p.BRRip.H264.AAC-P2P


Output
Code:
Wild.Orchid.1989
Danger.One.2018
Crackerjack.2002


thanks in advanced

Author:  Freddy [ July 26th, 2020, 6:31 am ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
(.+?[0-9]{4}).+


Replace with:
Code:
$1


Enable regex search.

Author:  paradajz [ July 31st, 2020, 10:15 pm ]
Post subject:  Re: Forum replacements problems.

Freddy wrote:
If this for themaCreator then in your "Main" template just add the <subject> tag with what you want.

Code:
<subject>{#folderName#} - {#bookAuthor#}</subject>


And please use themaCreator forum for themaCreator related things.

Is it possible to add author in the title only for specific forum in TP?

Author:  Freddy [ August 1st, 2020, 7:53 am ]
Post subject:  Re: Forum replacements problems.

Yes, you can just remove the author for all other forums with replacement:

Search for:
Code:
(.+)-.+


Replace with:
Code:
$1


Enable regex search.

Add under "Subject" replacements for all forums where you want to remove it.

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