vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Mini Mods - [DRC] - Attachment Prefix (https://vborg.vbsupport.ru/showthread.php?t=324300)

Dr.CustUmz 01-25-2017 10:00 PM

[DRC] - Attachment Prefix
 
1 Attachment(s)
This simple little mod will allow you to add a prefix to all attachments your users download, a great way to advertise your site and/or let users know where the file came from.

(will make "pretty" later)

vbul.org 02-03-2017 09:02 AM

Great hack!

Thank you :)

Gn_Snake 02-03-2017 10:45 AM

Very nice!!
Good Job

//Edit
And 'possible to implement the plugin for downloading files?

Dr.CustUmz 02-03-2017 11:12 AM

Quote:

Originally Posted by Gn_Snake (Post 2581751)
And 'possible to implement the plugin for downloading files?

I'm not sure I understand what you're asking...

mansonklan 02-03-2017 01:12 PM

DownloadsII the attachments this mod wont wont change the file names, maybe he means that?

Gn_Snake 02-04-2017 11:17 AM

Quote:

Originally Posted by mansonklan (Post 2581759)
DownloadsII the attachments this mod wont wont change the file names, maybe he means that?

I'd like it to be shown the prefix code for downloaded files from my site

MarkFL 02-04-2017 11:32 AM

Quote:

Originally Posted by Gn_Snake (Post 2581819)
I'd like it to be shown the prefix code for downloaded files from my site

Do you mean you would like for users to be made aware somehow that a prefix is being prepended to the name of the attached file they are downloading?

Gn_Snake 02-04-2017 03:35 PM

Quote:

Originally Posted by MarkFL (Post 2581820)
Do you mean you would like for users to be made aware somehow that a prefix is being prepended to the name of the attached file they are downloading?


On my site I give you the chance to download files (trainer-cheat game). I wish that each downloaded file has the prefix

Thx

MarkFL 02-04-2017 03:40 PM

Quote:

Originally Posted by Gn_Snake (Post 2581823)
On my site I give you the chance to download files (trainer-cheat game). I wish that each downloaded file has the prefix

Thx

This product prepends the prefix to attachments downloaded. How are you offering the "trainer-cheat" games to your users?

Dr.CustUmz 02-05-2017 07:40 PM

mark im confused too lol, but i think he wants it to show in the attachment box...?

Gn_Snake 02-05-2017 08:02 PM

Quote:

Originally Posted by MarkFL (Post 2581824)
This product prepends the prefix to attachments downloaded. How are you offering the "trainer-cheat" games to your users?

I would like that users who download a file from my site to be put before a prefix to the file name.

Example:
http://www.hardwaregame.it/forum/nas...olution-17201/


I'm sorry, but only registered users can see links

Dr.CustUmz 02-07-2017 09:18 AM

Quote:

Originally Posted by Gn_Snake (Post 2581905)
I would like that users who download a file from my site to be put before a prefix to the file name.

Example:
http://www.hardwaregame.it/forum/nas...olution-17201/


I'm sorry, but only registered users can see links

you mean the users name and then the file name?

like the file is
SomeZip.zip

and you want
Gn_Snake-SomeZip.zip

???

Gn_Snake 02-07-2017 10:56 AM

Quote:

Originally Posted by Dr.CustUmz (Post 2581993)
you mean the users name and then the file name?

like the file is
SomeZip.zip

and you want
Gn_Snake-SomeZip.zip

???

The user on my site can download the file: uforobot.zip
I would like the files become: hardwaregame.it_uforobot.zip

Thx

Dr.CustUmz 02-08-2017 05:37 AM

-_- that is how it is currently.......

when a user downloads the file, whatever you put in the option is added to the file name.

Gn_Snake 02-08-2017 10:42 AM

Then to me it does not work.
????

Thx

mansonklan 02-08-2017 01:18 PM

Quote:

Originally Posted by Gn_Snake (Post 2582059)
Then to me it does not work.
????

Thx

I think you want the name to show in the thread?

The file does not show the name in the thread.It will show when a user downloads it to their PC. give it a shot and download then Open the folder you saved it to and you'll see the file name has changed with whatever you added in options for the name of your attachments.

mod works 100%

GHRake 02-24-2017 01:36 AM

This is great!


All times are GMT. The time now is 05:03 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02247 seconds
  • Memory Usage 1,750KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (17)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete