It is currently March 28th, 2024, 12:07 pm



Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 74  Next
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: February 25th, 2013, 10:18 pm 

Joined: May 29th, 2011, 10:47 pm
Posts: 286
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!


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 26th, 2013, 12:02 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Search string: Audio:.*\n
Replace with:

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 26th, 2013, 9:57 am 

Joined: May 29th, 2011, 10:47 pm
Posts: 286
Freddy wrote:
Search string: Audio:.*\n
Replace with:


Thanks Freddy, works fine!!!! ;)


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 26th, 2013, 1:48 pm 

Joined: May 29th, 2011, 10:47 pm
Posts: 286
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 :D

Thanks freddy :)


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 26th, 2013, 1:50 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
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>

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 26th, 2013, 7:06 pm 

Joined: May 29th, 2011, 10:47 pm
Posts: 286
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.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 26th, 2013, 7:08 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
How does the full original message look?

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 26th, 2013, 9:52 pm 

Joined: May 29th, 2011, 10:47 pm
Posts: 286
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


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 26th, 2013, 10:45 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
I meant the original messages without any replacements.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 27th, 2013, 12:00 pm 

Joined: May 29th, 2011, 10:47 pm
Posts: 286
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]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 27th, 2013, 9:12 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
If it's always one link like that you could search like this:

\[links\]http://[^\s\[\]<'\"]+?\[/links\]

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 27th, 2013, 9:26 pm 

Joined: May 29th, 2011, 10:47 pm
Posts: 286
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?


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 27th, 2013, 11:37 pm 

Joined: September 19th, 2011, 12:30 am
Posts: 275
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


Last edited by Volger on February 28th, 2013, 12:11 am, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 27th, 2013, 11:46 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
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.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: February 28th, 2013, 9:11 am 

Joined: May 29th, 2011, 10:47 pm
Posts: 286
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!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6, 7, 8 ... 74  Next

Who is online

Users browsing this forum: No registered users and 15 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC