themaPoster http://poster.themasoftware.com/forum/ |
|
Forum replacements problems. http://poster.themasoftware.com/forum/viewtopic.php?f=4&t=634 |
Page 7 of 74 |
Author: | iceblue [ April 6th, 2013, 10:40 am ] |
Post subject: | Re: Forum replacements problems. |
freddy, i need help with regex. i want to change this links from hide code: [hide]link.com/part1.html link.com/part2.html link.com/part3.html link.com/part4.html link.com/part5.html[/hide] to [hide]link.com/part1.html<br /> link.com/part2.html<br /> link.com/part3.html<br /> link.com/part4.html<br /> link.com/part5.html<br />[/hide] links will be different...i just need to put that <br /> to the end of every link. |
Author: | Freddy [ April 6th, 2013, 11:06 am ] |
Post subject: | Re: Forum replacements problems. |
If you want to convert the HTML then just enable the setting in "FORUMS" -> "Other" to convert message to HTML. |
Author: | iceblue [ April 6th, 2013, 11:13 am ] |
Post subject: | Re: Forum replacements problems. |
not working with HTML for that blog...looks messy the post. have some combined html with bbcode and i need some replacements. |
Author: | Freddy [ April 6th, 2013, 11:16 am ] |
Post subject: | Re: Forum replacements problems. |
Just replace all \n to <br/> then. If they support the <br/> it should be fine. This don't need to be regex at all. |
Author: | iceblue [ April 6th, 2013, 11:47 am ] |
Post subject: | Re: Forum replacements problems. |
i replaced \n with <br /> but not work...show this: and need to show like this: |
Author: | Freddy [ April 6th, 2013, 11:50 am ] |
Post subject: | Re: Forum replacements problems. |
If you need two new lines then add two new lines in your message like this: [hide]link.com/part1.html link.com/part2.html link.com/part3.html link.com/part4.html link.com/part5.html[/hide] Also maybe they need <br/> and not <br /> Actually make sure to mark the "Regex" checkbox. It must be enabled for the replacement. |
Author: | iceblue [ April 6th, 2013, 11:54 am ] |
Post subject: | Re: Forum replacements problems. |
not necessary but in the first screen you see like it show...link one after one... not with pause <br/>. this is the problem. edit... so, need regex for \n. ok let's try. thanks |
Author: | iceblue [ April 6th, 2013, 11:58 am ] |
Post subject: | Re: Forum replacements problems. |
oh yeah baby. thanks for your help. |
Author: | melapelatodo [ April 9th, 2013, 9:37 pm ] |
Post subject: | Wordpress & Regex |
Hi Freddy, I need help. Rapidgator is the guilty: I use regex for post links in my WP blog for target blank my links like this: Search String: http://rapidgator\.net[^\s\[\]<'\"]+ Replace With: <a href="$0" target="_blank">$0</a> Ok, all works fine. Regex it's an absolutely excellent tool but there is a problem with ALL rapidgator links. They are very large!! Example to normal link: Code: http://rapidgator.net/file/211b86a777b252be65ee8fe19df23707/LaceyChanning.part1.rar.html it's posible mith regex replace this link: Code: http://rapidgator.net/file/211b86a777b252be65ee8fe19df23707/LaceyChanning.part1.rar.html To this: Code: LaceyChanning.part1 Uploaded uses short links, but sometimes appears large too. I use the same regex replace than rapidgator. If this could be changed I'm thinking to buy a huge mansion full of bitches for you, Freddy. You deserve it! |
Author: | Freddy [ April 9th, 2013, 10:58 pm ] |
Post subject: | Re: Wordpress & Regex |
Search String: http://rapidgator\.net[^\s\[\]<'\"]+/([^\s\[\]<'\"]+) Replace With: <a href="$0" target="_blank">$1</a> |
Author: | melapelatodo [ April 10th, 2013, 9:25 am ] |
Post subject: | Re: Wordpress & Regex |
Freddy wrote: Search String: http://rapidgator\.net[^\s\[\]<'\"]+/([^\s\[\]<'\"]+) Replace With: <a href="$0" target="_blank">$1</a> Awesome. Thanks Freddy, works fine. |
Author: | maskupload [ April 15th, 2013, 6:26 pm ] |
Post subject: | Re: Forum replacements problems. |
Hi Freddy, I need help. Code: Sorority Party Massacre (2013) DVDRip x264 AC3-OFFLiNE [url=http://img.com/1133.html][img]http://ist2-1.img.com/123.jpg[/img][/url] [links]http://uploaded.net/file/6tv5qkgs/Veronica.part1.rar[/links] to this Code: [CENTER][SIZE="5"] [b]Sorority Party Massacre (2013) DVDRip x264 AC3-OFFLiNE[/b] [url=http://img.com/1133.html][img]http://ist2-1.img.com/123.jpg[/img][/url] [links]http://uploaded.net/file/6tv5qkgs/Veronica.part1.rar[/links] [/SIZE][/CENTER] thanks |
Author: | Freddy [ April 15th, 2013, 6:59 pm ] |
Post subject: | Re: Forum replacements problems. |
I would suggest just write the message like this: Code: [CENTER][SIZE="5"] [b]Sorority Party Massacre (2013) DVDRip x264 AC3-OFFLiNE[/b] [url=http://img.com/1133.html][img]http://ist2-1.img.com/123.jpg[/img][/url] [links]http://uploaded.net/file/6tv5qkgs/Veronica.part1.rar[/links] [/SIZE][/CENTER] And just remove with replacements [center] tag where it's not supported. |
Author: | maskupload [ April 15th, 2013, 7:15 pm ] |
Post subject: | Re: Forum replacements problems. |
i like convert first to second |
Author: | Freddy [ April 15th, 2013, 7:42 pm ] |
Post subject: | Re: Forum replacements problems. |
Your example is not really possible. Just write your message like that, and remove the [center] where needed. |
Page 7 of 74 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |