themaPoster http://poster.themasoftware.com/forum/ |
|
Forum replacements problems. http://poster.themasoftware.com/forum/viewtopic.php?f=4&t=634 |
Page 5 of 74 |
Author: | melapelatodo [ February 25th, 2013, 10:18 pm ] |
Post subject: | Re: Forum replacements problems. |
Thanks a lot for your help Freddy. Do you know how to remove this line? File: Video260.avi Size: 123.25 MiB Duration: 00:15:11 Audio: mp3, 44100 Hz, stereo, 128 kb/s <--- this whole line Video: 320x240 Sometimes this line has different numbers and letters, I can't use "replace with nothing"! Thanks in advance! |
Author: | Freddy [ February 26th, 2013, 12:02 am ] |
Post subject: | Re: Forum replacements problems. |
Search string: Audio:.*\n Replace with: |
Author: | melapelatodo [ February 26th, 2013, 9:57 am ] |
Post subject: | Re: Forum replacements problems. |
Freddy wrote: Search string: Audio:.*\n Replace with: Thanks Freddy, works fine!!!! |
Author: | melapelatodo [ February 26th, 2013, 1:48 pm ] |
Post subject: | Re: Forum replacements problems. |
I wanna replace this: [links]http://uploaded.net/file/jan9mlyq/Amy.part1.rar[/links] To this: <a href="http://uploaded.net/file/jan9mlyq/Amy.part1.rar" target="_blank">http://uploaded.net/file/jan9mlyq/Amy.part1.rar</a> This is my end replace, I promise don't disturb you anymore Thanks freddy |
Author: | Freddy [ February 26th, 2013, 1:50 pm ] |
Post subject: | Re: Forum replacements problems. |
In [links] configuration choose to replace [links] with nothing. Then add this replacement: Search string: http://[^\s\[\]<'\"]+ Replace with: <a href="$0" target="_blank">$0</a> |
Author: | melapelatodo [ February 26th, 2013, 7:06 pm ] |
Post subject: | Re: Forum replacements problems. |
Freddy wrote: In [links] configuration choose to replace [links] with nothing. Then add this replacement: Search string: http://[^\s\[\]<'\"]+ Replace with: <a href="$0" target="_blank">$0</a> Works fine but if I enter this code, then the images it's not showed. There is a conflict with both codes With this code, this: Code: [URL=http://pimpandhost.com/image/20315836-original.html][IMG]http://ist2-1.filesor.com/pimpandhost.com/6/8/4/9/68493/1/n/f/4/1nf4M/Veronica_m.jpg[/IMG][/URL] Become to this: Code: <a href="<a href="http://pimpandhost.com/image/20315836-original.html" target="_blank">http://pimpandhost.com/image/20315836-original.html</a>" target="_blank"><img src="<a href="http://ist2-1.filesor.com/pimpandhost.com/6/8/4/9/68493/1/n/f/4/1nf4M/Veronica_m.jpg" target="_blank">http://ist2-1.filesor.com/pimpandhost.com/6/8/4/9/68493/1/n/f/4/1nf4M/Veronica_m.jpg</a>" /></a> And If I don't use it, images showed perfectly. |
Author: | Freddy [ February 26th, 2013, 7:08 pm ] |
Post subject: | Re: Forum replacements problems. |
How does the full original message look? |
Author: | melapelatodo [ February 26th, 2013, 9:52 pm ] |
Post subject: | Re: Forum replacements problems. |
Freddy wrote: How does the full original message look? Original FULL message look: Code: <a href="<a href="http://pimpandhost.com/image/20315836-original.html" target="_blank">http://pimpandhost.com/image/20315836-original.html</a>" target="_blank"><img src="<a href="http://ist2-1.filesor.com/pimpandhost.com/6/8/4/9/68493/1/n/f/4/1nf4M/Veronica_m.jpg" target="_blank">http://ist2-1.filesor.com/pimpandhost.com/6/8/4/9/68493/1/n/f/4/1nf4M/Veronica_m.jpg</a>" /></a> <a href="<a href="http://pimpandhost.com/image/20315845-original.html" target="_blank">http://pimpandhost.com/image/20315845-original.html</a>" target="_blank"><img src="<a href="http://ist2-1.filesor.com/pimpandhost.com/6/8/4/9/68493/1/n/f/4/1nf4V/Veronicaa_m.jpg" target="_blank">http://ist2-1.filesor.com/pimpandhost.com/6/8/4/9/68493/1/n/f/4/1nf4V/Veronicaa_m.jpg</a>" /></a> <a href="<a href="http://pimpandhost.com/image/20315850-original.html" target="_blank">http://pimpandhost.com/image/20315850-original.html</a>" target="_blank"><img src="<a href="http://ist2-1.filesor.com/pimpandhost.com/6/8/4/9/68493/1/n/f/5/1nf50/Veronicaaa_m.jpg" target="_blank">http://ist2-1.filesor.com/pimpandhost.com/6/8/4/9/68493/1/n/f/5/1nf50/Veronicaaa_m.jpg</a>" /></a> <a href="<a href="http://pimpandhost.com/image/20315854-original.html" target="_blank">http://pimpandhost.com/image/20315854-original.html</a>" target="_blank"><img src="<a href="http://ist2-1.filesor.com/pimpandhost.com/6/8/4/9/68493/1/n/f/5/1nf54/Veronicaaaa_m.jpg" target="_blank">http://ist2-1.filesor.com/pimpandhost.com/6/8/4/9/68493/1/n/f/5/1nf54/Veronicaaaa_m.jpg</a>" /></a> <a href="<a href="http://pimpandhost.com/image/20315839-original.html" target="_blank">http://pimpandhost.com/image/20315839-original.html</a>" target="_blank"><img src="<a href="http://ist2-1.filesor.com/pimpandhost.com/6/8/4/9/68493/1/n/f/4/1nf4P/Veronica_s_s.jpg" target="_blank">http://ist2-1.filesor.com/pimpandhost.com/6/8/4/9/68493/1/n/f/4/1nf4P/Veronica_s_s.jpg</a>" /></a> <b>File:</b> Veronica.wmv <b>Size:</b> 925.92 MiB <b>Duration:</b> 00:27:12 <b>Resolution:</b> 1280x720 <b>Download:</b> <a href="http://uploaded.net/file/6tv5qkgs/Veronica.part1.rar" target="_blank">http://uploaded.net/file/6tv5qkgs/Veronica.part1.rar</a> Links to uploaded works fine but images it's not showed correctly |
Author: | Freddy [ February 26th, 2013, 10:45 pm ] |
Post subject: | Re: Forum replacements problems. |
I meant the original messages without any replacements. |
Author: | melapelatodo [ February 27th, 2013, 12:00 pm ] |
Post subject: | Re: Forum replacements problems. |
Freddy wrote: I meant the original messages without any replacements. oh, sorry! Code: [URL=http://pimpandhost.com/image/20315836-original.html][img]http://ist2-1.filesor.com/pimpandhost.com/6/8/4/9/68493/1/n/f/4/1nf4M/Veronica_m.jpg[/img][/URL]
[URL=http://pimpandhost.com/image/20315845-original.html][img]http://ist2-1.filesor.com/pimpandhost.com/6/8/4/9/68493/1/n/f/4/1nf4V/Veronicaa_m.jpg[/img][/URL] [URL=http://pimpandhost.com/image/20315850-original.html][img]http://ist2-1.filesor.com/pimpandhost.com/6/8/4/9/68493/1/n/f/5/1nf50/Veronicaaa_m.jpg[/img][/URL] [URL=http://pimpandhost.com/image/20315854-original.html][img]http://ist2-1.filesor.com/pimpandhost.com/6/8/4/9/68493/1/n/f/5/1nf54/Veronicaaaa_m.jpg[/img][/URL] [URL=http://pimpandhost.com/image/20315839-original.html][img]http://ist2-1.filesor.com/pimpandhost.com/6/8/4/9/68493/1/n/f/4/1nf4P/Veronica_s_s.jpg[/img][/URL] [b]File:[/b] Veronica.wmv [b]Size:[/b] 925.92 MiB [b]Duration:[/b] 00:27:12 [b]Resolution:[/b] 1280x720 Download: [links]http://uploaded.net/file/6tv5qkgs/Veronica.part1.rar[/links] |
Author: | Freddy [ February 27th, 2013, 9:12 pm ] |
Post subject: | Re: Forum replacements problems. |
If it's always one link like that you could search like this: \[links\]http://[^\s\[\]<'\"]+?\[/links\] |
Author: | melapelatodo [ February 27th, 2013, 9:26 pm ] |
Post subject: | Re: Forum replacements problems. |
Freddy wrote: If it's always one link like that you could search like this: \[links\]http://[^\s\[\]<'\"]+?\[/links\] No, I often have to post with two or more links but sometimes only one link. This code is for just one link? |
Author: | Volger [ February 27th, 2013, 11:37 pm ] |
Post subject: | Re: Forum replacements problems. |
Hello Freddy, I would like to replace the 1fichier links, LuckyShare, Uploaded, Uptobox... with tags jbox. 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 : And also the same thing for the others hosts (1fichier, Uploaded, LuckyShare...) Thanks in advance |
Author: | Freddy [ February 27th, 2013, 11:46 pm ] |
Post subject: | Re: Forum replacements problems. |
melapelatodo wrote: Freddy wrote: If it's always one link like that you could search like this: \[links\]http://[^\s\[\]<'\"]+?\[/links\] No, I often have to post with two or more links but sometimes only one link. This code is for just one link? Well, just use a bit modified version of the first then, something like this: http://uploaded\.net[^\s\[\]<'\"]+ It will only replace all uploaded.net links, you could add more hosts if needed. |
Author: | melapelatodo [ February 28th, 2013, 9:11 am ] |
Post subject: | Re: Forum replacements problems. |
Wow! Thanks! Works fine. But I need to put <br /> tag, because post looks horrible! I replaced all </a> with </a><br /> for get ONE space between lines but I don't now how to replace this: This: <b>File:</b> Elizabeth.wmv <b>Size:</b> 903.43 MiB <b>Duration:</b> 00:26:32 <b>Resolution:</b> 1280x720 To this: <br /> <br /> <b>File:</b> Elizabeth.wmv<br /> <b>Size:</b> 903.43 MiB<br /> <b>Duration:</b> 00:26:32<br /> <b>Resolution:</b> 1280x720<br /> <br /> Thanks again! |
Page 5 of 74 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |