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

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

Author:  ad-team [ July 21st, 2018, 9:45 pm ]
Post subject:  Re: Forum replacements problems.

Hi friend
before

Code:
[code]https://www.youtube.com/watch?v=OwDx0wSNI4U[/code]

after

Code:
[url]https://youtu.be/OwDx0wSNI4U[/url]

Author:  Freddy [ July 23rd, 2018, 4:41 pm ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
\[code\]https?://www\.youtube.+?\?v=(.+?)\[/code\]


Replace with:
Code:
[ur]https://youtu.be/$1[/url]


Enable regex.

Author:  Crackpot [ August 2nd, 2018, 8:27 am ]
Post subject:  Re: Forum replacements problems.

input
Code:
<a  href="http://pimpandhost.com/image/93931776"><img width="750"  src="http://ist5-1.filesor.com/pimpandhost.com/1/_/_/_/1/6/m/7/W/6m7WE/xyz_l.jpg"></a>


output
Code:
http://ist5-1.filesor.com/pimpandhost.com/1/_/_/_/1/6/m/7/W/6m7WE/xyz_l.jpg

Author:  Freddy [ August 2nd, 2018, 8:42 am ]
Post subject:  Re: Forum replacements problems.

Search for:
Code:
<a.+?pimpandhost.+?src=\"(.+?)\".+?</a>


Replace with:
Code:
$1


Enable regex.

Author:  zaika [ August 27th, 2018, 2:27 pm ]
Post subject:  Re: Forum replacements problems.

Hi Freddy i searched but i dont found nothing its posible do this for example:


After
Code:
https://www.keeplinks.co/p95/5b81b9854368e

https://filecrypt.cc/Container/31306764FA.html


Before
Code:
[hide]
[url=https://www.keeplinks.co/p95/5b81b9854368e]https://www.keeplinks.co/p95/5b81b9854368e[/url]

[url=https://filecrypt.cc/Container/31306764FA.html]https://filecrypt.cc/Container/31306764FA.html[/url]
[/hide]

Author:  Freddy [ August 27th, 2018, 3:40 pm ]
Post subject:  Re: Forum replacements problems.

In "FORUMS" -> select needed forum -> There is an option to use "hide with url for links".

Make sure hosts are added as described: http://poster.freddy.lt/faq.php?expand=faq104

Author:  paradajz [ August 27th, 2018, 7:09 pm ]
Post subject:  Re: Forum replacements problems.

Hi Freddy.
I want to insert :info: element into my message just before post information. Post information are always after first (cover) image and typically in third and fourth line.
How I can solve this?

Before:
Quote:
https://s19.postimg.cc/imageid/image.jpg // can be other host also

Title
Post info
==========
Detailed post description


Link 1 // typically nitroflare
Link 2 // typically rapidgator
//
// sometime there are more links sorted like this:
// resolution 1 (string)
// nf 1
// rg 1
//
// resolution 2 (string)
// nf 2
// rg 2
//
// or
//
// nf 1
// nf 2
// nf 3
//
// rg 1
// rg 2
// rg 3



After:
Quote:
[ size = 5 ][ b ]Title[ /b ][ / size ]

https://s19.postimg.cc/imageid/image.jpg

:info:

Post info
==========
:description:
Message text

:download:

:nitroflare:

Link 1

:rapidgator:

Link 2
//
// other situations:
// :download:
// resolution 1 (string)
// :nitroflare:
// nf 1
// :rapidgator:
// rg 1
//
// resolution 2 (string)
// :nitroflare:
// nf 2
// :rapidgator:
// rg 2
//
// or
//
// :nitroflare:
// nf 1
// nf 2
// nf 3
//
// :rapidgator:
// rg 1
// rg 2
// rg 3


Author:  zaika [ August 27th, 2018, 9:22 pm ]
Post subject:  Re: Forum replacements problems.

Freddy wrote:
In "FORUMS" -> select needed forum -> There is an option to use "hide with url for links".

Make sure hosts are added as described: http://poster.freddy.lt/faq.php?expand=faq104


sorry me freddy but making this in all forum i will have that all links similar will be surrounded, but i want this action only for ONE forum, so please is possible make this action only in one forum using your help in REPLACEMENTS ?i need make this ONLY in one forum i cannot dot this for all.

Author:  Freddy [ August 28th, 2018, 8:22 am ]
Post subject:  Re: Forum replacements problems.

zaika wrote:
Freddy wrote:
In "FORUMS" -> select needed forum -> There is an option to use "hide with url for links".

Make sure hosts are added as described: http://poster.freddy.lt/faq.php?expand=faq104


sorry me freddy but making this in all forum i will have that all links similar will be surrounded, but i want this action only for ONE forum, so please is possible make this action only in one forum using your help in REPLACEMENTS ?i need make this ONLY in one forum i cannot dot this for all.


That option is for specific forum only. You can set what ever you need for each forum.

If you set "hide with url" only for one forum it will be used only for that forum (it's forum specific setting for each forum).

For other forums set to "replace with nothing" or "use code" or use only "hide" or only "url".

You can set for each forum what you need.

Author:  Freddy [ August 28th, 2018, 8:31 am ]
Post subject:  Re: Forum replacements problems.

@paradajz

Search for:
Code:
(?is)(.+?\.jpg)(.+)


Replace with:
Code:
$1\n\n:info:$2


Enable regex.

Author:  paradajz [ August 28th, 2018, 3:01 pm ]
Post subject:  Re: Forum replacements problems.

Freddy wrote:
@paradajz

Search for:
Code:
(?is)(.+?\.jpg)(.+)


Replace with:
Code:
$1\n\n:info:$2


Enable regex.

Thank you, but I need other replacements also, see before and after differences.

Author:  gorizon [ August 29th, 2018, 11:31 am ]
Post subject:  Re: Forum replacements problems.

hi

before
Code:
[URL=http://pimpandhost.com/image/8369636][IMG]http://ist4-1.filesor.com/pimpandhost.com/9/6/8/3/96838/5/F/b/f/5Fbfl/Casual.jpg[/IMG][/URL]


after
Code:
[spoiler][URL=http://pimpandhost.com/image/8369636][IMG]http://ist4-1.filesor.com/pimpandhost.com/9/6/8/3/96838/5/F/b/f/5Fbfl/Casualt.jpg[/IMG][/URL][/spoiler]

Author:  Freddy [ August 29th, 2018, 11:34 am ]
Post subject:  Re: Forum replacements problems.

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


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


Enable regex.

Author:  gorizon [ August 29th, 2018, 1:16 pm ]
Post subject:  Re: Forum replacements problems.

posts are still without a spoiler
here I correctly pressed?
Attachment:
76ee168c35f72b82f751f7cc90650783.jpg
76ee168c35f72b82f751f7cc90650783.jpg [ 66.25 KiB | Viewed 4475 times ]

Author:  Freddy [ August 29th, 2018, 1:23 pm ]
Post subject:  Re: Forum replacements problems.

Maybe you forgot to enable regex or added extra space at the end by mistake?

Could you make a screenshot of replacements tab?

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