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)

a-a-r-r 04-25-2009 11:26 AM

Warning: copy() has been disabled for security reasons in [path]/downloads.php on line 701
ERROR: File not found.

:)

RS_Jelle 04-26-2009 01:34 PM

Quote:

Originally Posted by odln018 (Post 1797506)
I've got one question regarding the template edits.

When I reviewed the MEMBERINFO, I was unable to locate the portion stated above.

Would it be possible to post my template and get suggestions.

You don't need any template edits with version 5.1.0. It's using the template hooks. Just enable the profile features in the DownloadsII options ;)

Quote:

Originally Posted by zushiba (Post 1797739)

That's caused by the vBa CMPS integration you are using (if I'm right?). Strange, cause normally that should work. It's working fine on some sites I know.

Can you give me your site url, so I can view the XHTML source code?

tuRiver 04-26-2009 02:09 PM

i'm planning to create a block and use it on an external page.
Can anyone give me the query that show the most downloaded files?

thanks in advance!

kensaurus 04-26-2009 03:52 PM

Code:

Fatal error: Call to undefined method vb_activecache::flush() in /home/purpfir1/public_html/forum/includes/adminfunctions_template.php(2359) : eval()'d code on line 6
happens when i import.

HappyPike 04-27-2009 12:38 AM

Jelle,

Thanks for continuing to support this very useful addon! It's greatly appreciated! Keep up the good work! :)

mark370 04-27-2009 11:22 PM

On our install we have comments switched on and the smile box is to the right side of WYSIWYG Editor,could you plz direct me on how to place the smiles box underneath the WYSIWYG Editor like here on vborg ?
we have a mod installed on our main forum which does this and want the same look in downloadsII.

we running 3.8.2

any help would be much appreciated :up:

Many-thanks

RS_Jelle 04-28-2009 07:53 AM

Quote:

Originally Posted by tuRiver (Post 1799308)
i'm planning to create a block and use it on an external page.
Can anyone give me the query that show the most downloaded files?

thanks in advance!

Have a look at https://vborg.vbsupport.ru/showthread.php?t=110122

Quote:

Originally Posted by kensaurus (Post 1799380)
Code:

Fatal error: Call to undefined method vb_activecache::flush() in /home/purpfir1/public_html/forum/includes/adminfunctions_template.php(2359) : eval()'d code on line 6
happens when i import.

That's caused by another mod, which is using the template_compile hook location (look for it at the plugin manager). Maybe vBOptimize if you use that (but I'm not sure, as I don't know that mod very well).

Quote:

Originally Posted by mark370 (Post 1800240)
On our install we have comments switched on and the smile box is to the right side of WYSIWYG Editor,could you plz direct me on how to place the smiles box underneath the WYSIWYG Editor like here on vborg ?
we have a mod installed on our main forum which does this and want the same look in downloadsII.

we running 3.8.2

any help would be much appreciated :up:

Many-thanks

Try putting this line in your downloads.php (after the other defines):
PHP Code:

define('GET_EDIT_TEMPLATES''add,edit,file'); 


ArchangelX 04-28-2009 11:00 AM

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!

skylab 04-28-2009 05:17 PM

Any thoughts on my error?

mark370 04-29-2009 01:52 AM

Quote:

Originally Posted by RS_Jelle (Post 1800388)
Try putting this line in your downloads.php (after the other defines):
PHP Code:

define('GET_EDIT_TEMPLATES''add,edit,file'); 


Thanks RS worked a treat :)


My next question is :D can you help me with this outer table css error please ?

