vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Links and Files Database (https://vborg.vbsupport.ru/showthread.php?t=60403)

intrigue 02-20-2005 08:48 PM

get this error

The following setting(s) are invalid
monitor_dir :

i tried a 1 and a 0
.matt

AndrewD 02-21-2005 04:07 AM

Quote:

Originally Posted by intrigue
get this error

The following setting(s) are invalid
monitor_dir :

i tried a 1 and a 0
.matt

If you set this at all, it should be set to the name of a directory. local_file_root tells the code where to find the directory.

If local_file_root=0, then setting monitor_dir (e.g.) to /downloads would tell the code to base its scans on http://yoursite/downloads

If local_file_root=1, then you might set moitor_dir (e.g., on a windows m/c) to d:/websites/yoursite/downloads

AndrewD 02-21-2005 04:10 AM

Will be travelling for the next week, so please don't break anything important :rolleyes:

Imperial Fritz 02-21-2005 04:43 PM

Upgraded successfully after upgrading to 3.0.7 as well, works fine.

Imperial Fritz 02-21-2005 07:14 PM

Well, you forgot to phrase two of the most visible words :)

PHP Code:

<tr align="center">
    <
td class="tcat" align="center" width="20%"><strong>Entry</strong></td>
    <
td class="tcat"><strong>&nbsp;Description</strong></td>
</
tr


AndrewD 02-22-2005 05:09 AM

Quote:

Originally Posted by Imperial Fritz
Well, you forgot to phrase two of the most visible words :)

PHP Code:

<tr align="center">
    <
td class="tcat" align="center" width="20%"><strong>Entry</strong></td>
    <
td class="tcat"><strong>&nbsp;Description</strong></td>
</
tr


Why do I feel as if you wanted to find these! :speechless: Will fix when I get back home. Thanks.

RustedBucket 02-22-2005 04:44 PM

Quote:

Originally Posted by AndrewD
You create (or choose) a forum on your board, and give that forum the permissions you want to use for the file (for example, only registered users can view posts in the forum). Then you associate the file with the forum. You do this within the form for adding or editing the link. You can do the same for categories.

If you want to apply this condition to every new file you make available, then on the links admin page, you set that forum to be the default forum for new links/categories.

The problem with this methodology appears to be that you still end up hiding the fact there is anything to download from the user. The unregistered user either can't see it or they see a link in another forum they can't access. So in the first scenerio, why would they do anything, the assumption is going to be there is nothing to download. The second scenerio would end up turning on the hidden links so you end up with two forums with the same stuff in them.

Why not base this on the grup attachment properties. Consider a link to a file the same thing as a physical attachment, because in essence it really is that. So if it's clicked, and the usergroup doesn't have permission to download attachment the permission error is generated?

AndrewD 02-22-2005 06:39 PM

Quote:

Originally Posted by crazy4bass
The problem with this methodology appears to be that you still end up hiding the fact there is anything to download from the user. The unregistered user either can't see it or they see a link in another forum they can't access. So in the first scenerio, why would they do anything, the assumption is going to be there is nothing to download. The second scenerio would end up turning on the hidden links so you end up with two forums with the same stuff in them.

Why not base this on the grup attachment properties. Consider a link to a file the same thing as a physical attachment, because in essence it really is that. So if it's clicked, and the usergroup doesn't have permission to download attachment the permission error is generated?

Quite a number of the recent questions have been about this or related points of visibility versus access. I understand that others may want to use the availability of downloads to attract new people to register. However, this hack was written from a different perspective, which is to offer different types of document to different user communities, one public, the other fee paying. In our case, most of those who are in the public category do not have the option (because of the nature of the association I run) to become fee paying (& so we hide the register button from them), and should not know that the other documents exist.

So the design objective was to build all access permissions on the forums permissions system for VB. That way, links and posts become equivalent, either fully visible or invisible, according to usergroup. There are one or two minor adjustments to that (i.e the can_see_protected_links_on_portal permission), to meet a particular user need. The decision was taken way back, and it would require a complete overhaul of the code to change it.

Imperial Fritz 02-22-2005 07:01 PM

To add another perspective - in my case I absolutely don't want unregistered and even general registered users to know that I'm offering stuff for download (it's mostly articles and documents). The permission system as it is now is perfect for me. :)

Xtrm2Matt 02-23-2005 05:17 PM

Hi,

Is there a way we can make it so users MUST register on the forum to download files? I just checked, and a guest can download a file without registering :(

Matt


All times are GMT. The time now is 11:06 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.02094 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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