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
bollie
08-09-2006, 04:07 AM
I get down reported along mail.
I everything have already removed.
Database error in vBulletin 3.6.0:
Invalid SQL:
SELECT * FROM dl_files WHERE `purgatory` = '0' AND `category` = '31' ORDER BY `pin` DESC, `dateline` DESC LIMIT 0,20;
MySQL Error : Unknown column 'dateline' in 'order clause'
Error Number : 1054
Date : Tuesday, August 8th 2006 @ 05:10:20 PM
Script : http://........../forum/downloads.php?do=cat&id=31&sort=dateline
Referrer :
IP Address :
Username :
Classname : vB_Database
HappyPike
08-10-2006, 05:19 PM
I don't think there is a field called "dateline". Try changing it to sort by "date" instead.
Westpointer, in a future version, think you can make it so when someone edits a file to upload a new version or deletes a file entry, the file gets deleted from the server as well? This way those old obsolete files don't take waste server space.
novelidea
08-10-2006, 07:05 PM
Is it possible to make sure users post a certain number of posts on the forums to have access to the downloads? If not, that would be a nice addition.
HappyPike
08-11-2006, 12:06 AM
It's posible to do that using vB's user group permissions and promotion system.
I have a question myself: Since anyone can download files on my site, would it be a problem when search bots try to index the downloads section and visit the download links, generating incorrect download count for the file?
EDIT: I added rel="nofollow" to all the download links. Hope this is enough to prevent search bots from visiting those download links.
RS_Jelle
08-11-2006, 10:13 AM
Normally rel="nofollow" is enough, but you can't stop all of the bots very easily (those bots are most of the time of dubious search engines who are also providing spyware toolbars, ...) ;)
project-Buckfas
08-12-2006, 11:58 AM
Perfect,
Thank You!
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"';
}
Mickie D
08-13-2006, 03:43 PM
there is still an issue with this version and php5 which needs looking at ;)
https://vborg.vbsupport.ru/showpost.php?p=1045835&postcount=240
Hello,
I've installed it an now I got a problem by uploading files. I got this SQL-error:
Datenbankfehler in vBulletin 3.5.3:
Invalid SQL:
INSERT INTO dl_files (`name`, `desc`, `author`, `_author`, `uploader`, `uploaderid`, `url`, `date`, `category`, `size`, `pin`, `purgatory`, `link`)
VALUES('test', 'dgadfg', 'sdf', 'sdf', 'TeamO', '1545', '87292-arpr.zip', 1155487292, '1', 1311486, '0', '0', 0);
MySQL-Fehler : Unknown column 'desc' in 'field list'
Fehler-Nr. : 1054
Datum : Sunday, August 13th 2006 @ 06:41:32 PM
Skript : xxxxxxx
Referrer : xxxxxxxxx
IP-Adresse : yyy.yyy.yyy.yyy
Benutzername : test
Klassenname : vb_database
By changing the table-name description in dl_files to desc it works fine. What should I do, so that the tablename is desciption and all works?
T
RS_Jelle
08-13-2006, 06:15 PM
The name of the desc field changed to description. So it seems that your database is up-to-date, so you have imported the product file correctly. But this query is impossible, I checked it again and every query is changed to use description.
So try to reupload and overwrite all the files (you haven't uploaded the newest ones) ;)
I have dowloaded the version today, so I think it's up-to-date. But I try it once again.
hmmm. first ther is no change. but after some minutes all works.
T
RS_Jelle
08-13-2006, 11:22 PM
I can't give any explication for that :confused:
There isn't any query that is using the desc field. The INSERT query is using description, so it can't give such an error normally. This is the first time I hear about such an error.
But it's solved now :)
hurry
08-14-2006, 02:14 AM
Hello. Thanks for your hack. Please include an approval (moderation) system for the uploaded files and comments to the files. I think this is quite important. I want to give the upload feature to all members but I want to approve the uploaded files and comments before they are visible so that there is no abuse.
HappyPike
08-14-2006, 02:17 AM
hurry, you can already moderate files. Just check "no" for the avoid purgatory option for the user group.
There is no moderate comments feature though.
hurry
08-14-2006, 02:21 AM
Thanks HappyPike. Just was not sure was purgatory meant. I really hope Westpointer and Jelle add the moderate comments feature also and a RSS feed for the download gallery which is a basic feature for all download galleries, so that we can display the downloads on any other page with the help of the RSS feed.
hurry
08-14-2006, 03:04 AM
Also an email notification is required when uploaded files are there to be approved so that the members do not have to wait for a long time to see their files and the admin does not have to manually check now and then.
HappyPike
08-14-2006, 03:14 AM
hehe.. I didn't know what purgatory meant at first too. :D
Regarding file approval, on my site I give "avoid approval" to members who have been with the site for a month and have certain posts counts. So far it's working out fine and no one has abuse the system yet.
Though we do need a report file feature to report things like abuse, broken links, etc. westpointer is working on this I belive. While we are at it, a report comments feature is needed too, especially since people can insert images in comments and there is no way to see recently posted comments at one place.
RS_Jelle
08-14-2006, 10:22 AM
What do you think of the name moderation queue instead of purgatory?
RSS feeds will become a new feature ;)
Mudvayne
08-14-2006, 11:30 AM
Hello.. Is there any possiblity to importing mass files from another site? Like my full path is /home/user/golpo/downloads/ if i want to import files from /home/user/somethingelse/blabla/ is it possible? I dont think it is.. But just hav to sure..
hurry
08-14-2006, 01:40 PM
What do you think of the name moderation queue instead of purgatory?
Yes, that is more clear.
RSS feeds will become a new feature
That would be cool. Please allow us to choose the number of last uploaded files which we can show in the RSS feed and also an option for the RSS feed to include the full file description, title, thumbnail and download link in the RSS feed.
While we are at it, a report comments feature is needed too, especially since people can insert images in comments and there is no way to see recently posted comments at one place.
I personally would not be able to use the comments feature unless the comments approval feature is added as it is better to spend some extra time in approving the comments then to try to find and delete some abusive comments later on. I am also using photoplog and vblogetin and both have a comment approval system which prevents any kind of abuse.
Since DownloadsII is already so feature-rich, I would request to include the comments moderation also to make it complete and email notification of files and comments to be approved.
What will be the html code for putting the DownloadsII search box in another html page? Thankyou.
I've two questions about features that some of our users asked me.
1. Is it possible to insert a field for the version-number of a programm?
2. In the postbit template is the up-/download information. How can I add the information how many MB a user have downloaded or uploaded?
like:
downloads: 4 (125MB)
uploads: 10(4256MB)
T
hurry
08-14-2006, 06:29 PM
Hello. I also need the feature of an ability to directly upload the files to an external server instead of giving an external url link like the File Upload Manager mod on this site does. This is because my forum is on a premium hosting which has less disk space and my bulk files are on a cheaper bulk hosting. So I want that everyone should be able to upload the files, but they should directly go to my other bulk hosting. I hope this is possible.
CyberRanger
08-14-2006, 09:13 PM
RSS feeds will become a new feature ;)
You could also give my other product, AboutToday (https://vborg.vbsupport.ru/showthread.php?t=107319), a try. :)
BTW - sorry for not contributing much the last week. RL is hectic for another week or so.
beduino
08-15-2006, 04:21 PM
Hello,
I'm nearly to upgrade my forum to vb 360.
The only modification in downloadsII is alt in downloads.php as in post #256?
Only this?
Best regards,
Beduino
CyberRanger
08-15-2006, 04:30 PM
Hello,
I'm nearly to upgrade my forum to vb 360.
The only modification in downloadsII is alt in downloads.php as in post #256?
Only this?
Best regards,
Beduino
You can make that change (https://vborg.vbsupport.ru/showpost.php?p=1050489&postcount=256) if you want. You don't need to do so for it to work with v3.6. It does so with or without that change.
unitedpunjab
08-16-2006, 01:42 AM
Westpointer are you working on New version of Downloads ??
HappyPike
08-17-2006, 01:40 AM
I just noticed that the icon for IMG tag is missing in the editor toolbar. This only happens in DownloadsII. Anyway to make it appear?
beduino
08-17-2006, 02:27 AM
Well...if works with vb 3.6 i will make the upgrade
You can make that change (https://vborg.vbsupport.ru/showpost.php?p=1050489&postcount=256) if you want. You don't need to do so for it to work with v3.6. It does so with or without that change.
tks for your answer, westpoint!
beduino
HappyPike
08-18-2006, 10:34 PM
Feature suggestions/request:
-- In addition to the Most Popular Files list, can you also add a This Week's Popular Files list that is based on # of total downloads for the past 7 days? That should give some newer files a chance to get featured on the list. :)
-- For the Latest Files list, currently it generates a second column that's not used, with codes like:
<td class="" align="right" nowrap="nowrap" valign="middle" width="20%">
<font size="1"><i></i></font>
</td>
It would be nice if the next version doesn't output these unnecessary codes.
Westpointer, in a future version, think you can make it so when someone edits a file to upload a new version of a file, the old file gets deleted from the server as well? This way those old obsolete files don't take waste server space.
Really hope this makes it in the next version. I was just looking at the downloads folder and those old version files easily take up 100 MB or more space. :eek:
aceofspades
08-21-2006, 02:36 PM
Dont worry about my last comment, i was doing something stupid >.<
I need something like this for my new forum, its awesome. However it does need a little modding in the way it works for it to suit it perfectly. Could i:
a) Ask the creator if he wants a paying job modding it slightly
b) If the answer to the above is no, ask if i have permission to have it slightly modded by another coder.
Mudvayne
08-24-2006, 06:38 AM
I'm having a weired problem.. I add .mp3 extension.. Add files using mass import.. chmod 777 just the download directory.. But none can download any single file.. Its just stop after few seconds/minutes.. Sometimes its stop after downloading 200 kb sometimes after 1 mb sometimes after 75 kb :confused:.. I did upgrade from Ron|n's eCDownload.. I'm on vB 3.6.0.. Any help? Also a quick question to Westpointer.. When u 'll integrate it with vBPlaza?
Edit: My file name is Artcell - Rahur Grash [www.golpo.net].mp3 I've tried removing [www.golpo.net] but still same results.. Is thr anything I've to do to use it with vB 3.6.0 ?
spandexman
08-25-2006, 02:48 PM
I'm having trouble uploading large files. The file is 15megs but it always gives me a connection error when I try to upload it.
Someone posted you need to edit the .htaccess file but I cant find it.
CyberRanger
08-25-2006, 05:53 PM
I'm having trouble uploading large files. The file is 15megs but it always gives me a connection error when I try to upload it.
Someone posted you need to edit the .htaccess file but I cant find it.
Search is your friend :-)
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.
I'm having a weired problem.. I add .mp3 extension.. Add files using mass import.. chmod 777 just the download directory.. But none can download any single file.. Its just stop after few seconds/minutes.. Sometimes its stop after downloading 200 kb sometimes after 1 mb sometimes after 75 kb :confused:.. I did upgrade from Ron|n's eCDownload.. I'm on vB 3.6.0.. Any help? Also a quick question to Westpointer.. When u 'll integrate it with vBPlaza?
Edit: My file name is Artcell - Rahur Grash [www.golpo.net].mp3 I've tried removing [www.golpo.net] but still same results.. Is thr anything I've to do to use it with vB 3.6.0 ?
any news on it?
CyberRanger
08-28-2006, 01:33 PM
any news on it?
Real life has been kicking my butt the last month. By the 2nd week of September I should be able to devote more time to DownloadsII. We (really RS_Jelle) is working on a minor version to correct a few small issues.
Real life has been kicking my butt the last month. By the 2nd week of September I should be able to devote more time to DownloadsII. We (really RS_Jelle) is working on a minor version to correct a few small issues.
westpointer..
wish really i could put some pad on ur butt..so u wont be hart..
real life is first man..
take care..n good luck...
Nokia Tech
08-30-2006, 12:35 AM
Installed, Working fine... Great Thanks
RS_Jelle
08-30-2006, 08:56 PM
We would like to announce a beta of DownloadsII 5.0.3. This is a bugfix release that should fix all known bugs. You can install it safe on a live environment normally. Please report any bugs, so we can make DownloadsII 5.0.3 even better :)
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
DementedMindz
08-31-2006, 03:09 AM
RS_Jelle thanks and what is the best way to update?
Heya,
Is it possible to make some changes in search option?
I would like user to be able to chose which category to search ?
At the moment i have 8 categories, and over 20 000 files.
Some of the files are with the similar name, but file extension is different.
Is this possible to be done?
Thank you!
HappyPike
08-31-2006, 05:05 AM
Thanks Jelle and westpointer! :up:
Any ETA for the next major version release? ;)
gothicuser
08-31-2006, 08:37 AM
Absolutely first class guys, many thanks :D :D
RS_Jelle
08-31-2006, 10:58 AM
RS_Jelle thanks and what is the best way to update?
Just the normal way:
Upload all files
Import the product (allow overwrite)
That's it :)
The search function will become more advanced in the next big release, we are working on this already.
There is no ETA for this release, it's finished when it's ready for it. This is a major new release with a lot of new features, so this is why we release this small bugfix release in the meantime ;)
CyberRanger
08-31-2006, 11:39 AM
Thanks RS_Jelle for releasing this. I hope to be able to really start contributing again in a week or so. I'm going to let the beta be downloaded for a few days then I'll add it as the official version.
RS_Jelle
09-02-2006, 10:40 AM
Please vote for DownloadsII in the MotM contest (https://vborg.vbsupport.ru/showthread.php?t=125480) of september 2006! :)
Als nominate it for the next MotM, so we can take part of it again if we won't win. Just click the nomination link next to the install link of the mod ;)
DementedMindz
09-02-2006, 05:16 PM
RS_Jelle and westpointer i voted cause i thought from day 1 this should be up there... my main reason is the support given here is by far the best support compared to any other mod on this site.
HappyPike
09-02-2006, 05:29 PM
I voted too. :)
my main reason is the support given here is by far the best support compared to any other mod on this site.
Agreed. :up:
Hornstar
09-03-2006, 03:33 AM
yeah voted, brought it up to 18, look forward to this new release, love getting new features ^^
BETIServices
09-03-2006, 04:19 AM
Installed Beta on 3.6 GOLD and works fine. :D
Hornstar
09-03-2006, 06:44 AM
Yeah I have the beta one working fine so far on vb.3.6 gold ^^
also This is what i used to show it on the navbar
<!-- Downloads menu -->
<td class="vbmenu_control"><a href="downloads.php">Downloads</a></td>
<!-- /Downloads menu -->
its showing fine, but not sure if anyone has got a better way of showing it to their members apart from making a forum to show it.
RS_Jelle
09-03-2006, 04:09 PM
Indeed, that's the code for it ;)
I will add it to the install text file, I didn't know it was missing.
HappyPike
09-03-2006, 04:16 PM
hey Jelle, where is the code for the "Fixed a bug with tags being stripped from the description" fix? I was doing a diff on the PHP files and didn't find it.
I haven't upgraded to the new version completely yet -- only applied the changes in the PHP file.
RS_Jelle
09-03-2006, 05:02 PM
It's in downloads.php on line 1187:
if ($_POST['wysiwyg'] == 1)
{
$_POST['desc'] = convert_wysiwyg_html_to_bbcode($_POST['message'], 0);
}
else
{
$_POST['desc'] = &$_POST['message'];
$_POST['desc'] = strip_tags($_POST['desc']);
}
Replace with
if ($_POST['wysiwyg'] == 1)
{
$_POST['desc'] = convert_wysiwyg_html_to_bbcode($_POST['message'], 0);
}
else
{
$_POST['desc'] = &$_POST['message'];
}
Strip_tags is unnecessary because BBCode do_parse is stripping it also to text instead of HTML.
Intocable
09-03-2006, 05:06 PM
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.
I did everything you requested here but I still get a blank page. Can you tell me the correct path to do this. (PM)
Thank you
DementedMindz
09-03-2006, 05:11 PM
Im trying to Exclude Categories but i cant seem to find the Categories Id anywhere. I tried Category Tree where it use to be but i dont seem to see it there now. Is there somewhere else you moved it and im using the beta if it helps.
HappyPike
09-03-2006, 05:11 PM
It's in downloads.php on line 1187:
Strip_tags is unnecessary because BBCode do_parse is stripping it also to text instead of HTML.
Thanks Jelle. I missed that.
RS_Jelle
09-03-2006, 05:57 PM
Im trying to Exclude Categories but i cant seem to find the Categories Id anywhere. I tried Category Tree where it use to be but i dont seem to see it there now. Is there somewhere else you moved it and im using the beta if it helps.
Hmm, it should be there:
https://vborg.vbsupport.ru/
Can you give me a link to your site if it isn't there or a screenshot? Be sure that you have reverted all templates, uploaded the latest files and imported the latest product file (with the overwrite option on). All the usual junk :)
You can also see it in the url when you view a category. For example (category id is 2):
http://www.yoursite.com/forum/downloads.php?do=cat&id=2
@Intocable: westpointer is offline for a few days. You can always pm it to me (or wait a bit till he's back) ;)
Intex
09-03-2006, 06:32 PM
Great hack.
I'm having one issue with the width of the columns on one page. The left panel appears fine on all other pages and this issue only appears when you've clicked on the details of the upload from a user (see attachment).
Anybody know where the left panel size can be adjust for this page?
RS_Jelle
09-03-2006, 06:52 PM
You can't edit it easily only there. It's a known bug and the next big release will have a different layout to fix this.
But you can remove the left panel on that page only:
Open downloads.php
Find
eval('$dmain_jr = "' . fetch_template('downloads_file') . '";');
eval('$dpanel = "' . fetch_template('downloads_panel_side') . '";');
eval('$dmain = "' . fetch_template('downloads_wrapper_side') . '";');
}
else if ($_GET['do'] == 'assignuser')
Replace with
eval('$dmain_jr = "' . fetch_template('downloads_file') . '";');
eval('$dmain .= "' . fetch_template('downloads_wrapper_none') . '";');
}
else if ($_GET['do'] == 'assignuser')
Intocable
09-03-2006, 07:53 PM
Hmm, it should be there:
http://img334.imageshack.us/img334/6185/clipboarddl2cattreeai5.gif
Can you give me a link to your site if it isn't there or a screenshot? Be sure that you have reverted all templates, uploaded the latest files and imported the latest product file (with the overwrite option on). All the usual junk :)
You can also see it in the url when you view a category. For example (category id is 2):
@Intocable: westpointer is offline for a few days. You can always pm it to me (or wait a bit till he's back) ;)
OMG!!!! that will be great my friend. You have made my day, week and month. Thank you so much for any help RS_Jelle :D (PM)
Triggerhappy
09-03-2006, 10:01 PM
Is there a way to allow any file extention?
Im having problems with it not allowing just about everything.
HappyPike
09-03-2006, 11:24 PM
If you do that, you likely will see your site and forum wiped out the next day. :p
DementedMindz
09-03-2006, 11:46 PM
If you do that, you likely will see your site and forum wiped out the next day. :p
yeah that is very true. RS_Jelle i fixed it as it was my fault. also was wondering is there anyway to have it where when you limit files to say donators only it wont display to everyone just the donators. I have it setup where only donators can download large files but when you add the file they still show on the on the Latest Files. I changed the phrase for now so it reads only donators can download these files but it would be easier if they didnt even show up to member groups that aint allowed to download them.
Triggerhappy
09-04-2006, 01:01 AM
Ok i see your point :P
When i try to upload files that arnt really very large 5mb ish it just says the upload has failed. Is there some sort of time out?
Intex
09-04-2006, 05:33 PM
Thanks for the quick reply RS_Jelle. I didn't think it was that easy - I spent over an hour trying to piece it together :).
How do you remove the 'Important Information' column as well as that's still interfering with the style.
You can't edit it easily only there. It's a known bug and the next big release will have a different layout to fix this.
But you can remove the left panel on that page only:
Open downloads.php
Find
eval('$dmain_jr = "' . fetch_template('downloads_file') . '";');
eval('$dpanel = "' . fetch_template('downloads_panel_side') . '";');
eval('$dmain = "' . fetch_template('downloads_wrapper_side') . '";');
}
else if ($_GET['do'] == 'assignuser')
Replace with
eval('$dmain_jr = "' . fetch_template('downloads_file') . '";');
eval('$dmain .= "' . fetch_template('downloads_wrapper_none') . '";');
}
else if ($_GET['do'] == 'assignuser')
Intocable
09-05-2006, 12:19 AM
It will be great to have an option to sticky some of the files we think should be apart from the others.
Just a suggestion :D
Installed and looks great :) ;)
HappyPike
09-05-2006, 02:28 AM
There is already a sticky file feature. :) It's called "Pin".
BETIServices
09-05-2006, 02:38 AM
Hello! I wondering if the hack coud have the categories to be view by groups.
Thanks, I love the hack
RS_Jelle
09-05-2006, 05:15 AM
When i try to upload files that arnt really very large 5mb ish it just says the upload has failed. Is there some sort of time out?
That's a standard limit of PHP. You (or your host) can edit it in the php.ini ;)
How do you remove the 'Important Information' column as well as that's still interfering with the style.
AdminCP -> Downloads -> Settings -> Site Message or Disclaimer
Just remove everything in that field :)
Hello! I wondering if the hack coud have the categories to be view by groups.
No, there are no category based permissions at this moment. But you can list the allowed or not allowed categories for each usergroup. Not the most interesting way, but it's working (temporary).
Triggerhappy
09-05-2006, 02:56 PM
Where do i find the file, and what do i change.
Thanks
DementedMindz
09-05-2006, 03:42 PM
have you tried this? https://vborg.vbsupport.ru/showpost.php?p=1037963&postcount=152 cause if you dont have server root access then you wont find it.
hey, might be a bad question, but does this work on vB 3.6.0?
Thanks.
DementedMindz
09-06-2006, 01:38 AM
hey, might be a bad question, but does this work on vB 3.6.0?
Thanks.
nah no question is ever a bad one or else we wouldnt learn. but yes it does im using it on mine right now along with others.
nah no question is ever a bad one or else we wouldnt learn. but yes it does im using it on mine right now along with others.
Thanks Demented ^_^.
njolakoski
09-07-2006, 01:03 AM
how does one update the php.ini file so it can take files over 5mb?
CyberRanger
09-07-2006, 01:40 AM
how does one update the php.ini file so it can take files over 5mb?
Don't mess with php.ini. Do this:
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.
footose
09-07-2006, 05:19 AM
Is there a way to make DownloadsII an actual forum, instead of always accessing it from www.mysite.com/downloads.php, but have it actually listed as a 'forum' on the main page of vbulletin?
CyberRanger
09-07-2006, 11:14 AM
Is there a way to make DownloadsII an actual forum, instead of always accessing it from www.mysite.com/downloads.php, but have it actually listed as a 'forum' on the main page of vbulletin?Sure, you can do that for any link. When you create the forum, simply put the url to the downloads.php page in the "Forum Link" field.
AyeCapn
09-07-2006, 04:07 PM
This is very slick. Thanks a lot :)
njolakoski
09-07-2006, 10:00 PM
I dont have a .hta acces file with it........ hmm
DementedMindz
09-07-2006, 10:02 PM
I dont have a .hta acces file with it........ hmm
you have to add that to your htaccess
njolakoski
09-07-2006, 10:08 PM
Where is it though is my question..........
DementedMindz
09-07-2006, 10:11 PM
in your root folder unless you have windows hosting
njolakoski
09-07-2006, 10:15 PM
I have linux hosting and i see nothing in my root folder for htaccess
DementedMindz
09-07-2006, 10:18 PM
you need to make a htaccess file in your root with that info in there to increase your upload limit.
DementedMindz
09-07-2006, 10:19 PM
you more then likely have one in there just you cant see it. check in cpanel and view your root folder you should see it.
njolakoski
09-07-2006, 10:23 PM
WEll its not there, so how do i make one , just enter that code in then press Save As htaccess.php?
DementedMindz
09-07-2006, 10:27 PM
did you check from cpanel to make sure its not there? if not make a file in your root folder and name it .htaccess and make sure its chmodded to 644
njolakoski
09-07-2006, 10:30 PM
I use godaddy they dont have Cpanel.......
And ChMOdded to 644? I upload files through IE, is there awayt to CHMOD it to 644 through that?
DementedMindz
09-07-2006, 10:32 PM
ahh thats why you dont see it. get a ftp client and use that its so much easier esp. when you want to add things.
njolakoski
09-07-2006, 10:42 PM
I would but I have 56K and you try download something on 56k lol
DementedMindz
09-07-2006, 10:50 PM
it wont take long there not big you can get alot of free ones out there that are small.
njolakoski
09-07-2006, 11:21 PM
Okay got one, but i see no way of chmodding it and I see now File calle htaccess
Draygonia
09-07-2006, 11:57 PM
Warning: Invalid argument supplied for foreach() in /admincp/downloadadmin.php on line 366
Thats what I get when I try to import files from my server... Also, where can my users access the downloads section? There are no navbar edits :(
OziloZ
09-08-2006, 01:32 AM
Its perfect.I have a question.
How can i change width of the main table?
RS_Jelle
09-08-2006, 05:20 AM
Okay got one, but i see no way of chmodding it and I see now File calle htaccess
It's not htaccess, but .htaccess (a small difference, but otherwise it won't work) ;)
Warning: Invalid argument supplied for foreach() in /admincp/downloadadmin.php on line 366
Thats what I get when I try to import files from my server... Also, where can my users access the downloads section? There are no navbar edits :(
I will look at the PHP warning this evening.
The navbar edit will be included in the 5.0.3:
Find in the navbar template:
<td class="vbmenu_control"><a href="calendar.php?$session[sessionurl]">$vbphrase[calendar]</a></td>
Add below:
<td class="vbmenu_control"><a href="downloads.php?$session[sessionurl]">$vbphrase[ecdownloads_downloads]</a></td>
Its perfect.I have a question.
How can i change width of the main table?
Can you explain this a bit? Do you mean the right column? It's just 28% width for the left column and 72% width for the right ("main") column. You can change those values in the templates to other percentages or absolute ones :)
footose
09-08-2006, 05:51 PM
Sure, you can do that for any link. When you create the forum, simply put the url to the downloads.php page in the "Forum Link" field.
Got it! Thanks!
Another thing I found was, when you import files with a " ' " (single quote) , the import fails... is there a work around?
RS_Jelle
09-08-2006, 06:37 PM
Another thing I found was, when you import files with a " ' " (single quote) , the import fails... is there a work around?
Can you give the exact PHP error/warning you get? :)
Draygonia
09-08-2006, 09:38 PM
I had to move the downloads.php file to my public_html/ folder so it would work, but when I do click on it, it gives me this error...
Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/chasmonl/public_html/downloads.php on line 121
Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/lib/php:/usr/lib/php') in /home/chasmonl/public_html/downloads.php on line 121
Black Tiger
09-08-2006, 10:57 PM
Are these a bugs? Or do I do something completely wrong?
I changed my download directory in the settings to another download directory on my server, i removed the "." in the beginning and stated the full relative path with a trailing slash like:
/home/domains/mydomain/public_html/downloads/
Without the trailing slash, files won't be imported but then I get a error notice.
With trailing slash it works but the following things amaze me a littlebit:
1.) Files are imported in my downloads directory but not in a categorie subdirectory, this is the correct working?
2.) When setting up for the first time and filling, the column on the left with "Top Contributors" show random users with 0 uploads, amongst them are also users which do not even have upload access for the files?
I can't imagine that this should be the case.
3.) If you import the same file twice, there is no warning about the file already existing, but the file simply get's visible twice in the download section, also named exactly the same.
So if anybody can help me with mainly question 2 and 3 (and a little bit question 1)?
Black Tiger
09-09-2006, 12:03 AM
Hmmz.. found a 4th one also.
4.) When importing, .gif images are not displayed (so also not imported) in spite of the fact that image uploads are set as allowed as well in settings as also in the usergroup administrators.
njolakoski
09-09-2006, 12:10 AM
Question, how, and where do I mod it so it can also display the author along with the filename?
And I would also like to change where it says Author to Artist .... and Filename to Title...
Thanks!
njolakoski
09-09-2006, 12:26 AM
Another Thing, on my site, my users cant upload things over 2mb's even wiht the .htaccess file whats with this?
Black Tiger
09-09-2006, 12:27 AM
You can mod it in the import part, when you import a file, you can give a name in the "author" field next to filename.
Also when you login to the download section you can edit all descriptions if you have give yourselve rights to do that in your usergroup.
If your users can't upload more then 2 mb, you have to contact your hoster or have root acces to the server. Such things are setup in php.ini and mostly also in httpd.conf (apache webserver configuration).
Robbed
09-09-2006, 12:59 AM
In this version, does it add files to subfolders in the downloads folder.
The download folder is quite full and takes forever to backup.
Black Tiger
09-09-2006, 01:14 AM
See my point 1 a few threads above your's. So no... it does not add files to subfolders in the downloads folder.
Draygonia
09-09-2006, 01:15 AM
Anyone know how to fix this? It should be something simple, but yet I cannot figure it out!
I had to move the downloads.php file to my public_html/ folder so it would work, but when I do click on it, it gives me this error...
Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/chasmonl/public_html/downloads.php on line 121
Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/lib/php:/usr/lib/php') in /home/chasmonl/public_html/downloads.php on line 121
njolakoski
09-09-2006, 03:42 AM
You can mod it in the import part, when you import a file, you can give a name in the "author" field next to filename.
Also when you login to the download section you can edit all descriptions if you have give yourselve rights to do that in your usergroup.
If your users can't upload more then 2 mb, you have to contact your hoster or have root acces to the server. Such things are setup in php.ini and mostly also in httpd.conf (apache webserver configuration).
Can someone help me with this, becuase I see a php.ini file on my server, just dont know what to edit, or how..
And also, where and how to edit my import file, Im a complete noob at this stuff...sorry for the questions..
DementedMindz
09-09-2006, 05:49 AM
First we need to locate the php.ini file.
-----command-----
locate php.ini
-----command-----
For cPanel the correct file is /usr/local/lib/php.ini. The standard location for most other servers is /etc/php.ini. Go ahead and open the php.ini file.
-----command-----
pico -w /etc/php.ini
-----command-----
or for cPanel
-----command-----
pico -w /usr/local/lib/php.ini
-----command-----
once there press control + w and search for upload_max_filesize change that to 10M if you want it to be 10 Megabytes.
once you change that and have it set to 10M press control + x then it will ask you if you want to save it press the y to save the changes and reboot apache.
-----command-----
service httpd restart
-----command-----
hope it helps.
footose
09-09-2006, 06:05 AM
Can you give the exact PHP error/warning you get?
Absolutely!
Click Downloads
Click Import
Enter Directory
Click Import
Click the file you want to import, with an ' in it, in this case...
Lil' Kim_Slippin'.mp3
Select Category
Click Import Files
Error at top of screen
Warning: filesize(): Stat failed for /home/moforums/public_html/import/Lil\' Kim_Slippin\'.mp3 (errno=2 - No such file or directory) in /admincp/downloadadmin.php on line 434
Error in details box
The following files were successfully imported:
Could not import the following files because the import file could not be read or the export file could not be written to: Lil\' Kim_Slippin\'.mp3
All other files upload properly and without problems.
Great mod btw :D
RS_Jelle
09-09-2006, 07:25 AM
Anyone know how to fix this? It should be something simple, but yet I cannot figure it out!
I had to move the downloads.php file to my public_html/ folder so it would work, but when I do click on it, it gives me this error...
Warning: main(./global.php) [function.main]: failed to open stream: No such file or directory in /home/chasmonl/public_html/downloads.php on line 121
Fatal error: main() [function.require]: Failed opening required './global.php' (include_path='.:/usr/local/lib/php:/usr/lib/php') in /home/chasmonl/public_html/downloads.php on line 121
You need to upload it to your forum folder (vBulletin installation), not to your root folder (like you can do with vBadvanced CMPS). So http://www.chasm-online.com/forum/downloads.php is the correct url :)
Question, how, and where do I mod it so it can also display the author along with the filename?
And I would also like to change where it says Author to Artist .... and Filename to Title...
I don't understand your first question, can you explain it a bit?
All text is phrased, so you can edit it using Languages & Phrases in your AdminCP.
Are these a bugs? Or do I do something completely wrong?
I changed my download directory in the settings to another download directory on my server, i removed the "." in the beginning and stated the full relative path with a trailing slash like:
/home/domains/mydomain/public_html/downloads/
Without the trailing slash, files won't be imported but then I get a error notice.
With trailing slash it works but the following things amaze me a littlebit:
1) Files are imported in my downloads directory but not in a categorie subdirectory, this is the correct working?
2) When setting up for the first time and filling, the column on the left with "Top Contributors" show random users with 0 uploads, amongst them are also users which do not even have upload access for the files?
I can't imagine that this should be the case.
3) If you import the same file twice, there is no warning about the file already existing, but the file simply get's visible twice in the download section, also named exactly the same.
So if anybody can help me with mainly question 2 and 3 (and a little bit question 1)?
At the moment, you have to specify a directory in your forums directory (or your root if you don't use a forums directory for vBulletin), so you have to use the ".". It's used also for the image paths, ..., so you can't use an absolute path.
1.) Currently this is the correct working way. This is also flagged for a future big release.
2.) The query needs to get 4 contributors for this list. The query gets 4 names ordered on the amount of files they have added. If there aren't any people who added files, 0 files is the "highest amount", so it gets randomly 4 names with 0 files. If there won't be 4 people in the future with more than 0 files, just change the amount in the settings.
I've put it on my todo list, will be fixed in a future release ;)
3.) The next big release will contain a check for the file link (this was already on my todo list), not for the name. Some people are using the same name twice, just like the topic name on the forum.
Hmmz.. found a 4th one also.
4.) When importing, .gif images are not displayed (so also not imported) in spite of the fact that image uploads are set as allowed as well in settings as also in the usergroup administrators.
You need to put gif in the Allowed File Extensions list, the Allowed Image Extensions is a different list. That one is used only for adding images to the file (underneath the description).
@footose: thanks, I will take a look at it.
njolakoski
09-09-2006, 01:22 PM
Okay here, I want it so the hack, when your looking at the files displays both Author and Filename, not just the Filename, when you are looking at the files...
Draygonia
09-09-2006, 01:49 PM
Theres a big issue with that, I have my cmps index file in my public_html next to my forums folder and the url to the downloads is /forum/downloads and when I click on it on the homepage of my site it says /downloads and I dont want that path, I tried changing it in the navbar, but it doesnt like to change :(
ang2el
09-09-2006, 01:49 PM
does it work with vb 3.6?
RS_Jelle
09-09-2006, 02:36 PM
Okay here, I want it so the hack, when your looking at the files displays both Author and Filename, not just the Filename, when you are looking at the files...
You need to edit the downloads_cat_filebit template for that ;)
Just add $file['_author'] where you want in it.
Theres a big issue with that, I have my cmps index file in my public_html next to my forums folder and the url to the downloads is /forum/downloads and when I click on it on the homepage of my site it says /downloads and I dont want that path, I tried changing it in the navbar, but it doesnt like to change :(
AdminCP -> vBa CMPS -> Default Settings -> Navbar Replacements
Add downloads.php there ;)
does it work with vb 3.6?
Yes, it works fine with vBulletin 3.6 :)
njolakoski
09-09-2006, 06:58 PM
I get a parse error
RS_Jelle
09-09-2006, 07:39 PM
I get a parse error
Can you give the exact error message? :)
Black Tiger
09-09-2006, 09:31 PM
*Bump*
Can anybody help me please with my 4 points/questions/bugs(?) which I posted on #349 and #350?
5.) <-- forget this one, is fixed now.
6.) My supermods with upload rights get the files "unnapproved" and I as admin have to approve them. Is it not possible that supermods get also automatical approval of files?
Hornstar
09-10-2006, 05:25 AM
Just wondering what the new feature list will be in the next version, as I have several ideas/thoughts etc. that may make this that little bit better. (I love the work you guys have done so far, but thought i may share some ideas, hope you dont mind.)
But here are some ideas/requests that my members and myself thought were usefull.
1. A close button
2. A move button.
3. Under the word Grade: add a new line called Support: and the person who added the download can add a link to where support will be given, they have the option of closing it so no one posts there and instead in the support thread, or support can be given in both places if they keep it open.
4. A per user section. where only they can see files they added in that section., kind of like rapidshare i suppose, so then I can set usergroup options per usergroup, and only the better usergroups to have that feature.
5. An advertising section, where we can explain and link them to the payments section on the site so they can upgrade there account so they can gain more downloads, features etc.
6. Limit the amount of downloads they can do in 1 day per usergroup.
7. Have a time count down process like rapidshare for certain usergroups and have that time increase with the more files they download etc.
8. all the above ideas need to be per usergroup configurable from the admincp.
9. On the left hand side where you see Latest Files, Most Popular Files and Top Contributors under that add Categories. That way they can choose another category from whereever they are at all times, and it fills in that spcae a little better.
10. Also on the left hand side add a search box so they can search at all times as well.
I'm not sure how many of these are already going to be done for the next version, but thought they are some good ideas that im sure most will agree on.
First off all I want to thank the authors for this great work.
One point I would modify if possible is the rating system. Perhaps it could be changed to the vB-Standart one in the next version. Cause this "A-F-System" isn´t well know in all countrys.
Goodspeed
09-10-2006, 11:30 AM
Is it possible to automatically create a thread in approtiate forum for discuss about a file instead of commenting it using build it system?
RS_Jelle
09-10-2006, 02:58 PM
*Bump*
Can anybody help me please with my 4 points/questions/bugs(?) which I posted on #349 and #350?
5.) I also edited the files, but download count isn't showing up in users postbit.
6.) My supermods with upload rights get the files "unnapproved" and I as admin have to approve them. Is it not possible that supermods get also automatical approval of files?
I answered them already yesterday (see #360 (https://vborg.vbsupport.ru/showpost.php?p=1071229&postcount=360)) ;)
5.) It should work fine normally. Be sure you enabled the setting:
AdminCP -> Downloads -> Settings -> Show Download Stats -> Yes
And ofcourse check the template edit in the postbit (or post_legacy template when you use that one (and I see you use it, so be sure you edited it and not the postbit template)).
6.) Then they have wrong permissions for their usergroup:
AdminCP -> Usergroups -> Usergroup Manager -> Super Moderators -> Edit Usergroup -> ecDownloads Permissions -> Can Avoid Purgatory -> Yes
Eigenlijk stom dat ik dat allemaal in het Engels schrijf :p
First off all I want to thank the authors for this great work.
One point I would modify if possible is the rating system. Perhaps it could be changed to the vB-Standart one in the next version. Cause this "A-F-System" isn?t well know in all countrys.
First of all thanks for the nice feedback :)
I think we really need to make a list of what we ware planning to change in the next big release, lol. In version 6 the rating feature will be changed to a vBulletin like system with stars.
Is it possible to automatically create a thread in approtiate forum for discuss about a file instead of commenting it using build it system?
No, this isn't possible at the moment. At the moment we aren't planning such a feature, but I was thinking about including some hooks in the code so we (and/or other people) can easily create some add-ons. Creating a hook location after the "file add" code would be something obvious then, so creating an add-on to do this would be very easy then.
Black Tiger
09-10-2006, 03:12 PM
I completely missed 360 for some reason, stupid me.
Thanks very much for your reply (nja engelstalig forum dus blijven we maar in die taal verder gaan he).:)
1-4 are now clear to me
5 is fixed (forgot to enable them again).
6 Ahaaa... well I thought purgatory was to purge files.:)
So al my questions solved, a big thanks and again, a marvelous hack, super!
I still got a little question I'm not sure about:
At the moment, you have to specify a directory in your forums directory (or your root if you don't use a forums directory for vBulletin), so you have to use the ".". It's used also for the image paths, ..., so you can't use an absolute path.
I used now /home/satfun/public_html/files/ so an absolute path and it works fine. My forums are in /home/satfun/public_html/bbs/. You write i have to use "." in the path, not the absolute path. How should I do it then since my download section is not placed under my forums directory?
RS_Jelle
09-10-2006, 03:40 PM
I still got a little question I'm not sure about:
I used now /home/satfun/public_html/files/ so an absolute path and it works fine. My forums are in /home/satfun/public_html/bbs/. You write i have to use "." in the path, not the absolute path. How should I do it then since my download section is not placed under my forums directory?
It's used also for the image url's, but I see you aren't using the image upload feature. There is no other way at the moment, but if you don't upload images you won't have any problems with it ;)
Black Tiger
09-10-2006, 04:04 PM
Oke, thanks for the quick support!
Black Tiger
09-10-2006, 04:25 PM
I got some suggestions for future releases or upgrades:
1.) In the Manage Files Section, put the word "search" next to the search option on top, some of the moderators thought this was a mod tool in stead of a search tool, because of the default values in there.:)
2.) In the drop-down menu for managing, add a seperate "move" funktion. Now you have to use the edit funktion to move files which is a bit.. euhmz.. what's the Engelish word.... in Dutch it's "omslachtig". Such a move funktion would need a seperate screen I guess and that needs some coding, but hee.. it's just a suggestion, right? :D
But it's a great hack anyhow and works perfectly with vBA too!
footose
09-11-2006, 12:58 AM
Any luck with the apostrophies :D
jarvis
09-11-2006, 01:52 AM
I seem to have an issue... I think I have tried to search through all the pages for something that looked the same - so sorry if it has been asked a dozen times. :hurt:
Everything seems to work fine, but when clicking on the download button, a window just pops up and sits there *thinking*
Maybe I am doing this wrong, but I am trying to link to other web servers in our server farm to offload the bandwidth. I am using the linked file area and putting the link to the file, i.e. http://www2.example.com/downloads/examplefile.zip
Is this correct, or is the linking supposed to be to another page - and not directly to the file?
Thanks for the help! :knockedout:
hi westpointer/Rs_Jelly
can u make it able to import files from external host?
as we have two(02) host SG & PW
downloads located in SG , can it import files from PW?
also got some req. for future release
1.quick reply type msg posting box.
2."Report Broken Link" & "Email this page" button
3. Must Rate before download.(also show msg
4.Enable Quota System/Limit Bandwidth/
5.Turn Of any catagory/sub-catagory/sub-sub-catagory .
RS_Jelle
09-11-2006, 08:54 AM
Any luck with the apostrophies :D
I didn't have the time to work on this yet, but I know what kind of bug it is. It's a wrong stripped character (wrong backslashes). It's on my to do list, so I'm going to fix it.
Is this correct, or is the linking supposed to be to another page - and not directly to the file?
This is correct, it's a link to a php file of DownloadsII which counts the amount of downloads etc. and that file links you to the actual file. This is also a bit of a protection against hotlinking.
@Zia: we really need to create a list of our planned features, lol. You have guessed them all correct except 3. But I don't understand 4? There is already a bandwidth limitation feature (usergroup permissions)?
jarvis
09-11-2006, 12:04 PM
This is correct, it's a link to a php file of DownloadsII which counts the amount of downloads etc. and that file links you to the actual file. This is also a bit of a protection against hotlinking.
Hmmm... the I think I have it setup correctly. Any idea why a 'linked' file to one of my other webservers just brings up a new explorer window that just stays in the 'loading' process?
http://www.mhogaming.com/forums/downloads.php is the reference link. Everything else seems to work okay except for the actual download. I am linking to files on our other web servers as to save drive space and bandwidth for our main web server.
Thanks!
CyberRanger
09-11-2006, 12:34 PM
http://www.mhogaming.com/forums/downloads.php is the reference link. Everything else seems to work okay except for the actual download. I am linking to files on our other web servers as to save drive space and bandwidth for our main web server.
Thanks!That is odd. Could there be something on the other server that is preventing the download? If you create a link to this file, http://www.brentandmary.net/albums/lazy5/grace_front.thumb.jpg, does it work?
jarvis
09-11-2006, 01:16 PM
That is odd. Could there be something on the other server that is preventing the download? If you create a link to this file, http://www.brentandmary.net/albums/lazy5/grace_front.thumb.jpg, does it work?
Yeah, I checked that last night. I wasnted to make sure that the MIME types weren't unrecognized by IIS/Windows. The direct link works fine, just when launched from Downloads, it just 'sits' there.
Thanks so much!
**Edit - I just created a test download with your link. http://www.mhogaming.com/forums/downloads.php?do=file&id=13 . It still doesn't work. :(
CyberRanger
09-11-2006, 02:13 PM
#################################
# 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
Thanks to Jelle! He has made the vast majority of the changes for this release!
CyberRanger
09-11-2006, 02:15 PM
Yeah, I checked that last night. I wasnted to make sure that the MIME types weren't unrecognized by IIS/Windows. The direct link works fine, just when launched from Downloads, it just 'sits' there.
Thanks so much!
**Edit - I just created a test download with your link. http://www.mhogaming.com/forums/downloads.php?do=file&id=13 . It still doesn't work. :(I made a small change in ver 5.0.3 that may (or may not) help. I'm not sure why you are having this problem. A linked file is simply opened with:
header("location: $file[url]");
I made that:
header("Location: $file[url]");
exit();
DementedMindz
09-11-2006, 03:41 PM
WestPointer and Jelle thanks for the update and all the hard work.
jarvis
09-11-2006, 03:44 PM
Thanks, I will let you know.
Can I just overwrite files, or do I need to go through the import process again?
thanks!
Black Tiger
09-11-2006, 03:47 PM
Indeed great work and nice support! Will download 5.03. (and clicked motm link).:)
CyberRanger
09-11-2006, 04:05 PM
Thanks, I will let you know.
Can I just overwrite files, or do I need to go through the import process again?
thanks!
You need to overwrite the files in the upload folder and then re-import the product file.:)
jarvis
09-11-2006, 04:25 PM
Yes!
This fixed my problem. Thanks for the great support! :)
trackpads
09-11-2006, 07:37 PM
Excellent work on the upgrade!! I voted!!
Any way to have some type of support to upload really big files? I have seen Java apps like the one on Cafepress. Any ideas? Or maybe some type of ftp upload for users? I know phpbb has something like that I think.
Thanks!
-Jason
Devil Woman
09-12-2006, 12:12 AM
I have added this to my site and what it is, is I was wondering if there is anyway of passwording a category? Or is this not able at the moment?
Thanks
DementedMindz
09-12-2006, 12:13 AM
why would you password it why dont you just exclude it?
Devil Woman
09-12-2006, 12:39 AM
exclude it? how would I do that?
DementedMindz
09-12-2006, 12:41 AM
if you look at say registered users in the usergroup you will see the permissions there you can set. you can say have a movies section and say a games section and you can limit the games to only donators can download
CyberRanger
09-12-2006, 02:09 AM
Excellent work on the upgrade!! I voted!!Thanks!
Any way to have some type of support to upload really big files? I have seen Java apps like the one on Cafepress. Any ideas? Or maybe some type of ftp upload for users? I know phpbb has something like that I think.
Thanks!
-JasonWe get so many questions about uploading large files and spend a fair amount of time helping folks with modifying php.ini or .htaccess I really think Jelle and I need to discuss adding an ftp option. That would be a nice option to have available.
Hornstar
09-12-2006, 02:32 AM
Thanks!
We get so many questions about uploading large files and spend a fair amount of time helping folks with modifying php.ini or .htaccess I really think Jelle and I need to discuss adding an ftp option. That would be a nice option to have available.
Cant you alredy upload the file to the doanloads folder through ftp, and then just link to it? or wony permissions get transfered to it?
CyberRanger
09-12-2006, 11:09 AM
Cant you alredy upload the file to the doanloads folder through ftp, and then just link to it? or wony permissions get transfered to it?
Absolutlely, you can always do it that way and, of course, you don't have to put it in the downloads folder unless you want. You can place it in any folder that the web server can access.
Goodspeed
09-12-2006, 02:27 PM
RS_Jelle thank you for your answer!
I have another question. Is it possible to move downloads directory outside forum root directory?
Thank you!
CyberRanger
09-12-2006, 02:32 PM
I have another question. Is it possible to move downloads directory outside forum root directory?
Thank you!Yes, it can be any place you like as long as the web server can access the folder. In admincp -> Downloads -> Settings, you will need to modify the "Download URL" to point to the directory. Remember, this is relative to the forum directory, so if you have a directory structure like this:
forum
myfiles/downloads
The value for "Download URL" would need to be "../myfiles/downloads/"
BTW - "Download URL" is a poor name for that variable. It's really "Download Relative Path".
Goodspeed
09-12-2006, 02:35 PM
westpointer, thank you very much for your detailed answer!
BTW is it possible to use subdirectories inside download folder accordingly to downloads categories?
CyberRanger
09-12-2006, 05:03 PM
BTW is it possible to use subdirectories inside download folder accordingly to downloads categories?Sorry, that feature is not available.
hippsta
09-13-2006, 05:02 AM
Hiya I've read through all 28 pages of this thread and am very impressed by WP and Jelle, so i have no doubt that you can handle this one.
(Your sheer dedication should get you guys MotM, btw and i voted for it)
Everything works great so far as i can tell, however.. on my site not all files are to be downloadable, but i would like all to be viewable so to speak, without downloading...
Like A Play/View Button? To listen to a song, or view an image. Preferably in the download_file template
I got in there lol and was trying things to create a link to it but i couldn't figure it out so that it was universal... {$file['url']} didn't get exactly there...
Please Help Me Out. You guys are the best
RS_Jelle
09-13-2006, 07:01 AM
exclude it? how would I do that?
AdminCP -> Usergroups -> Usergroup Manager -> Edit the usergroup -> DownloadsII -> Exclude Categories
@hippsta: DownloadsII is meant for downloading things so we force those download windows :)
Maybe we can create an add-on for this, just like the thread creation, but at the moment this isn't possible.
hippsta
09-13-2006, 08:56 AM
@hippsta: DownloadsII is meant for downloading things so we force those download windows
Maybe we can create an add-on for this, just like the thread creation, but at the moment this isn't possible.
what do you mean by you "force" them?
hmm. so there's no command i can stick in to make $file['id'] execute? or maybe is there a conditional i can insert to disable the "save" button, or grey it out on the dl popup; based on permissons?
Sorry for the weird request its just that i like this mod much better than the Links & Downloads Manager, and i'd hate to have to settle, lol
CyberRanger
09-13-2006, 11:10 AM
so there's no command i can stick in to make $file['id'] execute? or maybe is there a conditional i can insert to disable the "save" button, or grey it out on the dl popup; based on permissons?
As of now, not based on permissions. But you can disable the "save" button based on the type of file to be downloaded via admincp -> Downloads -> Settings -> Open Directly in Browser. I created that option because one of the sites I run wanted PDF's to automatically open in the browser. So for that site, I have "pdf" in the "Open Directly in Browser" field.
DementedMindz
09-14-2006, 12:13 AM
RS_Jelle are you going to add that feature like you have on your site? the download of the week?
snyperj
09-14-2006, 02:10 AM
OK- yes I am an idiot. Pinned and Unpinned? Is that like sticky?
CyberRanger
09-14-2006, 03:09 AM
OK- yes I am an idiot. Pinned and Unpinned? Is that like sticky?
Correct!
CAn you add a feature that selected usergroups get an pm when a file is submitted to approve it and when the files is approved the uploader gets an pm?
RS_Jelle
09-14-2006, 04:48 AM
RS_Jelle are you going to add that feature like you have on your site? the download of the week?
That's just the comments field of DownloadsII, but I placed it there instead of its normal position at the bottom of the left column :)
DementedMindz
09-14-2006, 07:26 AM
ahhh that looks nice up there. thanks
anarx
09-14-2006, 08:45 PM
It looks very, very nice!
Will it work for VB 3.6.1 ? :)
Black Tiger
09-14-2006, 08:54 PM
Yes it does. I've got it running without problems on 3.6.0 and also 3.6.1 at the moment.
trackpads
09-14-2006, 11:36 PM
Question,
I have taken the precaution of moving the file path to below my root and everything works fine except when someone uploads images to accompany downloads. They are broken because it is trying to refer to the above the root directory.
is there a way to specify a path for downloads and a path for the seperate images to prevent this?
Thanks!
-Jason
Black Tiger
09-14-2006, 11:52 PM
Probably you have done it like this:
/home/domain/public_html/downloads
and your forums are in /home/domain/public_html/yourforums
or something like that.
But as i understood a few topics ago from the coder, it should be relative to your forums path.
In this example, your relative path should be:
../downloads/
and then images should work.
I hope I understood the explanation of the coder correctly.
It's explained in msg #399.
trackpads
09-15-2006, 12:21 AM
Thanks but not in my case. I appreciate the help though. My forums are here:
http://www.trackpads.com/forum
And my setting is this:
../../downloads/
This places it here in my webserver path:
/home/myaccount/downloads where my forum is
/home/myaccount/public_html/forum
The reason I did this was that I kept finding some jackass who was somehow getting shell scripts into that folder because it was chmod 777. The only way to prevent it was either move it or change the chmod which I cant do.
The other problem is that since I have more than 1998 files (over 12K now) the ftp will not display them, just the first 1998. So it is hard to manage the directory.
Thanks again,
-Jason
RS_Jelle
09-15-2006, 04:52 AM
The images are using the same path, so it's a known problem (that's why we don't recommend it at this moment) :)
You can fix it by modifying downloads.php. Find $dl->url in it and replace them (but not all) with the correct site url to the images.
You don't need to change for example:
if (!is_dir($dl->url))
Only the images (img html tag), for example:
<img src="'.$dl->url.$thumb_x['thumb'].'"
Change this example to (or something like that):
<img src="/downloads/'.$thumb_x['thumb'].'"
Your second problem is also a known one, we need to built in an option that creates directories to seperate the files so you don't get such large directories.
Hornstar
09-15-2006, 04:54 AM
Hiya I've read through all 28 pages of this thread and am very impressed by WP and Jelle, so i have no doubt that you can handle this one.
(Your sheer dedication should get you guys MotM, btw and i voted for it)
Everything works great so far as i can tell, however.. on my site not all files are to be downloadable, but i would like all to be viewable so to speak, without downloading...
Like A Play/View Button? To listen to a song, or view an image. Preferably in the download_file template
I got in there lol and was trying things to create a link to it but i couldn't figure it out so that it was universal... {$file['url']} didn't get exactly there...
Please Help Me Out. You guys are the best
I may post some example url's later so you guys can take a look at other systems out their, but i think you guys have been requested this already.
Just like in the above quote. I too would really like this.
So not only would users be able to download it, but if it is a supported file type, they could either open it, or play it like youtube/google video etc.
Also a way to embed google video/you tube video etc. so users can post youtube video onto the site, and it plays on the site, and they can comment on it on the site, but it doesnt waste the bandwidth of the site.
Also was there mention of a paid/lite version and are you guys developing this on a site that I can check out the progress etc.
Thanks.
RS_Jelle
09-15-2006, 05:16 AM
Just like in the above quote. I too would really like this.
So not only would users be able to download it, but if it is a supported file type, they could either open it, or play it like youtube/google video etc.
Also a way to embed google video/you tube video etc. so users can post youtube video onto the site, and it plays on the site, and they can comment on it on the site, but it doesnt waste the bandwidth of the site.
AdminCP -> Downloads -> Settings -> Open Directly in Browser
Add the file extension on that list to open it in the browser directly. There is no real embedded option at this moment.
Also was there mention of a paid/lite version and are you guys developing this on a site that I can check out the progress etc.
I don't know where you read that. We aren't creating such a thing and there are no plans for it :)
The next thing we are working on is version 6, a big release with many new features :cool:
TheBlackPoet
09-15-2006, 11:16 AM
My Last Hack To Install.... Im Down To The Wire.... I Have To Go To Work... And I Made The Decision To Install One Last Hack..... For The Next 6months?
I Found What I Was Looking For And Furiously Followed Your Instructions....
Eureka!!!
Thank You And Have A Great Day!!!
trackpads
09-15-2006, 10:37 PM
The images are using the same path, so it's a known problem (that's why we don't recommend it at this moment) :)
You can fix it by modifying downloads.php. Find $dl->url in it and replace them (but not all) with the correct site url to the images.
You don't need to change for example:
if (!is_dir($dl->url))
Only the images (img html tag), for example:
<img src="'.$dl->url.$thumb_x['thumb'].'"
Change this example to (or something like that):
<img src="/downloads/'.$thumb_x['thumb'].'"
Your second problem is also a known one, we need to built in an option that creates directories to seperate the files so you don't get such large directories.
Jelle, thank you so much for the help. I changed the two instances of this in the downloads.php but for some reason it didnt work. When I still upload images for a download they are still transported to the downloads directory, not to the one above the root.
Thanks again for the help and this great script!
-Jason
trackpads
09-16-2006, 02:01 AM
The images are using the same path, so it's a known problem (that's why we don't recommend it at this moment) :)
You can fix it by modifying downloads.php. Find $dl->url in it and replace them (but not all) with the correct site url to the images.
You don't need to change for example:
if (!is_dir($dl->url))
Only the images (img html tag), for example:
<img src="'.$dl->url.$thumb_x['thumb'].'"
Change this example to (or something like that):
<img src="/downloads/'.$thumb_x['thumb'].'"
Your second problem is also a known one, we need to built in an option that creates directories to seperate the files so you don't get such large directories.
Jelle et al,
Also, any plans for large uploads via ftp or something similar?
Thanks again!
-Jason
DementedMindz
09-16-2006, 02:31 AM
Why dont you use a regular ftp? And link the files? Personally I would see no need for a ftp built in to it as it would just be so much more code thats unneeded. Only thing I would like to see changed is when you ftp a file then link to it if you want it to keep track of bandwidth you need to enter in the BYTES might be nice to enter in MB instead or have a option cause it sucks everytime using a conversion calculator.
trackpads
09-16-2006, 02:47 AM
Not for me but just for regular users. I of course ftp but joe-user taht has a large file doesnt.
-Jason
DementedMindz
09-16-2006, 02:48 AM
I would never let users ftp to my server ever. There is to many things you risk doing that. You can never trust anyone.
RS_Jelle
09-16-2006, 07:37 AM
Jelle, thank you so much for the help. I changed the two instances of this in the downloads.php but for some reason it didnt work. When I still upload images for a download they are still transported to the downloads directory, not to the one above the root.
Thanks again for the help and this great script!
-Jason
Both files and images are stored in the same directory. So if it's beneath the root, images won't work (limitation). In the future we might use seperate directories for them.
Snake
09-16-2006, 11:27 AM
Will this work on v3.6.1 just fine? Can anyone confirm this please?
RS_Jelle
09-16-2006, 11:47 AM
Will this work on v3.6.1 just fine? Can anyone confirm this please?
Yes, it works fine with vBulletin 3.6.1 ;)
Black Tiger
09-16-2006, 02:21 PM
I've got a little layout problem at this moment. I just decided to have Downloads completely integrate in vBA, so also my right column which I did not use at first.
Now I see 2 little layout problems.
At first, the top of the downloads part, does not line (ligt niet op gelijke hoogte) with my right column. The right column is just a little bit higher.
The second is more a question. I would like to adjust the distance between the "latest files" column and the main download column, so the distance looks te same as between the main downloads column and my right sidebare column. How is this done?
sokol
09-16-2006, 09:12 PM
Great mod here! Thank you very much for the hard work. Is there a way to have it upload an image to accompany the file at the same time the user uploads the file? Like Secure Downloads used to?
Thanks,
Sokol
Robbed
09-17-2006, 02:19 AM
I finally upgraded, thanks.
Rs jelle and westpointer.
1)For the upload and download stats can you make a page that shows this so I don't have to check profiles and i like to keep the profiles clean so i turn it off.
2)The table background is black anyway to fix?
3) I still had the problem for uknown author on the old downloads so i used this code.
if ($file['_author'] == '')
$_author = $file['author'];
else
$_author = $file['_author'];
4) Can you have it so categories are seperate in the downloads folder?
Right now i have 5000 files in one folder.
http://www.doubleminor.net/forums/downloads.php
DementedMindz
09-17-2006, 02:22 AM
2)The table background is black anyway to fix?
I have the same problem with the main table being black to I havent really messed with the code to see why I hope they can fix that.
HappyPike
09-17-2006, 03:26 AM
4) Can you have it so categories are seperate in the downloads folder?
Right now i have 5000 files in one folder.
http://www.doubleminor.net/forums/downloads.php
Very good suggestion! I have tons of files in that folder too. It would be great if the files are placed in each user's own folder, like downloads/UserID/. The vBa Gallery and the Upload Center addon have that. FTP programs have trouble displaying the file listings when there are too many files in one folder.
Another feature that's really needed is that when people edit a file to upload a new version, the old version should be deleted. Right now the old versions just wasting server space.
Devil Woman
09-17-2006, 09:30 PM
Sorry if this has already been asked in this thread, I was wondering is there a possibilty that any files uploaded to be downloaded are put into a queue to be moderated first to avoid any duplicate files being uploaded
Thanks
Robbed
09-17-2006, 09:44 PM
Sorry if this has already been asked in this thread, I was wondering is there a possibilty that any files uploaded to be downloaded are put into a queue to be moderated first to avoid any duplicate files being uploaded
Thanks
Already there.
Can Avoid Purgatory to NO, it's a usergroup setting.
networktemple
09-18-2006, 05:47 AM
i want to upload large "50MB" file via downloadII.. what do i need to do unrestrict upload size..
Where do i change the value etc.. please help.. thanks
DementedMindz
09-18-2006, 09:20 AM
For that big of a file you should use a ftp program or your going to make your server lag out.
snyperj
09-18-2006, 08:31 PM
I am struggling trying to set up permissions using the category and usergroup manager. Could you help? I'm sorry:squareeyed:
Here is an idea of what I am trying to accomplish
Say I have 4 user groups, A B C D
I have 4 Download Categories A B C D (for simplicity)
All users are members of Group A (primary) and should always have access to view category A downloads.
All users are then members of at least one other usergroup so they should ALSO have access to that Download category (B, C or D).
Some users may be users of more than one usergroup (i.e. B & D). In this example case, they should have access to categories A, B & D only (but not C).
Can this be done? I cannot get to seem to make it work. It seems like everything stays based on the UserGroup A setting.
Black Tiger
09-18-2006, 08:42 PM
It can be done but then you have to create 4 usergroups.
In all usergroups you should then set Exclude Categories to YES.
Then in usergroup A place in the line below the Exclude Categories setting the following:
B, C, D
You could also do C,D and then A users would have access to A and B etc.
For usergroup B do the same, but then put there A,C,D.
If you have users which may reside in more usergruops, set those usergroups as secondairy usergroup in their useraccount.
Black Tiger
09-18-2006, 08:47 PM
I have a question to. Is it not possible to make some settings in the existing usergroups one way or the other.
I have some users now which I would like to upload and which may avoid purgatory, but I have also users which I want to upload but which may not avoid purgatory.
At this moment to get this working 2 usergroups are needed for this, with all the settings needed for all forums and forumpermissions which is a lot of work.
Could it be made (maybe next version?) so you can set in each individual useraccount that they may upload yes or no? And if yes, that they will come into a queu and with a seperate usergroup they can avoid purgatory?
Or maybe could it be made that both the upload and avoid purgatory setting could be implanted in the individual user settings? This would make things a lot easyer. In fact you would only have to use seperate usergroups when wanting something like Snyperj would like.
snyperj
09-18-2006, 11:17 PM
It can be done but then you have to create 4 usergroups.
In all usergroups you should then set Exclude Categories to YES.
Then in usergroup A place in the line below the Exclude Categories setting the following:
B, C, D
You could also do C,D and then A users would have access to A and B etc.
For usergroup B do the same, but then put there A,C,D.
If you have users which may reside in more usergruops, set those usergroups as secondairy usergroup in their useraccount.
Thanks for the reply. I will try what you said although at first glance I am tihinking this was what I was doing to no avail but perhaps I was overlooking something. In any event- thanks again.
triphp
09-19-2006, 03:44 AM
I have a problem. I'm able to upload files but unfortunately, the downlaoded files are corrupted. I have tried to upload a ZIP file, then I download it and I cannot unzip it anymore because it's corrupted. The downloaded file is always 1KB.
Please advice.
CyberRanger
09-19-2006, 11:47 AM
I have a problem. I'm able to upload files but unfortunately, the downlaoded files are corrupted. I have tried to upload a ZIP file, then I download it and I cannot unzip it anymore because it's corrupted. The downloaded file is always 1KB.
Please advice.What are the permissions on your downloads and downloads/ec_tmp folders?
Devil Woman
09-19-2006, 06:01 PM
Already there.
Can Avoid Purgatory to NO, it's a usergroup setting.
Thanks for that, got confused as its called something completly different as I would class it as
Thanks again
triphp
09-20-2006, 03:45 AM
What are the permissions on your downloads and downloads/ec_tmp folders?
donwloads is 777 and downloads/ec_tmp is 755. I try to change the permission of downloads/ec_tmp to 777 but I wasn't able to cos it says in my FTP utility "Bad file descriptor"
I'm using 3.6.1
EvilHawk
09-20-2006, 07:55 AM
I have noticed that the check if the users has exceeded the max daily download amount is in effect for the linked files too. INMHO this is of no use and annoying for the users ;)
phpdevrus
09-20-2006, 08:05 AM
westpointer: any plans to incorporate downloadsII with vbbux? to charge per download and or pay to the submitter...
would be awesome. was requested before but ron1n never was interested.
let me know.
CyberRanger
09-20-2006, 09:18 AM
donwloads is 777 and downloads/ec_tmp is 755. I try to change the permission of downloads/ec_tmp to 777 but I wasn't able to cos it says in my FTP utility "Bad file descriptor"
I'm using 3.6.1
I would delete the ec_tmp directory, then re-create it with permissions of 777.
CyberRanger
09-20-2006, 09:22 AM
I have noticed that the check if the users has exceeded the max daily download amount is in effect for the linked files too. INMHO this is of no use and annoying for the users ;)
At first glance that does seem silly BUT many sites use the linked files to link to large files that have been added locally via ftp. So, it's not truly a remote site. I think what I need to do is add some type of check for the domain. If the domain is different from the forum domain, then bypass the daily download amount or at least make that an option.
CyberRanger
09-20-2006, 09:23 AM
westpointer: any plans to incorporate downloadsII with vbbux? to charge per download and or pay to the submitter...
would be awesome. was requested before but ron1n never was interested.
let me know.
Jelle and I need to have a long virtual meeting about adding this and the general direction of the mod. Overall, I think it's an excellent idea that we could probably incorporate quickly by adding a few hooks in downloads.php.
EvilHawk
09-20-2006, 09:32 AM
At first glance that does seem silly BUT many sites use the linked files to link to large files that have been added locally via ftp. So, it's not truly a remote site. I think what I need to do is add some type of check for the domain. If the domain is different from the forum domain, then bypass the daily download amount or at least make that an option.
Good point, I agree this is a more flexible solution from just disabling the check ;)
triphp
09-20-2006, 01:46 PM
I would delete the ec_tmp directory, then re-create it with permissions of 777.
What I did is to rename the ec_tmp directory because I can't delete it. Then I reccreate an ec_tmp directory with 777 permissions. However, problem still occurs. The downloaded file is always corrupted, only 1KB or less in size.
I tried to see the file in my host and downloaded it via FTP and it's OK. Why is it that when I download via this module in vBulletin it's always corrupted?
Does anyone have the same problem or just me? Can you please share it how to fix this one.
The different file I tested was in ZIP format.
CyberRanger
09-20-2006, 03:42 PM
What I did is to rename the ec_tmp directory because I can't delete it. That is odd by itself. What type of server are you on? Is it Windows based?
I tried to see the file in my host and downloaded it via FTP and it's OK. Why is it that when I download via this module in vBulletin it's always corrupted?Because the file you download via this module is a file that's been copied from the downloads folder to the ec_tmp folder and renamed in the process.
Does anyone have the same problem or just me? Can you please share it how to fix this one.
The different file I tested was in ZIP format.If you are willing to PM me your server url along with an user account and password for FTP access I'll take a look. Otherwise, I don't know what else to tell you. I know of no one else with this problem.
Black Tiger
09-20-2006, 04:11 PM
I got a little problem now since upgrading to the newest version.
At first I could approve files by the "manager file" setting, selecting approve and that was it (use the drop-down menu). But this does not work anymore.
Now i have to click every file which needs approval and approve it in the download section then.
Normally you should be able to approve multiple files by selecting multiple files (die vinkjes er in zetten) and click "go" below. But standaard the setting next to go is [pin] and [categorie] which takes care nothing gets approved.
So like how it's now, you cannot select multiple files for multiple categories to approve at once. So this does not work either.
Can both be fixed? Or at least the drop-down menu approval option which worked fine before?
Robbed
09-20-2006, 11:41 PM
Westpointer when you get some time can you look at these.
https://vborg.vbsupport.ru/showpost.php?p=1076632&postcount=431
The major one would be the black table background, thx
cash7c3
09-21-2006, 03:32 AM
alright I am sure this has been asked but i didn't see in when i was taking a quick look through the 31 pages in this thread (WOW)
anyways will this work with vb version 3.6.1?
if no, is there any know modification or code to make it work?
DementedMindz
09-21-2006, 09:42 AM
yes it does
dholt
09-21-2006, 01:42 PM
There is no index.html or index.php in the download directory!
DementedMindz
09-21-2006, 01:58 PM
download the newest version it shouldnt say that cause they put one in there but if there is not your missing that file. search the thread its been answered 200 times
dholt
09-21-2006, 02:05 PM
ok I just installed it two days ago and I looked and the file index.html is in there DownloadsII-5.0.3 is what was installed along with ecdownloads add on
Not sure but maybe the URL fot it to find the download folder is wrong
root/forums/downloads
and yes the folder is chked 777
vb ver. 3.6.1
I understand what you say about it was not in there before
dholt
09-21-2006, 03:42 PM
ok I will answer myself.
Dont forget to add the trailing / to forums/downloads/
Example:
/home/server/public_html/yoursite/forums/downloads/
ok it was not answered, but it is now post count 1-199
admincp/Downloads/settings/Download URL
marty87
09-21-2006, 04:03 PM
Thanks
phpdevrus
09-21-2006, 09:42 PM
Jelle and I need to have a long virtual meeting about adding this and the general direction of the mod. Overall, I think it's an excellent idea that we could probably incorporate quickly by adding a few hooks in downloads.php.
:-) awesome. sounds great. need to learn how to make some mods of my own. not really familiar with the hook system yet, but a pretty good php coder.
teedizz
09-21-2006, 11:20 PM
Can you set this for 1 particular forum even if its a sub forum?
CyberRanger
09-22-2006, 12:36 AM
Can you set this for 1 particular forum even if its a sub forum?
I don't understand your question. DownloadsII doesn't have any direct connect to any sub-forum. It's a stand alone system that uses vb's usergroups and permissons.
Black Tiger
09-22-2006, 07:27 PM
Westpointer could you have a look at my question in post #454 about the approvals please?
Kirk Y
09-26-2006, 01:07 AM
The comment box for each file is breaking my style because it's too big. How can I make it smaller?
Black Tiger
09-26-2006, 12:46 PM
If you have long filenames, use the edit option and put spaces in the filenamediscription, that worked for me.
Kirk Y
09-26-2006, 08:05 PM
Huh?
I'm talking about the Comment Editor box in each Download Page.
Black Tiger
09-26-2006, 08:14 PM
Oops sorry, then it's something else then I had in mind.
darkblade25
09-27-2006, 06:38 AM
Can anyone make a module for vBa CMPS. I just want like latest files and how many downloads.
Thanks
DementedMindz
09-27-2006, 06:39 AM
there is one already you need to use the search button more.
exilera
09-27-2006, 04:52 PM
I've attached a screenshot showing the problems I'm having. If someone would be able to help, it would be much appreciated!
1. What template would I need to edit to remove these images?
2. Biggest one. How would I center this inside the static forum width so it doesn't spill over the edge?
3. What template would I need to edit to change this from "tcat" to "thead"?
Thanks a million!
David
Kirk Y
09-27-2006, 07:43 PM
That's the same problem I'm having, with the Comment Box breaking the template -- it works fine with the Comments disabled.
Black Tiger
09-27-2006, 07:51 PM
there is one already you need to use the search button more.
And not even that is necessary, he can click the "add-on" link in the right top of this thread, just below the download of downloads II.
It can't be any easier.:)
CyberRanger
09-27-2006, 11:03 PM
Can anyone make a module for vBa CMPS. I just want like latest files and how many downloads.
ThanksHere you go: https://vborg.vbsupport.ru/showthread.php?t=110122
darkblade25
09-28-2006, 05:52 AM
Just one more question. I have catagory Games>First Person Shoot> Online
and if I got to the main page I see Games with the subcatagory First Person Shooter and Online. How do I get it so that it just says First Person Shooter?
Example http://www.rzgamers.com/downloads.php
brandnew
09-28-2006, 05:55 AM
I wish there's release for vB 3.6.1. Edited: It turns out that this release also works on 3.6.1! Yah
triphp
09-28-2006, 08:00 AM
That is odd by itself. What type of server are you on? Is it Windows based?
Because the file you download via this module is a file that's been copied from the downloads folder to the ec_tmp folder and renamed in the process.
If you are willing to PM me your server url along with an user account and password for FTP access I'll take a look. Otherwise, I don't know what else to tell you. I know of no one else with this problem.
PM sent with the needed info.
I also encounter another problem. When I upload, there's no file that will be copied to ec_tmp folder.
CyberRanger
09-28-2006, 11:16 AM
Just one more question. I have catagory Games>First Person Shoot> Online
and if I got to the main page I see Games with the subcatagory First Person Shooter and Online. How do I get it so that it just says First Person Shooter?
Example http://www.rzgamers.com/downloads.php
Your best option may be to set "Hide sub-categories on the main page?" to "Yes" (that's in admincp -> Downloads -> Settings). That won't give you exactly what you want but it will give you a look like this: http://www.strategyzoneonline.com/forums/downloads.php?
Ski-Whiz
09-29-2006, 06:09 AM
For some reason, as an admin, I get a
Sorry! You have exceeded your daily allowed download amount.
Message. Now I checked the Usergroupd permissions, and for all my usergroups, they are -1. I even tried entering "9999999999" for an amount. I still get that message.
Now I log out, and I can download ok. It's wierd. I searched for this limit error, and I didn't come up with any results.
Anyone have any tips or things I can check?? It appears to be my admin usergroup. And my usergroup permissions are set up, I even tried to cycle them to a huge number. Still get that error..
Any tips?
CyberRanger
09-29-2006, 10:47 AM
Anyone have any tips or things I can check?? It appears to be my admin usergroup. And my usergroup permissions are set up, I even tried to cycle them to a huge number. Still get that error..
Any tips?Rebuild the bitfields: admincp/index.php?do=buildbitfields. I think that will fix it.
CyberRanger
09-29-2006, 04:16 PM
I tried to see the file in my host and downloaded it via FTP and it's OK. Why is it that when I download via this module in vBulletin it's always corrupted?You are correct! The file that gets copied to ec_tmp is okay. However, when you try to download it via this module, it comes down as a 1k file. I'm not sure why!!!
BUT - I do have a work around. In admicp->downloads->settings, enter the extensions you allow for upload in "Open File Directly in Browser" field. They will then download correctly.
Now, why does your site have that behavior while no one else does???
CyberRanger
09-29-2006, 06:14 PM
Westpointer could you have a look at my question in post #454 about the approvals please?
You aren't forgotten ... just haven't had time to really look at it yet.:cross-eyed:
DementedMindz
09-29-2006, 07:18 PM
westpointer question is there anyway to remove the side block when they are on the file page?
DementedMindz
09-29-2006, 07:21 PM
nevermind found it :) was adding adsense to the downloads page :) instead of having the top contribs.
Black Tiger
09-29-2006, 08:46 PM
You aren't forgotten ... just haven't had time to really look at it yet.:cross-eyed:
Oke, no problem, as long as I know it will be looked at in due time, I'm quite satisfied and I can wait. Thanks!
cash7c3
09-30-2006, 04:49 AM
when i try to uploade an image to the file description i get the following error:
Fatal error: Call to undefined function: imagecreatefromgif() in /home/mmm/public_html/forums/downloads.php on line 738
Ski-Whiz
09-30-2006, 05:19 AM
Rebuild the bitfields: admincp/index.php?do=buildbitfields. I think that will fix it.
I just tried that and it's still giving me the error..
This is REALLY wierd...
:alien:
Ben Wilkins
09-30-2006, 03:25 PM
Hey, how can i remove the semi colon from the small description?
Is it okey, if edited the template a little?
See attachment.
https://vborg.vbsupport.ru/external/2006/10/18.jpg
HappyPike
10-01-2006, 03:32 AM
I've attached a screenshot showing the problems I'm having. If someone would be able to help, it would be much appreciated!
1. What template would I need to edit to remove these images?
2. Biggest one. How would I center this inside the static forum width so it doesn't spill over the edge?
3. What template would I need to edit to change this from "tcat" to "thead"?
1) I think you need to edit the downloads.php file for that.
3) It's in the downloads_file template
Find:
<td class="tfoot" align="center">
<input type="submit" name="submit" value="{$vbphrase['submit']}" />
</td>
cash7c3
10-01-2006, 05:55 PM
can anyone give me any ideas at all? (post #488) I really need this working rather quickly . . . i have dates i have to meet and this is a very important feature for me. Thanks for any and all help.
HappyPike
10-01-2006, 06:36 PM
when i try to uploade an image to the file description i get the following error:
Fatal error: Call to undefined function: imagecreatefromgif() in /home/mmm/public_html/forums/downloads.php on line 738
Maybe you have an old version of GD library?
From this doc page: http://us3.php.net/imagecreatefromgif
Note: GIF support was removed from the GD library in Version 1.6, and added back in Version 2.0.28. This function is not available between these versions.
----------
Hey, how can i remove the semi colon from the small description?
Is it okey, if edited the template a little?
See attachment.
https://vborg.vbsupport.ru/attachment.php?attachmentid=54133&stc=1&d=1159633428
Look in the downloads.php... some of the stuff are not in the templates.
cash7c3
10-01-2006, 06:53 PM
Maybe you have an old version of GD library?
From this doc page: http://us3.php.net/imagecreatefromgif
----------
good idea but i have the latest version i think. i downloaded it from the top of this page a couple days ago . . . in fact it is version 5.0.3 . . . also none of the image uploads work (jpg, gif, png, jpeg) i can not uploade any type. any other ideas?
thanks so much
-cash
cash7c3
10-01-2006, 08:52 PM
i have no idea what i was talking about right there with the version, i am running php version 4.4.4
does that help at all figuring out what is wrong?
Edit: Further investigation has shown me that my host has failed to install the php gd library on my server and that must be the problem. I am going to get in contact with them and get that fixed.
Thanks for the help HappyPike if this works you definently put me on the right direction i completely overlooked the gd library.
Hi,
I am wondering how to put category image right from category same as on RS_Jelle `s download page.
When i put image it appear under category name?
And if possible , To show only category image not the Name ?
Thank you
Hel_Sir
10-03-2006, 05:19 AM
In what files do I need to edit? Find in MEMBERINFO find in POSTBIT. Just bhad my first install of vbulletin so not too familiar with files etc. Running with the ambience_x theme. Also, is it possible to integrate DownloadsII more with the portal (vbportal)? Like have top 5 downloads, last added files on the portal.
Also one important thing missing (or I not found yet..), notify an admin when a file is uploaded and ready to be approved? Right now, I a few times a day hit update counter to see if something needs to be approved, got to be another way and e-mail notification would be very usefull..
Oh I'm running vbulletin 3.6.1
Black Tiger
10-03-2006, 03:16 PM
notify an admin when a file is uploaded and ready to be approved?
That would be a nice option, I would like to second that request.
Hel_Sir
10-03-2006, 04:24 PM
Yeah would be nice indeed, but more important for me at least is the integration with vBportal.. Have like top5 downloaded files on the side, 10 latest uploads with the descriptionfield and such in the main window above or below the latest forum threads. Any way to do this?
Arjan
10-04-2006, 04:13 PM
Great mod.
Just one question.
When I upload I get a Javasript error that "length" is empty or not an object. (line 260). (Internet Explorer)
The script runs fine, but it scares off users. Any way to solve this problem?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.