Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #11  
Old 02-21-2006, 06:46 AM
Carco Carco is offline
 
Join Date: Feb 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe attachments should be an independent entity..

I would like to see some other feature like: Giving different permissions for each attachment..

For example:
I have post number 1, and its attachment should be downloaded by any visitor..
I have post number 2, and its attachment should be downloaded by members only..

AND BOTH OF THE POSTS ARE IN THE SAME THREAD

I'm not sure if this is doable without making them independent.. OR making them independent will make the permission process much simpler, and more elegant.
Reply With Quote
  #12  
Old 03-07-2006, 08:21 AM
Burley Burley is offline
 
Join Date: Aug 2003
Location: Apeldoorn
Posts: 89
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would it then also be possible to have them autamtically removed after a set period of time?

I think tons of people would benefit from such a hack
Reply With Quote
  #13  
Old 12-10-2006, 06:14 PM
amcd amcd is offline
 
Join Date: Oct 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

did anyone actually attempt this?
Reply With Quote
  #14  
Old 01-18-2007, 05:50 PM
thincom2000 thincom2000 is offline
 
Join Date: May 2006
Location: Bronx, NY
Posts: 1,205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for that suggestion. Will be useful for the site news mod I am currently writing.
Reply With Quote
  #15  
Old 01-18-2007, 06:27 PM
ConqSoft's Avatar
ConqSoft ConqSoft is offline
 
Join Date: Jul 2003
Location: Raleigh, NC
Posts: 686
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Slight ThreadJack:

Quote:
Originally Posted by Princeton View Post
(Ahh, now that I think of it, I believe the plugin was for thumbnail display for all users--not sure--or it could be both--damn, can't remember.)
Is this hack available? I'd like to show thumbnails to all users (i.e., guests) but only allow full size image attachment viewing by registered members.
Reply With Quote
  #16  
Old 01-18-2007, 09:04 PM
timetunnel timetunnel is offline
 
Join Date: Sep 2005
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello.

How 'bout considering:

Allow members of a certain usergroup to create 1 thread e.g. 'ATTACHMENTS' with multiple posts that no one can reply to nor view (except of course admins or super mods when content violates rules). Each post conforms to the site's # of attachments/post rule. When that post reaches that limit, begin another post (reply) to attach additional attachments to. Of course, the total amount of space is still subject to the usergroup and vB Options parameters. All attachments will show up in User Profile's Edit Attachments for easy viewing and copy/paste of URL. Then use the URL throughout the site INCLUDING PM, SIGS, etc. That what I'm working on completing.

LIMITATION: With 'Allow Dynamic URL...' set to 'No', these images are not parsed inline within the [IMG] tag since they contain a query string (?&). Of course you can set that param to 'YES' and it all works fine. It depends on whether you want to follow the caution statement mentioned by vB as to why they believe that param should be set to 'No'. Else, you can create conditions of a new tag whereby you can keep the param set to 'No' but ONLY parse attachments and no other URLs containing a query string. (Note: there are other considerations to incorporate in the coding and conditions as well, but this is the gist). It works well.

Only hooks are involved to make this happen. No database edits nor file editing is needed.

I'm planning to use it for subscribers and/or other higher-end member groups whenever I get it completed...(who knows when...)

HTH.

P.S. If someone decides to use this method or some close version of it or create/formalize a HACK for others using this method, please add to this thread to let me and others know. Hopefully, vB will come up with some or similar version of it as part of their package.

Thanks.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:04 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.06677 seconds
  • Memory Usage 2,204KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete