It is currently March 28th, 2024, 8:56 am



Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 40, 41, 42, 43, 44, 45, 46 ... 74  Next
Author Message
 Post subject: Re: Forum replacements problems.
PostPosted: July 21st, 2018, 9:45 pm 

Joined: August 17th, 2016, 8:29 pm
Posts: 242
Hi friend
before

Code:
[code]https://www.youtube.com/watch?v=OwDx0wSNI4U[/code]

after

Code:
[url]https://youtu.be/OwDx0wSNI4U[/url]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: July 23rd, 2018, 4:41 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Search for:
Code:
\[code\]https?://www\.youtube.+?\?v=(.+?)\[/code\]


Replace with:
Code:
[ur]https://youtu.be/$1[/url]


Enable regex.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 2nd, 2018, 8:27 am 

Joined: March 30th, 2015, 12:31 pm
Posts: 667
input
Code:
<a  href="http://pimpandhost.com/image/93931776"><img width="750"  src="http://ist5-1.filesor.com/pimpandhost.com/1/_/_/_/1/6/m/7/W/6m7WE/xyz_l.jpg"></a>


output
Code:
http://ist5-1.filesor.com/pimpandhost.com/1/_/_/_/1/6/m/7/W/6m7WE/xyz_l.jpg


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 2nd, 2018, 8:42 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Search for:
Code:
<a.+?pimpandhost.+?src=\"(.+?)\".+?</a>


Replace with:
Code:
$1


Enable regex.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 27th, 2018, 2:27 pm 

Joined: August 9th, 2017, 12:37 pm
Posts: 80
Hi Freddy i searched but i dont found nothing its posible do this for example:


After
Code:
https://www.keeplinks.co/p95/5b81b9854368e

https://filecrypt.cc/Container/31306764FA.html


Before
Code:
[hide]
[url=https://www.keeplinks.co/p95/5b81b9854368e]https://www.keeplinks.co/p95/5b81b9854368e[/url]

[url=https://filecrypt.cc/Container/31306764FA.html]https://filecrypt.cc/Container/31306764FA.html[/url]
[/hide]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 27th, 2018, 3:40 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
In "FORUMS" -> select needed forum -> There is an option to use "hide with url for links".

Make sure hosts are added as described: http://poster.freddy.lt/faq.php?expand=faq104

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 27th, 2018, 7:09 pm 

Joined: October 4th, 2016, 12:39 am
Posts: 43
Hi Freddy.
I want to insert :info: element into my message just before post information. Post information are always after first (cover) image and typically in third and fourth line.
How I can solve this?

Before:
Quote:
https://s19.postimg.cc/imageid/image.jpg // can be other host also

Title
Post info
==========
Detailed post description


Link 1 // typically nitroflare
Link 2 // typically rapidgator
//
// sometime there are more links sorted like this:
// resolution 1 (string)
// nf 1
// rg 1
//
// resolution 2 (string)
// nf 2
// rg 2
//
// or
//
// nf 1
// nf 2
// nf 3
//
// rg 1
// rg 2
// rg 3



After:
Quote:
[ size = 5 ][ b ]Title[ /b ][ / size ]

https://s19.postimg.cc/imageid/image.jpg

:info:

Post info
==========
:description:
Message text

:download:

:nitroflare:

Link 1

:rapidgator:

Link 2
//
// other situations:
// :download:
// resolution 1 (string)
// :nitroflare:
// nf 1
// :rapidgator:
// rg 1
//
// resolution 2 (string)
// :nitroflare:
// nf 2
// :rapidgator:
// rg 2
//
// or
//
// :nitroflare:
// nf 1
// nf 2
// nf 3
//
// :rapidgator:
// rg 1
// rg 2
// rg 3



Last edited by paradajz on August 27th, 2018, 10:42 pm, edited 3 times in total.

Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 27th, 2018, 9:22 pm 

Joined: August 9th, 2017, 12:37 pm
Posts: 80
Freddy wrote:
In "FORUMS" -> select needed forum -> There is an option to use "hide with url for links".

Make sure hosts are added as described: http://poster.freddy.lt/faq.php?expand=faq104


sorry me freddy but making this in all forum i will have that all links similar will be surrounded, but i want this action only for ONE forum, so please is possible make this action only in one forum using your help in REPLACEMENTS ?i need make this ONLY in one forum i cannot dot this for all.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 28th, 2018, 8:22 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
zaika wrote:
Freddy wrote:
In "FORUMS" -> select needed forum -> There is an option to use "hide with url for links".

Make sure hosts are added as described: http://poster.freddy.lt/faq.php?expand=faq104


sorry me freddy but making this in all forum i will have that all links similar will be surrounded, but i want this action only for ONE forum, so please is possible make this action only in one forum using your help in REPLACEMENTS ?i need make this ONLY in one forum i cannot dot this for all.


That option is for specific forum only. You can set what ever you need for each forum.

If you set "hide with url" only for one forum it will be used only for that forum (it's forum specific setting for each forum).

For other forums set to "replace with nothing" or "use code" or use only "hide" or only "url".

You can set for each forum what you need.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 28th, 2018, 8:31 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
@paradajz

Search for:
Code:
(?is)(.+?\.jpg)(.+)


Replace with:
Code:
$1\n\n:info:$2


Enable regex.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 28th, 2018, 3:01 pm 

Joined: October 4th, 2016, 12:39 am
Posts: 43
Freddy wrote:
@paradajz

Search for:
Code:
(?is)(.+?\.jpg)(.+)


Replace with:
Code:
$1\n\n:info:$2


Enable regex.

Thank you, but I need other replacements also, see before and after differences.


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 29th, 2018, 11:31 am 

Joined: June 7th, 2011, 10:14 am
Posts: 35
hi

before
Code:
[URL=http://pimpandhost.com/image/8369636][IMG]http://ist4-1.filesor.com/pimpandhost.com/9/6/8/3/96838/5/F/b/f/5Fbfl/Casual.jpg[/IMG][/URL]


after
Code:
[spoiler][URL=http://pimpandhost.com/image/8369636][IMG]http://ist4-1.filesor.com/pimpandhost.com/9/6/8/3/96838/5/F/b/f/5Fbfl/Casualt.jpg[/IMG][/URL][/spoiler]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 29th, 2018, 11:34 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Search for:
Code:
(?i)\[URL=http://pimpandhost.+?\[/URL\]


Replace with:
Code:
[spoiler]$0[/spoiler]


Enable regex.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 29th, 2018, 1:16 pm 

Joined: June 7th, 2011, 10:14 am
Posts: 35
posts are still without a spoiler
here I correctly pressed?
Attachment:
76ee168c35f72b82f751f7cc90650783.jpg
76ee168c35f72b82f751f7cc90650783.jpg [ 66.25 KiB | Viewed 4468 times ]


Top
 Profile  
Reply with quote  
 Post subject: Re: Forum replacements problems.
PostPosted: August 29th, 2018, 1:23 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Maybe you forgot to enable regex or added extra space at the end by mistake?

Could you make a screenshot of replacements tab?

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1106 posts ]  Go to page Previous  1 ... 40, 41, 42, 43, 44, 45, 46 ... 74  Next

Who is online

Users browsing this forum: Bing [Bot] and 11 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