Its the dark grey outer table colour ive pointed out in the below pic ime thinking it should be a lighter grey so it blends in with the inner table,
trouble is i have no idea how to do this :(
Also this only happens on the custom style we have, on our default style it all looks fine (see below pics)



Css Error on Custom Style:

https://vborg.vbsupport.ru/external/2009/04/20.jpg





Our default style, as you can see all is ok with this style everything blends in nicely as it should:

https://vborg.vbsupport.ru/external/2009/04/21.jpg

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!

kairev 05-05-2009 02:45 PM

Great mod...I'm finding though that a lot of files are timing out during the upload. For instance I tried to upload an mp3 file...tries to upload for about 5 minutes and then times out. Is there any way to fix that?

tEChniiQue 05-06-2009 05:02 PM

I've installed this mod and all seems to be working fine except for one thing...no stats display on the ecDownload main page (i.e. latest files, most popular, top contributor). The module for each category appears to the left, but there is no data. On the other hand, if I click stats all of that information is viewable.

It's been a while since I've used this mod so I can't remember what appears in the middle of it's main page. Currently, mine only shows:

http://img217.imageshack.us/img217/9...ownloads12.png

Any think they can shed some light on me towards this? Thanks in advance.

RS_Jelle 05-06-2009 05:55 PM

Quote:

Originally Posted by tEChniiQue (Post 1805898)
I've installed this mod and all seems to be working fine except for one thing...no stats display on the ecDownload main page (i.e. latest files, most popular, top contributor). The module for each category appears to the left, but there is no data. On the other hand, if I click stats all of that information is viewable.

It's been a while since I've used this mod so I can't remember what appears in the middle of it's main page. Currently, mine only shows:

http://img407.imageshack.us/img407/9...loads12.th.png

Any think they can shed some light on me towards this? Thanks in advance.

How can it display stats if you didn't add any files yet? There's no data :)
You need to start by adding categories in the AdminCP.

tEChniiQue 05-06-2009 07:46 PM

Thank you for the reply...
But hey, don't take this the wrong way - "I'm no IDIOT".

I've added quite a few files which is why I know that when I select "stats" it shows where my download section is so far when it comes to the content.

That's what I meant when I wrote:
Quote:

On the other hand, if I click stats all of that information is viewable.
This is what I see when I do click stats:
http://img23.imageshack.us/img23/908...ownloadsma.png

So, with that cleared up...is there any one that may have an idea that could help me to resolve this? Your help would be greatly appreciated.

Sunka 05-07-2009 08:53 AM

Quote:

Originally Posted by tEChniiQue (Post 1805998)
Thank you for the reply...
But hey, don't take this the wrong way - "I'm no IDIOT".

I've added quite a few files which is why I know that when I select "stats" it shows where my download section is so far when it comes to the content.

That's what I meant when I wrote:


This is what I see when I do click stats:
http://img23.imageshack.us/img23/908...ownloadsma.png

So, with that cleared up...is there any one that may have an idea that could help me to resolve this? Your help would be greatly appreciated.

You have to update counters (you have link for that)

BullDog148th 05-07-2009 07:42 PM

Hi great Mod no issues but i had asked earlier page 225 if there was a way to see the status of a file being uploaded instead of it looking like the page has hung, there is the progress bar at the bottom of windows but this reaches the end and the file is still uploading. Is it working that way for everyone??? Other than that i'm happy with it thanks to the devs:up:

Jackie1 05-09-2009 06:53 AM

PHP Code:

Database error in vBulletin 3.8.2:

Invalid SQL:
ALTER TABLE `dl_catsCHANGE `desc` `descriptionTEXT NOT NULL;

MySQL Error   Duplicate column name 'description'
Error Number  1060 

Pls help me .
I can't install DownloadsII.

tEChniiQue 05-09-2009 04:45 PM

Quote:

Originally Posted by Sunka (Post 1806264)
You have to update counters (you have link for that)

Thank you for the reply...I did update counters several times and still no go (on the day I originally posted).

I've been offline for a couple days, decided to try and tackle this again, and the data was updated. So problem fixed 'I guess". I'm just not sure as to why it took so long to update the information but it seems to be working now.

Just curious, has anyone else had an issue with delayed data updates in this mod?

No disrespect to the creator intended, I've actually been using this mod for a couple years...I just recently converted a portion of my site back to vB, hence the fresh install of this mod.

Thanks again to the creator...I love this app!

Sunka 05-09-2009 08:10 PM

Another solution is to just download some file from download section, or just change little picture for one file you have uploaded.
That also rebuild counters...

711 05-10-2009 07:25 AM

Quote:

Originally Posted by RS_Jelle (Post 1430378)
You need to include /includes/class_downloads.php in your forum home (using a plugin) to be able to use the $dl class. Then you can put {$dl->stats['files']} (and others) everywhere you want in a forum home template.

Try adding a plugin to the forumhome_start hook location with this content:
PHP Code:

