themaCreator
http://creator.themasoftware.com/forum/

Replacements (bad URL).
http://creator.themasoftware.com/forum/viewtopic.php?f=4&t=6649
Page 1 of 1

Author:  Pablo01 [ March 7th, 2019, 10:35 pm ]
Post subject:  Replacements (bad URL).

Hi.

I need replacements help.

I have some words I want to rename when using tc or when posting with tp.

The problem I have is when I add a replacement to message i.e movie.title.here replace with m0v1e.t!tl3.h3r3

That makes the url for screenshots not working anymore. both tc+tp rename those words in ALL message text.

TC always starts with generating thumbs + upload to image host then process the file and upload to filehost, then at last the final post is made and the replacements are added.

is there any way to have these replacements applied before making thumbs etc?

Author:  Freddy [ March 8th, 2019, 7:27 am ]
Post subject:  Re: Replacements

You can write replacement which would not replace in URLs.

Could you give one full example of message before and after.

Author:  Pablo01 [ March 8th, 2019, 8:55 am ]
Post subject:  Re: Replacements

After Replacements - Not working thumbnails because of the renaming
Code:
[b]d3v1lsf1lm 19 03 07 dava foxx[/b]

[url=https://pixhost.to/show/72/99115402_d3v1lsf1lm-19-03-07-dava-foxx.jpg][img]https://t29.pixhost.to/thumbs/72/99115402_d3v1lsf1lm-19-03-07-dava-foxx.jpg[/img][/url]

[b]General Technical Stuff:[/b]
[b]Size[/b]: 1.3 GB
[b]Format[/b]: mp4
[b]Duration[/b]: 00:28:17
[b]Resolution[/b]: 1920x1080
[b]Avg. Bitrate[/b]:6358 Kbps

[url]https://filefox.cc/bt2cvu98qjgu[/url]
[url]https://filefox.cc/zwlu8xno1jve[/url]


Before Replacements - working screens because its originally uploaded to pixhost with that name.
Code:
[b]devilsfilm 19 03 07 dava foxx[/b]

[url=https://pixhost.to/show/72/99115402_devilsfilm-19-03-07-dava-foxx.jpg][img]https://t29.pixhost.to/thumbs/72/99115402_devilsfilm-19-03-07-dava-foxx.jpg[/img][/url]

[b]General Technical Stuff:[/b]
[b]Size[/b]: 1.3 GB
[b]Format[/b]: mp4
[b]Duration[/b]: 00:28:17
[b]Resolution[/b]: 1920x1080
[b]Avg. Bitrate[/b]:6358 Kbps

[url]https://filefox.cc/bt2cvu98qjgu[/url]
[url]https://filefox.cc/zwlu8xno1jve[/url]

Author:  Freddy [ March 8th, 2019, 9:22 am ]
Post subject:  Re: Replacements

The URLs always have _ before the devilsfilm.

You can make as simple as:

Search for:
Code:
([^_])devilsfilm


Replace with:
Code:
$1d3v1lsf1lm


Enable regex search.

Tested. Works fine. URLs are not affected, only first line.

Or you could just replace in first line if it's always in first line:

Search for:
Code:
^(.*?)devilsfilm


Replace with:
Code:
$1d3v1lsf1lm


Enable regex search.

Author:  Pablo01 [ March 8th, 2019, 9:56 pm ]
Post subject:  Re: Replacements

thanks this works :)

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