It is currently March 28th, 2024, 7:55 am



Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 54, 55, 56, 57, 58, 59, 60 ... 74  Next
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: June 7th, 2020, 11:53 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
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>

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 7th, 2020, 2:59 pm 

Joined: December 30th, 2013, 3:54 pm
Posts: 319
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!


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 7th, 2020, 4:00 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
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?

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 7th, 2020, 4:05 pm 

Joined: December 30th, 2013, 3:54 pm
Posts: 319
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 7th, 2020, 4:13 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Search for:
Code:
(?s)(</center>).+


Replace with:
Code:
($1)


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 7th, 2020, 8:10 pm 

Joined: December 30th, 2013, 3:54 pm
Posts: 319
Thank You. Works fine.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 9th, 2020, 11:14 am 

Joined: January 13th, 2014, 7:59 pm
Posts: 141
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 9th, 2020, 1:05 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
For subject this would work:

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


Replace with:
Code:
(leave empty)


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 29th, 2020, 9:59 pm 

Joined: August 17th, 2016, 8:29 pm
Posts: 242
Hello bro

before
Code:
Effective Cycling



After

Code:
Effective Cycling-{#bookAuthor#}

mean add author name at the end of book title
Thanks


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 30th, 2020, 4:57 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
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.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: June 30th, 2020, 6:53 pm 

Joined: August 17th, 2016, 8:29 pm
Posts: 242
sorry bro for this mistake
thanks a lot


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 26th, 2020, 12:57 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 26th, 2020, 6:31 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Search for:
Code:
(.+?[0-9]{4}).+


Replace with:
Code:
$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 31st, 2020, 10:15 pm 

Joined: October 4th, 2016, 12:39 am
Posts: 43
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?


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 1st, 2020, 7:53 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
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.

_________________
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 ... 54, 55, 56, 57, 58, 59, 60 ... 74  Next

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