themaCreator
http://creator.themasoftware.com/forum/

Copy Link In Same Post.
http://creator.themasoftware.com/forum/viewtopic.php?f=4&t=6829
Page 1 of 1

Author:  Pablo01 [ February 14th, 2020, 5:09 pm ]
Post subject:  Copy Link In Same Post.

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?

Author:  Freddy [ February 15th, 2020, 7:05 am ]
Post subject:  Re: Copy Link In Same Post

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?

Author:  Pablo01 [ February 15th, 2020, 9:58 am ]
Post subject:  Re: Copy Link In Same Post

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

Author:  Freddy [ February 15th, 2020, 10:21 am ]
Post subject:  Re: Copy Link In Same Post

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.

Author:  Pablo01 [ February 15th, 2020, 1:39 pm ]
Post subject:  Re: Copy Link In Same Post

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

Author:  Freddy [ February 15th, 2020, 1:44 pm ]
Post subject:  Re: Copy Link In Same Post

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.

Author:  Pablo01 [ April 5th, 2020, 12:20 pm ]
Post subject:  Re: Copy Link In Same Post.

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

Author:  Freddy [ April 5th, 2020, 7:19 pm ]
Post subject:  Re: Copy Link In Same Post.

Will take a look tomorrow.

Author:  Pablo01 [ April 6th, 2020, 7:45 am ]
Post subject:  Re: Copy Link In Same Post.

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.

Author:  Freddy [ April 6th, 2020, 3:20 pm ]
Post subject:  Re: Copy Link In Same Post.

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.

Author:  Pablo01 [ April 6th, 2020, 3:35 pm ]
Post subject:  Re: Copy Link In Same Post.

On some forums I will have both k2s + fboom links posted - thats why i need it sorted.

Author:  Freddy [ April 6th, 2020, 3:45 pm ]
Post subject:  Re: Copy Link In Same Post.

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.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/