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)
-   -   Files List v3.01 (https://vborg.vbsupport.ru/showthread.php?t=64734)

DWard 06-07-2004 07:52 PM

Quote:

Originally Posted by Aurous
any luck with file permissions? I would like non-registered users to see the page but not be able to download the attachments. There should be a way to fix this. This will only help promote sites that deal with files and non-registered users can see what they will expect from the site before signing up!

It should already be that way, it is on my site, so...

If your a guest, no thumbnails are displayed, just the filename is like the other attachments. And if you click on a filename, then it will bring a 'no permission' message up in a new window with a login bit on it.

Aurous 06-07-2004 08:42 PM

oh does it work for other file types, like mpeg etc? I didnt really look at the code after your update. Maybe I should go through it again :-)

Smitty 06-10-2004 07:15 PM

A user on my forum asked:

"I'm probably being a P.I.T.A. (pain in the...neck?) but is there a way you could search by Thread?

For example, I know that if I'm looking for something about audits I can search for that keyword but is there a way I can search for attachments that appear in the parent thread 'Auditing including ISO 19011' only?"

Any ideas?

DWard 06-10-2004 07:21 PM

I can try to achive that later on in the Month, I will take a look, and get back to me later about it :)

Natch 06-11-2004 12:54 PM

Any chance we can have it so that it only shows in the list the attachments you have permissions for - I know you say it shows the no_permission thing, but this is not ideal....

DWard 06-12-2004 05:58 AM

Quote:

Originally Posted by Natch
Any chance we can have it so that it only shows in the list the attachments you have permissions for - I know you say it shows the no_permission thing, but this is not ideal....

I'm sure that will be easy enough, I can spend as long as I like when I finish college in a couple of weeks so I can tkae a look then if its ok :)

ChuanSE 06-12-2004 06:14 AM

Guyz, i did all what i was supposed to do, and when i do fileslist.php, it just gives me a blank screen?

any ideas?

Aurous 06-12-2004 03:36 PM

Hey DWard

I just found what I was looking for earlier. I want my guests to see what files we have to offer but they can only download it if they are the members of the site (set in usergroup permissions).

I just removed the following lines from the code:

Code:

if (!(CANGETATTACHMENT))
 {
  print_no_permission();
 }

Just in case anyone else is looking for the same thing, you can simply remove those lines.

Cheers
Aurous

TheComputerGuy 06-18-2004 11:45 AM

Quote:

Originally Posted by ChuanSE
Guyz, i did all what i was supposed to do, and when i do fileslist.php, it just gives me a blank screen?

any ideas?

Sounds like template error, you might need to put the templates in there.

ChuanSE 06-19-2004 05:22 AM

Quote:

Originally Posted by TheComputerGuy
Sounds like template error, you might need to put the templates in there.


Hehehe, i took a look at them, caus i was sure i installed them.
ofcourse if ya call the attachement_... instead of attachment_... :p


thx m8


All times are GMT. The time now is 11:19 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.01285 seconds
  • Memory Usage 1,739KB
  • 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)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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