require_once('./includes/class_downloads.php');
$dl = new vB_Downloads(); 

(I didn't test it, but it should work normally.)

The plugin worked great thanks!

Can you give a list of variables we have available once class_downloads.php is hooked into forumhome?

I currently have:

{$dl->stats['files']}
{$dl->stats['downloads']}

working wonderfully. I tried to use: {$dl->stats['bandwidth']} but it seems the bandwidth variable is only used in downloads.php, in the do=stats function.

It would be great if someone could make a true forumhome stats vbulletin mini-product for DownloadsII so that we can display stats like:
  • total files
  • total categories
  • total diskspace used
  • total bandwidth
  • total contributors
  • etc.

I'd love to do it, but my vB plugin writing skills are not up to the task. :o

Also, I saw mention in earlier posts in this thread (some from over 1 year ago) that version 6 of DownloadsII was "coming soon". Any ETA on the release?

I'd love to donate by purchasing a branding free option, but it seems you said that you must wait till version 6 to offer that.

Thanks for a really awesome vB addon! :up:

alpha.cccp 05-11-2009 12:34 AM

I'm getting an error :

Warning: copy(./downloads//ec_tmp/Filename.ext) [function.copy]: failed to open stream: Permission denied in [path]/downloads.php on line 704
ERROR: File not found.

I installed jFusion on my Joomla install to bridge the two applications and I noticed this error this morning, so I'm not sure if it caused it or not, but I thought I'd mention it. The files are actually above the ec_tmp directory, and are all prefixed with a 5 digit number for example : 53098-Filename.ext....how can I fix this error ?

alpha.cccp 05-11-2009 12:52 AM

I was able to fix the problem by simple deleting the /ec_temp directory in the downloads folder...weird.

zushiba 05-12-2009 03:05 PM

So, the latest version of DownloadsII ver 5.0 vbAdvanced Add-On seems to be for vb 3.6.X
Is there any way to integrate this with VBAdvanced CMPS now since that one is no longer being updated?

I've tried installing it anyway just to see if it worked and all I get is blank module.

TeknoSounds 05-12-2009 08:45 PM

Anyone been able to change the grade system from alpha to numerical at this point? I can see its been asked a few times, but no replies.

srilions 05-12-2009 10:28 PM

Im running 3.8.1 vb version , i have installed downloads ii , but when i add some download file url in
under
Link to a File


when i download it it shows as like this
http://img9.imageshack.us/img9/7609/sris.jpg


i have tried new install 3.8.1 n 3.8.2 versions
but that error not coming,
im unable to solve it , if anybody knows abt that be kindly help me
thank u

theduyet 05-13-2009 03:48 AM

Thanks to RS_Jelle
But i would like to know how to get some titles of the lastest files in forumhome?

musado1961 05-13-2009 02:06 PM

I installed this yesterday, then moved my forum [v.3.8.2] to a new host and now I've lost the "download" image from the download button, even though the .gif is in the images/buttons folder.

I did have to reinstall the plugin after some database issues after the server move.

Btw, it's a very nice addition to my forum, the members love it:D

So, any suggestions on how I can get the image back on the button guys?

TIA

RS_Jelle 05-13-2009 04:39 PM

Quote:

Originally Posted by musado1961 (Post 1810083)
I installed this yesterday, then moved my forum [v.3.8.2] to a new host and now I've lost the "download" image from the download button, even though the .gif is in the images/buttons folder.

I did have to reinstall the plugin after some database issues after the server move.

Btw, it's a very nice addition to my forum, the members love it:D

So, any suggestions on how I can get the image back on the button guys?

TIA

You are probably using another style, which is using a different buttons folder. Just check the image source url :)

musado1961 05-13-2009 05:15 PM

Quote:

Originally Posted by RS_Jelle (Post 1810163)
You are probably using another style, which is using a different buttons folder. Just check the image source url :)

You got it in one!

Thanks, that sorted it:D

paul41598 05-14-2009 12:10 PM

RS,

Can downloads restrict on a file level? Or just a folder level?


All times are GMT. The time now is 11: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.05924 seconds
  • Memory Usage 1,877KB
  • 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
  • (2)bbcode_code_printable
  • (8)bbcode_php_printable
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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