View Single Post
  #960  
Old 01-05-2006, 06:59 AM
Nam's Avatar
Nam Nam is offline
 
Join Date: Oct 2001
Location: NY
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Btw, another question is that how difficult to make access to link based on category? Say Registered member can access to A and not B category, but Premium members can access to both. Just a thought.
Quote:
Originally Posted by AndrewD
You do this with the forum-based permissions system.

Chose (or create) two forums which have the usergroup permissions you want, let's say Forum 1 (Registered and Premium access) and Forum 2 (Premium only)

'Associate' all the links that you want to be available to your premium users only with Forum 2. You set this on the link edit form, or you can 'mass edit' all the links in a category using the Admin/Category page

Ditto 'associate' all the links you want to be available to registered and premium users with Forum 1.

You can set LDM up so that protected links are visible (or not) to other users witht he Admin/Permissions/Can see protected links on portal permissions
Andrew, when I associate all the links to Forum 2 for premium access, all the category and LDM disappear. I want all the links in Forum 2 are seen by Guests members, but they can not download nor play, is this archiveable?

First, I set LDM can_access_link checked for Guests, then in Forum 2's permission setting, I've tried various options with Unregistered/Not Logged In group, just see if I can make they *see* the link but not be able to download:

A. Can View Forum: Yes
Can View Thread Content: Yes
Can View Others' Threads: No
Result: no permission error page (They can't see any link at all)

B. Can View Forum: Yes
Can View Thread Content: No
Can View Others' Threads: Yes
Result: Guests can download/play the file (They can see but also can download).

The case B is the closest I want to archive, they can see the title of the thread, but NOT the content of the thread. But that doesn't work with LDM, which Guests can see the link but also can download the link.

So the bottom line is, your solution only works if I hide the forum completely, hence it will hide specific LDM folder and files underneath it completely. Again, is there anyway to make the link viewable but not download/playable?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01223 seconds
  • Memory Usage 1,768KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete