vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - DownloadsII (https://vborg.vbsupport.ru/showthread.php?t=120122)

RS_Jelle 02-24-2010 07:42 PM

Quote:

Originally Posted by Netz (Post 1988830)
Hi.

The MOD is completing my link field with http:// how can I stop this to links elsewhere e.g. FTP or a link in a LAN?

It should be ok for FTP. When it contains "ftp://", no "http://" is added.

It's in downloads.php:
PHP Code:

                // check for http on beginning of link or d/l won't work
                
if (strpos($newfilename"http://") === false AND strpos($newfilename"https://") === false AND strpos($newfilename"ftp://") === false)
                {
                    
$newfilename "http://".$newfilename;
                } 

Remove it if you don't want anything added. Or add an extra condition to it.

Quote:

Originally Posted by Opus4 (Post 1990551)
Is there a way to have files from excluded categories hidden from places such as the list of Latest Files? I am trying to create a hidden category, but the files in that category are still visible in other places -- the users can't download the files, but it is still visible so the category isn't really private. I've searched this topic & saw this mentioned before, but if there is a solution, I didn't see it.

It's on my todo list, but I'm only updating the vB4 version.

Opus4 02-24-2010 08:27 PM

Quote:

Originally Posted by RS_Jelle (Post 1990671)
It's on my todo list, but I'm only updating the vB4 version.

OK; thanks for the info.

Netz 02-26-2010 05:20 AM

Thanks, too!

abdulbasitsaeed 02-28-2010 03:44 AM

Dear RS_Jelle, is there any way to increase the number of characters displayed under "File" in the Downloads Log?

Currently, I think it is set at 20. :)

j1mmy 03-01-2010 12:58 AM

Is there any way to disable guests trying to upload a file altogether?

Also, why can't we mass delete or disapprove files?

RS_Jelle 03-01-2010 05:30 AM

Quote:

Originally Posted by abdulbasitsaeed (Post 1993407)
Dear RS_Jelle, is there any way to increase the number of characters displayed under "File" in the Downloads Log?

Currently, I think it is set at 20. :)

Change the size of the "file" field of the dl_downloads table (using phpMyAdmin). Currently it's set to 20 indeed.

Quote:

Originally Posted by j1mmy (Post 1994172)
Is there any way to disable guests trying to upload a file altogether?

Also, why can't we mass delete or disapprove files?

Guests can only upload if you give them those usergroup permissions.

Mass actions are possible, just use manage files.

archaosus 03-01-2010 05:33 PM

Quote:

Originally Posted by RS_Jelle (Post 1990671)
It's in downloads.php:
PHP Code:

                // check for http on beginning of link or d/l won't work
                
if (strpos($newfilename"http://") === false AND strpos($newfilename"https://") === false AND strpos($newfilename"ftp://") === false)
                {
                    
$newfilename "http://".$newfilename;
                } 

.

Would it be possible by changing the above to remove the "https://" to make the software call the file from an absolute path - thus allowing files to be stored subroot and linked to?

singsign 03-01-2010 06:08 PM

Getting this: Your server is running safe mode. You MUST manually create a folder named dl_tmp under your downloads folder. Be sure to change the permissions to 777. Made the new folder and changed the permissions, but it still shows the same thing. Any idea how to fix?

Er edit: this is for vb4 just saw you were posting in this thread and not the other.

j1mmy 03-06-2010 02:42 AM

Is it possible to move mass move files from one category to another? Or files from the root, to a sub-category?

Also, it is saying that there are a certain number of files in a cateogry, when in fact there is nothing in that category?

RS_Jelle 03-07-2010 08:45 AM

Quote:

Originally Posted by archaosus (Post 1994606)
Would it be possible by changing the above to remove the "https://" to make the software call the file from an absolute path - thus allowing files to be stored subroot and linked to?

Paths outside the vB folder aren't supported at the moment.

Quote:

Originally Posted by j1mmy (Post 1998174)
Is it possible to move mass move files from one category to another? Or files from the root, to a sub-category?

Also, it is saying that there are a certain number of files in a cateogry, when in fact there is nothing in that category?

1. Yes, you can do this with Manage Files (though not in 1 move, unless you change the "files per page" setting to a very high one). And when you delete categories it is asked to you to move the files (or to delete them).

2. Click the "Update Counters" button in Manage Files to fix it.


All times are GMT. The time now is 06:17 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.05954 seconds
  • Memory Usage 1,755KB
  • 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
  • (2)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (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