vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Major Additions - Links and Downloads Manager (https://vborg.vbsupport.ru/showthread.php?t=119041)

AndrewD 03-27-2007 04:58 PM

Quote:

Originally Posted by EasyTarget (Post 1213663)
ok, I was able to locate the setting in the database and remove it so that now in the administration it shows local file root is set to no and there is no local file root prefix, however I still get this message even though the directory does exist:

Are you sure that you no longer need to define document_root? The new error message is saying that it thinks the directory /forum/files is really a base level directory on your server, when I think you want it to be relative to the web site.

When you change local_file_root, it's a good idea first to clear the upload_dir setting and then reset it back the way you want after the new local_file_root has been accepted. That way, the code only needs to think about one thing at once.

EasyTarget 03-27-2007 07:10 PM

ok figured out that it kept resetting the local file root to yes so it kept behaving funny. Once I editted just that field to no then updated the other fields it seems to be working fine.

Demon fox 03-27-2007 08:57 PM

Hey is it possible to make it so that categorys have there own upload folder, so when a user uploads a file in a category it uploads into the folder set for it?

josiespencer 03-28-2007 02:19 AM

AndrewD, I am thinking of using the blockaccess-byposts-plugin.xml plugin - can you explain a little bit more about this change in the code:

// --- Within the last XX hours - set to 0 to require posts over all time
$LAST_HOURS = 0;

Does this set a time measurement before the new user can download new posts? And what is the maximum value it can be? Or did I totally misread this parameter?

AndrewD 03-28-2007 04:07 AM

Quote:

Originally Posted by Demon fox (Post 1213953)
Hey is it possible to make it so that categorys have there own upload folder, so when a user uploads a file in a category it uploads into the folder set for it?

I imagine that this is a simple change, but...

The code currently uses the upload folder to specify the *base* directory where uploads are stored. Individual uploads are placed in subdirectories according to /your/user/ids/digits (e.g. /uploaddir/1/3/2 for userid 132.

The trivial change to the code would continue to use this process but with different base directories for categories that override the default.

If you want all the files for a category in a single directory, that would be a bigger change, and in my view not a good idea.

AndrewD 03-28-2007 04:12 AM

Quote:

Originally Posted by josiespencer (Post 1214174)
AndrewD, I am thinking of using the blockaccess-byposts-plugin.xml plugin - can you explain a little bit more about this change in the code:

// --- Within the last XX hours - set to 0 to require posts over all time
$LAST_HOURS = 0;

Does this set a time measurement before the new user can download new posts? And what is the maximum value it can be? Or did I totally misread this parameter?

This plugin prevents users from accessing LDM *at all* unless they have made the indicated number of posts on your main VB board in the immediately previous $LAST_POST hours.

The default setting for $LAST_HOURS=0 means that the calculation is done over all the history of your board, i.e. that number of posts *ever*. If you set LAST_HOURS to 24, then it will look at the user's posts to VB forums during the last 24 hours and so on.

Ophelia 03-28-2007 12:33 PM

Just installed the newest version Andrew and setting it up now. Thank you so much for all your hard work on this Andrew! I know we are going to be in heaven with the newest features. I'm already seeing some things that are going to really help (outside of the things you knew about!)

Here is something that we would *love* to have.

Force comment on download.

josiespencer 03-28-2007 02:27 PM

Ophelia, there is a must_comment_and_rate setting. It has the following description:

Quote:

If set, when users comment on an entry, they must also rate it. Otherwise, comments can be added without giving a rating.

But I am guessing you don't want comments to be optional at all, huh?

AndrewD 03-28-2007 03:58 PM

Quote:

Originally Posted by Ophelia (Post 1214425)
Just installed the newest version Andrew and setting it up now. Thank you so much for all your hard work on this Andrew! I know we are going to be in heaven with the newest features. I'm already seeing some things that are going to really help (outside of the things you knew about!)

Here is something that we would *love* to have.

Force comment on download.

Noted - all well with you?

digital3 03-28-2007 07:00 PM

Call me a dummy but why do I have this installed and configured properly yet when submitting a new file I only see an option to link to it and not one to upload it using the attachment system? If I have to link to an existing attached file in another post this isn't going to do me a lot of good. I'm sure I must be missing something here because someone would have surely brought this up by now.


All times are GMT. The time now is 08:52 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.03733 seconds
  • Memory Usage 1,747KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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