vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - DownloadsII (https://vborg.vbsupport.ru/showthread.php?t=120122)

ArchangelX 05-01-2009 12:31 AM

Quote:

Originally Posted by pzet (Post 1787807)
I have the same issue with the security token.
Could not find any answer to that, anyone knows a solution?
Thanks

Same here...dangit. I've been working on this problem for like two days now. I thought it was solved but I can't post anything over 10MBs in size! I've added security tokens to every input in the addit template, configured my PHP .ini properly...gah!

Any help?

WhatChaMissin 05-01-2009 12:40 AM

Quote:

Originally Posted by ArchangelX (Post 1800450)
I'm getting that upload failed error, and I'm just trying to upload a 7MB file. I've had the Server Admins at LiquidWeb check the PHP ini, and I've even checked it in the PHP Configuration screen and it's set at 250MB for both max size and the other option indicated that needed to be set.

I'm still receiving an upload error...I've tried zip, rar...tgz, everything fails beyond a certain size. Any suggestions?

EDIT: This was an error with my php.ini file...uploads are fixed! Thanks! Great product!

what was the error?

ArchangelX 05-01-2009 01:06 AM

I had an HTAccess file that was corrupt...but I'm still having the upload error past 10MBs now. This is really frustrating.

Come2Daddy 05-03-2009 01:01 AM

Looks very intresting

JulienT 05-03-2009 02:23 AM

Hi,

I'm trying to use that mod to provide a personal storage area for each members, managed by their moderators. That way, I can use it as corporate internal tool to store e.g. salary slip for each employees.

To do that, I have been thinking of the following.
- John is a member of group blue, with moderator Jack
- Pam is a member of group red, with moderator Sam

John pay slip will be located in <path to download folder>/blue/salary/john/
Pam pay slip will be located in <path to download folder>/red/salary/pam/
blue and red are actually the group name
salary is a category name
john and pam are username

Do you think this is feasible and which files should i look at modifying to do such a thing (dynamically generate the path)?

Thanks

Davey-UK 05-03-2009 04:30 PM

This is one BIG thread to read through.

Is there a way to show the main page, ie with the downloads categories showing to all usergroups, but when a category is clicked on, the permissions come into play, and the user cannot see the files list in that category.

I dont want to exclude people from seeing the categories, but i dont want them to see files in the categories, until i place them in a new usergroup.

Thanks in advanced.

RS_Jelle 05-03-2009 07:10 PM

Quote:

Originally Posted by JulienT (Post 1803372)
Hi,

I'm trying to use that mod to provide a personal storage area for each members, managed by their moderators. That way, I can use it as corporate internal tool to store e.g. salary slip for each employees.

To do that, I have been thinking of the following.
- John is a member of group blue, with moderator Jack
- Pam is a member of group red, with moderator Sam

John pay slip will be located in <path to download folder>/blue/salary/john/
Pam pay slip will be located in <path to download folder>/red/salary/pam/
blue and red are actually the group name
salary is a category name
john and pam are username

Do you think this is feasible and which files should i look at modifying to do such a thing (dynamically generate the path)?

Thanks

All files probably, mostly downloads.php, but this isn't how DownloadsII is designed. It's a downloads manager, not a salary tool.

Quote:

Originally Posted by Davey-UK (Post 1803745)
This is one BIG thread to read through.

Is there a way to show the main page, ie with the downloads categories showing to all usergroups, but when a category is clicked on, the permissions come into play, and the user cannot see the files list in that category.

I dont want to exclude people from seeing the categories, but i dont want them to see files in the categories, until i place them in a new usergroup.

Thanks in advanced.

Open downloads.php

Find
PHP Code:

$result $db->query_read("SELECT * FROM " TABLE_PREFIX "dl_cats WHERE ".$catexclude." parent = '0' ORDER BY ".$dl->order); 

Replace with
PHP Code:

$result $db->query_read("SELECT * FROM " TABLE_PREFIX "dl_cats WHERE parent = '0' ORDER BY ".$dl->order); 


Open includes/class_downloads.php

Find
PHP Code:

$result $db->query_read("SELECT `name`,`id` FROM " TABLE_PREFIX "dl_cats WHERE ".$catexclude." `parent`=".$db->sql_prepare($id)." ORDER BY ".$this->order); 

Replace with
PHP Code:

$result $db->query_read("SELECT `name`,`id` FROM " TABLE_PREFIX "dl_cats WHERE `parent`=".$db->sql_prepare($id)." ORDER BY ".$this->order); 


Davey-UK 05-04-2009 07:51 AM

Thanks for the reply above, but that fix doesn't seem to work.

Maybe i need to explain a little better.

Everyone can see the downloads area homepage. Ie, category name with the cataegory icon beside it, although i still need to be able to hide a category in the homepage unless they are a subscriber in a new usergroup, as this allows now.

When unregistered, or regular members then click on the categories, they cannot see even the list of files. They then get the access error message.

Basically i need them to see the categories before getting the access error, and not before they see the category list.

Thankyou, and sorry for not explaining myself.

pzet 05-04-2009 12:19 PM

Have installed the mod a while ago, it has been working perfectly for about 3 weeks with almost 800 downloads.

Since yesterday - all of a sudden - members started to report broken links to all files listed for download.
The error message: "ERROR: File not found."

Have checked the download directory, the files are physically on the server.

Re-uploading files is not the remedy - still the same error message.
Re-installed mod with overwrite - still the same error message.

Has anybody else experienced the same problem?
Any solutions?

Thanks

nuncfluens 05-05-2009 05:43 AM

hi, can you please tell me where the value for $download is stored in the downloads_cat_filebit template?

thanks!


All times are GMT. The time now is 08:07 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.03819 seconds
  • Memory Usage 1,765KB
  • 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
  • (4)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
  • (5)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