It is currently March 28th, 2024, 9:55 am



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Copy Link In Same Post.
PostPosted: February 14th, 2020, 5:09 pm 

Joined: November 23rd, 2014, 6:31 am
Posts: 276
Yea topic is confusing :)

Keep2share + Fileboom links are the same links when uploading to their website.

I upload to K2S via TC and the link https://k2s.cc/file/9dfa97601ad57
is all good, I can then rename the link to https://fboom.me/file/9dfa97601ad57 and I have the same file on 2 different hosts without uploading the file twice, the file id number is the same in the url.

So I was wondering if I can make TC add both links automaticly when uploading to K2S. Is it possible to have a second link added into the created post with the fboom.me domain?


Top
 Profile  
Reply with quote  
 Post subject: Re: Copy Link In Same Post
PostPosted: February 15th, 2020, 7:05 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Both of those links are the same in that case. They are pointing to the same file on their server. If they delete that file both links will be dead at the same time.

By uploading to both hosts separately you get two true different links (different IDs of the file), so if one gets deleted only one link will be dead. The other will still work.

Are you sure you want to have two links to the same file ID?

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Copy Link In Same Post
PostPosted: February 15th, 2020, 9:58 am 

Joined: November 23rd, 2014, 6:31 am
Posts: 276
I understand what you say.

The reason is that on 1 forum I must add fboom.me but on other forums i only want k2s.cc posted.

I could upload to both but that also uses twice the storage.

The reason is fboom is mandatory on 1 forum and not allowed on most the other forums I post so double upload would be a little waste of bandwith and time.

Also, at k2s I can copy/restore most of the deleted files and replace the dead links via TM.

So basicly yes I want two links to same file ID because right now I add in the fboom.me link manually by copying the k2s link and renaming the k2s.cc to fboom.me and im not a fan of too much manual work :D


Top
 Profile  
Reply with quote  
 Post subject: Re: Copy Link In Same Post
PostPosted: February 15th, 2020, 10:21 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
In "HOSTS" tab make sure fboom is disabled then (only uploading to k2s).

Then you can copy the k2s link and just change domain with replacement.

I would need see how your message looks at the moment after processing to write that replacement.

Just copy paste one full message inside "code" tags here.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Copy Link In Same Post
PostPosted: February 15th, 2020, 1:39 pm 

Joined: November 23rd, 2014, 6:31 am
Posts: 276
Code:
[b]Wifecrazy - Oh So Kinky Handjob[/b]

[url=https://pixxxels.cc/HJgtK8Gd][img]https://i.pixxxels.cc/JhydsjPD/Wifecrazy-Oh-So-Kinky-Handjob.jpg[/img][/url]

[quote][b]Size: 484.79 MB 
Format: mp4
Duration: 00:16:08
Resolution: 1280x720[/b][/quote]

Download from Keep2Share
https://k2s.cc/file/8b9f4bacac53e/Wifecrazy_-_Oh_So_Kinky_Handjob.mp4


Top
 Profile  
Reply with quote  
 Post subject: Re: Copy Link In Same Post
PostPosted: February 15th, 2020, 1:44 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Add it for the "Message":

Search for:
Code:
https?://k2s\.cc(.+)


Replace with:
Code:
$0\n\nDownload from FileBoom\nhttps://fboom.me$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Copy Link In Same Post.
PostPosted: April 5th, 2020, 12:20 pm 

Joined: November 23rd, 2014, 6:31 am
Posts: 276
Hi.

1) I have a few additional questions regarding this.
When I end up with multiple rar/zip files TC creates the post with the links like this
Code:
https://k2s.cc/file/1
https://fboom.me/file/1
https://k2s.cc/file/2
https://fboom.me/file/2
https://k2s.cc/file/3
https://fboom.me/file/3


But I would like to end up with

Code:
https://k2s.cc/file/1
https://k2s.cc/file/2
https://k2s.cc/file/3

https://fboom.me/file/1
https://fboom.me/file/2
https://fboom.me/file/3


That would automaticly solve my second problem being in TP where I have fboom.me as banned host on forums as it is now I end up with links like this:

Code:
https://k2s.cc/file/1

https://k2s.cc/file/2

https://k2s.cc/file/3


instead of what I really want to have:

Code:
https://k2s.cc/file/1
https://k2s.cc/file/2
https://k2s.cc/file/3


Top
 Profile  
Reply with quote  
 Post subject: Re: Copy Link In Same Post.
PostPosted: April 5th, 2020, 7:19 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
Will take a look tomorrow.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Copy Link In Same Post.
PostPosted: April 6th, 2020, 7:45 am 

Joined: November 23rd, 2014, 6:31 am
Posts: 276
the second part of my question seems to be my mistake.

I do end up with

Code:
https://k2s.cc/file/1
https://k2s.cc/file/2
https://k2s.cc/file/3


when I have fboom.me as banned host - not needed spaces between links is somehow auto removed :)

So all I would like is the links in host order like described in first part.


Top
 Profile  
Reply with quote  
 Post subject: Re: Copy Link In Same Post.
PostPosted: April 6th, 2020, 3:20 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
The result will be the same anyway?

You will only have in post either k2s links or fboom links.

So the ordering doesn't really matter since one host will be removed.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Copy Link In Same Post.
PostPosted: April 6th, 2020, 3:35 pm 

Joined: November 23rd, 2014, 6:31 am
Posts: 276
On some forums I will have both k2s + fboom links posted - thats why i need it sorted.


Top
 Profile  
Reply with quote  
 Post subject: Re: Copy Link In Same Post.
PostPosted: April 6th, 2020, 3:45 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12629
Location: Earth
There is no easy way. You can add replacements only for specific scenarios.

If you have 3 parts:

Search for:
Code:
(https://k2s.+\n)(https://fboom.+\n)(https://k2s.+\n)(https://fboom.+\n)(https://k2s.+\n)


Replace with:
Code:
$1$3$5\n$2$4


Enable regex search.

If there are two parts:
Search for:
Code:
(https://k2s.+\n)(https://fboom.+\n)(https://k2s.+\n)


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


Enable regex search.

Make sure the 3-part replacement is added above the 2-part replacement [there are arrows at the bottom to move them if needed] (otherwise it will mess things up).

And both must be added below the replacement which you used to duplicate the links to fboom.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

Who is online

Users browsing this forum: No registered users and 10 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