vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Attachement Hide (https://vborg.vbsupport.ru/showthread.php?t=81061)

arek 05-06-2005 12:46 PM

Attachement Hide
 
Hello,

1. exist a Hack which allows to Hide the uploaded attachment files for users. They can only download the files after reply to the post. The same like a Hide-Hack but for attechment files.

2. exist a hack which allows to upload files bigger than 2 MB and also with the ending .mp3, .mpg, ....

Thank You and sry 4 my bad englisch

ericgtr 05-06-2005 01:07 PM

1. I don't think it exists but not sure, if not maybe someone will create it for you.

2. This is not a mod, it's a setting in your php.ini file that you have to change, the default it 2 MB. Look for upload_max_filesize and change it to a higher number.

arek 05-06-2005 01:57 PM

Where can i find the php.ini?

ericgtr 05-06-2005 02:00 PM

Do you have root access to your server? If not you will have to ask your host to do it for you, it requires manually editing the file on your server.

arek 05-06-2005 02:02 PM

I have access to the server

ericgtr 05-06-2005 02:12 PM

It's in /usr/local/lib if you have pico installed you can change to that directory and type in:
pico php.ini
to edit it.

arek 05-06-2005 02:16 PM

I can not find the /usr/local/lib and what is pico? Sry im a newbie

hello?

ericgtr 05-06-2005 05:20 PM

Okay, here is a basic how to with this. It's the best I can explain so if you need more help you may need to google it. Also, this assumes you have pico installed on your server, it usually is.

Access the server using Putty or your favorite command line program.

Login as root

Type in: cd /usr/local/lib to get to the proper directory

Now type in: pico php.ini and it will open up php.ini

Do a ctrl w to bring up the search

Type in upload_max_filesize and hit enter, this will take you to the line you need to edit

Change the number "2" to whatever you want in MegaBytes

When you are done hit ctrl x and hit the y button to save the buffer.

That's it :)

Chris M 05-06-2005 10:27 PM

Quote:

Originally Posted by arek
Hello,

1. exist a Hack which allows to Hide the uploaded attachment files for users. They can only download the files after reply to the post. The same like a Hide-Hack but for attechment files.

2. exist a hack which allows to upload files bigger than 2 MB and also with the ending .mp3, .mpg, ....

Thank You and sry 4 my bad englisch

The first request is a slight alteration of the Lockdown hack, a hack that not many people would agree to use/code ;)

I'm not sure if the vB.org policy on the Lockdown hack has changed or not, but many coders would not code something like this for you...

Satan

Reeve of shinra 05-06-2005 10:53 PM

I think its allowed now (I think). I believe you can find it on vbhacks.us but it might be a hack you'll have to pay for - im not sure.


All times are GMT. The time now is 03:44 AM.

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.01262 seconds
  • Memory Usage 1,736KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete