It is currently April 16th, 2024, 5:26 am



Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Prefix for random filenames.
PostPosted: October 1st, 2022, 8:06 pm 

Joined: September 28th, 2022, 9:16 pm
Posts: 5
Please add the ability to use your own prefix to random names. I have couple threads, its very difficult monitoring files, which genre threads I need work more and which need to be closed. For example, random name: rA26e377ce. With this option it can be something like this: prefix_rA26e377ce.


Attachments:
prfix.jpg
prfix.jpg [ 12.2 KiB | Viewed 491 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: prefix for random names
PostPosted: October 2nd, 2022, 6:30 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12639
Location: Earth
You can already do that with replacement. Even for needed sections (or all).

Add this replacement under "Subject" tab -> with "Apply to" selected "Filename":

Search for:
Code:
^


Replace with:
Code:
prefix_


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Prefix for random filenames.
PostPosted: October 2nd, 2022, 10:58 am 

Joined: September 28th, 2022, 9:16 pm
Posts: 5
Using replacements as on picture, the prefix was added to the new's title. This is not I want. Before uploading, video file renamed to "n937u5sbengx.mp4" and when I click on link, I see that name. My suggestion is to add this prefix exactly to the randomly renamed file, uploaded to filehost: "n937u5sbengx.mp4" ► "bdsm-n937u5sbengx.mp4".

Image


Attachments:
1.jpg
1.jpg [ 120.73 KiB | Viewed 482 times ]
Top
 Profile  
Reply with quote  
 Post subject: Re: Prefix for random filenames.
PostPosted: October 2nd, 2022, 1:02 pm 

Joined: January 13th, 2014, 7:59 pm
Posts: 141
Add this replacement under "Subject" tab -> with "Apply to" selected "Filename"

Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Prefix for random filenames.
PostPosted: October 2nd, 2022, 1:31 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12639
Location: Earth
As Shaki pointed out, you just added the replacement with wrong "Apply to" type and even in wrong place (under "Message" tab). It must be set to "Filename" and added under "Subject" tab (not message).

Delete your replacement.

Click on "Subject" tab -> write the replacement again -> make sure to select "Apply to" as "Filename" (it will only be applied to Filename then, not the title / subject).

It will be 100% as you want.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Prefix for random filenames.
PostPosted: October 2nd, 2022, 3:11 pm 

Joined: September 28th, 2022, 9:16 pm
Posts: 5
Freddy wrote:
As Shaki pointed out, you just added the replacement with wrong "Apply to" type and even in wrong place (under "Message" tab). It must be set to "Filename" and added under "Subject" tab (not message).

Delete your replacement.

Click on "Subject" tab -> write the replacement again -> make sure to select "Apply to" as "Filename" (it will only be applied to Filename then, not the title / subject).

It will be 100% as you want.


For 99%, but its ok. One thing I need to do after upload - delete this prefix from the name, because I only needed it in the link name. Thank you.

Image


Top
 Profile  
Reply with quote  
 Post subject: Re: Prefix for random filenames.
PostPosted: October 2nd, 2022, 3:32 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12639
Location: Earth
Add this "Message" replacement to remove from not the links:

Search for:
Code:
([^/])prefix_


Replace with:
Code:
$1


Enable regex search.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 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