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

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

Author:  mrcas [ July 26th, 2013, 7:45 pm ]
Post subject:  Re: Need help to add built in link

Hi Freddy,

Sorry for disturbing you again. When i try the replacement as you suggest and use the function tested. It works. But, when i post, it doesn't work.

Please see:

viewtopic.php?f=17&t=5616

I try with:

\[url=(http[^\]]+)\](.+?)\[/url\]

to

[url=$1#poster.freddy.lt]$2[/url]

Author:  Freddy [ July 26th, 2013, 8:28 pm ]
Post subject:  Re: Need help to add built in link

Seems like you have an extra space at the very end. Just delete that space and it will be fine. The final character of search string must be "]", now you have "] ".

Author:  Freddy [ July 29th, 2013, 11:08 am ]
Post subject:  Re: movie title and tag

You can use this replacement in subject replacements:

Search string: [0-9]{4}
Replace with: ($0)

Enable regex.

Tested. Works fine.

Make sure you don't have more replacements added which does the same thing (it should be only one).

Author:  avro [ July 30th, 2013, 7:52 am ]
Post subject:  Re: movie title and tag

now comig 3 (( )) on forum

the Wolv (((2013))) like this

I f I test on regex tester output is fine

Author:  Freddy [ July 30th, 2013, 9:05 am ]
Post subject:  Re: movie title and tag

avro wrote:
now comig 3 (( )) on forum

the Wolv (((2013))) like this

I f I test on regex tester output is fine


PM me your teamviewer details, will take a look.

Author:  newwork01 [ August 1st, 2013, 6:47 am ]
Post subject:  link replace

for ex , i have post like this :

[image]

[Description]

[Download] :

http://ryushare.com/link1.html
http://ryushare.com/link2.html
http://ryushare.com/link3.html

http://rapidgator.net/link1.html
http://rapidgator.net/link2.html
http://rapidgator.net/link3.html

Ok , when posting , when it found ryushare link , I want the download link like this :

[some text I want here]

http://ryushare.com/link1.html
http://ryushare.com/link2.html
http://ryushare.com/link3.html

[some text I want here]

http://rapidgator.net/link1.html
http://rapidgator.net/link2.html
http://rapidgator.net/link3.html

How can i do that , plz help

Author:  newwork01 [ August 8th, 2013, 4:29 pm ]
Post subject:  help me with regex

please help me use regex to make these following clickable

http://ryushare.com/my-link.mp4

http://rapidgator.net/file/my-link.mp4.html

to

<a href="http://ryushare.com/my-link.mp4">http://ryushare.com/my-link.mp4</a>

<a href="http://rapidgator.net/file/my-link.mp4.html">http://rapidgator.net/file/my-link.mp4.html</a>

I can't use option convert to html because it doesn't work with my post

Author:  jihanova [ August 9th, 2013, 11:55 am ]
Post subject:  Re: Forum replacements problems.

Hi Freddy,
I want to use regex to replace like this:

BEFORE:
Code:
http://dizzcloud.com/dl/165zw50/TutsPlus.Adobe.After.Effects.Advanced.Motion.Graphics-PRODEV.part1.rar
http://dizzcloud.com/dl/165zw4y/TutsPlus.Adobe.After.Effects.Advanced.Motion.Graphics-PRODEV.part2.rar

http://ul.to/mx6hu4r0/TutsPlus.Adobe.After.Effects.Advanced.Motion.Graphics-PRODEV.part1.rar
http://ul.to/y357d68d/TutsPlus.Adobe.After.Effects.Advanced.Motion.Graphics-PRODEV.part2.rar

AFTER:
Code:
[url=http://dizzcloud.com/dl/165zw50/TutsPlus.Adobe.After.Effects.Advanced.Motion.Graphics-PRODEV.part1.rar]dizzcloud.com Part1[/url]
[url=http://dizzcloud.com/dl/165zw4y/TutsPlus.Adobe.After.Effects.Advanced.Motion.Graphics-PRODEV.part2.rar]dizzcloud.com Part2[/url]

[url=http://ul.to/mx6hu4r0/TutsPlus.Adobe.After.Effects.Advanced.Motion.Graphics-PRODEV.part1.rar]ul.to Part1[/url]
[url=http://ul.to/y357d68d/TutsPlus.Adobe.After.Effects.Advanced.Motion.Graphics-PRODEV.part2.rar]ul.to Part2[/url]


Can you help me ?
Thanks.

Author:  Freddy [ August 9th, 2013, 12:27 pm ]
Post subject:  Re: Forum replacements problems.

Search string: http://(dizzcloud\.com|ul\.to)[^\s\[\]<'\"]+part([0-9]+)\.rar
Replace with: [url=$0]$1 Part$2[/url]

Enable regex search.

Author:  jihanova [ August 9th, 2013, 7:57 pm ]
Post subject:  Re: Forum replacements problems.

Thank Freddy, it work perfectly :)
Freddy wrote:
Search string: http://(dizzcloud\.com|ul\.to)[^\s\[\]<'\"]+part([0-9]+)\.rar
Replace with: [url=$0]$1 Part$2[/url]

Enable regex search.

Author:  Freddy [ August 11th, 2013, 2:31 pm ]
Post subject:  Re: help me with regex

Search string: http://(ryushare\.com|rapidgator\.net)[^\s\[\]<'\"]+

Replace with: <a href="$0">$0</a>

Enable regex search.

Author:  newwork01 [ August 12th, 2013, 3:40 pm ]
Post subject:  Re: help me with regex

thank ! Work great !

Author:  Freddy [ August 14th, 2013, 8:10 pm ]
Post subject:  Re: link replace

Just write that "[some text I want here]" in your original message and add replacement to replace that text with nothing for forums where you don't need it.

Author:  PaulCOuan [ September 1st, 2013, 2:37 pm ]
Post subject:  Re: Forum replacements problems.

Hello freddy how to add "()" like this :

Base: Breakout 2013 DVDRip AAC x264

Final : Breakout (2013) DVDRip AAC x264

For every year 19XX - 201X ? ;)

& is it possible :

if there is a word in the message ==> change the section of the forums to post? ;)

regards

Author:  Freddy [ September 3rd, 2013, 8:01 pm ]
Post subject:  Re: Forum replacements problems.

You could add replacement in general subject replacements in "CONFIG".

Search string: [0-9]{4}
Replace with ($0)

Enable regex.

And no, what's not possible.

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