vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Restrict Attachment download by User (https://vborg.vbsupport.ru/showthread.php?t=66183)

Yahhoon23 06-15-2004 06:03 AM

Restrict Attachment download by User
 
Alright it's somewhat of a maybe complex idea. Or maybe not.

I have a forum that I only want certain users to download. I could do it by usergroup, but it kind of defeats the purpose because that blocks the entire usergroup.

How it will go is like this.

User A uploads an attachment. Then myself as an admin works with the attachment, then re-uploads it. Then comes in the restrction that only allows the threadstarter to re-download the new attachment I posted.

Obviously I want admins to be able to download anything, but only want users to be able to download attachments in their own thread that they created and when they go try to download another attachment in a thread they didn't start, they are not able to.

It's only for one category and forum I need it for. Not across the board.

Edit: Nevermind. I think I'd like it more like the post below. So look below :) and Thanks for taking the time to look

Yahhoon23 06-15-2004 07:43 AM

Possibly maybe an easier way it could be done.

Setting it up so when user A goes to the forum designated that this hack will take place in will only see only threads they post and admin threads.

That way they won't even see other people's threads just the threads that admins/mods post and their own.


All times are GMT. The time now is 06:33 PM.

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.01642 seconds
  • Memory Usage 1,705KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (2)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete