View Full Version : Major Additions - DownloadsII
Pages :
[
1]
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
RS_Jelle
07-01-2006, 10:00 PM
There's a vB4 version of this mod available: https://vborg.vbsupport.ru/showthread.php?t=231427
DownloadsII
DownloadsII is a download database that integrates into vBulletin. It allows you to upload files, add images to them, create categories, link to external files - and more. It is very flexible and has many options.
Because a lot of people keep on asking this:
This mod works with any version of vBulletin 3.7.x and 3.8.x!
It's also coded 100% XHTML 1.0 Transitional valid, just like vBulletin itself.
https://vborg.vbsupport.ru/external/2010/10/30.jpg
Instructions & Support
You can find an installation manual in the zip package (Readme-Install.txt).
We try to answer most questions asked in this thread. Please don't send any pm's if we don't ask for them, as we said we try to give a high level of support in this thread. Don't forget to click the install link (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=120122), so you will receive important update notifications.
Screenshots & Live demo
At the bottom of this post, you can find 6 screenshots of the front-end and back-end (AdminCP part) of the DownloadsII software. You can see the newest version in action at the Minatica.be Downloads (http://www.minatica.be/downloads.php) (Dutch).
Changelog (version 5.1.2)
Jelle
Backported CSRF security fix from the vB 4 release
Added permission check for Update Counters
Fixed PHP warnings when running PHP 5.3
Removed the imagecreatefrombmp() function. It doesn't exist.
Added permission check for rating submissions
You can find all the changelogs of this and older versions here (https://vborg.vbsupport.ru/showpost.php?p=1373454&postcount=1869).
Help!!! I can't upload large files??
This is probably the second most asked question. Have a look at this post (https://vborg.vbsupport.ru/showpost.php?p=1411831&postcount=2136) for the solution.
It doesn't work with GARS?!
If you also use the latest version of GARS, you will get the "Fields marked in RED must be filled in!" error when uploading a file. I provided a fix here (http://www.thevbgeek.com/showpost.php?p=23009&postcount=13) on the GARS forums.
Addons
We are offering 3 addons for this mod at the moment (have a look at the bottom of this post for them). DownloadsII contains 5 hook locations for the vBulletin plugin systems, so you can add extra functionality without file edits.
Do you want to help expanding DownloadsII (if you are a coder)? Check out this post (https://vborg.vbsupport.ru/showpost.php?p=1108777&postcount=695)!
Notes
ecDownloads Buddy is NOT compatible with this version. If you are using the Buddy, you should UNINSTALL it before installing DownloadsII ver 5.x.x. The Buddy's features are now integrated into DownloadsII.
DownloadsII is a direct derivative work from Ron1n (https://vborg.vbsupport.ru/member.php?u=57646)'s ecDownloads.
Addons
DownloadsII ver 5.0 vbAdvanced Add-On (https://vborg.vbsupport.ru/showthread.php?t=110122)
DownloadsII PM moderation notification (https://vborg.vbsupport.ru/showthread.php?t=130536)
DownloadsII Create New Thread Add-On (https://vborg.vbsupport.ru/showthread.php?t=130995)
DownloadsII Simple RSS Feed Add-On (https://vborg.vbsupport.ru/showthread.php?t=204597)
DownloadsII[Add-On] - Upload Rules (https://vborg.vbsupport.ru/showthread.php?t=216434)
CyberRanger
07-02-2006, 02:40 PM
Install
1. Upload the contents of 'upload' to your forum directory
2. Import product-downloads.xml into your products be going to Plugin System -> Manage Products -> Add/Import Product
3. Change the permissions on the directory called 'downloads' (under your forum directory) making it writeable and executable (chmod 777) (Note for Advanced users: once you have installed the product, you also have the option to place the 'downloads' folder anywhere in your web server's path.)
4. Go to your 'Usergroup Manager' and assign usergroups permissions
5. Go to the 'Settings' menu under 'Downloads' in your admincp and fill them out accordingly
6. Create directories in the 'Categories' menu under the 'Downloads' in your admincp
7. If you would like to import files go to the 'Import' menu under 'Downloads' and specify a directory to import
Time: 2-3 Minutes
Importing Files
1) Once you specify a directory it will only prompt you to import files with allowed extensions that are readable
2) The filename for a file will be either the name specified for that individual file, the name specified for files that do not have a name specified, or the filename - the extension
3) The author will be the author specified for that individual file or the author specified for files that do not have an author specified.
4) File description, category, and pinned follow the same rule as author.
5) Only files with valid categories that are checked for import can be imported. If you specify a master category for those files that do not have a category specified, then files without valid categories assigned will be assigned to the master category.
EnIgMa1234
07-02-2006, 02:43 PM
wow first install
thanks
Mickie D
07-02-2006, 02:44 PM
thanks fella ;)
hugh_
07-02-2006, 03:11 PM
Great thanks!
PixelFx
07-02-2006, 04:29 PM
thank you :D
Snake
07-02-2006, 05:21 PM
What is this exactly? I just don't get it...
CyberRanger
07-02-2006, 05:23 PM
Grrrrr .... sorry to do this to those that have downloaded already but another security issue was brought to my attention. The latest file (ver 1.0.1) contains a fix for that. Once again, if you already have the mod installed, simply load downloads.php into your forum folder.
CyberRanger
07-02-2006, 05:26 PM
What is this exactly? I just don't get it...
The mod lets users load files that can be shared with others. Here's an example of the main page: http://www.strategyzoneonline.com/forums/downloads.php? and here's a detail look: http://www.strategyzoneonline.com/forums/downloads.php?do=file&id=1169
DementedMindz
07-02-2006, 06:06 PM
nice job westpointer thank god your back on this... now i just need to look at the changes since i modified mine big time...
DementedMindz
07-02-2006, 06:26 PM
LOL westpointer in looking over the downloads file what is this?
// ######################### REQUIRE BACK-END ############################
require_once('../../../../../Mary%20Layman/My%20Documents/BrentandMary/vbtest/global.php');
require_once('../../../../../Mary%20Layman/My%20Documents/BrentandMary/vbtest/includes/class_downloads.php');
require_once('../../../../../Mary%20Layman/My%20Documents/BrentandMary/vbtest/includes/class_bbcode.php');
require_once('../../../../../Mary%20Layman/My%20Documents/BrentandMary/vbtest/includes/functions_editor.php'); /* included to build editor for description */
require_once('../../../../../Mary%20Layman/My%20Documents/BrentandMary/vbtest/includes/functions_wysiwyg.php'); /* included to build editor for description */
require_once('../../../../../Mary%20Layman/My%20Documents/BrentandMary/vbtest/includes/functions_newpost.php'); /* included to build editor for description */
require_once('../../../../../Mary%20Layman/My%20Documents/BrentandMary/vbtest/includes/functions.php'); /* included to strip bbcode *
CyberRanger
07-02-2006, 06:28 PM
LOL westpointer in looking over the downloads file what is this?
// ######################### REQUIRE BACK-END ############################
require_once('../../../../../Mary%20Layman/My%20Documents/BrentandMary/vbtest/global.php');
require_once('../../../../../Mary%20Layman/My%20Documents/BrentandMary/vbtest/includes/class_downloads.php');
require_once('../../../../../Mary%20Layman/My%20Documents/BrentandMary/vbtest/includes/class_bbcode.php');
require_once('../../../../../Mary%20Layman/My%20Documents/BrentandMary/vbtest/includes/functions_editor.php'); /* included to build editor for description */
require_once('../../../../../Mary%20Layman/My%20Documents/BrentandMary/vbtest/includes/functions_wysiwyg.php'); /* included to build editor for description */
require_once('../../../../../Mary%20Layman/My%20Documents/BrentandMary/vbtest/includes/functions_newpost.php'); /* included to build editor for description */
require_once('../../../../../Mary%20Layman/My%20Documents/BrentandMary/vbtest/includes/functions.php'); /* included to strip bbcode *
SOB!! That's DreamWeaver doing an automatic URL replacement without me catching it. Crap ... fixing that now.
DementedMindz
07-02-2006, 06:30 PM
lmfao i seen that i was using beyond compare so i could change my settings and seen it just wanted to give you a heads up...
CyberRanger
07-02-2006, 06:35 PM
lmfao i seen that i was using beyond compare so i could change my settings and seen it just wanted to give you a heads up...Okay, fixed now. Please download version 1.0.2 if you've already done a download. If you ALREADY have an installation, just upload downloads.php, that's the only file that's changed, including ecDownloads 4.1.x installs.
Mickie D
07-02-2006, 06:38 PM
blank page on new version m8
DementedMindz
07-02-2006, 06:52 PM
look for this in there this is what it should be
// ######################### REQUIRE BACK-END ############################
require_once('./global.php');
require_once('./includes/class_downloads.php');
require_once('./includes/class_bbcode.php');
require_once('./includes/functions_editor.php'); /* included to build editor for description */
require_once('./includes/functions_wysiwyg.php'); /* included to build editor for description */
require_once('./includes/functions_newpost.php'); /* included to build editor for description */
require_once('./includes/functions.php'); /* included to strip bbcode */
Mickie D
07-02-2006, 06:59 PM
ahhh nice one he has ../ instead of ./
easy mistake :)
DementedMindz
07-02-2006, 07:09 PM
westpointer take a look at this file i cleaned alot of the html errors up on it... i have to set up a test site this way i can make this 100% html transitional for you... but this should cover alot of the errors on it also i fixed the error with blank page as posted and your fix for the exploit is in here too... check it over all i did was basiclly changed <br> to <br /> and & to &
Removed the downloads.php file since its not needed
RS_Jelle
07-02-2006, 08:25 PM
westpointer take a look at this file i cleaned alot of the html errors up on it... i have to set up a test site this way i can make this 100% html transitional for you... but this should cover alot of the errors on it also i fixed the error with blank page as posted and your fix for the exploit is in here too... check it over all i did was basiclly changed <br> to <br /> and & to &
I already did this (there also was a post of me with a full list of edits about this in the old ecDownloads thread) ;)
dw.StifflersMum
07-02-2006, 08:41 PM
Great to see this addon back :)
Westpointer, is there a chance that you implement the changing we were talking about right before the old thread was closed?
It was the problem with users who are member in more than one group.
My wish was, that i can define a comma seperated list of usergroups when creating a download-section (instead of a comma seperated list of sections when creating a usergroup)...
Because the actual implementation of the right-system is not able to handle user with more usergroups :(
Steffen
zooki
07-02-2006, 08:42 PM
any screenshots?? please add them so i can decide whether to install or not
thanks
DementedMindz
07-02-2006, 09:18 PM
I already did this (there also was a post of me with a full list of edits about this in the old ecDownloads thread) ;)
yeah i remember you did but its not in there at all so i figured hopefully westpointer will correct these errors... i have mine 100% html transitional so im good to go but i figured it would be nice to see the changes truely made in the code so others have it as well..
DementedMindz
07-02-2006, 09:20 PM
any screenshots?? please add them so i can decide whether to install or not
thanks
you have to look at the top of the thread... there may not be screen shots if that thread is gone but if you search you will see there are plenty of them in previous threads...
NOTE: ecDownloadsII is a direct derivative work from Ron1n's ecDownloads. Right now, it's identical to his last release except the security hole found in ecDownloads has been fixed in this version. IF YOU ALREADY have ecDownloads ver 4.1.x installed, simply upload downloads.php to your forum folder. That will fix the security hole.
Guest210212002
07-02-2006, 10:20 PM
Thank you very much for the hard work, westpointer. I overwrote my existing downloads.php, and now I just get a blank screen at the page. Any insight would be awesome. :)
* Guest210212002 cheers
CyberRanger
07-02-2006, 11:41 PM
ahhh nice one he has ../ instead of ./
easy mistake :)
Lord have mercy! Drinking beer all day with the family away isn't good coding practice. What's in an extra little . anyway???
Okay, ver 1.0.3 should be correct. I really do know what I'm doing ... although you wouldn't know it today!
CyberRanger
07-02-2006, 11:42 PM
Thank you very much for the hard work, westpointer. I overwrote my existing downloads.php, and now I just get a blank screen at the page. Any insight would be awesome. :)
* Chris-777 cheers
see if the downloads.php file contained in 1.0.3 makes your site happy.:banana:
CyberRanger
07-02-2006, 11:44 PM
I already did this (there also was a post of me with a full list of edits about this in the old ecDownloads thread) ;)
Right on! RS_Jelle is going to send me new files that get the html complaint. I'll add the latest changes to those files, bring the changes in ecDownloads Buddy back into the main product, and work more on the category permissions.
Right now, the focus is on getting a secure version out.
CyberRanger
07-02-2006, 11:45 PM
any screenshots?? please add them so i can decide whether to install or not
thanks
I'll post some asap but see it live at http://www.strategyzoneonline.com/forums/downloads.php? and a detail page at http://www.strategyzoneonline.com/forums/downloads.php?do=file&id=1166
Jetrome
07-03-2006, 02:49 AM
absolutely kick ass.
/me installs
major major props, westpointer.
Guest210212002
07-03-2006, 04:05 AM
see if the downloads.php file contained in 1.0.3 makes your site happy.:banana:
Still a blank screen. :(
stonner
07-03-2006, 07:50 AM
Thank you very much! I was waiting for the new version!
I've installed it, but I can't download the uploaded files:
The error message is:
Warnung: copy(): SAFE MODE Restriction in effect. The script whose uid is 1194 is not allowed to access /home/www/web224/html/forum/downloads/ec_Imx owned by uid 30 in /downloads.php (Zeile 504)
Warnung: copy(./downloads//ec_Imx/ecDownloadsII-1[1].0.3.zip): failed to open stream: No such file or directory in /downloads.php (Zeile 504)
Warnung: Cannot modify header information - headers already sent by (output started at /home/www/web224/html/forum/includes/class_core.php:2984) in /downloads.php (Zeile 505)
How can I fix this?
I had this error with the old version 4.1. too.
Thank you very much.
The site is: www.schuelerforum.net/forum/downloads.php
Snakey
07-03-2006, 08:39 AM
Nice to see this mod again
* Snakey clicks install, but Jelle already installed it :p
Thank you very much! I was waiting for the new version!
I've installed it, but I can't download the uploaded files:
The error message is:
How can I fix this?
I had this error with the old version 4.1. too.
Thank you very much.
The site is: www.schuelerforum.net/forum/downloads.php
That's probably because either the directory isn't chmodded to 777 or your php is compiled with safe mode on, ask your host if they want to change it. (they probably wont, because it's more secure in safe mode)
CyberRanger
07-03-2006, 09:32 AM
Still a blank screen. :(
Is this a new install or an upgrade? Can you create categories and set usergroup permissions in admincp?
Either way, the first step is to delete downloads.php, includes/class_downloads.php, and the ecdownloads xml files in includes/xml. Download the product from here again and recopy the files to your server.
If you still can't get it to work, I'll need you to PM me more info about your site so I can look at it. Specifically, the site url, a vb admin login and password, and a login and password that will let me do ftp to the site.
stonner
07-03-2006, 09:34 AM
Nice to see this mod again
* Snakey clicking install, but Jelle already installed it :p
That's probably because either the directory issn't chmodded to 777 or your php is compiled with safe mode on, ask your host if they want to change it. (they probably wont, because it's more secure in safe mode)
the directory is already on 777.
how can I check if my php is compiled with safe mode on?
thank you.
CyberRanger
07-03-2006, 09:45 AM
the directory is already on 777.
how can I check if my php is compiled with safe mode on?
thank you.admincp->Maintenance->View PHP Info. In the table "Configuration PHP Core" look for the line safe_mode.
stonner
07-03-2006, 10:03 AM
there it shows: safe_mode On (local value) Off (master value).
what does that mean now? can't I use ecDownloads? :(
Snakey
07-03-2006, 10:45 AM
there it shows: safe_mode On (local value) Off (master value).
what does that mean now? can't I use ecDownloads? :(
You could ask your host to change httpd.conf
(They'll need to remove the line admin_php_flag safe_mode on)
CyberRanger
07-03-2006, 11:50 AM
there it shows: safe_mode On (local value) Off (master value).
what does that mean now? can't I use ecDownloads? :(
Try using the downloads.php file that I've attached here. It may (or may not!) help. If you have ecDownloads Buddy installed, you will need to disable it to properly test this file.
stonner
07-03-2006, 12:56 PM
Try using the downloads.php file that I've attached here. It may (or may not!) help. If you have ecDownloads Buddy installed, you will need to disable it to properly test this file.
i tried it, but still doesn't work.
Warnung: copy(): SAFE MODE Restriction in effect. The script whose uid is 1194 is not allowed to access /home/www/web224/html/forum/downloads/ec_y23 owned by uid 30 in /downloads.php (Zeile 505)
Warnung: copy(./downloads//ec_y23/ecDownloadsII-1[1].0.3.zip): failed to open stream: No such file or directory in /downloads.php (Zeile 505)
Warnung: Cannot modify header information - headers already sent by (output started at /home/www/web224/html/forum/includes/class_core.php:2984) in /downloads.php (Zeile 506)
is there another way?
thank you for your help.
aramik
07-03-2006, 01:28 PM
Ahhh, with EC you can't link to external files? :(
UZFRED
07-03-2006, 01:36 PM
I have been waiting for the other Downloads mod to come back.
What if I download this one, and the other download mod comes back with fixes and stuff?
CyberRanger
07-03-2006, 01:44 PM
Ahhh, with EC you can't link to external files? :(
Yes, you can link to external files.;)
aramik
07-03-2006, 02:02 PM
How? Just paste the external link into the import form?
CyberRanger
07-03-2006, 02:32 PM
How? Just paste the external link into the import form?
From the page downloads.php?do=add&cat=, you fill in the requested information about the file then place the url to the file in the box that reads "Link to a File". You would leave "Upload a File" blank.
https://vborg.vbsupport.ru/
CyberRanger
07-03-2006, 02:36 PM
I have been waiting for the other Downloads mod to come back.
What if I download this one, and the other download mod comes back with fixes and stuff?
This mod will continue to use the same database and product info as Ron1n's original mod. He's had about 4 weeks to correct a coding problem that took 5 minutes to fix. I've repeatedly tried to contact him without success. My guess is that real life has gotten the better of him for awhile. If he reappears and updates his mod, you'll have the choice which one to use!
Sometime down the road, I may make this mod use different tables and install as a separate mod but for now the focus is on getting a secure version to ecDownload users.
CyberRanger
07-03-2006, 02:45 PM
i tried it, but still doesn't work.
is there another way?
thank you for your help.Add see if you host will turn safe mode off. Otherwise, I can think of one more option for you put it would be custom and I can't do it until later in the week.
CyberRanger
07-03-2006, 05:53 PM
there it shows: safe_mode On (local value) Off (master value).
what does that mean now? can't I use ecDownloads? :(
Give this a try:
Change the permission on the downloads folder to 2777. (From your forums directory execute the command: chmod 2777 downloads)
Upload the attached downloads.php file.
NOTE: for this to work safe_mode_gid must be set to yes (on).
Guest210212002
07-03-2006, 06:58 PM
(Stuff)
Got it, I didn't overwrite the .xml file, just downloads.php. It blew away my top xx downloads settings, but everything else is working now.
Thanks very much once again!
CyberRanger
07-03-2006, 07:02 PM
Got it, I didn't overwrite the .xml file, just downloads.php. It blew away my top xx downloads settings, but everything else is working now.
Thanks very much once again!Cool! If you click on "Manage Files", that should rebuild your counters.
Guest210212002
07-03-2006, 07:18 PM
You rock sir. :D That worked.
Westpointer would u please tell me how to upgrade my downloads.php to this version manually ? cause i had modified my downloads.php
CyberRanger
07-03-2006, 08:52 PM
Westpointer would u please tell me how to upgrade my downloads.php to this version manually ? cause i had modified my downloads.php
LOL ... I can't right now because my laptop crashed and I don't currently have access to the old version of downloads.php. Just upload the new version as downloads-new.php or something like that and do a diff on them.
trackpads
07-03-2006, 10:24 PM
WP!! You rock man! Even though I am an OCS grad, not a pointer :) :)
aramik
07-03-2006, 10:59 PM
From the page downloads.php?do=add&cat=, you fill in the requested information about the file then place the url to the file in the box that reads "Link to a File". You would leave "Upload a File" blank.
http://www.brentandmary.net/images/ecdl/link.gif
Ah I hadn't noticed that. Thanks for your time & effort, greatly appreciated.
DementedMindz
07-04-2006, 12:32 AM
Westpointer would u please tell me how to upgrade my downloads.php to this version manually ? cause i had modified my downloads.php
if you post your downloads.php file in about a hour or so as soon as i finish my stuff ill do beyond compare and do the changes for you... or else grab the free 30 day trial of beyond compare and look at both files
CyberRanger
07-04-2006, 12:52 AM
if you post your downloads.php file in about a hour or so as soon as i finish my stuff ill do beyond compare and do the changes for you... or else grab the free 30 day trial of beyond compare and look at both files
If you want to be sure to keep your changes, getting something like beyond compare is a good idea. Once we give everyone a chance to get this secure version installed, the changes will be big and I won't post this kind of info.
For now, here they are from Ron1n's last version. I realized I didn't really need his file.
FIND:
if ($file['link'] == 0)
BELOW that ADD:
// clean out temp folders
if ($handle1 = opendir($dl->url))
{
while (false !== ($filedir1 = readdir($handle1)))
{
if (is_dir($dl->url.$filedir1) && strpos($filedir1, "ec_") === 0)
{
if ($handle2 = opendir($dl->url.$filedir1))
{
while (false !== ($filedir2 = readdir($handle2)))
{
if ($filedir2 != "." && $filedir2 != "..")
{
unlink($dl->url.$filedir1."/".$filedir2);
}
}
}
rmdir($dl->url.$filedir1);
closedir($handle2);
}
}
closedir($handle1);
}
FIND:
if ($_POST['submit'] != '')
{
// EC_DEMO_MODE
if ($dl->ec_demo_mode())
{
eval(standard_error(fetch_error('ec_demo_mode')));
}
// EC_DEMO_MODE
BELOW that ADD:
$_POST['dname'] = strip_tags($_POST['dname']);
$_POST['author'] = strip_tags($_POST['author']);
rjordan
07-04-2006, 01:51 AM
Westpointer, are you going to correct the badly named database fields I posted in the other thread?
CyberRanger
07-04-2006, 01:58 AM
Westpointer, are you going to correct the badly named database fields I posted in the other thread?
Sorry but I don't remember the post ... and can't review it anymore. :cross-eyed: Which one's are you talking about?
rjordan
07-04-2006, 02:33 AM
I think there were two. Shame that vb.org can't let us see the dag-gone posts without the mod being downloadable. I will dig through it again and will have to get back to you. Might take a while as I have to sift through a desk full of papers in the hopes my wife did not throw it away!
gothicuser
07-04-2006, 04:06 AM
Really pleased to see this active and prospering. Great job Westpointer, thankyou :D
TheProphet
07-04-2006, 02:34 PM
Great hack but when i add a *.avi or mpeg file, ill get a new screen full off weird signs and it won't play. Any idea, i added the extensions true the admincp.
Example when i click a movie file with different extensions.
RIFF?˜ AVI LIST?hdrlavih8@œf€??LISTtstrlstrh8vidscvidfDL strf((??cvidAPrmAPARf?JUNQ$LISTF? movi00dc""??!??? jjut?jjlk?qplm?nmmk?kjpo?•”““?‰‰‡†?“”››? –•––?›š››??????kkjk?hhgg?ffdc?ijde?ccfe?efd e?X\X\?feff?ccgh?XXZY?^_Z[?[\WX?ZZ[Z?^_[\?]fXW?ZZWW?UVWY?V_VS??WVWW ?XWWW?POSR ?llhh?ggjj?jihh?hhon?mlll?Y\Y[?\[\\?YYYY?WWUU?UWUW?XXUV?VWVW?E5H:???????????? ????UUWV???????????????????????????]\\[?XXWX?YYWX?XXVU?NNLM?˜—™™?PPRR?VVXW?XYVW?VVU U?QQOP?QPON?.-/-?kkmm?}g‚g?SRVU?”“•”?™š––?––––???????ADE?U SWV?TVUW?TTSS?NMPO?RQZU ?HHHH?kkkl?GGGG?PQPQ??UTTS?HHKJ?6789?PPPO??[[Z[?fgdd?SSRR??RVWX?WXQR ?MLQO?RRSS??ab\] ?RQQQ??MMNN???Ÿ???[\TU?RSNO ?dced?ŸŸŸŸ?UVRS??OOMN??ccbc??????MMLL?bdbd??? ˜?a_aa?SSSS ?LLLL??ONRP??ggji?NNNN ?‘’Ž??+????››šœ?SSSS ??????b•K?XWYX??????QPSR??Y[[Z?“”‘“?HIII??YZZY??????NONO??ccaa?]]^^?TTUU??"##???????????‘?“’?”“Š‹?Œ‹?Ž?ILII??????????? QQNN??››???‹‰?›?er]]?Ž?Š‹???•–??????fejh?aade?a`fe?_]fe?\\cb?][`_?ZZ`_?ZY^^?ZZ\[?XX]\?WW\Y?YXTU?-E1NYW]\?WVYZ?USZY?_d^b?__bb?YXa`?WXSS??????s„XY? ihge?beXW?STQR?PSNQ?,(???????????dflj?HE\T? PMqf?eehh?ddkg?ššœ›?ijik?dbji?JPFF???ˆ‰?lr Z\??????]_VZ ?????????hekj?gfmk?gehe?jjfg?GVFX?•›t|?‹œˆœ ?SQWU???‹???IINM?ˆ…”“??~?Ž?|v•”??????{yŒŒ? vt‹‰?ro‡ƒ?mk~z?eets?ggzx?MMd^???????غ??hr IM?•“????????????????????????????xRN<???????hfqo?E‰([?[`GG?^\ge?SXII?‘‡???4hus??????‰‘ch???—??????? ???????œ???¶???d]?…??Ÿ???????????š??œ™»????????wŠ???dp?z Z]?UP„q?BO.5??ƒŠ?ob˾?‰l????????^W???"??????????0??????”???? ?? ??"³"?!?!?!?–? ?! C??CCC!!?—˜™™š ›œ???˜˜šX„&„›&'??%6??XXŸ??Ÿ ?zzzŸžXŸ€X????€€786€866866'9?7?(0)0*?0<**>=?X?=>E<9>…=>?E„%&?'&==%&'X''Ÿ'z6????..m?..??//‡ /./....../..1-.-?uuŠ???????????vu?u???./??/.?܍??????큁?I??II??I????? ?? ?? ?””??????”‹?”??–????Ҷ?????e?e??¬?!! ? ?"" " C?#?e—˜?„e„„—?&„„'Xœ›7+??79???????Ǩ+??+?m???????‡-??1.mm???شŒ??????????u‡v?.. .///11 .. ?. ????? 2 ./ ?..-?--??-??܍??퍁???????ې??????‰??““?‘“t‘?t‹‰‰‹?~‰??tt? ?t‹??t‹?‹????з???ee?ll??ll–e—–!l?e!?——Ķ—— ? ˜e —n????$Q$$QrQ$??DD??$Q}}QQ++????????]???????++mm??u???‡‡??‡ m?1.??. ‡- / /. .2 ..?? ???? 12// .1??2 ?/1??12??2 ????????????????????‘???‹??????“??‹??? ??????””#?????!??? ??e#?$$??$$?$$$$$$?$$?$$rQQrYQ?Yƒ?[ƒc?P]]PP]˻??]?+[?++?????}??}+??+?????m???????- ?? 2m? ??? ?-.1 ..? .. 21 //2222222212? 22 11 ?22?? ?ߍ‡??‡-??-??????큁???????ې??ܐ??? ??? ?? ‰‹‹??‹‹????__d\ƒƒ\cYY?_??ƒƒ$$YY$$Y?$r??ƒƒ_o OskO][[[ƒ[_rQY?QQQ$??QQ??QQ??QQ}}??+??????}??}}??+?m???????? ‡?? m? ??2 ‡‡22- 1 22.2???? ?22 ?2??܍-‡?- .11122//2•/133/1??12?? ???????????????????퐐??????kk??kd??d\?]c?]k__ddƒ_\\_?\\\\oo?o?_Y?ƒrr??rr?$Y?$r?Q$r????Q Qrr$QrQQQQQr?Qr??Qr??QQ??QQ}+Q?+?????????}}?m+?m?? ??????-?m 2m?22?? ?‡‡ ‡‡ -?22 2//22//114421111/1////141?? ‡‡??--?-?? 2?? ?????IIIIIbIIb?II??I{??bb??b?]k??kk??kkִkdRkd\kkc?kd_ƒ\cƒY?_??_ƒ?$YY$$??$$??$r? ?rr$$YYrrYrrrrQrrrQYYQQYrQQQQ??QQ??QQ??Qr}}??+???? ??}??????}+??+?mm??m????‡?m- m? 2?? ‡- .-?.2- 11 2? -‡-?- ‡-.2. vf??f{?Š{{vf{{f{{{{f{{{{{bffbvff??{b??bb??v??]??kk??dd??d\]]c?]k????__ddƒƒ\\ƒYc?ƒY?_YY__??ƒƒ$$Y?$r??rr??rQ?$rQ$$Q Q$QQQrrQQrrQQrrQ?QQ??QQ??Qr?}r?}}??+????ꨨ??}}?m+ ?m????????‡??--mm-?mm‡-?? ‡- ??????U???]]??]???Œ??v??bb??{f?v{fbbfff{fff{ff{f{bf?bbffv?ff??fv? ?vv?O??]k??kk??dd?]\\]kc?kd__d\_ƒ\cƒƒ?_ƒ?_ƒ??_ƒ$$ƒ?$$Y??rY?$r?$$r$$????r r$$Y?rrYYrYQQYYQQQQQQQQ??QQ??QQ??Q?}+?????????}?Š} +ŠŠ???m??????wwoododw]]oo??oo?koo??]???U?ǻ?vb??bf??ff?vffbbffffffffff{f????fbffvvf{v? {{DDD?Q??b????????kk??ddִ\\]kcckd__d\_ƒ\cƒƒc?YY__??ƒƒ??Yƒ??YYr?ƒƒ?r??rQ?$rr$$Q Q$$Q$$$$QrQQQQ$QQ$$??QQ娺??????}??++??????wwwwww owooswwwdwwwwwwwwowdoww]oo?UoU?]??]???UU??Œ?vb??bf??{f?v{GvD?????B?††yJ?bv??vv??vH?f? ?Hv??vv??vH?]??kk??kd??d\??\cŒk????c?dd?_d\__\cƒƒ??ƒY__??ƒY$$YY $$Y?$$?$rr?$rr$$YY$rYYr?YQ?ƒQQY?QQQQwwsdOo\ooowww wwwwwwwwwwwwwwssowddodsoosoo]]ooUU˻]???????,??B?,?P?,†?B?ư?,???,?††??yf?;;;;;?;GH;;HH FFvvFHH?HH??Hv??HH??H?]Œ??Œk??ddִd\ŒŒc?kk__ddƒƒ\\ƒYc?YY__YYƒƒYYƒƒYYƒƒY?ƒ ƒ$rY?$Q??????oo??O\sdooowowssww\wwwwwowww wwwwwwwwooosowswwwso]s?VB??BB?B?BB†††B††VBVBBBB??B?Hv??bv??;H?H;;vb;;vv ;Fv;GG;;GH;;????HH;;HH;;H?;H??HH??Hv??H?????Œk??kk ??dd?Œ\\Œkcckk?_kd_ƒd\ƒƒc?YY_ƒŽ?ˆˆ??????j??o??oo?? ?Osoosdo\wsdwdwww\woooowwwwwww????]wo??,†?B?,B†,VBBBB?BBBBVB?JJ?ŒPU]]U?]]??????PP????vv??bv??v;?v;;bbGGHH??HG?;??FH??HH?;HH G;H?;H??HH??HH????????UŒ??RkִŒk?PkdRŒ????jj??ˆˆ?j ˆˆjj??ˆˆ??ˆˆ??ˆ????Ž?O??do??s?Osdosdod\s\ss ddw\\wo,B,VBBVBBB††BV††B†††?†††?ŒVRkkRRddRk\d]]o]]?dUŒss??k]??UU??????RŒ????vv??vv??vGŠŠGGŠŠGFŠŠ~FŠŠFFFFFFFFŠŠ FF??‰F??FF??HH??HH??H???xˆ?ܲˆ????5???jj‡?ˆˆ??ˆˆjj ˆ?jˆ?jˆˆ??ˆ?????????oo??o??sOdskoo????kkURVRJVB VVBBVB††BB††B†††††BJBJRRRRRRRRRRURRRUUkdkksdssdss ]sd]kssUUssUUk]Œ?kU??UU??PP?Š??????ŠŠ??ŠH?ŠHFŠH??HH??HG?;G?;G;;;; ;G???????5ˆ??xx?5??ˆˆŽ?ˆx??x?‡?xױ???jj?‡jˆ?5ˆx?j ˆ?ˆj??ˆˆŽ?ˆˆ??????j?O]??kR??JV?JVV,VVBVVBBVVBBVVVJVJU]kd]?oo]]kkOssOdssoss????sssssssssssssksskss?Uss UUskUPkkŒ?UU??UR??RP????ŠH??HH??HHŠŠGHvH??(&?’?9??>?5??ˆx??xx5ˆˆ?xˆˆ?xx??x??ز????ϲj??jˆ??ˆˆ5?ˆˆjˆ? ?????ˆˆ??ˆˆ???????Ž?,??VV??VV?JJRJŒkkdsk]dd]ssdddO\?OododOssdssssssssssssssss ssskkssskssUUssUUkkŒŒUUŒ?UU??UU??UŒ????SZ^`g(S`*?` g??>>>=>?+’?%?????5ˆ??xx??xx5ˆx?ˆx?ˆxx??xx?ˆ???ϱ???j j??ˆˆ??ˆˆjjˆ?jˆ?jˆˆ??ˆ??????־?Od??oo??oOds\osdo ddsw\ss????ssOd\O\ddOOdoosssdsksss ssssssskkkskksskUsskkkkUURk?hapS^p:qqh?SSS‚ZgSS>>Zg((gZgZ`Z…0ZM?M???(0???5ˆ??xx??xx5xxxˆx??????xx ??xx????Žϱ???jj??ˆˆ??ˆˆjjxˆjˆ??ˆˆŽ?ˆˆ??????j?Od ??do??o?ddossoosdsd\ss\ssddwwswwssw ssssssssssssksksssskkkk????a:``NN……Nq<|‚S^Z^^SZ|^Zg^WZZW^|S^Z^W?KZZ……g…gZZZg(ZM?ZT???T? ???5??ˆˆ??xx?5xxxˆ??xxŽ?xx????Žϱ???jj??jˆ??ˆˆj jˆˆjˆ??ˆˆ??ˆˆ???????????Ž?O??dd??o?Odosswssk dskwwsswwkswddOswwdOssss`hap?@ph@?WNWWp aWNhhhW@ZWN^?SSEZ`W^^SS|W??‚pSS‚‚^WZ|ZM|^SWZ^SM^?? ???gg?L7?M??M>???7??’?5ˆ??xx??xx5x??ˆxŽ?xx??x???ˆ??5???j??jj?5ˆˆ ?jˆˆjˆ??ˆˆ?jˆˆ??ˆ????j?O??dd??o??sOdskookkssss sdkkdwksokdoodw????qq?Sqa?ShWaaaaaSqaWpqhWW??ha`` hW??aq??aSN:@NpZ|S?S^ZZ||^^|W??ZM?MZZMZ|NWMh‚?>ZgX(gX&g(????X??’?5??xx??xx?xˆ?ˆx??xx??x??ز????????? ?j??jˆ??ˆˆ?jˆˆjjx?xx??x??者??????Ž?Od??oo??Odss doskd]kss‚SppSSppS‚ppSSp?SqS?aaSW‚SWpW@h@h@N@?hAqW&WM?’??„???5x??xx??xx55x?xxx?xx??x??ز??????j?? jˆ??ˆˆ??xxjjˆ?ˆˆ??ˆˆŽ?ˆˆ??????j?Od??do??????pppapp ppaapppppppp:p@…h`E…(g`@ZAZZ@@AgA:MM?@ ?>gZ>gg(>&?>?N&?:h??Z^WW|Ng^NNSWM>MM???>??(?M?M??>MMMM>NW?M???9????????5??xˆ??xx??x?5ˆ?Žˆx??xˆ?x??? ?5???jˆ??jˆ??ˆˆjjˆˆjˆ??ˆˆ??xˆaaqapaappaap‚p‚pp‚q apappap:hhhp:h:hqhNSS<??&&?Z=L||??|MK?MM|MMZMM||||||SZ|?M9|NKKNM==M=K9%??&>%’????? ?5x??xx??xx5x??xx??xx????Ž?????jj??jˆ??????^^g…` q……hW…?S‚qSppap?‚appp:@ppNppappp:?p‚g^‚W?MZSM?? gZW^^WZ|^Z|Z?NSK|ZZW?…?gg?>?…((…^(%Zg&„%„?E››@M??KM0=|WK|W@N:M>S?MM=???????M??M??K??M…?MMZ??Z?LL?99’???in ??’?5ˆ??xx?5xxˆx??xxŽ?ˆx??ˆ?`Z…S^…?`……``…^Z@^^^^qa ^qapqappaqpaqaaaapphaphppWhppppp??ppZ^h‚????^^?S ZZ|SS‚‚??^a?ggM|g^^^^^SZ…>((LK„>&&X>?K|N&œ|M?M?=M?LMMLL??>??9??KM?M|ZM|MMMM?>MM>>M??>??=9????’55??ˆˆ??xx5x????…^Z?qa`q``q``q```… ``……Z…(L…Z…?g>^`=0qq…?aa^^aaqpNpppppp‚pphhaWWhhW‚haS‚ap‚‚‚SZM SMZZ@|SSWhZ^?Zg?|…KL???K??M??9M??>&??K????MM%?MS?|||^S||MM|WK|‚W|ZM?|N?M|@L?Zg=99 =??M|KMZ@?M?nn’i??i™ZSZ^``qa``qa```S^`^`q`^`` ``^^ZSZ?
Mudvayne
07-04-2006, 03:39 PM
:D.. Thnx WestPointer.. I really shud admit tht u hav done very good job n did lots efforts for eCDownloads :).. Yo bro..
cOuNtErFiET
07-05-2006, 01:54 AM
Give this a try:
Change the permission on the downloads folder to 2777. (From your forums directory execute the command: chmod 2777 downloads)
Upload the attached downloads.php file.
NOTE: for this to work safe_mode_gid must be set to yes (on).
so this up ^ ^ there fixes this problem down below?
Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32078 is not allowed to access /home/******/public_html/forums/downloads/ec_e31 owned by uid 99 in /downloads.php on line 504
Warning: copy(./downloads//ec_e31/********): failed to open stream: No such file or directory in /downloads.php on line 504
Warning: Cannot modify header information - headers already sent by (output started at /home/******/public_html/forums/includes/class_core.php:2984) in /downloads.php on line 505
CyberRanger
07-05-2006, 01:59 AM
so this up ^ ^ there fixes this problem down below?
Warning: copy(): SAFE MODE Restriction in effect. The script whose uid is 32078 is not allowed to access /home/******/public_html/forums/downloads/ec_e31 owned by uid 99 in /downloads.php on line 504
Warning: copy(./downloads//ec_e31/********): failed to open stream: No such file or directory in /downloads.php on line 504
Warning: Cannot modify header information - headers already sent by (output started at /home/******/public_html/forums/includes/class_core.php:2984) in /downloads.php on line 505
As long as safe_mode_gid is on, I think so. But, I don't have a server with safe mode on so I can't test it. Hoping someone who does will test it out. Make sure you use the downloads.php file that was attached to that original post.
cOuNtErFiET
07-05-2006, 02:07 AM
i chmoded downloads folder to 2777 and uploaded the downloads.php file that was attached to that post and still get that error so i take it this is only for ppl whos servers are not in SAFE MODE, because my host will not turn it off for security reasons?
cOuNtErFiET
07-05-2006, 02:10 AM
only the 3.3 version will work i have noticed not the 4.1.x versions of his stuff
and the 3.3 version does not offer the stuff that 4.1.x does that i would like this sucks...but ty for your help i have to revert my dnlds back to 3.3 of ronins is there security problems for that version as well?
CyberRanger
07-05-2006, 02:10 AM
i chmoded downloads folder to 2777 and uploaded the downloads.php file that was attached to that post and still get that error so i take it this is only for ppl whos servers are not in SAFE MODE, because my host will not turn it off for security reasons?
No, it is for people who's SAFE MODE is ON. What is your value for safe_mode_gid?
CyberRanger
07-05-2006, 02:13 AM
only the 3.3 version will work i have noticed not the 4.1.x versions of his stuff
and the 3.3 version does not offer the stuff that 4.1.x does that i would like this sucks...but ty for your help i have to revert my dnlds back to 3.3 of ronins is there security problems for that version as well?
3.3 would have the same security hole. I'll post a different downloads.php file tomorrow for ppl with safe_mode on that will work with this version.
cOuNtErFiET
07-05-2006, 02:15 AM
safe_mode On On
safe_mode_exec_dir no value no value
safe_mode_gid Off
well shit now what? i notice its off but safe mode is on?
cOuNtErFiET
07-05-2006, 02:16 AM
i would REALLY REALLY REALLY appreciate that as i like the ability to hide some cats from certain members and overall look of the 4.1.x versions
rjordan
07-05-2006, 03:09 AM
I hope I am remembering correctly, Westpointer...
MySQL field names that need to be addressed:
desc in dl_cats should be renamed as it is a MySQL keyword.
desc in dl_files should be renamed as it is a MySQL keyword.
The issue is when you do a MySQL export using MySQLDump, it will export fine, but importing will fail.
hi westpointer..
thnx man...
now can we hope to have the intigration with vbux please?
Some Request:
1.Comment system similar to 'Quick Reply'.
2.Can't Download without Leave a coment.
3.Enable/Disbale any Sub or Sub-Sub catagory.For saving Band width.
4.Ban any particular user/users from download section.
5.Report Broken Link.(By kliking the button a pre-defined report automatically post in pre-defined forum/thread)
6.Replace "Download" with an Image.
Thankx in Advance.
TheProphet
07-05-2006, 10:17 AM
Anyone knows how to download *.avi, *.mpeg or *.wmv files in this hack?
CyberRanger
07-05-2006, 02:43 PM
Anyone knows how to download *.avi, *.mpeg or *.wmv files in this hack?
They download fine on my test site. Can you send me the URL to your site? Also, what is the OS? Seems in the past I remember Windows servers not downloading those files correctly.
Anyone knows how to download *.avi, *.mpeg or *.wmv files in this hack?
its possible..any kind of extension can be download using this one..u just need to add the extension from ur acp
TheProphet
07-06-2006, 01:21 PM
I have added some extensions like avi mpeg wmv but it still display some weird signs and hangs loading the movie file.
maroceve
07-06-2006, 01:26 PM
does this support podcasting ?
CyberRanger
07-06-2006, 01:45 PM
I have added some extensions like avi mpeg wmv but it still display some weird signs and hangs loading the movie file.I'm not sure why this happens on some servers but not on most. For now, I'd suggest you zip them so that users can upload and download them.
What is your server OS?
CyberRanger
07-06-2006, 01:48 PM
does this support podcasting ?
LOL ... I'm a dinosaur who has heard of podcasting but never messed with it. If you can point me to a tutorial about what it means to "support podcasting", I'll let you know!
Great work, and a big Thank You for your time. :banana:
CyberRanger
07-06-2006, 06:33 PM
I have added some extensions like avi mpeg wmv but it still display some weird signs and hangs loading the movie file.
I'd also suggest you try adding ecDownloads Buddy (https://vborg.vbsupport.ru/showthread.php?t=111293). It totally changes how the files are downloaded. That may help.
cOuNtErFiET
07-07-2006, 12:53 AM
any update on the SAFE MODE dnlds.php cause if not i have to revert to 3.3 so i can offer dnlds to my members right now i get the error and nothing is available.
mmackinnon
07-08-2006, 02:09 AM
Hey there
Hi again west!
I installed this and i can go directly to the downloads page via putting in http://websitelink/downloads.php
However i get an error at the top of the screen saying
There is no index.html or index.php in the download directory!
Also, i cannot see a link anywhere within the main page for the downloads though i have set the permissions correctly
help ;)
DementedMindz
07-08-2006, 02:23 AM
There is no index.html or index.php in the download directory!
it means you need to add that file to the downloads folder in your ftp
westpointer you should make a thing yin your first post about that this way you dont get so many of them questions again
mmackinnon
07-08-2006, 02:28 AM
ahhh OK
So is there no link to this on the Navbar or antyhing? Do i have to tell users to manually place the link with downloads.php?
DementedMindz
07-08-2006, 02:37 AM
ahhh OK
So is there no link to this on the Navbar or antyhing? Do i have to tell users to manually place the link with downloads.php?
if you have a navbar you could put it there there is a few ways to do it depending on your theme..
another thing why does ronin have to try to come back and ruin things again... is he mad westpointer gave better support? i guess dan rather and abc or cbs or what ever it maybe next week was a lie huh? paul thanks for opening it back up too
Robbed
07-08-2006, 03:22 AM
Hey wespointer are you using a different download.php here?
http://www.strategyzoneonline.com/forums/downloads.php?
That's how mine used to look but now all the side menus are at the top and show up on every page again.
DementedMindz
07-08-2006, 03:33 AM
you can change that around pretty easy... look for downloads_panel_top and change it to downloads_panel_side also change downloads_wrapper_top to downloads_wrapper_side in downloads.php... i think that was all westpointer will have to confirm it... just change what you want to your look and feel..
Robbed
07-08-2006, 04:06 AM
I used Beyond compare to see the changes, I removed all the downloads_panel_side lines and added downloads_wrapper_no_side line but when i load the page it's just blank with this at the bottom
Uncached templates: downloads_wrapper_no_side
Looks like this phrase is missing.
<phrase name="ecdownloads_delete"><![CDATA[Delete]]></phrase>
JaneWindall
07-08-2006, 05:54 AM
I hope I am remembering correctly, Westpointer...
MySQL field names that need to be addressed:
desc in dl_cats should be renamed as it is a MySQL keyword.
desc in dl_files should be renamed as it is a MySQL keyword.
The issue is when you do a MySQL export using MySQLDump, it will export fine, but importing will fail.
YES!! this rjordan you are correct! i think very important this should change.
i had a heck of a time restoring my last vb after it crashed because of this. I eventually figured it out :)
please change those for future versions thank you
also thank ghod someone finally stepped up to support this!! terrible that ipb has such better file downloads than vbulletin when vb is such a better forum. shame. anyway thank you!
cOuNtErFiET
07-08-2006, 06:32 AM
ok willing to pay for this mod to work in SAFE MODE i guess
CyberRanger
07-08-2006, 10:26 AM
ok willing to pay for this mod to work in SAFE MODE i guess
No need to pay. Real life and questions about the licensing for this mod slowed me down. I'll get you something that works for safe mode , address the field naming, and move the "tops" to the side on Monday.
Robbed
07-08-2006, 12:58 PM
I think it's working now, it uses downloads_wrapper_none in this version instead of downloads_wrapper_no_side.
I got rid of all the side panels now.
mmackinnon
07-08-2006, 02:49 PM
Hey OK
So how do i link it to the main page so users can see it somehow? Is it best placed in the navbar and if so how is that done?
thanks!
Robbed
07-08-2006, 05:22 PM
I just added this to my navbar template
<td class="vbmenu_control"><a href="downloads.php">Downloads</a></td>
mmackinnon
07-08-2006, 05:31 PM
Highly appreciated!
Im quite new so i dont know what i can and cannot place into files yet. thanks again!
this site is awesome
Robbed
07-08-2006, 10:02 PM
Ok, looks I got everything back to how it was before.
Wespointer can you help me with one issue?
All my old downloads will show this The author is uknown.
Unknown (uploaded by Broken->Arrow)
When I choose edit it shows the author.
Let me know, thanks.
mmackinnon
07-09-2006, 06:01 PM
Hey
Ive been playing with the pin function and i have no idea exactly what it does?
Robbed
07-09-2006, 06:30 PM
It's like a sticky, it pins it to the top of the list.
mmackinnon
07-09-2006, 06:33 PM
Ahh thanks bro
I only was testing with onje file so i didnt see the difference :P Lol
mmackinnon
07-09-2006, 07:22 PM
I do have a minor suggestion
I have been getting a large number of files from a few users to add to my site as resource material and i have been uplaoding them to the server then importing them, which seems the easiest thing to do.
However, i have to go through every individual file and assign uploader so the right people get credit
Could there be an option that allows to mass assign uploaders for files?
dw.StifflersMum
07-13-2006, 08:07 AM
hi westpointer
can you please tell me if you will change the rights management to "comma seperated list of usergroups on every category"? and if yes, can you give me a timeframe please? :)
if you dont want to change this, i'll try to go for it :)
cOuNtErFiET
07-13-2006, 10:56 AM
westpointer you killing me with this safe mode problem, lol :(
should i just revert to 3.3 with a security issue cause i dont think you have the time to fix this up for me? I know i seem like a pest, but i really really need this or i have to revert to a version that worked for me? just lmk its ok 3.3 was ok just wanted the added features of 4.1.x versions
CyberRanger
07-13-2006, 06:45 PM
westpointer you killing me with this safe mode problem, lol :(
Okay, test this downloads.php file for me. BEFORE you try to test it, create a directory called ec_tmp under the downloads directory. Be sure to set the permissions to 777.
BTW - this will NOT work if you have "Downloads Buddy" installed. If you have it installed, please disable it while testing this file.
CyberRanger
07-13-2006, 07:07 PM
hi westpointer
can you please tell me if you will change the rights management to "comma seperated list of usergroups on every category"? and if yes, can you give me a timeframe please? :)
if you dont want to change this, i'll try to go for it :)My plan is to totally revamp the by category permissions. It will be something like the included image. Time frame ... for sure not until a couple weeks ... at the earliest.
http://www.brentandmary.net/images/ecdownloads/access.gif
dw.StifflersMum
07-13-2006, 07:29 PM
thanks a lot westpointer, im looking forward to the right changes :)
Robbed
07-13-2006, 08:12 PM
Ok, looks I got everything back to how it was before.
Wespointer can you help me with one issue?
All my old downloads will show this The author is uknown.
Unknown (uploaded by Broken->Arrow)
When I choose edit it shows the author.
Let me know, thanks.
Can you help me out with this, it's probably something simple.
cOuNtErFiET
07-13-2006, 11:26 PM
Okay, test this downloads.php file for me. BEFORE you try to test it, create a directory called ec_tmp under the downloads directory. Be sure to set the permissions to 777.
Yup it works :banana: is it all secure and stuff or was this just a test?
CyberRanger
07-14-2006, 10:56 AM
Yup it works :banana: is it all secure and stuff or was this just a test?
Yes, it's the real deal. I need to make a few more tweaks before adding it to the general release but it is good to go for your situation.
CyberRanger
07-14-2006, 11:11 AM
Ok, looks I got everything back to how it was before.
Wespointer can you help me with one issue?
All my old downloads will show this The author is uknown.
Unknown (uploaded by Broken->Arrow)
When I choose edit it shows the author.
Let me know, thanks.I'm puzzled why you would get this. I'll keep looking and let you know if I find something.
Robbed
07-14-2006, 07:57 PM
I'm puzzled why you would get this. I'll keep looking and let you know if I find something.
Looking at the old template it calls the author like this
{$file['author']}
On the new template
{$_author}
If this helps any.
CyberRanger
07-14-2006, 07:58 PM
Attached is ecDownloadsII ver 5. I went up to version 5 so people wouldn't get confused with version 4 being the last version of ecDownloads.
Please PM me with any problems or to let me know it works good. Please DO NOT discuss ver 5 here (yet!)
What it does:
Adds everything from ecDownloads Buddy back into ecDownloadsII.
Plugs a security hole that could be used for a DOS attack.
Completely re-writes the method for downloading files.
Cleans up the "Downloads" section of the admincp (thanks EvilHawk!)
Permits safe_mode to be on
No old templates are changed although a new one is added. If you are using ecDownloads Buddy, you MUST uninstall the Buddy before installing this.
CyberRanger
07-15-2006, 01:36 PM
EvilHawk helped me with some phrases that went screwy and some edits that I did but then included the wrong @$%@%# file.
Here's a new ver 5 file for testing.
Robbed
07-16-2006, 05:36 AM
Wespointer.
I changed this code
if ($file['_author'] == '')
$_author = $vbphrase['ecdownloads_unknown'];
else
$_author = $file['_author'];
to
if ($file['_author'] == '')
$_author = $file['author'];
else
$_author = $file['_author'];
Instead of getting uknown on my old downloads it's shows the authors name but it's not linked. Just the new downloads are.
Is it ok to change this code, Let me know.
NokStar
07-17-2006, 02:57 AM
Hay i was using Ron1s 4.1 version.
I uploaded your downloads.php as you said by overwriting the existing. (Thats only thing i did)
Then i add the ecdownloads buddy thats all.
When i click on Update Counters it says
Fatal error: Call to undefined function: ec_demo_mode() in /home/.bocephus/lk1/mydomain.com/forum/downloads.php on line 1090
How to fix this?
stonner
07-18-2006, 09:40 PM
Give this a try:
Change the permission on the downloads folder to 2777. (From your forums directory execute the command: chmod 2777 downloads)
Upload the attached downloads.php file.
NOTE: for this to work safe_mode_gid must be set to yes (on).
i can change chmod only to 3-letter code.
I tried it with chmod777 and the new downloads.php file. the error message:
Warnung: copy(): SAFE MODE Restriction in effect. The script whose uid is 1194 is not allowed to access /home/www/web224/html/forum/downloads/ec_w2t owned by uid 30 in /downloads.php (Zeile 505)
Warnung: copy(./downloads//ec_w2t/Stundenplan.xls): failed to open stream: No such file or directory in /downloads.php (Zeile 505)
Warnung: Cannot modify header information - headers already sent by (output started at /home/www/web224/html/forum/includes/class_core.php:2984) in /downloads.php (Zeile 506)
thank you for your help!
ecDownloads is really all I need for my forum.
CyberRanger
07-18-2006, 10:30 PM
Hay i was using Ron1s 4.1 version.
I uploaded your downloads.php as you said by overwrit....
How to fix this?
i can change chmod only to 3-letter code.
I tried it with chmod777 and the new downloads.php file. the error message:
I recommend each of you try ecDownloadsII ver 5. Uninstall ecDownloads Buddy then install ver 5: https://vborg.vbsupport.ru/showthread.php?p=1030606#post1030606
stonner
07-19-2006, 12:07 PM
thank you thank you thank you!
Finally it's downloading:)
are there already germany phrases for ecDownloads?
stonner
07-19-2006, 03:13 PM
are there any modules for the portal vbAdvanced CMPS?
like Newest Uploads, Top Uploader, etc.
i have ecDownloads 5.0 and vB 3.5.4
thank you!
CyberRanger
07-19-2006, 11:54 PM
are there already germany phrases for ecDownloads?
Not that I'm aware of. Anyone got 'em?
hi westpointer,
do u think to relase ecdownloads for vb3.6.0 ? as we are dependable to ecdwnloads, so without it site s nit gonna be compleate..:)
Please also give a thought abt vbux intigration with in the next release for vb3.6.0.
Thankx man.
CyberRanger
07-20-2006, 09:34 AM
are there any modules for the portal vbAdvanced CMPS?
like Newest Uploads, Top Uploader, etc.
i have ecDownloads 5.0 and vB 3.5.4
thank you!
ecDownloads ver 4.0.1 vbAdvanced Add-On (https://vborg.vbsupport.ru/showthread.php?t=110122) will work.
scoles15
07-20-2006, 04:55 PM
You really need to say something about vb 3.6. Time is now very short. RC 2 already. Those of us using ecdownloads now, will be forced to wait for ecdownloads or look for a replacement.:angry:
DementedMindz
07-20-2006, 06:11 PM
there really is no replacement so we just have to wait..
webmaster_fvc
07-20-2006, 06:13 PM
getting an error when trying to upload files. wondering if anyone can help as i am quite a novice
Warning: move_uploaded_file(./downloads/22679-MANITOBA.zip): failed to open stream: Permission denied in \downloads.php on line 939
Warning: move_uploaded_file(): Unable to move 'C:\PHP\uploadtemp\php1A4.tmp' to './downloads/22679-MANITOBA.zip' in \downloads.php on line 939
CyberRanger
07-20-2006, 07:09 PM
getting an error when trying to upload files. wondering if anyone can help as i am quite a novice
Warning: move_uploaded_file(./downloads/22679-MANITOBA.zip): failed to open stream: Permission denied in \downloads.php on line 939
Warning: move_uploaded_file(): Unable to move 'C:\PHP\uploadtemp\php1A4.tmp' to './downloads/22679-MANITOBA.zip' in \downloads.php on line 939
make sure you have set the permissions on your downloads folder to be 777.
CyberRanger
07-20-2006, 07:34 PM
You really need to say something about vb 3.6. Time is now very short. RC 2 already. Those of us using ecdownloads now, will be forced to wait for ecdownloads or look for a replacement.:angry:
well, I see your angry smilie ... have you tried it on 3.6? I have my ver 5 test installed on rc2 and it works fine. But, I have only done limited testing. Have you tested it and found problems?
webmaster_fvc
07-20-2006, 10:00 PM
thanks man. got it all fixed up now. was setting the permissions in the wrong spot lol.
stonner
07-20-2006, 10:10 PM
thanks!
great support!
dw.StifflersMum
07-21-2006, 08:22 AM
Hi Westpointer,
below a german (beta :) ) translation for ecDownloadsIIver5 product-file.
The translation was done by our member kobayashi. Enjoy :cool:
scoles15
07-21-2006, 09:38 AM
well, I see your angry smilie ... have you tried it on 3.6? I have my ver 5 test installed on rc2 and it works fine. But, I have only done limited testing. Have you tested it and found problems?
No I haven't tested it, I am waiting for you to say something about whether it will work and when. I guess I was hoping you would make a specific announcement or start a thread in in the 3.6 Mod forum.
scoles15
07-21-2006, 09:40 AM
there really is no replacement so we just have to wait..There are always ways to replace it. Will they be as good? No! But will they suffice, sure
CyberRanger
07-21-2006, 10:57 AM
I guess I was hoping you would make a specific announcement or start a thread in in the 3.6 Mod forum.I probably won't do that until 3.6 is the official supported version. In the meantime, I'll do my best to make sure these files work on both versions. For those sites that have 3.6 installed (even in a development environment), give it a try for me. I think everything works but the more eyes on it the better.:)
GrCh_Jeff
07-21-2006, 06:47 PM
I am waiting for you to say something about whether it will work and when.
Wait no longer. I am 99.9% sure that it is fully compatible with 3.6 RC2
;)
I probably won't do that until 3.6 is the official supported version. In the meantime, I'll do my best to make sure these files work on both versions. For those sites that have 3.6 installed (even in a development environment), give it a try for me. I think everything works but the more eyes on it the better.:)
I have added it to the site and it works flawlessly from what I can tell.I have done every option, uploading, downloading, approve, unapproved, pin, etc.
I have tryed to cover all angles of this hack.I am about to add the ecdownloads buddy to make sure it works good as well.Everything seems to work perfect!! I'm running 3.6 RC2
I hope this helps all who want to go ahead and add it to your vB3.6
Thanks WP
GrCh_Jeff
07-21-2006, 10:23 PM
I have added the ecdownloadsbuddy to 3.6 RC2 and it worked flawlessly from what I can tell. Again, I am 99.9% sure that ecII and the buddy add-on will work for you if your running 3.6 RC2
I don't have vBadvanced CMPS on my forum yet but I assume that the CMPS add-on will work as well since the other two worked.
HappyPike
07-23-2006, 01:06 AM
This is a very nice addon. Thanks to westpointer for keeping it updated!
RS_Jelle
07-23-2006, 09:19 AM
After beta 1 of ecDownloadsII 5.0, there's now beta 2 :)
There are no new features, only A LOT of bugfixes and cleanups. We are sure you will see that some small bugs you noticed in the past will be fixed. Translating ecDownloadsII will be easier, because almost all hardcoded text moved to phrases (except in the AdminCP).
Changelog:
100% XHTML 1.0 Transitional and CSS 2.1 W3C compliance
Removed borders of all images
Fixed wrong aligned text editor when adding a file with IE
Moved a lot of hardcoded text to phrases and fixed some missing phrases
Fixed two wrong phrases for navbits (Add & Edit file)
Fixed a bug with manage files causing an invalid sql
Fixed a bug with manage files causing you couldn't select the Pin option in the dropdown menu
Fixed a bug with the category page: category images of sub categories weren't showing up ($dl->picwidth doesn't exist)
Removed examples for file name and author when adding a file
Cached an uncached template causing an extra query on the 'Assign New Uploader' page
Removed the unnecessary 'add_to_dlinks' hook location
Cleaned up a lot of code to the vBulletin coding standards
...
gothicuser
07-23-2006, 10:06 AM
Astonishing work. Installed and working perfectly :D :D
EvilHawk
07-23-2006, 10:16 AM
After beta 1 of ecDownloadsII 5.0, there's now beta 2 :)
Good job! ;)
Only a template needs to be fixed :
replace the contents of downloads_memberfiles_bit
<tr>
<td class="alt1">
<a href="downloads.php?do=file&fileid={$file['id']}">{$file['name']}</a>
</td>
<td class="alt1">
$smalldesc
</td>
<td class="alt1">
$date
</td>
<td class="alt1">
$downloads
</td>
</td>
with this
<tr>
<td class="alt1">
<a href="downloads.php?do=file&fileid={$file['id']}">{$file['name']}</a>
</td>
<td class="alt1">
$smalldesc
</td>
<td class="alt1">
$downloads
</td>
<td class="alt1">
$date
</td>
</tr>
RS_Jelle
07-23-2006, 12:17 PM
Thanks, I fixed it, it will be included in the next release ;)
HappyPike
07-25-2006, 02:08 AM
Thanks for your work!
For the downloads_cat_subbit template, in the subcategory listing table cell, it uses nowrap="nowrap". I think you should remove that, since when there are lots of categories this causes them to be on a single line and results in a horizontal scrollbar.
original:
<td class="$bgclass" valign="middle" align="left" nowrap="nowrap">
<span class="smallfont">{$sub['desc']}$subcats</span>
</td>
suggested change:
<td class="$bgclass" valign="middle" align="left">
<div class="smallfont">{$sub['desc']}$subcats</div>
</td>
Another suggestion, for the next release, can you make the download link a button? This way it's more obvious. Also, how about allowing a file to have multiple download mirror links?
CyberRanger
07-25-2006, 12:08 PM
Another suggestion, for the next release, can you make the download link a button?
Back on the old ecDownloads thread, someone had posted a new template that had the download button in the bottom right corner and it was a big button. If you posted that, could you please repost it!
Thanks!
CyberRanger
07-25-2006, 12:10 PM
Also, how about allowing a file to have multiple download mirror links?That is in the works!;)
HappyPike
07-25-2006, 02:41 PM
Back on the old ecDownloads thread, someone had posted a new template that had the download button in the bottom right corner and it was a big button. If you posted that, could you please repost it!
Currently I make the download link size 16 and replaced the decending icon before it with this generic download icon I found on Google images: https://vborg.vbsupport.ru/external/2006/07/11.gif. It's very easy to notice the link now. :) Another template change I made is make the category names bold. Looks better this way and more consistent with my forum looks.
That is in the works!
Good to hear that!
Here are some more feature suggestions and questions:
Report bad file or broken link
Ability to add new fields in the control panel would be nice. For example, I want to have a "Forum thread" field to link to exisiting forum discussion for the file. Also a field for version number and a field for file requirements.
On the page that lists the files in the categroy, it would be nice to also show the Author, perhaps make it it's own column so people can sort by author too. If not its own column, something like Author: {} File Size: {} below the short description would do too.
Is there a way to add the author info below the short description currently?
Any plan to improve the search page so people can search within a certain categories?
How can I change the subcategories list so it's not italic? I looked in the templates and the php file but couldn't find it.
It would be nice if when people update a file with a new version, the old version gets deleted. Right now I think the old files remain undeleted.
I have played with the script for a day or two and am very impressed! :) It's very easy to use and has most features I need. The assign uploader feature is nice.
Keep up the great work! :up:
RS_Jelle
07-25-2006, 06:43 PM
How can I change the subcategories list so it's not italic? I looked in the templates and the php file but couldn't find it.
Have a look at /includes/class_downloads.php and search for <i> ;)
Version 5.0 is almost completed and we want to release it as fast as possible. So it will be mainly a bugfix/cleanup release. The next version will be focused on some new features :)
HappyPike
07-25-2006, 07:22 PM
Cool thanks. :) Look forward to it!
Another quick questions:
- how can I re-arrange the navigation links?
Looks like there is a bug with the rating system. I selected A but the system recorded A-.
stangger5
07-26-2006, 11:52 AM
I keep getting this when tring to upload a file...
The upload failed! Upload error.
Its a zip file too...
CyberRanger
07-26-2006, 12:04 PM
I keep getting this when tring to upload a file...
The upload failed! Upload error.
Its a zip file too...How big was the file? Can you post a screen shot of the error?
stangger5
07-26-2006, 12:39 PM
The file was 16.5 mb`s....
Does it have a limit ??
CyberRanger
07-26-2006, 01:03 PM
The file was 16.5 mb`s....
Does it have a limit ??
php has a limit. To over-ride it, add this to your .htaccess file in the same folder that downloads.php is in.
php_value upload_max_filesize 25M
php_value post_max_size 25M
change the 25M to whatever you'd like it to be.
HappyPike
07-27-2006, 01:52 AM
westpointer/Jelle, for the next version, can you make it so it show the number of votes casted?
RS_Jelle
07-27-2006, 10:46 AM
Looks like there is a bug with the rating system. I selected A but the system recorded A-.
Thanks for bringing this to our attention, I fixed it.
To fix it, run this query (if you use a prefix, you need to add it):
ALTER TABLE `dl_votes` CHANGE `value` `value` DECIMAL( 2, 1 ) UNSIGNED NOT NULL DEFAULT '0.0'
I will look into your suggestion to show the amount of votes. Maybe we add it to 5.0, otherwise it will be something for the next release.
Good news for the people who wanted a download button instead the tiny links: there will be one in version 5.0 :)
HappyPike
07-27-2006, 01:55 PM
Hi Jelle,
My member did some test and found out more about the voting problems. I haven't applied your fix yet.
It seems that the rating system does not want to co-operate with me.
-when I rate A+, it gives rating A+
-when I rate A, it gives rating A-
-when I rate B+, it gives rating B-
So, it seems that it doesn't somehow register the rates A, B and so on (it completely disregards those, and handles only the ones with +?s and -?s)
Would your above fix solve the choosing B+ records B- problem too?
Also one of my members (in Registered group) reported having trouble deleting his comments, even though it worked for me.
Thanks for the upload button. :)
After using the system heavily for the last few days, another useful feature would be to allow multiple files per file entry, for things like patch. This way people don't need to re-upload the whole big file -- just the patch. This is different from allowing multiple mirrors for a file (which also would be a nice feature to have).
I will look into your suggestion to show the amount of votes. Maybe we add it to 5.0, otherwise it will be something for the next release.
Thanks. It's important to show the # of votes. A file getting an A+ is very different from getting 15 A+. :)
RS_Jelle
07-27-2006, 02:33 PM
Yes, the fix will solve your problem (normally) ;)
It's because the A+ has got a value of 10, A has got a value of 9.5, A- a value of 9.3, ... The database field was "int", because of that everything after the "." was lost. So 9.5 and 9.3 became 9, ... The fix changes the database field to decimal :)
I don't find it a very good system, so I think we need to recode it a bit. A+, A, A-, ... I find it a bit stupid, so we are thinking about replacing it with something more clear. Stars for example like the thread rate :cool:
The amount of votes will be something for a next release (5.1 or something like that). So we can totally revise the rating system.
Wespointer is working on a latest feature, after that 5.0.1 will be released :banana:
HappyPike
07-27-2006, 02:57 PM
Cool. I will apply the fix soon. I also agree the thread rate stars is better. It's easier to see, for one thing.
BTW, is there a way to make it show just the direct sub-categories, instead of all sub-categories like it does now? I added lots of sub-cats and the sub-cat links on the main page is becoming hard to use. I know I could hide the listing on main page but it would be better to make it show the category's direct sub-cats (ex. 1 level down).
Sorry for asking so many questions. :)
RS_Jelle
07-27-2006, 03:02 PM
This isn't possible at the moment, but we will look into this for the next release ;)
I think there are lots of good ideas to make the next version a 'new features release'. Now we have to find the time to code them :knockedout: :p
The most wanted feature is definitely a "report a download" function, so that's something we really need to add.
spandexman
07-27-2006, 03:22 PM
I installed the mod. Changed the setting to what I wanted and allowed certian usergroups to use it. I also created categories. But when I go to the forum none of them show up? How do I get the download categories to show up so users can upload/download files?
CyberRanger
07-27-2006, 04:41 PM
I installed the mod. Changed the setting to what I wanted and allowed certian usergroups to use it. I also created categories. But when I go to the forum none of them show up? How do I get the download categories to show up so users can upload/download files?
Are you pulling up downloads.php?
spandexman
07-27-2006, 05:31 PM
Are you pulling up downloads.php?
Is that the only way to view it? I want it to show up on the main forum index as a category rather then having to type in /forum/downloads.php to view the downloads.
CyberRanger
07-27-2006, 05:41 PM
Is that the only way to view it? I want it to show up on the main forum index as a category rather then having to type in /forum/downloads.php to view the downloads.Most folks add it to the navbar unless they have links in the header:
I just added this to my navbar template
<td class="vbmenu_control"><a href="downloads.php">Downloads</a></td>
You could also create a forum and complete the "Forum Link" field, directing it do downloads.php.
CyberRanger
07-27-2006, 06:02 PM
######################
# Changelog DownloadsII 5.0.5 #
######################
CyberRanger
* Fixed mixed sort order of files on import page
Jelle
* Fixed hardcoded "Category" phrase in the Manage Files option
* Changed category abbrevation in Manage Files to the full category name in the category dropdown windows
* Updated optional navbar edit as the code to search changed slightly since vBulletin 3.6.7
* Fixed problem with multiple pages being empty for the file manager (caused when you have an empty approval value)
* Improved the downloads log with time and ip address information (+ some link and layout changes)
* Fixed the fact that everyone with upload permissions could upload to every file, now you need to be the file author or need to have editall permissions
* Fixed the update counters function which didn't recount the comment amounts (the comment stats were only resetted to 0)
* Fixed XSS security issue with the optional downloads profile info
* Added xmlns attribute to the html tag of the DOWNLOADS template
* Fixed SQL injection security issues with category sorting and the assign uploader page
* Fixed wrong conditions for displaying the assign uploader link
* Fixed XSS security issues with unclean category and file id's in the templates
* Fixed some other bugs and removed some redundant checks
#################################
# DownloadsII 5.0.4 Changelog #
#################################
CyberRanger
- Fixed small bug in class_downloads.php ($dl to $this)
- Fixed possible wrong background on some tables
- Added option to restrict daily files downloaded by usergroup
- Enhanced option to restrict daily downloads based on MB and/or number of files
- Removed left side bar (tops) from most of the views with option to display
- Modified search results: added small description and category name, removed # of downloads and rating
- Added "download delay" setting to usergroups
- Fixed bug in mass upload if the file name contained an apostrophe
- Added IP check for max daily MB and file download check
- Modified templates downloads_wrapper_side and dowloads_wrapper_none so that the "disclaimer" will appear if no tops are wanted.
- Added setting in admincp for cleaning log entries that are older than x days.
- Added Javascript prompt before deleting a file, image or comment
- Added five custom hook locations (dl_pre_upload, dl_post_upload_add, dl_post_upload_edit, dl_pre_download, dl_post_download)
Jelle
- Fixed W3C errors in $dmemberfiles
- Fixed manfiles mass update (wasn't working any more)
- Fixed a bug which caused old downloads titles to disappear
- Fixed category images of sub-categories, which weren't displayed in IE
- Moved assignuser permissions condition from the templates to downloads.php and changed permissions slightly
- Changed the word "purgatory" to "moderation queue" in the phrases
- Added a missing AdminCP footer to the edit category page
- Added rel noffolow attributes to the sort links for better SEO
- Changed some stop message pages in the AdminCP to redirection pages
- Improved pagination to the vBulletin coding standards (with a better security)
- Redirect after mass update corrected to manfiles
- Changed the tables code to prevent a small white space at the left and the right side + some various layout fixes
- Fixed an XSS security issue with the category view and search
#################################
# DownloadsII 5.0.3 Changelog #
#################################
westpointer
- Linked downloads don't open any more in the same window
Jelle
- Some more code cleanup (removed ec_demo mode, ...)
- Fixed a bug with tags being stripped from the description
- Fixed the "Bandwidth value maxed out at 4294967 KB" issue (int(10) to bigint(30))
- Removed the filesize condition from the download delay time
- Sort on total comments in the dropdown box
- Sort on file name in the category view now also clickable in the table header
- Fixed an unnecessary query for the vBulletin editor when viewing a file and comments are disabled
- Updated DownloadsII.txt and renamed it to Readme-Install.txt
#################################
# DownloadsII 5.0.2 Changelog #
#################################
westpointer
- Fixed link to files in user profile by modifying the template downloads_memberfiles_bit
- Fixed "File Name" phrase on file detail page by modifying the template downloads_file
- Modified "delay" to work better with guests. The client's ip is now stored in the table dl_downloads.
- The file description is now optional
- Fixed issue with counters not updated when a file is deleted or when a files status is changed using "Manage Files"
#################################
# DownloadsII 5.0.1 Changelog #
#################################
westpointer
- Added everything from ecDownloads Buddy back into DownloadsII
- Plug a security hole that could be used for a DoS attack
- Completely re-wrote the method for downloading files
- Cleaned up the "Downloads" section of the admincp (thanks EvilHawk!)
- Permit safe_mode to be on
- Plug a security hole that could be used to get total control of your vBulletin installation (discovered by Jelle)
- Added better protection against DoS attacks. The vb admin can now specify the minimum wait between file downloads.
- Added ability to decide which file extensions provide "save as" option on download and which open automatically in the browser
Jelle
- 100% XHTML 1.0 Transitional and CSS 2.1 W3C compliance
- Removed borders of all images
- Fixed wrong aligned text editor when adding a file with IE
- Moved a lot of hardcoded text to phrases and fixed some missing phrases
- Fixed two wrong phrases for navbits (Add & Edit file)
- Fixed a bug with manage files causing an invalid sql
- Fixed a bug with manage files causing you couldn't select the Pin option in the dropdown menu
- Fixed a bug with the category page: category images of sub categories weren't showing up ($dl->picwidth doesn't exist)
- Removed examples for file name and author when adding a file
- Cached an uncached template causing an extra query on the 'Assign New Uploader' page
- Removed the unnecessary 'add_to_dlinks' hook location
- Cleaned up a lot of code to the vBulletin coding standards
- Added a downloads folder with an empty index.html
- Replaced the top panel with the side panel on the downloads index
- Added dynamic titles for better SEO and navigation
- Added a download button next to the two tiny links (thanks Norke!)
- Fix: comments and votes weren't removed when you deleted a file
- Fixed wrongly recorded votes
- Changed the two desc fields in the database to description (because of database backup problems with desc)
HappyPike
07-27-2006, 06:13 PM
WooHoo! Thanks for the update! :up:
It's greatly appreciated! :)
I already applied the vote fix Jelle posted in post #154. Would this cause problem when I upgrade?
RS_Jelle
07-27-2006, 06:20 PM
WooHoo! Thanks for the update! :up:
It's greatly appreciated! :)
I already applied the vote fix Jelle posted in post #154. Would this cause problem when I upgrade?
No ;)
HappyPike
07-27-2006, 06:31 PM
Cool. Going to apply the update soon.
Just nominated this mod for mod of the month. :) I don't know how it works, but this MoTM nomination feature could be a nice feature to have. :D
Hi guys,
Do i do a full install with this update, or just the download.php and the xml files.
Thank You for your time spent on this great mod. :cool:
CyberRanger
07-27-2006, 06:34 PM
Hi guys,
Do i do a full install with this update, or just the download.php and the xml files.
Thank You for your time spent on this great mod. :cool:
Full install for sure for sure! :)
RS_Jelle
07-27-2006, 06:35 PM
Hi guys,
Do i do a full install with this update, or just the download.php and the xml files.
Thank You for your time spent on this great mod. :cool:
A "full" install. You need to upload everything from the upload folder. Then you need to upload the product with the override option on ;)
Edit: I'm too slow :p
CyberRanger
07-27-2006, 07:08 PM
Thanks to Jelle for:
All the hard work his done cleaning up the code!
For taking the time to provide us with some much needed screenshots!
:banana:
cOuNtErFiET
07-27-2006, 08:34 PM
so i seen the fixes is this gonna work for me, i seen you permit safe_mode_on so i think it should and just wondering if the update instructions are included cause i dont want to loose all of my dnlds....?
RS_Jelle
07-27-2006, 09:03 PM
The upgrade instructions are included (ecDownloads.txt), they are the same as the install instructions.
Very simple:
Upload all the files from the 'upload' directory
Import the product with the override option on
You won't lose anything. I did the upgrade on my test site and main site and it went fine :)
cOuNtErFiET
07-27-2006, 09:17 PM
cool thanks Jelle, west coded a special downloads.php for me cause im in safe mode you got all that in here too?
RS_Jelle
07-27-2006, 09:22 PM
cool thanks Jelle, west coded a special downloads.php for me cause im in safe mode you got all that in here too?
Yes, have a look at the changelog (https://vborg.vbsupport.ru/showpost.php?p=1038844&postcount=163), it's included in this release ;)
cOuNtErFiET
07-27-2006, 09:40 PM
yea i did but he released a few safe_mode downloads.php files and only 1 worked so just making sure, thanks installing now Propz
HappyPike
07-28-2006, 12:46 AM
hey Jelle & Westpointer,
Lots of unregistered visitors as well as a few members reported that they get the "Slow Down! You are trying to download files too quickly" message all the time, even though they never downloaded anything.
Normally I use FireFox, but when I try using IE to download (w/o logging in), I get the message all the time too. :(
Can you look into this problem? Thanks. For now I have commented out the DOS check feature.
I run my site with a fixed width of 955px but for some reason the ecDownloads tables are too wide and extend a couple of hundred pixels to the right of the edge of vbulletin. Which templates would I nead to alter to bring this under control?
HappyPike
07-28-2006, 02:05 AM
Try the downloads_wrapper_side template inside the Downloads Templates category. You can change the table size in the first line.
CyberRanger
07-28-2006, 03:06 AM
hey Jelle & Westpointer,
Lots of unregistered visitors as well as a few members reported that they get the "Slow Down! You are trying to download files too quickly" message all the time, even though they never downloaded anything.
Normally I use FireFox, but when I try using IE to download (w/o logging in), I get the message all the time too. :(
Can you look into this problem? Thanks. For now I have commented out the DOS check feature.Hmmm .... I'm going to have to ponder this one. I wasn't thinking about sites that allow guests to download files. We really, really, need that kind of check or a bad person can bring your server to it's knees very easily. I have an idea but let me test it first.
CyberRanger
07-28-2006, 03:07 AM
I run my site with a fixed width of 955px but for some reason the ecDownloads tables are too wide and extend a couple of hundred pixels to the right of the edge of vbulletin. Which templates would I nead to alter to bring this under control?
What exactly is too wide? The default view when you bring up downloads.php or deeper in?
HappyPike
07-28-2006, 04:28 AM
Hmmm .... I'm going to have to ponder this one. I wasn't thinking about sites that allow guests to download files. We really, really, need that kind of check or a bad person can bring your server to it's knees very easily. I have an idea but let me test it first.
Thanks for looking into that. I don't want to inconvenience my visitors so have never required them to register in order to download files.
BTW, a requested feature from my members is to make the member files section in the profile page to show the file's category. I tried putting {file[category]} but this only prints the category number. :tired:
HappyPike
07-28-2006, 05:45 AM
Found a very minor bug in the template...
In the downloads_memberfiles_bit template, the link
<a href="downloads.php?do=file&fileid={$file['id']}">{$file['name']}</a>
should be
<a href="downloads.php?do=file&id={$file['id']}">{$file['name']}</a>
Greg-J
07-28-2006, 07:14 AM
Alright, I searched all over the place to figure this out and now I have to ask.
I made it all the way through the install and it went fine. Added permissions to groups, changed the settings, added a category. But there's no instructions on how to use it... I can't figure out where to create a download :s
Pardon my ignorance, but could somebody point me in the right direction?
RS_Jelle
07-28-2006, 09:03 AM
Alright, I searched all over the place to figure this out and now I have to ask.
I made it all the way through the install and it went fine. Added permissions to groups, changed the settings, added a category. But there's no instructions on how to use it... I can't figure out where to create a download :s
Pardon my ignorance, but could somebody point me in the right direction?
You have to add downloads using your site, you can't add them using your AdminCP. Click on the "Add" link in downloads.php (like on this screenshot (https://vborg.vbsupport.ru/attachment.php?attachmentid=51211)) ;)
@HappyPike: I will take a look at your bug report. I'm not using it on the member page, ... so I didn't test it yet. I will do it now :)
Greg-J
07-28-2006, 09:09 AM
It was actually finding downloads.php that I was having a hard time with :confused:
Now I'm just trying to sort out what kind of condition I can make to show the link to downloads.php in a users cp if they belong to a particular group.
Actually, it would be nice to be able to show a link if they belong to any group that is allowed to view downloads. If anyone has any experience with this, your help would be much appreciated. Thank you.
CyberRanger
07-28-2006, 11:52 AM
BTW, a requested feature from my members is to make the member files section in the profile page to show the file's category. I tried putting {file[category]} but this only prints the category number. :tired:Right now, the sql in the plugin doesn't pull the category name. I'll consider if we can fit that in okay. I'll also fix the bug you reported with the link.
What exactly is too wide? The default view when you bring up downloads.php or deeper in?
Both, the default view pushes out by a couple of hundred pixels, as do all that include the side panels. The "add file" tables only break it by 30 or 40 pixels as that page doesn't have the side panels.
I'm also having problems with the "daily allotment" feature, as registered members and even moderators are getting the over limit message. I don't allow unregistered guests to download and the allowed usergroups all have -1 in the limit box to allow unlimited downloads yet they are still getting this message.
CyberRanger
07-28-2006, 12:11 PM
Both, the default view pushes out by a couple of hundred pixels, as do all that include the side panels. The "add file" tables only break it by 30 or 40 pixels as that page doesn't have the side panels.
okay, we are discussing what we can do for sites like yours that run a tight fixed width. We'll probably give you an option to move the "Tops" (side panel) information to the top.
CyberRanger
07-28-2006, 12:12 PM
I'm also having problems with the "daily allotment" feature, as registered members and even moderators are getting the over limit message. I don't allow unregistered guests to download and the allowed usergroups all have -1 in the limit box to allow unlimited downloads yet they are still getting this message.
Go into the usergroup settings for those groups and simply resave the settings. I think that will fix the problem.
Or, a quicker way would be to rebuild the bitfields: admincp/index.php?do=buildbitfields. I think that will fix it also.
CyberRanger
07-28-2006, 04:18 PM
#################################
# ecDownloadsII 5.0.2 Changelog #
#################################
- Fixed link to files in user profile by modifying the template downloads_memberfiles_bit
- Fixed "File Name" phrase on file detail page by modifying the template downloads_file
- Modified "delay" to work better with guests. The client's ip is now stored in the table dl_downloads.
- The file description is now optional
- Fixed issue with counters not updated when a file is deleted or when a files status is changed using "Manage Files"
HappyPike
07-28-2006, 05:33 PM
Right now, the sql in the plugin doesn't pull the category name. I'll consider if we can fit that in okay.
Cool, thanks. :) Some of my members have 100+ files spread across several different categories, so knowing where a file is in should be very useful.
Also thanks for the very quick 5.02 update! I will try it later today and let you know how it goes. :up:
Another request: In the next version, could you add two new optional fields named "Version Compatibility" where people can specify which version(s) the file works under, and also a field named "Related Link" where people can put in URL to a discussion thread or the file's homepage. If the optional field is blank, then this info is not shown on the file details page. Of course, the best way is to add a custom field feature (like the custom profile field feature that let's admins add new fields), but this likely would require much more work... I think the two new optional fields should be useful for many forums. Currently my members put the Version Compatibility and Related Link inside the file description. This is not as good since many people forget to include those info or put them in different places. Also, with a new "Compatibility" field, we could potentially have a filter files by compatibility option, making it even more efficient to find the files.
CyberRanger
07-28-2006, 05:49 PM
Cool, thanks. :) Some of my members have 100+ files spread across several different categories, so knowing where a file is in should be very useful. Understood :) Please note that I did not make this change for ver 5.0.2. Jelle is looking at re-writing the search feature. That may be a better place to include the category. Either way, we'll see what we can work up to help you.
NiTRoN
07-28-2006, 08:07 PM
I'm wondering if this is allready build in or could be a feature.. If you are reimporting files from directory that was allready imported, can there be option to skip allready imported files? So you only are adding new files that were placed into that directory to a list. This would be usefull for people that have users with FTP accounts which upload files to their directories and for admins that use SSH/FTP to maintain their sites such as I'm one.
oh.. and thank you so much for reviving this addon..
HappyPike
07-28-2006, 10:15 PM
My member reported that he has issue using the > and < characters inside the descriptions for the files even inside of the code, html, and quote tags. I just tried it and the >, <, and tags all get removed in the description.
For example, when I try with this code:
<ModInfo>
<Type>IMPROVEMENT</Type>
<Description>IMPROVEMENT_INN</Description>
</ModInfo>
It changes the code to just:
IMPROVEMENT
IMPROVEMENT_INN
Can you look into that and make it behave like the forum? Some of my file categories often require posting of code snippets (XML, C++, etc). Thanks!
HappyPike
07-29-2006, 05:58 AM
I installed 5.02... works well so far. I tried downloading w/o registering and can download fine. :)
EvilHawk
07-29-2006, 10:09 AM
Understood :) Please note that I did not make this change for ver 5.0.2. Jelle is looking at re-writing the search feature. That may be a better place to include the category. Either way, we'll see what we can work up to help you.
This could be also used to add a link back to the file category when viewing or downloading a file ;)
project-Buckfas
07-29-2006, 11:07 AM
Installed, Thanks
Liquid_N2
07-29-2006, 02:30 PM
I seem to have an issue where a user cannot download for 1165 seconds after clicking a download no matter what I set the time to.
Any ideas?
CyberRanger
07-29-2006, 08:00 PM
I seem to have an issue where a user cannot download for 1165 seconds after clicking a download no matter what I set the time to.
Any ideas?
Yes, but first a question - how big is the file that the user is trying to download?
Liquid_N2
07-29-2006, 09:46 PM
file sizes vary, as does the delay it seems
HappyPike
07-29-2006, 11:48 PM
hey westpointer, any idea how I could make it so it doesn't remove <, > and tags enclosed in <> from file descriptions?
CyberRanger
07-30-2006, 01:50 AM
My member reported that he has issue using the > and < characters inside the descriptions for the files even inside of the code, html, and quote tags. I just tried it and the >, <, and tags all get removed in the description.
For example, when I try with this code:
<ModInfo>
<Type>IMPROVEMENT</Type>
<Description>IMPROVEMENT_INN</Description>
</ModInfo>
It changes the code to just:
IMPROVEMENT
IMPROVEMENT_INN
!If the user is using the "Enhanced Interface - Full WYSIWYG Editing" this will not occur. However, from my testing, it does occur using the other two editors. I'll look into it more.:cross-eyed:
CyberRanger
07-30-2006, 01:55 AM
I seem to have an issue where a user cannot download for 1165 seconds after clicking a download no matter what I set the time to.
Any ideas?
There is a built in delay based on the size of the file that was downloaded last. The idea is to prevent someone from launching a denial of service attack on your site by repeatedly downloading a very large file in short periods of time. If you want to disable this feature, in downloads.php
FIND (on or about line 513):
if ((TIMENOW - ($temptime['time'] + $temptime['filesize']/400000)) < 0 OR (TIMENOW - $temptime['time'] < $vbulletin->options['ecdownloaddelay']))
REPLACE WITH:
if ((TIMENOW + ($temptime['time'] + $temptime['filesize']/400000)) < 0 OR (TIMENOW - $temptime['time'] < $vbulletin->options['ecdownloaddelay'])) (The first minus is changed to a plus. The only "delay" check will now be based on what you set in admincp.
Liquid_N2
07-30-2006, 09:06 AM
thank you very much that has sorted that.
HappyPike
07-30-2006, 02:50 PM
If the user is using the "Enhanced Interface - Full WYSIWYG Editing" this will not occur. However, from my testing, it does occur using the other two editors. I'll look into it more.:cross-eyed:
Thanks. I told my users who need to use those characters to switch to WYSIWYG for now.
project-Buckfas
07-30-2006, 03:58 PM
Hey,
Some of my downloads link to the download page on another site (link to file), but they open in the same page after clicking download meaning users are leaving my site to view that page.
How can I make it open in a new window after clicking download?
Thanks
HappyPike
07-30-2006, 05:58 PM
Hey,
Some of my downloads link to the download page on another site (link to file), but they open in the same page after clicking download meaning users are leaving my site to view that page.
How can I make it open in a new window after clicking download?
Thanks
Try searching fo the variable $download in the downloads.php file. When you find it you can add a target="_blank" to the link...
HappyPike
07-30-2006, 06:09 PM
Hi westpointer and Jelle, I received a second report from my users (in Registered group) that delete comment doesn't work for them. It simply reloads the page w/o deleting the comment. I confirmed the report using a test account.
I can delete comment fine using my admin account.
HappyPike
07-30-2006, 09:16 PM
I managed to show forum style rating stars on the category file listing page using template conditions. If anyone is interested, here is the code to use:
<!-- Star Rating -->
<if condition="$file['rating'] >= 9.5">
<span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_5.gif" border="0" alt="Rating" /></span>
<else />
<if condition="$file['rating'] >= 8.5">
<span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_4.gif" border="0" alt="Rating" /></span>
<else />
<if condition="$file['rating'] >= 7.5">
<span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_3.gif" border="0" alt="Rating" /></span>
<else />
<if condition="$file['rating'] >= 6.5">
<span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_2.gif" border="0" alt="Rating" /></span>
<else />
<if condition="($file['rating'] >= 5) AND ($file['rating'] < 6.5)">
<span style="float:$stylevar[right]"><img class="inlineimg" src="$stylevar[imgdir_rating]/rating_1.gif" border="0" alt="Rating" /></span>
</if>
</if>
</if>
</if>
</if>
<!-- Star Rating End -->
Just edit the downloads_cat_filebit template and put the above code right before the file name link
<a href="downloads.php?do=file&id={$file['id']}">{$file['name']}</a>.
You can also use the above code to put the rating stars in the file details page, replacing the A+ to F grades. The template to edit for this is downloads_file .
You can tweak the numbers in the codes to anything you want. Just remember the rating is between 5 and 10, and unrated files have 0 as default value.
Moosehunter
07-31-2006, 12:47 AM
Is there anyway to get this download manager to intergrate into the newattachments.php file so that when a user goes to add an attachment to a post that instead of it going through vb's standard upload manager that it uses this file managers upload manager and add's a link to the file to the post the user is creating.
DementedMindz
07-31-2006, 08:51 PM
I see you merged ecdownloads buddy with this (The Buddy's features are now integrated into DownloadsII.) but when on the downloads page if I dont use a username it says Unknown (Uploaded by Demented) any way to just have it show the uploader instead of Unknown...
CyberRanger
07-31-2006, 11:31 PM
I see you merged ecdownloads buddy with this (The Buddy's features are now integrated into DownloadsII.) but when on the downloads page if I dont use a username it says Unknown (Uploaded by Demented) any way to just have it show the uploader instead of Unknown...
I need to look at this closer. The Author feature was changed in ecDownloads ver 4.1 causing the Unknown to appear. I'll see what we can do about that on the next release.
cookiepants
08-01-2006, 12:14 AM
I am very happy to have found this! EXACTLY what my site needed! Much more straight forward than the other ones I tried. I am having one problem though.
When I browse to import a bunch of files, then press "import files" I get this message:
Warning: Invalid argument supplied for foreach() in /admincp/downloadadmin.php on line 366
I did it on my computer upstairs and it worked, but I wanted to change it a little bit so I deleted all the downloads and now can't get them back in. I searched this thread but didn't see anything.
If it helps, I did chmod the downloadadmin.php to 777.
Thanks much!
Megan
cookiepants
08-01-2006, 12:22 AM
okay, nevermind. Apparently I forgot to check the little 'upload' boxes. Sorry.... :confused:
HappyPike
08-01-2006, 04:38 PM
On the Stats page, the Bandwidth value maxed out at 4294967 KB. Apparently this is a data type problem.
Right now it's int(10) unsigned:
INT( ) -2,147,483,648 to 2,147,483,647 normal
0 to 4,294,967,295 UNSIGNED.
CyberRanger
08-01-2006, 04:49 PM
On the Stats page, the Bandwidth value maxed out at 4294967 KB. Apparently this is a data type problem.
Right now it's int(10) unsigned:
INT( ) -2,147,483,648 to 2,147,483,647 normal
0 to 4,294,967,295 UNSIGNED.
ah ... crap. hugh_ told me about that bug and I forgot. I'll add that to the list.
CyberRanger
08-01-2006, 05:14 PM
Hey,
Some of my downloads link to the download page on another site (link to file), but they open in the same page after clicking download meaning users are leaving my site to view that page.
How can I make it open in a new window after clicking download?
Thanks
I found this occurs when clicking on the on the download link located on the page that lists a summary of the files in the category but not when looking at the detailed listing for one file.
To fix it, in downloads.php around line 300 -
FIND:
if ($db->num_rows($result) > 0)
{
while ($file = $db->fetch_array($result))
{
$date = vbdate($vbulletin->options['dateformat'],$file['date'],true);
$downloads = vb_number_format($file['downloads']);
BELOW that ADD:
// added to open links in a new window Aug 1, 06
if ($file['link'] == 1)
{
$target = 'target="_blank"';
}
else
{
$target = 'target="_self"';
}
HappyPike
08-01-2006, 05:44 PM
Any idea when the next version would come out? ;) Hope you could add a few other features in (like showing the file's category on My Files page and Member Files section in profiles) besides the multiple mirrors...
Also, on the file details page, it would be nice to add a "Last Update" info to show when the file was last updated (like they have here on the forum). perhaps there could be a new "Latest Updates" list besides the Latest Files, Most Popular Files, and Top Contributors lists.
NiTRoN
08-01-2006, 05:47 PM
Hey westpointer.. I just though something you might want to include in the installation file. When I did the upgrade/install it dropped all of the ecdownloads 4.x tables. Had to start from scratch.. Don't know if that what it suppose to do. In my case I had old backup of SQL file and had to modify backup to reinsert the proper tables with all my links back in.
CyberRanger
08-01-2006, 05:55 PM
When I did the upgrade/install it dropped all of the ecdownloads 4.x tables. Had to start from scratch.. Don't know if that what it suppose to do. In my case I had old backup of SQL file and had to modify backup to reinsert the proper tables with all my links back in.That's very odd and should not happen. I've installed each upgrade on three different boards without losing any data. Anyone else seen this?
HappyPike
08-01-2006, 06:43 PM
That's very odd and should not happen. I've installed each upgrade on three different boards without losing any data. Anyone else seen this?
No, I installed two upgrades so far with no lost of data. I didn't even backup the database before I upgrade too.
Though I probably should start doing backups from now on... My file DB has tons of files now. My members would be really mad at me if all their hard work got wipe out. :p
NiTRoN
08-01-2006, 06:48 PM
oh well no biggie.. I got it up and running 5min later after it happened...
What think it happened was when I did upgrade the postbits weren't showing up at all so I uninstalled the 4.x version.. and reinstalled 5.x... which I think it was the cause of tables being dropped.
Oh well anyhow.. Another question.. Where is it suppose to "Category Image" show the actuall image? I've placed full url and i'm looking thru the categories and don't see anywhere logos/images showing for the categories.
Is there somewhere I need to enable it?
Raul7
08-01-2006, 06:48 PM
Before i install this, i am wondering is there anyway to add more than one URL to a file? for example what if my file has, part 1, part 2, bla bla, anyway to put all parts in one post?
thank you
NiTRoN
08-01-2006, 06:51 PM
Before i install this, i am wondering is there anyway to add more than one URL to a file? for example what if my file has, part 1, part 2, bla bla, anyway to put all parts in one post?
thank you
not at this time without creating separate entries.. but you can alwasy put urls for 2/3/4th part in the description.. if you want..
That is one of the features that it is on list of things to do.
HappyPike
08-01-2006, 06:57 PM
oh well no biggie.. I got it up and running 5min later after it happened...
What think it happened was when I did upgrade the postbits weren't showing up at all so I uninstalled the 4.x version.. and reinstalled 5.x... which I think it was the cause of tables being dropped.
Oh well anyhow.. Another question.. Where is it suppose to "Category Image" show the actuall image? I've placed full url and i'm looking thru the categories and don't see anywhere logos/images showing for the categories.
Is there somewhere I need to enable it?
heh, I think the postbit not showing is actually due to a renamed desc field. :) All you needed to do was revert a few edited templates for it to show up. The tables should still be there.
The category images show up fine for me.
not at this time without creating separate entries.. but you can alwasy put urls for 2/3/4th part in the description.. if you want..
Thart's what my members do. or merge the parts into 1 file....
HappyPike
08-01-2006, 07:14 PM
Is anyone able to show the info in postbit?
Find in postbit and postbit_legacy
$vbphrase[posts]: $post[posts]
Add below
$dmemberinfo
I did these sometime ago but nothing appears in postbit.
CyberRanger
08-01-2006, 07:53 PM
Is anyone able to show the info in postbit?
I did these sometime ago but nothing appears in postbit.
I actually scratched my head on this one for a few minutes too! I'd failed to change "Show Download Stats" and "Show Member Files" to "Yes" in admincp -> downloads -> settings. Could that be what's getting you?
HappyPike
08-01-2006, 08:15 PM
Cool. Turning on that "Show Download Stats" option got it to work. :) Though I decided not to show the info in postbit.. just in profile page is enough.
DementedMindz
08-02-2006, 02:45 AM
Everyone should Nominate for Mod o.t. Month... I Personally feel westpointer has put so much time in this and major support.. To not see it in this months Mod o.t. Month sucks but i voted for his other mod ;)
Maagic
08-02-2006, 02:34 PM
I have this working on my site, and have imported some files, but when I click the download link it just sits there for about 5 minutes then I get the usual "save as" window. No errors though.
bollie
08-03-2006, 11:29 AM
Invalid SQL:
SELECT * FROM dl_files WHERE `purgatory` = '0' AND `category` = '4' ORDER BY `pin` DESC, `postdate` DESC LIMIT 0,20;
MySQL Error : Unknown column 'postdate' in 'order clause'
Error Number : 1054
Date : Thursday, August 3rd 2006 @ 02:26:35 PM
Script : ..................../forum/downloads.php?do=cat&id=4&sort=postdate
Referrer :
IP Address : ...............
Username : ..........
Classname : vB_Database
CyberRanger
08-03-2006, 11:46 AM
Invalid SQL:
SELECT * FROM dl_files WHERE `purgatory` = '0' AND `category` = '4' ORDER BY `pin` DESC, `postdate` DESC LIMIT 0,20;
MySQL Error : Unknown column 'postdate' in 'order clause'
Script : ..................../forum/downloads.php?do=cat&id=4&sort=postdate
I've confirmed using that url will generate that error ... but I can't figure out how you got there. Can you provide some more details about what you clicked on to get to that point?
RS_Jelle
08-03-2006, 02:32 PM
I can't find out how you generated that error. The sort order is put immediately in the query without any check (only the standard security check), so that can give these problems. That's also one of the things I'm rewriting for a next release, so there will be a check to block unvalid sort options. In a next release there will be also an ascending/descending option for a more logical sorting :)
I would suggest you to revert all downloads templates and reupload the files. Maybe you changed something?
HappyPike
08-06-2006, 12:04 AM
westpointer & Jelle, do you know if this version works with vB 3.6?
CyberRanger
08-06-2006, 01:48 AM
westpointer & Jelle, do you know if this version works with vB 3.6?
Yes, it does.
unitedpunjab
08-06-2006, 02:59 AM
I have VB 3.6.0 Installed. And Yesterday i installed Downloads II mod. It is workin fine and efficently. I just want to know few things:-
1. What is ECDonwload Buddy and how it gonna help me with Downloads II on VB 3.6.0 ??
2. How can i add Multiple External link in single download post. e.g Let say i have musical album with 10 diffrent link and all are external links. How can i add them using external link feautre in single download post ??
Please Explain. Waiting for Quick Reply.
By the Nice Job Done. Me LIKI IT :D
CyberRanger
08-06-2006, 03:03 AM
I have VB 3.6.0 Installed. And Yesterday i installed Downloads II mod. It is workin fine and efficently. I just want to know few things:-
1. What is ECDonwload Buddy and how it gonna help me with Downloads II on VB 3.6.0 ??All of the Buddy features are integrated into the latest version of DownloadsII. You should NOT install Buddy. Simply install the latest version of DownloadsII.
2. How can i add Multiple External link in single download post. e.g Let say i have musical album with 10 diffrent link and all are external links. How can i add them using external link feautre in single download post ??
This isn't currently supported ... exactly. BUT ... the description for each download file supports adding links in the text so if the links are external you can add an unlimited number of links in the description,
unitedpunjab
08-06-2006, 03:08 AM
This isn't currently supported ... exactly. BUT ... the description for each download file supports adding links in the text so if the links are external you can add an unlimited number of links in the description,
But User usually Click on that Big Download Button...and they expect to b downloaded everything from there or from the linkz listed below......
But i think u also suggested me a good way to add external links.
Wat else i can do with this ?? any other nice idea :p
Mickie D
08-06-2006, 12:15 PM
ok i have found that there is a issue with php5 and the new release becuase it gets to 1.9mb and stops when downloading so i did a google on this error and found some other download software was having the same issue and they fixed this... but i dont know how sorry.
please look at this website they have the same issue
http://www.cubecart.com/site/forums/lofiversion/index.php/t18311.html
mainly post 5 ;)
is there any changes that are causing this as it was working great before the latest update ??
or can i downgrade to an earlier stable version if it cannot be fixed ?
Regards
Freakpyromaniac
08-06-2006, 11:02 PM
Hey all ,
I have installed it but got 1 problem. I cannot put in a discription.
In settings the Length of File Description on Summary Page is on 300.
Its is not on my screen., I see the word discription but there is nothing where i can put the discription in. That for i cannot submit a file. Can somebody please explain me what i do wrong..
Freakpyromaniac
08-07-2006, 01:53 PM
Hey all ,
I have installed it but got 1 problem. I cannot put in a discription.
In settings the Length of File Description on Summary Page is on 300.
Its is not on my screen., I see the word discription but there is nothing where i can put the discription in. That for i cannot submit a file. Can somebody please explain me what i do wrong..
Simple said i dont have a disciption field ???????
HappyPike
08-07-2006, 02:18 PM
For the top contributors list is, there a way to make it based on the authors instead of the uploaders?
Simple said i dont have a disciption field ???????
Try reverting the templates containing the description or editing them to use the new variable name (ex. $desc to $description).
Freakpyromaniac
08-07-2006, 02:31 PM
For the top contributors list is, there a way to make it based on the authors instead of the uploaders?
Try reverting the templates containing the description or editing them to use the new variable name (ex. desc to description).
Well i am a little noob with this ..So i dont know even wich template to do that to.
gator777
08-07-2006, 06:41 PM
I used phpmyadmin and opened the "dl_files" table and changed the field name from "description" to "desc" and it seems to have worked. Thanks for pointing me in the right direction. :D
HappyPike
08-08-2006, 12:07 AM
I used phpmyadmin and opened the "dl_files" table and changed the field name from "description" to "desc" and it seems to have worked. Thanks for pointing me in the right direction. :D
You should have reverted the template instead of renaming the field back to "desc". :p
I think westpointer changed the field name to description from desc because desc is a mySQL reserved keyword can cause problem when you restore the database from a backup.
HappyPike
08-08-2006, 12:11 AM
Well i am a little noob with this ..So i dont know even wich template to do that to.
Just go to the templates and open the "Downloads Templates" group. There are not many templates in there.
The templates you want to look at are
downloads_cat_filebit
downloads_file
downloads_file_addit
Obviously if you haven't edited you templates at all, then reverting is not necessary.
gator777
08-08-2006, 05:41 AM
Ok, I found the issue and discovered that I did not have an updated "download.php" that was causing the issue. Very strange indeed. :)
unitedpunjab
08-08-2006, 09:33 AM
Well i m using Download II. It is a nice thing to have on a download site. But there are certain things which should b there but they are missing in existing system of Downloads II. Looking for a updated version so that Downloads II become more efficent and usefull than it is right now.
Would like to see these in Downloads II latest version
Multiple External Link in Single Download post should b allowed as right now Downloads II allow to add only one download link. If we add multiple downloads link in description section than the Download Button and the Download thumbnail in catageory become useless and user have to redirect them to some other external link or to some image. VERY PAINFUL while addin music albums or adding multiple files.
If Thumbnails of latest files added to downloads are shown on the download page that will b great. As in Arcade, when we add some new game in the arcade it automatically shows on the main page of the arcade with full details like who played that game, how many times and when. Such details can b usefull for user who are downloading from Downloads II.
There should be some kinda Upload Progress bar. Because it get very difficult for a user to know how much of the file is done and how much is left while uploadin stuff.
And if possible Download should not be start untill user don't post a comment for the download.
Random Download box can be included on the left panel.
Well it's all on you till what level you can take the Downloads II.
HappyPike
08-09-2006, 04:04 AM
It would be nice if the column headers on the My Files page allow people to sort their files (ex. by date added, by name, etc).
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.