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

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

Author:  Freddy [ March 1st, 2013, 12:15 am ]
Post subject:  Re: Forum replacements problems.

Search: \n
Replace: <br/>

You can use non regex search for this.

Author:  melapelatodo [ March 1st, 2013, 11:24 am ]
Post subject:  Re: Forum replacements problems.

Ok, this replacements WORKS FINE! All BBCODE has been converted in pure HTML in ALL my post. Thanks a lot for you help Freddy. You are doing a hard work for us.

Author:  Volger [ March 1st, 2013, 5:43 pm ]
Post subject:  Re: Forum replacements problems.

Quote:
Hello Freddy,

I would like to replace the 1fichier links, LuckyShare, Uploaded, Uptobox... with tags jbox.


Image

It is possible to replace a list of links with the tags jbox


By example :

Replace this links :

http://ul.to/djk2rjsj
http://ul.to/kjnfzm02
http://ul.to/3ze1l9zo
http://ul.to/pmcxc8vb
http://ul.to/zs5b364b
http://ul.to/8iteu623
http://ul.to/x3wdpbsk
http://ul.to/pliajr62
http://ul.to/54e6oo5q
http://ul.to/y4eja9p8
http://ul.to/a4u0czn2
http://ul.to/au88osfh
http://ul.to/hgjzlmj0

With :

Image


And also the same thing for the others hosts (1fichier, Uploaded, LuckyShare...)


Thanks in advance


I have a problem with the tags "jbox".

It is possible to replace the links with the tags "jbox"


at start of each link : (Only for Uploaded.net)

[jbox color="blue"][url]


at the end of each link :

[/url][/jbox]


Example :


Search string :

http://ul.to/hgjzlmj0


Replace with :

Image


Thanks in advance

Author:  iceblue [ March 11th, 2013, 8:21 am ]
Post subject:  Regex replace in subject

i need help... some forums want title clean for movies.. example: Titanic (1997). but others want title like this: Titanic (1997) 1080p BluRay X264-BLOW

so, i need to know how to replace with regex all words after (year) with nothing.

example:

Titanic (1997) 1080p BluRay X264-BLOW
This Is 4O (2012) UNRATED 1080p BluRay REMUX AVC DTS-HD MA.5.1
Sorority Party Massacre (2013) DVDRip x264 AC3-OFFLiNE
Lincoln (2012) 1080p BluRay x264 DTS-MeRCuRY


to

Titanic (1997)
This Is 4O (2012)
Sorority Party Massacre (2013)
Lincoln (2012)


each movie have different tittle and i just want to disappear everything after (year) with regex. is possible? thanks

Author:  Freddy [ March 11th, 2013, 9:42 am ]
Post subject:  Re: Regex replace in subject

Search string: (.*?\([0-9]+\)).+
Replace with: $1

Mark the regex box.

Also wrong topic. Will merge with forum replacements.

Author:  iceblue [ March 19th, 2013, 5:22 pm ]
Post subject:  Re: Forum replacements problems.

i make a test now and i see not replace tags... i try to replace [b][i]test[ /i][ /b] with nothing and not working. see test topic...

Author:  Freddy [ March 19th, 2013, 5:28 pm ]
Post subject:  Re: Forum replacements problems.

Make sure you don't have "Regex" enabled.

Works fine.

Author:  iceblue [ March 19th, 2013, 5:44 pm ]
Post subject:  Re: Forum replacements problems.

for me not works fine. regex is not enabled. :)

Image

Author:  Freddy [ March 19th, 2013, 5:46 pm ]
Post subject:  Re: Forum replacements problems.

Because you are posting like this:

Code:
[b][i]
test
[/i][/b]


Your replacement is only for single line like this:

Code:
[b][i] test [/i][/b]


If you want to replace the first one (with multi lines) you will need replacement like this:

Search string: (?ms)\[b\]\[i\].+?\[/i\]\[/b\]

Enable regex for this.

Author:  iceblue [ March 19th, 2013, 5:59 pm ]
Post subject:  Re: Forum replacements problems.

yeah...you have right. i did'nt know. thanks for let me know.

Author:  maskupload [ April 1st, 2013, 8:06 pm ]
Post subject:  Re: Forum replacements problems.

plz help me
i need to Convert
this

Code:
movie name

[url=imageurl.html][img]imageurl.jpg[/img][/url]

[url=http://filesflash.com/0g4qtkp7]file.flv - 114.65 MB[/url]


to this

Code:
[url=imageurl.html][img]imageurl.jpg[/img][/url]

[url=http://filesflash.com/0g4qtkp7]file.flv - 114.65 MB[/url]


thank you

Author:  Freddy [ April 1st, 2013, 8:20 pm ]
Post subject:  Re: Forum replacements problems.

Is the "movie name" always the first line of your message? If yes you could just use "Message" menu -> "Remove first line when posting".

Author:  maskupload [ April 1st, 2013, 8:51 pm ]
Post subject:  Re: Forum replacements problems.

Thanks Freddy

Author:  maskupload [ April 1st, 2013, 9:08 pm ]
Post subject:  Re: Forum replacements problems.

sorry for ask again...

Code:
[URL=http://www.image.com/qgfriwbdh7w3/image.jpg.html][IMG]http://img21.image.com/i/01874/qgfriwbdh7w3_t.jpg[/IMG][/URL]

[url=http://filesflash.com/4sxncj4q]filename.mp4 - 3.64 MB[/url]


this to this

Code:
<a href="http://www.image.com/qgfriwbdh7w3/image.jpg.html"><img src="http://img21.image.com/i/01874/qgfriwbdh7w3_t.jpg"></a>

<a href="http://filesflash.com/4sxncj4q">filename.mp4 - 3.64 MB</a>


Thanks

Author:  Freddy [ April 1st, 2013, 9:45 pm ]
Post subject:  Re: Forum replacements problems.

Just enable "Convert message to HTML" in "FORUMS" -> select forum / blog -> "Other" section -> press "Update" after changing setting.

If you need to convert message to HTML in some forum / blog.

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