View Full Version : ecDownloads 3.2 Legacy
bspiller82
08-10-2005, 01:49 AM
Quote:
Originally Posted by bspiller82
Ideas?
The download|upload| and what ever other links there was are also missing... This craps all borked. I did a fresh install and the same thing.
All you see is | | | and you can't anywhere...
Rebuild your styles and languages.
I did that and it still doesn't work. The user permisions are still blank. And now the downloads.php page shows NO catorgories.
http://www.247xtreme.com/forums/downloads.php
I tossed in the old 2.0 install file and fully remvoed all the stuff from the old version then redid the install of templates/phrases and that is what it does now..
xtreme-mobile
08-10-2005, 06:42 AM
i just keep getting the page can not be dislplayed error when rebuilding language :(
Detomah
08-10-2005, 09:52 AM
i just keep getting the page can not be dislplayed error when rebuilding language :(
Have you checked the url?
I had that issue initially and just manually edited the url in the address bar and it worked fine.
ZombieAndy
08-10-2005, 01:56 PM
i need help i installed this on my forums but it didn't work so i tried uninstalling it and then installing it again but i just get database errors when i click install now :S
Morrus
08-10-2005, 02:04 PM
i need help i installed this on my forums but it didn't work so i tried uninstalling it and then installing it again but i just get database errors when i click install now :S
Yeah I asked that. Got no answer. Maybe he'll answer you. :)
CyberRanger
08-10-2005, 05:32 PM
I dont think thats my error - i cant be sure though. I rebuild styles and langauges by using the vbulletin functions (i just direct you to their URL). Does anyone see an actual ERROR MESSAGE?The link is wrong - http://localhost/3_0_8/admincp/language.php?do=rebuild&goto=language.php?
I manually edited mine and it ran.
CyberRanger
08-10-2005, 05:34 PM
i need help i installed this on my forums but it didn't work so i tried uninstalling it and then installing it again but i just get database errors when i click install now :SThe uninstall does not delete the new phrases. I deleted them using phpMyAdmin from the phrases table.
xtreme-mobile
08-10-2005, 05:41 PM
The link is wrong - http://localhost/3_0_8/admincp/language.php?do=rebuild&goto=language.php?
I manually edited mine and it ran.
what is the correct url?
many thanks
dean
CyberRanger
08-10-2005, 06:00 PM
what is the correct url?
many thanks
dean
http://www.xxx.xxx.xxx/forums/admincp/language.php?do=rebuild&goto=language.php?
Replace the xxx's with the correct info for your site.
xtreme-mobile
08-10-2005, 06:11 PM
that worked great
thanks
how do you upload files? there is no options?
many thanks
dean
CyberRanger
08-10-2005, 07:05 PM
that worked great
thanks
how do you upload files? there is no options?
many thanks
deanOnce you set the usergroup permissions in admincp, the run /forums/downloads.php. You should then see the option to "Add" if you are in a usergroup with those permissions.
CyberRanger
08-10-2005, 07:08 PM
I do have one small problem. When I edit the usergroup settings, the last two lines don't display any text. See attached:
s1l3NCER
08-10-2005, 08:05 PM
I uninstall thsi hack couse itgave me a ugly mysql error when i try to edit my groups.. and I still have the same problem eventhough I uninstall it. but good job.
xtreme-mobile
08-10-2005, 09:00 PM
Once you set the usergroup permissions in admincp, the run /forums/downloads.php. You should then see the option to "Add" if you are in a usergroup with those permissions.
cheers that worked
BUT i cant download the files now :(
and when i upload the files they upoad but they show an error at the top :(
any ideas?
CyberRanger
08-11-2005, 01:29 AM
cheers that worked
BUT i cant download the files now :(
and when i upload the files they upoad but they show an error at the top :(
any ideas?Did you do a change the permissions on your download directory to 777?
CyberRanger
08-11-2005, 01:33 AM
One more small issue. When a file is deleted, the summary page of categories does not have the correct count, although the detail listing of sub-categories does.
Wrong count: http://www.strategyzoneonline.com/forums/downloads.php?styleid=74, note how MultiManPublishing has a count of 9. That includes deleted files.
Correct count: http://www.strategyzoneonline.com/forums/downloads.php?do=cat&id=1&styleid=74 , sub-categories have the correct count.
xtreme-mobile
08-11-2005, 08:16 AM
Did you do a change the permissions on your download directory to 777?
yes but have i done it correct?
i created a file called downloads and put it in forums/downloads
is that right cos it still is not working
regards
dean
CyberRanger
08-11-2005, 10:40 AM
yes but have i done it correct?
i created a file called downloads and put it in forums/downloads
is that right cos it still is not working
regards
deanNo, not a file. You should create a directory under forums.
JMH11788
08-11-2005, 04:07 PM
the settings link doesnt work in Admic CP...it seems its not even in the php file, while category is.
Any reason, or way to fix?
xtreme-mobile
08-11-2005, 08:39 PM
No, not a file. You should create a directory under forums.
i went into smart ftp
and when itto forums and the right clicked and selected create new folder and called it downloads?
is that not right?
regards
dean
xtreme-mobile
08-11-2005, 08:44 PM
ive done something seriously wrong here :disappointed:
when i upload a file i dont think its actually saving to anywhere hence the errors when trying to sownload the file
see screen shot :)
CyberRanger
08-12-2005, 01:17 AM
i went into smart ftp
and when itto forums and the right clicked and selected create new folder and called it downloads?
is that not right?
regards
deanWhat are the permissions on the folder?
CyberRanger
08-12-2005, 01:18 AM
the settings link doesnt work in Admic CP...it seems its not even in the php file, while category is.
Any reason, or way to fix?You need to apply the fixes listed at the top of this thread: https://vborg.vbsupport.ru/attachment.php?attachmentid=33210
Drago912
08-12-2005, 01:45 AM
Full of bugs.....support sux.....has since been uninstalled........when something stable and working comes out I might consider another try, till then......notta
xtreme-mobile
08-12-2005, 06:06 AM
What are the permissions on the folder?
777
regards
dean
This mod is too buggy to be reliable. Updates and bugfixes should be incorporated immediately in the download package. Instructions should be much clearer and easy to follow..
There are other solutions to this (non vbulletin) that can be implemented, at least thats what I will do. So... *uninstalled*
Im not trying to hack down on the time and effort gone into this by the creator, just sharing my opinion to rest of the vbulletin users. Maybe it can get better, the idea is good.
CyberRanger
08-12-2005, 06:05 PM
I do have one small problem. When I edit the usergroup settings, the last two lines don't display any text. See attached:Fixed this myself. In admincp/usergroup.php, around line 205, there was a mis-spelled phrase.
Change: print_yes_no_row($vbphrase['ecdownloads_can_eidt_all_files'], 'usergroup[caneditallfiles]', $ug_bitfield['caneditallfiles']);
To: print_yes_no_row($vbphrase['ecdownloads_can_edit_all_files'], 'usergroup[caneditallfiles]', $ug_bitfield['caneditallfiles']);That will fix the text for "Can Edit All Files".
The last line is supposed to read "Can View Disabled Download Section." The vbphrase it is looking for is "ecdownloads_can_view_disabled". However, the vbphrase (under type Permissions) is actually "ecdownloads_view_disabled". You need to either modify the existing vbphrase or add a new phrase named "ecdownloads_can_view_disabled".
CyberRanger
08-12-2005, 06:16 PM
777
regards
dean :ermm: I don't know then. My install is working fairly good. I don't consider it that buggy for the value that is added.
BTW - the author is focusing on the 3.5 version ... so give him a break!
ZombieAndy
08-12-2005, 10:43 PM
:ermm: I don't know then. My install is working fairly good. I don't consider it that buggy for the value that is added.
BTW - the author is focusing on the 3.5 version ... so give him a break!
ok i got my first problem fixed but whever i try to edit a usergroups permissions to allow them to use this feature i get this error:
Database error in vBulletin 3.0.5:
Invalid SQL: UPDATE usergroup SET
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
title = 'Administrators',
description = '',
usertitle = 'Administrator',
opentag = '<B><I>',
closetag = '</B></I>',
passwordexpires = '0',
passwordhistory = '0',
canmanagepurgatory = '1',
shoutmaxdaily = '0',
shouthierarchy = '1',
attachlimit = '0',
avatarmaxwidth = '100',
avatarmaxheight = '100',
avatarmaxsize = '102400',
profilepicmaxwidth = '250',
profilepicmaxheight = '250',
profilepicmaxsize = '102400',
pmquota = '5000',
pmsendmax = '20',
forumpermissions = '393215',
pmpermissions = '3',
calendarpermissions = '31',
wolpermissions = '31',
adminpermissions = '3',
genericpermissions = '4194239',
genericoptions = '23',
shoutboxpermissions = '1023',
arcadepermissions = '31',
downloadpermissions = '1023'
WHERE usergroupid=6
mysql error: Unknown column 'canmanagepurgatory' in 'field list'
mysql error number: 1054
Date: Friday 12th of August 2005 07:42:21 PM
Script: http://www.alienfishtank2.com/forums/admincp/usergroup.php
Referer: http://www.alienfishtank2.com/forums/admincp/usergroup.php?s=&do=edit&usergroupid=6
oh yeah and the settings link dosn't work. it just brings up a blank page.
CyberRanger
08-13-2005, 01:21 AM
oh yeah and the settings link dosn't work. it just brings up a blank page.Make sure you do the fixes from that are at the top of the page: https://vborg.vbsupport.ru/attachment.php?attachmentid=33210. That will fix the blank settings link. Check your settings then try the user groups again.
xtreme-mobile
08-13-2005, 07:36 AM
:ermm: I don't know then. My install is working fairly good. I don't consider it that buggy for the value that is added.
BTW - the author is focusing on the 3.5 version ... so give him a break!
is there a file edit i have to do to get it to link to that downloads folder or something?
Bernd
08-13-2005, 01:10 PM
Will a future upgrade include screenshot uploads? That's the only thing I'm currently missing.
ZombieAndy
08-13-2005, 02:06 PM
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '<PREFIX>dl_stats WHERE 1' at line 1
while attempting to run the query.
CyberRanger
08-13-2005, 08:33 PM
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '<PREFIX>dl_stats WHERE 1' at line 1
while attempting to run the query.ah ... replace the prefix with either your db prefix or remove that and make it just dl_stats.
CyberRanger
08-14-2005, 01:33 AM
is there a file edit i have to do to get it to link to that downloads folder or something?Make sure that the setting in the admincp is the same as where your dl folder is.
ZombieAndy
08-14-2005, 01:08 PM
Make sure that the setting in the admincp is the same as where your dl folder is.
ok last question, how and where do i replace the 2 missing phrases so that the last 2 options appear in the user manager
xtreme-mobile
08-14-2005, 02:40 PM
Make sure that the setting in the admincp is the same as where your dl folder is.
yeh have done but still no joy :(
CyberRanger
08-15-2005, 09:59 AM
ok last question, how and where do i replace the 2 missing phrases so that the last 2 options appear in the user manager
From my earlier post:
I do have one small problem. When I edit the usergroup settings, the last two lines don't display any text. See attached:Fixed this myself. In admincp/usergroup.php, around line 205, there was a mis-spelled phrase.
Change: print_yes_no_row($vbphrase['ecdownloads_can_eidt_all_files'], 'usergroup[caneditallfiles]', $ug_bitfield['caneditallfiles']);
To: print_yes_no_row($vbphrase['ecdownloads_can_edit_all_files'], 'usergroup[caneditallfiles]', $ug_bitfield['caneditallfiles']);That will fix the text for "Can Edit All Files".
The last line is supposed to read "Can View Disabled Download Section." The vbphrase it is looking for is "ecdownloads_can_view_disabled". However, the vbphrase (under type Permissions) is actually "ecdownloads_view_disabled". You need to either modify the existing vbphrase or add a new phrase named "ecdownloads_can_view_disabled".
CyberRanger
08-15-2005, 10:03 AM
yeh have done but still no joy :(hmm... where did you place the download folders (full path) and what is the setting in admincp?
JMH11788
08-15-2005, 06:29 PM
i have a problem. the settings section in the admincp wount come up....its just a blank white page....
Ron1n
08-15-2005, 08:06 PM
It seems like everyone is suffering from the same errors that are fixable if you follow westpointer's advice.... so just look at the posts he has been making and you shouldn't have any problems at all.
Not smart eh.....was the only way it would work and I have done every edit you supplied...........I'll do something real smart then and uninstall the mod......thats for your help.
Full of bugs.....support sux.....has since been uninstalled........when something stable and working comes out I might consider another try, till then......notta
I have a better idea, dont ever use anything I make again. You could try making one yourself, but I doubt you have the brains.
thephonemall
08-15-2005, 08:53 PM
Ron1n:
This is an excellent addition to VB. With this much code there is bound to be a couple bugs. I apologize on behalf of all the complainers. There is no way we could attempt to code something like this ourselves.
I am still having an SQL error but I am sure it will be figured out shortly. This looks like an awesome MOD! I'll clikc install as soon as i get it running.
thephonemall
08-15-2005, 08:54 PM
I am getting this error When I click on a category in downloads.php..
---------------------
Warning: Division by zero in /includes/functions.php on line 1861
Database error in vBulletin 3.0.8:
Invalid SQL: SELECT * FROM dl_files WHERE `purgatory` = '0' AND `category` = '3' ORDER BY `pin` DESC, `date` DESC LIMIT 0,
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
mysql error number: 1064
------------------------------
Anyone got an answer?
Thanks :surprised:
bspiller82
08-15-2005, 09:23 PM
Uninstalled as well. I'll try going back to an older version. This new one just will NOT work. The permissions in the admin cp are blank and with all the fixes supplied they don't fix it.
thephonemall
08-15-2005, 09:30 PM
Nevermind.. I fixed this problem as per Ron1n's instructions at:
https://vborg.vbsupport.ru/showthread.php?p=752016&highlight=division#post752016
Simply Change the number of files from "20" to "5" and then hit Save.
Categories are now viewable.
I am getting this error When I click on a category in downloads.php..
---------------------
Warning: Division by zero in /includes/functions.php on line 1861
Database error in vBulletin 3.0.8:
Invalid SQL: SELECT * FROM dl_files WHERE `purgatory` = '0' AND `category` = '3' ORDER BY `pin` DESC, `date` DESC LIMIT 0,
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
mysql error number: 1064
------------------------------
Anyone got an answer?
Thanks :surprised:
Drago912
08-16-2005, 12:04 AM
It seems like everyone is suffering from the same errors that are fixable if you follow westpointer's advice.... so just look at the posts he has been making and you shouldn't have any problems at all.
I have a better idea, dont ever use anything I make again. You could try making one yourself, but I doubt you have the brains.
Not to worry........the crap aint worth my time........and no I cant create my own but if I could I'd make sure it worked without bugs before putting it out there. You probably didnt create the code anyway.........lol
ZombieAndy
08-16-2005, 12:18 AM
hey show some respect man ive had a few problems with this hack but ive followed the advice given and now its working properly so if yours isnt working its becuase you havn't installed it right and are too ignorant to follow the advice given. if you cant even install it then you have no chance at making one yourself so show some respect to the people who do.
JMH11788
08-16-2005, 03:30 AM
okay, I got everything working now. Great hack Ron1n!
For the new version, think you could have a "Random Files" box? I think that would be cool! It would also be KICK@SS if you could include a WYSIWYG Editor like cinq has on his stuff. NOW THAT WOULD BE COOL! maybe have him help you if you dont know how? his site is http://vbarticles.com/
let me know what you think!
THE WYSIWYG FEATURE
This Hack utilizes a WYSIWYG editor from FCKeditor (http://www.fckeditor.net/).
From the website :
"This HTML text editor brings to the web many of the powerful functionalities of known desktop editors like Word. It's really lightweight and doesn't require any kind of installation in the client computer.
As it is Open Source, you are allowed to use it for free wherever you want."
It is compatible with IE 5+, Mozilla and Netscape. I have editted some of the files in the FCKeditor package for the purposes of this hack.
Note that I will not support this functionality at all, use the WYSIWYG feature in the Admincp at your own risk.
If you decide against it, you will lack the ability to upload images to your site via a http interface. But you can still do so through FTP or other means and
include the neccessary img tags in your article contents.
Ron1n
08-16-2005, 04:59 AM
I'm sorry to say I wont be adding new functionality to the mod for 3.0.8, just for 3.5. I will add your ideas in the future, I hope you upgrade to 3.5.
Not to worry........the crap aint worth my time........and no I cant create my own but if I could I'd make sure it worked without bugs before putting it out there. You probably didnt create the code anyway.........lolShockingly, that is the smartest thing you have said in any of your vbulletin.org posts. Now go back to your no-traffic forum and stfu kthxbye!
Hoffi
08-16-2005, 06:54 AM
I have a Question. i don't understand the following:
Can Avoid Purgatory
What did this mean?
And the Usergroup Right "Can Link to Files"? Is that, that the Usergroup can use external Files when adding a new Download?
by the way: Good Hack.
Ron1n
08-16-2005, 02:00 PM
link to files = can provide links for downloads
upload files = can upload files for downloads
avoid purgatory = their files arent placed in a moderation queue
can manage purgatory = they can moderate the file moderation queue
thephonemall
08-16-2005, 02:50 PM
For those of you still having trouble with usergroups being shown properly in AdminCP here is the way the modification should look in usergroups.php:
// ###### ELITECODERS DOWNLOAD HACK ######
print_table_header("Download Permissions");
print_yes_no_row($vbphrase['ecdownloads_can_edit_all_files'], 'usergroup[caneditallfiles]', $ug_bitfield['caneditallfiles']);
print_yes_no_row($vbphrase['ecdownloads_can_download_files'], 'usergroup[candownloadfiles]', $ug_bitfield['candownloadfiles']);
print_yes_no_row($vbphrase['ecdownloads_can_rate_files'], 'usergroup[canratefiles]', $ug_bitfield['canratefiles']);
print_yes_no_row($vbphrase['ecdownloads_can_upload_images'], 'usergroup[canuploadimages]', $ug_bitfield['canuploadimages']);
print_yes_no_row($vbphrase['ecdownloads_can_link_to_files'], 'usergroup[canlinktofiles]', $ug_bitfield['canlinktofiles']);
print_yes_no_row($vbphrase['ecdownloads_can_upload_files'], 'usergroup[canuploadfiles]', $ug_bitfield['canuploadfiles']);
print_yes_no_row($vbphrase['ecdownloads_can_avoid_purgatory'], 'usergroup[canavoidpurgatory]', $ug_bitfield['canavoidpurgatory']);
print_yes_no_row($vbphrase['ecdownloads_can_manage_purgatory'], 'usergroup[canmanagepurgatory]', $ug_bitfield['canmanagepurgatory']);
print_yes_no_row($vbphrase['ecdownloads_can_edit_own_files'], 'usergroup[caneditownfiles]', $ug_bitfield['caneditownfiles']);
print_yes_no_row($vbphrase['ecdownloads_can_view_disabled'], 'usergroup[canviewdisabled]', $ug_bitfield['canviewdisabled']);
print_yes_no_row($vbphrase['ecdownloads_can_view_files'], 'usergroup[canviewfiles]', $ug_bitfield['canviewfiles']);
print_table_break();
// ###### ELITECODERS DOWNLOAD HACK ######
xtreme-mobile
08-16-2005, 04:09 PM
hmm... where did you place the download folders (full path) and what is the setting in admincp?
in .....
public_html/Forums/downloads <-------- this is the folder i created
My download folder is in the site root (public_html) and to get it working I had to change the setting to ../downloads/ (note the extra dot).
Also, for some strange reason all my files lost their approval status so I had to go through them all again.
Can't say it was a smooth upgrade from 2.0f as there was a lot of tweaking had to be done but its working now and I'm a happy bunny - Thanks Ron1n for this incredibly useful hack :)
JMH11788
08-17-2005, 02:37 AM
I'm sorry to say I wont be adding new functionality to the mod for 3.0.8, just for 3.5. I will add your ideas in the future, I hope you upgrade to 3.5.
yeh I meant for the stuff to be in 3.5
No sense on doing 3.0.8!
Glad to hear my ideas helped, good luck with the new design! people that are complaining about your mod now are just asses. they should be kissing your feet. its a FREE hack for god's sake! you even said there will be very minor errors. if they dont like it, they should not install it and STFU!!!
-Jordan
Hoffi
08-17-2005, 06:05 AM
Thanks Ronin for the explanation.
CyberRanger
08-17-2005, 10:40 AM
My download folder is in the site root (public_html) and to get it working I had to change the setting to ../downloads/ (note the extra dot)Yes, you would need to change that since you are making the download folder at the same level as your forums folder instead of below it.
CyberRanger
08-17-2005, 12:17 PM
in .....
public_html/Forums/downloads <-------- this is the folder i createdI don't know. If you want to send me more detailed info in a PM (site name and login info) I'll look at your setup for you.
ZombieAndy
08-17-2005, 10:14 PM
I don't know. If you want to send me more detailed info in a PM (site name and login info) I'll look at your setup for you.
i found another prob with this great hack guys, it seems to have trouble uploading large files.. about 10mb and over... it just dosn't upload them, it creates the entry in the downloads section of the forums, but when you click "download now" it just brings up a 404 and if i look in the directory by FTP the file is missing.
any idea's?
JMH11788
08-18-2005, 02:24 AM
i found another prob with this great hack guys, it seems to have trouble uploading large files.. about 10mb and over... it just dosn't upload them, it creates the entry in the downloads section of the forums, but when you click "download now" it just brings up a 404 and if i look in the directory by FTP the file is missing.
any idea's?
big files are limited because of php file limitations. what I'd suggest, upload them via ftp then link to the http file name...best way to do bigger files.
CyberRanger
08-18-2005, 02:38 AM
it creates the entry in the downloads section of the forums, but when you click "download now" it just brings up a 404 and if i look in the directory by FTP the file is missing.The ftp idea is the way to go for such a large file. One weakness of the code is that the upload entry is written to the database without confirming the file was successfully uploaded.
Ron1n - I sent you a PM (in case you don't normally check 'em).
ZombieAndy
08-18-2005, 03:15 AM
The ftp idea is the way to go for such a large file. One weakness of the code is that the upload entry is written to the database without confirming the file was successfully uploaded.
Ron1n - I sent you a PM (in case you don't normally check 'em).
so is there a way to fix this or is it IE timing out or something
Hi guys, im wondering if there is a module to display latest downloads for FORUMSHOME?
Kindly let me know. thanks
JMH11788
08-18-2005, 04:02 AM
Hi guys, im wondering if there is a module to display latest downloads for FORUMSHOME?
Kindly let me know. thanks
good question! ^^^^
so is there a way to fix this or is it IE timing out or something
no, PHP is what actually 'times out' nothing you can do about it. just like how downloading large mysql databases through php wount work
BioVader
08-18-2005, 08:49 AM
For those of you still having trouble with usergroups being shown properly in AdminCP here is the way the modification should look in usergroups.php:
// ###### ELITECODERS DOWNLOAD HACK ######
print_table_header("Download Permissions");
print_yes_no_row($vbphrase['ecdownloads_can_edit_all_files'], 'usergroup[caneditallfiles]', $ug_bitfield['caneditallfiles']);
print_yes_no_row($vbphrase['ecdownloads_can_download_files'], 'usergroup[candownloadfiles]', $ug_bitfield['candownloadfiles']);
print_yes_no_row($vbphrase['ecdownloads_can_rate_files'], 'usergroup[canratefiles]', $ug_bitfield['canratefiles']);
print_yes_no_row($vbphrase['ecdownloads_can_upload_images'], 'usergroup[canuploadimages]', $ug_bitfield['canuploadimages']);
print_yes_no_row($vbphrase['ecdownloads_can_link_to_files'], 'usergroup[canlinktofiles]', $ug_bitfield['canlinktofiles']);
print_yes_no_row($vbphrase['ecdownloads_can_upload_files'], 'usergroup[canuploadfiles]', $ug_bitfield['canuploadfiles']);
print_yes_no_row($vbphrase['ecdownloads_can_avoid_purgatory'], 'usergroup[canavoidpurgatory]', $ug_bitfield['canavoidpurgatory']);
print_yes_no_row($vbphrase['ecdownloads_can_manage_purgatory'], 'usergroup[canmanagepurgatory]', $ug_bitfield['canmanagepurgatory']);
print_yes_no_row($vbphrase['ecdownloads_can_edit_own_files'], 'usergroup[caneditownfiles]', $ug_bitfield['caneditownfiles']);
print_yes_no_row($vbphrase['ecdownloads_can_view_disabled'], 'usergroup[canviewdisabled]', $ug_bitfield['canviewdisabled']);
print_yes_no_row($vbphrase['ecdownloads_can_view_files'], 'usergroup[canviewfiles]', $ug_bitfield['canviewfiles']);
print_table_break();
// ###### ELITECODERS DOWNLOAD HACK ######
Actually I think it should be like this just like westpoiter said.
// ###### ELITECODERS DOWNLOAD HACK ######
print_table_header("Download Permissions");
print_yes_no_row($vbphrase['ecdownloads_can_view_files'], 'usergroup[canviewfiles]',
$ug_bitfield['canviewfiles']);
print_yes_no_row($vbphrase['ecdownloads_can_download_files'], 'usergroup[candownloadfiles]',
$ug_bitfield['candownloadfiles']);
print_yes_no_row($vbphrase['ecdownloads_can_rate_files'], 'usergroup[canratefiles]',
$ug_bitfield['canratefiles']);
print_yes_no_row($vbphrase['ecdownloads_can_upload_images'], 'usergroup[canuploadimages]',
$ug_bitfield['canuploadimages']);
print_yes_no_row($vbphrase['ecdownloads_can_link_to_files'], 'usergroup[canlinktofiles]',
$ug_bitfield['canlinktofiles']);
print_yes_no_row($vbphrase['ecdownloads_can_upload_files'], 'usergroup[canuploadfiles]',
$ug_bitfield['canuploadfiles']);
print_yes_no_row($vbphrase['ecdownloads_can_avoid_purgatory'], 'usergroup[canavoidpurgatory]',
$ug_bitfield['canavoidpurgatory']);
print_yes_no_row($vbphrase['ecdownloads_can_manage_purgatory'], 'usergroup[canmanagepurgatory]',
$ug_bitfield['canmanagepurgatory']);
print_yes_no_row($vbphrase['ecdownloads_can_edit_own_files'], 'usergroup[caneditownfiles]',
$ug_bitfield['caneditownfiles']);
print_yes_no_row($vbphrase['ecdownloads_can_edit_all_files'], 'usergroup[caneditallfiles]',
$ug_bitfield['caneditallfiles']);
print_yes_no_row($vbphrase['ecdownloads_view_disabled'], 'usergroup[canviewdisabled]',
$ug_bitfield['canviewdisabled']);
print_table_break();
// ###### ELITECODERS DOWNLOAD HACK ######
BioVader
08-18-2005, 09:31 AM
Question: How do I disable needing to have an author? And is there a way to not change the name of the of the file when it's downloaded. It adds the author, short name and some number that end up at the end. Can this be removed and how.
CyberRanger
08-18-2005, 11:50 AM
Question: How do I disable needing to have an author? And is there a way to not change the name of the of the file when it's downloaded. It adds the author, short name and some number that end up at the end. Can this be removed and how.All of this COULD be done but you are talking about editing downloads.php. If you know PHP, the change would be relatively simple. Look around line 511 for the text $newfilename to change how the file gets named. You'd also need to modify what happens when the author edits the entry.
As far as making the author optional, a better solution would be to change the submission form to automatically place the username in the author field. That would probably require a change in the template.
CyberRanger
08-18-2005, 02:23 PM
If you edit a download, the file extension is lost when you save the edit. To fix this, look for this around line 549 in downloads.php: elseif($_GET['do'] == 'edit')
{
$result = $DB_site->query("UPDATE " . TABLE_PREFIX . "dl_files SET `name`=".$dl->prep($_POST['name']). add this line before the $result:$newfilename = $newfilename.strtolower(substr($file['url'], strrpos($file['url'], '.')+1)); // fix ext dropping problem
The final result should look like: elseif($_GET['do'] == 'edit')
{
$newfilename = $newfilename.strtolower(substr($file['url'], strrpos($file['url'], '.')+1)); // fix ext dropping problem
$result = $DB_site->query("UPDATE " . TABLE_PREFIX . "dl_files SET `name`=".$dl->prep($_POST['name']).
BioVader
08-19-2005, 09:50 AM
Uhg.. Well as another users has stated, I'm having another problem with my uploaded files count. I have actually 1 file right now for download... I've been trying to get a video file to work. Yes I have added the extension in the setting like you supposed to but everytime I upload it and you click the download link you get a blank screen.. so I've tried uploading it about, oh 11 times and now the site says there are 12 downloads available.. How can this be fxed because it's not right.
CyberRanger
08-19-2005, 11:01 AM
Uhg.. Well as another users has stated, I'm having another problem with my uploaded files count. I have actually 1 file right now for download... I've been trying to get a video file to work. Yes I have added the extension in the setting like you supposed to but everytime I upload it and you click the download link you get a blank screen.. so I've tried uploading it about, oh 11 times and now the site says there are 12 downloads available.. How can this be fxed because it's not right.It sounds like you have two problems 1) You upload the file but it doesn't download 2) you feel the file count is wrong.
As for #1, I'm not sure. Can you provide your site URL?
For #2, the file count is correct. Note that even if you upload the same file 12 times, the file gets renamed each time and will be counted as 12 uploads. Now, if you've deleted the file first, then uploaded it, and your count says 12 that is a problem.
Ron1n
08-21-2005, 01:11 AM
To the above post:
Please post this in another thread as an "addon" and not within this thread. I think you offered great instructions, but I dont think that most people need to do this and I doubt the majority of the people can (physical + mental limitations). Many people dont even have access to non public_html or www sections of their website (except 4 tmp and ftp which I wouldnt advise using).
Thanks for your work, cant wait to speak with you on ICQ.
Also, a note about my own system: If you have an index file in the /downloads/ directory, then the direct link to the file is impossible to figure out. I might have overlooked something (i doubt I did), but users would have to know your abbreviation for the category, the way I format filenames, the name of the file, the author, and the time uploaded (which they would have to convert to an integer). Basically, its 15 minutes of work just to find the one file name - and provided that most people dont know how I create the new filename - its very, VERY unlikely. Using my system people cannot just mouse-over a link and see the file URL. Before they could, but now they cant.
CyberRanger
08-21-2005, 01:17 AM
To the above post:
Please post this in another thread as an "addon" and not within this thread..Understood, I removed the post. ;)
djsydeburnz
08-21-2005, 01:34 AM
ronin, thanks for this update....after some time i got most of it working on my site. i was worried i fubar'ed it, but after a couple hours of searching the forums i found most of my answers. i accidentally posted a question to the post on the 3.5 release, so disregard.
my only 3 questions left . . . .
Is there a fix avail or coming for the edit file problem? whenever you edit a file, it changes the original name.
Can something be done about removing the <br /> that shows in the edit window after a file has been added?
Is there a template i can use for the adv_portal that works with 3.0.7? the 3.5 version makes my frontpage look all screwy. 100% width and the table header does not fit in with the them.
thanks in advance.
djsydeburnz
08-21-2005, 01:35 AM
oh, also i cannot see the permissions table that tells members what they can or cannot do on the downloads page....i think i missed something.
djsydeburnz
08-21-2005, 01:37 AM
dang, last one, i promise. the latest files block seems to have all the files stuck at 6 downloads....????
Ron1n
08-21-2005, 07:52 PM
ronin, thanks for this update....after some time i got most of it working on my site. i was worried i fubar'ed it, but after a couple hours of searching the forums i found most of my answers. i accidentally posted a question to the post on the 3.5 release, so disregard.At least you are self-aware and try to find the answers. If only the rest of the users could be like you.
Is there a fix avail or coming for the edit file problem? whenever you edit a file, it changes the original name.This only applies to files you added prior to the upgrade. No new files will have this problem. There is no fix for the old files.
Can something be done about removing the <br /> that shows in the edit window after a file has been added?I assume this is the same question as the one above - and the answer is no for old files, and for new files - this shouldnt be a problem. If this happens with new files, please provide a screenshot.
Is there a template i can use for the adv_portal that works with 3.0.7? the 3.5 version makes my frontpage look all screwy. 100% width and the table header does not fit in with the them.
thanks in advance.[/QUOTE]
Copy a template from a module for 3.0.7 and take the variables ($) from the module I provided and put them in the 3.0.7 template.
oh, also i cannot see the permissions table that tells members what they can or cannot do on the downloads page....i think i missed something.Nope, I removed it.
dang, last one, i promise. the latest files block seems to have all the files stuck at 6 downloads....????Not sure what you mean by this. Latest files shouldnt be orderd by # of downloads. Screenshots are helpful.
djsydeburnz
08-22-2005, 12:13 AM
i have attatched a screenshot and circled the latest topics. it seems that all of them say '6' next to them.
Ron1n
08-22-2005, 02:35 AM
Odd, shouldnt say anything there. I am guessing I forgot delete that variable and the 6 actually represents a file ID or user ID.
xtreme-mobile
08-23-2005, 06:00 PM
this would have been a great hack if it worked :(
gonna uninstall this later :(
Ron1n
08-23-2005, 06:30 PM
this would have been a great hack if it worked :(
gonna uninstall this later :(I think you mean it "would have been a great hack if xtreme-mobile had a brain"
xtreme-mobile
08-23-2005, 06:32 PM
and the point in throwing abuse was?
just said i couldnt get it to work, it wasnt a dig, i really wanted this hack but no one could help fix it,
i appreciate the help people have given me, but unfortunatly it didnt work out so im gonna be forced to uninstall it.
so keep your school boy abuse to your self please
Ron1n
08-23-2005, 06:48 PM
and the point in throwing abuse was?
just said i couldnt get it to work, it wasnt a dig, i really wanted this hack but no one could help fix it,
i appreciate the help people have given me, but unfortunatly it didnt work out so im gonna be forced to uninstall it.
so keep your school boy abuse to your self pleaseI like how you changed your post from you small cocked homo to something nicer after you realised how much of an idiot you looked like. To bad you cant go into our other correspondence to clean that up too.
Here is a list of hacks you have had trouble installing:
Trader Ratings v1.2.0
Shoutbox Hack 1.04b
ecDownloads 3.2 Legacy
[Adv] banners Hack
Vb3 Affiliate Hack
Download Credit System
vB Easy Archive - Search Engine Spiderable Hack!
Post Thank You Hack 1.10
Mood Hack
Article Bot
Hot Topics/Threads
Flashchat: Who is chatting
vbPopup for vB3
24h Visitors' Statistics (members and guests)
Post Thank You Hack 1.10
Warning Hack V1.5
Do you see a pattern here?
xtreme-mobile
08-23-2005, 07:07 PM
so what if i had trouble installing them, who cares? i dont sit ata pc all day looking at code and stuff.if no-one had problems installing these there would be no need for this forum would there
yahoooh
08-30-2005, 02:09 AM
hello i get this error when i chick the stats :
Database error in vBulletin 3.0.6:
Invalid SQL: SELECT * FROM vb5_dl_stats ORDER BY `day` DESC LIMIT 0,
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
mysql error number: 1064
how to fix that and thanks
yahoooh
08-30-2005, 02:16 AM
also : Warning: Division by zero in /includes/functions.php on line 1858
Database error in vBulletin 3.0.6:
Invalid SQL: SELECT * FROM vb5_dl_files WHERE `purgatory` = '0' AND `category` = '1' ORDER BY `pin` DESC, `date` DESC LIMIT 0,
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
when i visit :downloads.php?do=cat&id=1
yahoooh
08-30-2005, 02:42 AM
i remove this ugly ,insecure and not fully work with my sho....
ZGeek
08-31-2005, 05:48 AM
Anyone know how to fix the display order for sub-catagories? I've set the "Sort by Weight" in the CP to yes, but still no love.
YOU BETTER FIX IT RON1N OR IM GONNA JOIN THE WHINGYGIRL BRIGADE AND CLICK THE UNINSTALL BUTTON AND TYPE IN CAPITALS ALL OVER THE INTERWEB!!!!!11!!
Kiddin, this hack works. Got it running on three sites with out a problem.. except this one.
tscbh
08-31-2005, 12:07 PM
I installed on vb3.07 and it doesn't work!
nothing is show when click on Download->Settings;
I can add Categories though.
alruwadnet
08-31-2005, 12:36 PM
hi how can i deny downloads for unreg members ? :nervous:
i denied the unreg guest from downloading files in the fourm but it does not work here
SupraT
09-04-2005, 01:31 PM
First off Ronin love the hack, works great, at least my version 2.o lol.
I followed instuctions to the "T" as I thought. Howver I must of missed or done something wrong as the downloads page is basically blank. I can add a catagory, but there is no other data.
Need some help as I can't figure this out.
http://www.clanspy.net/forums/downloads.php (http://www.clanspy.net/forums/downloads.php)
Thanks
SupraT
09-06-2005, 11:47 PM
Any help on this?
Thanks
CyberRanger
09-07-2005, 11:34 AM
Howver I must of missed or done something wrong as the downloads page is basically blank. I can add a catagory, but there is no other data. Did you also follow the instructions for the "fixes" Ron posted? See here: https://vborg.vbsupport.ru/attachment.php?attachmentid=33210
SupraT
09-07-2005, 01:32 PM
Actually, I just figured it out. I ran the language update again, had to do it 3 times, and now it works.
Thanks!!
dssmili
09-08-2005, 10:51 PM
I anstalled this hack and in Admincp the admincp/downloadadmin.php?do=settings gives a totally blank page (must be some misconfiguration) The /admincp/downloadadmin.php?do=category one displays properly
mili
SupraT
09-09-2005, 03:26 AM
I anstalled this hack and in Admincp the admincp/downloadadmin.php?do=settings gives a totally blank page (must be some misconfiguration) The /admincp/downloadadmin.php?do=category one displays properly
mili
Did you update templates and language? I just experienced similar.
dssmili
09-09-2005, 03:43 PM
Yes I did. It is a pain when you get no error just a blank page.
mili
DGoulden
09-09-2005, 08:53 PM
Hey Ron1n,
The hack is installed and working to a point, once i have uploaded a file it is CHMOD 600 on the webserver and not 755/777 how can i fix this?
Thanks!
EvilHawk
09-12-2005, 05:58 PM
Followed the installation instructions and works great with vb3.0.9!
Nice job Ron1n!
This only applies to files you added prior to the upgrade. No new files will have this problem. There is no fix for the old files.
Works great with the new files but it looses the link for the external files! ;)
ps.aaa I found another missing phrase : ecdownloads_bandwidth
Inferno Dragon
09-15-2005, 07:32 PM
hmm...looks like a nice addition, but where I can see a demo of it? sorry I can't browse all the replies :S
MrGoodbyte
09-17-2005, 06:03 AM
Hi there .. I've a (I guess) little problem:
I'm able to open the download-options using the vbulletin-options. Trying to open them using the button in the ACP-navbar failes. The button for editing the categories runs! What could be the error?
Thx for help ...
https://vborg.vbsupport.ru/
EvilHawk
09-17-2005, 08:09 AM
Hi there .. I've a (I guess) little problem:
I'm able to open the download-options using the vbulletin-options. Trying to open them using the button in the ACP-navbar failes. The button for editing the categories runs! What could be the error?
Thx for help ...
https://vborg.vbsupport.ru/
This wouldn't have been a problem if you had followed the instructions from the file "fixes 7 52 PM Aug 9 05.txt" ... ;)
Find in admincp/index.php:
// ###### ELITECODERS DOWNLOAD HACK ######
construct_nav_option("Settings", 'downloadadmin.php?do=settings', '<br />');
construct_nav_option("Categories", 'downloadadmin.php?do=category', '<br />');
construct_nav_group("Downloads", '<hr />');
// ###### ELITECODERS DOWNLOAD HACK ######
Replace with:
// ###### ELITECODERS DOWNLOAD HACK ######
construct_nav_option("Settings", 'options.php?do=options&dogroup=ecdownloads', '<br />');
construct_nav_option("Categories", 'downloadadmin.php?do=category', '<br />');
construct_nav_group("Downloads", '<hr />');
// ###### ELITECODERS DOWNLOAD HACK ######
MrGoodbyte
09-18-2005, 04:04 AM
Bingo ... I was quite sure I did all the changes from the fix.txt ... thx a lot! :)
https://vborg.vbsupport.ru/
Inferno Dragon
09-18-2005, 06:04 AM
Hi,
it's a very nice mod for vbulletin :) good work! ok I have few questions:
1) Can I use this mod for making a music library? if so then, is there any way of uploading mp3 files through FTP? (bulk uploading)?
2) Can I add anti-leech protection? so on one can see the actual path to the files?
Thanks,
AlexUK
09-19-2005, 02:13 PM
Hi, upgraded vB to 3.0.9. and re-applied files changes and checked but now its not working.
Look here: http://www.psplounge.com/forums/downloads.php
ryozzo
09-19-2005, 02:38 PM
i'm sorry this hack is good for 3.07?
i have tested install on my forum..in admin pane riceived one error...
sorry for my english..i'm italian boy...
MrGoodbyte
09-20-2005, 03:25 AM
i'm sorry this hack is good for 3.07?
It's running in 3.08, so I'd think it will work in 3.07, too! ;)
I've a little problem again:
Firstival, in the Download-Options I deaktivated "view downloads" for a usergroup, but they still see the offered files .. is this right?
Secondary, there are two options I can activate and deactivate, but I don't really know what they are doing:
http://www.busepa.de/pics/dls.jpg
To enlarge the picture just click on it! (http://www.busepa.de/pics/dl.jpg)
Thx for the help again! :)
https://vborg.vbsupport.ru/
AlexUK
09-25-2005, 02:49 PM
I run the query as instructed on the fix file and I am getting this error, any idea why?
An error occurred while attempting to execute your query. The following information was returned.
error number: 1064
error desc: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '<PREFIX>dl_stats WHERE 1' at line 1I run
AlexUK
09-25-2005, 02:54 PM
Also my navigation only shoes these links: Navigation
Main | Stats | Search
The rest is missing.. :(
JMH11788
09-26-2005, 02:12 AM
is there anyway to make more than one page per article?
dark dragun
10-10-2005, 09:49 PM
I updated this hack with the new zip file, and the fix update. After updateing, the downloads.php page loads blank. I then uninstalled everything, including the old version. I tried starting over new with only the new zip and fix file but still the downloads.php page loads blank.
Edited: After rebuilding my styles about 5 to 10 times and rebiulding languages a bunch it loaded correctly. So my advise for those who get a blank downloads.php page, try rebiulding styles, language, and delete temp internet files. After awhile it will load.
scoles15
10-11-2005, 02:35 PM
If you use the dit function to change the category of a download, the file name entry in the DB and the actual name if the file can get out of sync. AT the very least the .ext is dropped, which of course causes problem for a downloader. Any subsequent changes seem to get the names totally out of sync and attempts to downdload result in a file not found message.
I am currently, gettin all the name back in sync by manual edit of bothe file names and the entries in the DB. But even then, I can't allow any new uploads until, the issue is resolved. Any body know anything about this??
Ski-Whiz
10-12-2005, 06:20 AM
Ron1n,
Is there ANY way to have this play multimedia files inline? Like possibly add this hack to this download hack:
https://vborg.vbsupport.ru/showthread.php?t=78235 ???
Playing media files shouldn't be a security risk, just the SWF files, which I don't use.
I think adding a place where you can view the viles would be cool with this hack!
platnum
10-13-2005, 06:16 AM
Anyone know why im getting this error?... :disappointed:
Warning: Division by zero in /includes/functions.php on line 1867
Database error in vBulletin 3.0.9:
Invalid SQL: SELECT * FROM dl_stats ORDER BY `day` DESC LIMIT 0,
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
mysql error number: 1064
Date: Thursday 13th of October 2005 02:14:26 AM
Script: /downloads.php?do=stats
Referer: /downloads.php?
Username: ****
IP Address: ****
Ski-Whiz
10-13-2005, 09:56 AM
Platnum,
I hate this same error. I think I fixed it by changing the Files Per Page setting in the admincp for the Downloads. I can't remember what it was set to, but put it to like 2 or soemthing. Than try it again. That allowed me to add a file, and I've never had that error again.
I think that is how I fixed it though.
platnum
10-13-2005, 02:23 PM
Platnum,
I hate this same error. I think I fixed it by changing the Files Per Page setting in the admincp for the Downloads. I can't remember what it was set to, but put it to like 2 or soemthing. Than try it again. That allowed me to add a file, and I've never had that error again.
I think that is how I fixed it though.
Wow that fixed it! Nice job.. Thanks a million. :squareeyed:
Ski-Whiz
10-13-2005, 02:27 PM
Wow. I didn't make much sense. I wrote that when I was half asleep. :D
Glad it worked for you. Sorry for the bad typing.. That almost makes no sense to me, and I wrote it. LOL
Ski-Whiz
10-15-2005, 08:14 PM
Ron1n,
Is there ANY way to have this play multimedia files inline? Like possibly add this hack to this download hack:
https://vborg.vbsupport.ru/showthread.php?t=78235 ???
Playing media files shouldn't be a security risk, just the SWF files, which I don't use.
I think adding a place where you can view the viles would be cool with this hack!
Is this possible to do??
10sion
10-18-2005, 11:27 PM
Just a quick question.
Is this better than vBDownloads 2.0? And if so, is it possible to upgrade from that, to this one?
Thanks in advance. :)
adill420
10-20-2005, 11:17 PM
this is a great hack..worked without any problems on 3.0.9
thanks a lot ron1n
life is boost
12-17-2005, 03:18 PM
Hey guys, i had this installed and working perfectly but we moved to a bigger server. I have edited my php.ini like i did before to accept larger files but still anything over 2-3 megs is not put into the folder it uploads it with no errors just does not place it in the folder. so when you click the link to download the file it just gives you a redirect error. I looked in the downloads folder and it is not there. did i miss something else besides the php.ini file?
and liek i said smaller files work perfectly. i edited the php.ini in etc/php.ini like before on our old server and it worked like a charm...
gremlin2412
04-14-2008, 10:32 AM
How can i deny acces for a certain user without create an extra Usergroup for him?
I am using vBulletin? Version 3.7.0 Release Candidate 1
Greetz from Germany
Gremlin2412
CyberRanger
04-14-2008, 01:04 PM
How can i deny acces for a certain user without create an extra Usergroup for him?
I am using vBulletin? Version 3.7.0 Release Candidate 1
Greetz from Germany
Gremlin2412
No way to really do that as the program is currently designed. Also, if you are using this version of ecDownloads, it has many, many security holes. You need to upgrade to the latest version - https://vborg.vbsupport.ru/showthread.php?t=120122
gremlin2412
04-14-2008, 03:50 PM
Hello,
i am sorry i am already using Downloads II (ecDownloads 5.0) but i postet here by mistake.
What a pity that i can not do this. So i have to create an extra group for this User.
Thanks for help.
Greetz from Germany
Gremlin2412
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.