PDA

View Full Version : Major Additions - DownloadsII


Pages : 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 17 18

RS_Jelle
06-24-2007, 10:53 PM
Then you possibly need to ask to your host what their limit is/to check it for you ;)
30 megabytes is a lot to upload using PHP, so they possibly limit it (also the .htaccess method).

entertain
06-25-2007, 06:46 AM
But can you please upload a htaccess file, because I think, that I did something wrong. :o

RS_Jelle
06-25-2007, 07:30 AM
Here you go ;)
It's in a zip, because vB.org doesn't allow uploading .htaccess files to the attachments.

But you really can't do anything wrong. If you put those two lines in a file and called it .htaccess, that's all. Then you just need to upload it to your forum directory and you are done.

nebu
06-25-2007, 12:36 PM
i uploaded 2 files and it works well.

but now i allways get the message:

"The upload failed! Upload error."

and i dont know why.....

can you give me a hint plz where i have to seach for an answer

RS_Jelle
06-25-2007, 03:32 PM
i uploaded 2 files and it works well.

but now i allways get the message:

"The upload failed! Upload error."

and i dont know why.....


can you give me a hint plz where i have to seach for an answer

Is the extension on the list of allowed extensions (AdminCP -> Downloads -> Settings)?
Is it a large file (PHP has got an upload limit, look at this post (https://vborg.vbsupport.ru/showpost.php?p=1275629&postcount=1499) for more information)?
Maybe you linked the previous files and you are now uploading one from your computer? So be sure the downloads directory is writable (777 chmod).
...

Stifmeister2
06-25-2007, 05:30 PM
I have to say the support for this mod is one of the best ever! :)

nebu
06-25-2007, 06:33 PM
Is the extension on the list of allowed extensions (AdminCP -> Downloads -> Settings)?
Is it a large file (PHP has got an upload limit, look at this post (https://vborg.vbsupport.ru/showpost.php?p=1275629&postcount=1499) for more information)?
Maybe you linked the previous files and you are now uploading one from your computer? So be sure the downloads directory is writable (777 chmod).
...

its all as it sould be ........
in dont find the mistake :(

RS_Jelle
06-25-2007, 07:16 PM
Strange, as it gives only that error if the move_uploaded_file PHP function failes to move the file to the downloads directory. You can get the error when the file is too large for PHP's upload limit, when you haven't done the chmod or when the function is on the forbidden functions list of your host (some hosts implements very strict/strange security things).

Are you running PHP in safe mode (you can see this on the home of your AdminCP)?

nebu
06-26-2007, 03:04 PM
safe mode is off

CyberRanger
06-26-2007, 04:20 PM
safe mode is offIf you try uploading a small file, does it work?

armkbdotcom
06-26-2007, 07:37 PM
Hello,

Any solution if my download folder located away from public www folder like ../../downloads/ ?
I suppose there should be some sort of small php file which will read from ../../downloads/ and spit out image and and wherever there is <img for thumbnails, it should be replaced with that script.

CyberRanger
06-26-2007, 07:53 PM
Hello,

Any solution if my download folder located away from public www folder like ../../downloads/ ?
Currently, the downloads folder must be accessible to the web server. The next major version will add the option you seek.

nebu
06-26-2007, 09:46 PM
If you try uploading a small file, does it work?


i can upload small files, yes!
but my both first try files were 6,58 and 5,74 MB big.

and now i cant upload such big files.


my server limit is 8 MB per file
safe mode is off

the only thing i changed twice is the rename option in the menu

RS_Jelle
06-26-2007, 09:58 PM
So I already gave you the solution in my first post (https://vborg.vbsupport.ru/showpost.php?p=1276204&postcount=1505) :)
All information about changing this limit can be found here (https://vborg.vbsupport.ru/showpost.php?p=1276204&postcount=1505) (change the 30M to what you want).

armkbdotcom
06-27-2007, 11:32 AM
Currently, the downloads folder must be accessible to the web server. The next major version will add the option you seek.
I have made small modification and replaced all dl->url with 'thumb/' where thumbnails are saved/retrieved. So right now thumb folder is located in my forum root. Hopefully after mentioned major release I will just set thumb folder and this will work? Just wanted to know that my small modification will not cause any mass rename operations after your major upgrade.

nebu
06-27-2007, 01:19 PM
So I already gave you the solution in my first post (https://vborg.vbsupport.ru/showpost.php?p=1276204&postcount=1505) :)
All information about changing this limit can be found here (https://vborg.vbsupport.ru/showpost.php?p=1276204&postcount=1505) (change the 30M to what you want).

but .... i changed NOTHING!
after installation iuploaded 7 MB files and now i cant upload 3 MB files ....
i dont know why :(

RS_Jelle
06-27-2007, 03:29 PM
I have made small modification and replaced all dl->url with 'thumb/' where thumbnails are saved/retrieved. So right now thumb folder is located in my forum root. Hopefully after mentioned major release I will just set thumb folder and this will work? Just wanted to know that my small modification will not cause any mass rename operations after your major upgrade.

I don't know yet how it will be like. That part still needs to be written, that's the only empty spot in the upgrade script ... Normally it won't be a big problem if you change some code also in the upgrade script as it will also be redoing the downloads folder with sub-folders etc.

but .... i changed NOTHING!
after installation iuploaded 7 MB files and now i cant upload 3 MB files ....
i dont know why :(

Maybe your host changed something? Just try the .htaccess and see if it solves the problem.

coolgus
06-27-2007, 07:10 PM
Strange Problem. Suddently one of my users who have access to the moderation of files, can't edit/upload new file since he's getting the message "Maximum Upload Limit would be Exceeded by this file. Try a smaller file"

Strange thing is that he could upload/edit without any problem and now he's getting this message. Other user with the same permissions (usergroup) can upload without any problem. Is this a bug ?

CyberRanger
06-27-2007, 07:12 PM
Strange Problem. Suddently one of my users who have access to the moderation of files, can't edit/upload new file since he's getting the message "Maximum Upload Limit would be Exceeded by this file. Try a smaller file"

Strange thing is that he could upload/edit without any problem and now he's getting this message. Other user with the same permissions (usergroup) can upload without any problem. Is this a bug ?
Could he be exceeding the max upload limit for his usergroup? What is it set at?

coolgus
06-27-2007, 07:26 PM
Could he be exceeding the max upload limit for his usergroup? What is it set at?

-1. It had a limit of 5 mb but I changed it and problem remains with his account only.

nebu
06-27-2007, 08:17 PM
Just try the .htaccess and see if it solves the problem.

tell me what to do plz.

Majest
06-27-2007, 10:48 PM
Is there a way to have the message interface match the style?

Also is there a way to have Top Contributors be Top Authors instead of Top Uploaders?

Clicks Install. ;)

1. How do you mean? I don't understand your question. The message editor is the default vBulletin one, so you just have to change its styles in the "Styles & Templates" AdminCP part. Or do you mean the large editor for the reply field for comments? This will be replaced by a small Quick Reply field in v6.

2. Edit the "ecdownloads_top_contributors" phrase to change the text.


1. I have a custom style and I want the comment messaging style to not be the vBulletin one, but to match my style.

2. I want it so to authors show up as top contributors and not top uploaders.

I am pretty new with vbulletin editing so I am not 100% following what you mean. If you could explain in more detail I would be greatly appreciative.

CyberRanger
06-27-2007, 11:00 PM
tell me what to do plz.
Like Jelle has said already, you need to create a file named .htaccess (not the period in front of the name). Put the following two lines into the file:

php_value upload_max_filesize 30M
php_value post_max_size 30M

Upload the file into your forum directory (the same location where downloads.php is located.)

This will increase the size of the file you can upload to 30MB.

nebu
06-28-2007, 12:09 PM
if i create a new file (xxxx.txt) and try to rename it to .htaccess,
it say "pls insert a name"

how to create a .htaccess

CyberRanger
06-28-2007, 12:16 PM
if i create a new file (xxxx.txt) and try to rename it to .htaccess,
it say "pls insert a name"

how to create a .htaccess
Your service provider may have your access restricted where you cannot create hidden files (that's what the period in front of the name does, assuming your host is running some version of unix).

Normally, files are renamed to add the period at the beginning either via direct command line access or via the renaming feature of your ftp program. If you don't know how to do either of those, your best bet is to contact your host and ask them to create the file with the information we told you to put in it.

nebu
06-28-2007, 12:19 PM
now i understand ;)
its done and i try to upload now

nebu
06-28-2007, 12:31 PM
error again :(

CyberRanger
06-28-2007, 12:36 PM
error again :(
I"m sorry but you need to provide a lot more info (what is the error, what were you trying to do, what program were you using, etc) before we can try to help.

Adding or modifying a .htaccess file isn't really part of this mod but we understand the need for it. If you can't get it to work, you really need to ask your host for assistance.

nebu
06-28-2007, 12:36 PM
when i create a .htcaccse in my forum root directory,
i cant start the forum

CyberRanger
06-28-2007, 12:45 PM
when i create a .htcaccse in my forum root directory,
i cant start the forum
That means you have an error in the file.

At this point, you really need to either read up on creating the file (google "creating a .htaccess file") or have your host help you create the file. I'm afraid there's not much else we can do unless you want to PM me your site info along with an admin ftp login and password.

nebu
06-28-2007, 12:56 PM
i get the error message ... in german :)

Serverfehler!

Die Anfrage kann nicht beantwortet werden, da im Server ein interner Fehler aufgetreten ist. Der Server ist entweder ?berlastet oder ein Fehler in einem CGI-Skript ist aufgetreten. Bitte achten Sie darauf, dass die Dateien und Verzeichnisse ueber die korrekten Berechtigungen verfuegen. Der Vollzugriff (777) ist nicht erlaubt. Aendern Sie die Berechtigungen mittels chmod auf maximal 755.

Sofern Sie dies f?r eine Fehlfunktion des Servers halten, informieren Sie bitte den

captainslater
06-28-2007, 01:01 PM
Nebu, did you chmod your downloads-directory and sub-directories to 755?

RS_Jelle
06-28-2007, 01:54 PM
-1. It had a limit of 5 mb but I changed it and problem remains with his account only.

Is his account the only one in that usergroup? Or not? :D

coolgus
06-28-2007, 10:11 PM
there is one more account in this usergroup. I tried to delete it and recreated it but still occurs. seems like this problem is username associated. even today where no upload/download had happened, maximum limit message keep repeated. Also the other account in this usergroup has no problem whatsoever.

FYI using the url link works fine and I'm not getting the max limit reach message

CyberRanger
06-28-2007, 10:29 PM
there is one more account in this usergroup. I tried to delete it and recreated it but still occurs. seems like this problem is username associated. even today where no upload/download had happened, maximum limit message keep repeated. Also the other account in this usergroup has no problem whatsoever.

FYI using the url link works fine and I'm not getting the max limit reach message
Is he a member of an additional usergroup that has a limit?

If no, PM me your url along with an admin account and password plus the user's name and I'll check it out.

nebu
06-29-2007, 06:00 AM
Nebu, did you chmod your downloads-directory and sub-directories to 755?

no, its 777

CyberRanger
06-29-2007, 11:18 AM
That means you have an error in the file.

At this point, you really need to either read up on creating the file (google "creating a .htaccess file") or have your host help you create the file. I'm afraid there's not much else we can do unless you want to PM me your site info along with an admin ftp login and password.

no, its 777
What I said above is really my last word on this. We've told you exactly what to do.

If you need more help, either ask your host or PM me the info I requested above and I'll help you.

Dr.Alzaabi
07-01-2007, 06:27 AM
Hello bro
Great!
it works perfectly but
when i tried to download any file i get this msg

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

any help?

pn: SAFE MODE ON

CyberRanger
07-01-2007, 10:03 AM
Hello bro
Great!
it works perfectly but
when i tried to download any file i get this msg


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

any help?

pn: SAFE MODE ON
You'll need to have your host enable copy. There's no other way for the program to work. That's way overly restrictive security.

Big-K
07-01-2007, 12:35 PM
UPDATE: THIS IS SOLVED - I logged out and logged back in

Hello,

I just installed this wonderful hack.

Everything is smooth..so far, but when I got stuck at this point
Create directories in the 'Categories' menu under the 'Downloads' in your admincp
If you would like to import files go to the 'Import' menu under 'Downloads' and specify a directory to import



There's no Downloads directory in my AdminCP. I have copied all files in "Uploads" and imported the product. What's missing?

Rickeo
07-01-2007, 12:37 PM
You will be a living legend for this :) Thank yoooooouuuuuuuuuuu :D:D:D:D

~Rick~

Rickeo
07-01-2007, 01:49 PM
I get this error on 3.6.7 PL1 when importing the product

No phrasetypeid!

Any help here please??

Rickeo
07-01-2007, 03:04 PM
Sorry issue resolved :s sorry about that

~Rick~

RS_Jelle
07-05-2007, 10:02 AM
A question to you all: are you using the Stats feature (downloads.php?do=stats) of DownloadsII? Should we keep it or remove it? Would it be better to integrate it in the AdminCP instead of the public pages? If you use it, why and how do you use it (what purpose etc.)? And what new features would you like in it if we have to keep it?

rowlandc
07-06-2007, 09:39 AM
I don't use it much and I believe in adding it in the admin cp would be better. I use it to give my an overview of how much my members are downloading.

You could add it as a sub menu under the download information log. It would be nice in the admin cp that the download section with all the states be developed more. At the moment its great to see how many times someone downloads a file on which day but more information would be interesting e.g. a time.

At the moment I get some members which download the file 4 times in a row. If I new the time in-between those downloads I could see if they are just a bunch of lechers. So if I see it’s a couple of minute’s interval between each download I can assume he’s just had problems downloading. If he downloads every hour then it’s possible he’s a bot sucking my bandwich.

Anyways to make it simple, a time section in the log would be most welcome. The states page should be added to the admincp because its not peoples problem about how much people are downloading, only admins need to worry about that in my opinion.

I hope it helps ;)

csavern
07-07-2007, 07:35 PM
when i upload a file to the board then add images of something to the upload i just made all the pics are strait down the page not next to each other..
someone know what i might need to edit to fix this problem

Sean James
07-08-2007, 01:18 AM
Can this modication, search your current vBulletin attachments and add them?

A|X
07-08-2007, 03:53 AM
how to display order category?

RS_Jelle
07-08-2007, 07:55 AM
I don't use it much and I believe in adding it in the admin cp would be better. I use it to give my an overview of how much my members are downloading.

You could add it as a sub menu under the download information log. It would be nice in the admin cp that the download section with all the states be developed more. At the moment its great to see how many times someone downloads a file on which day but more information would be interesting e.g. a time.

At the moment I get some members which download the file 4 times in a row. If I new the time in-between those downloads I could see if they are just a bunch of lechers. So if I see it?s a couple of minute?s interval between each download I can assume he?s just had problems downloading. If he downloads every hour then it?s possible he?s a bot sucking my bandwich.

Anyways to make it simple, a time section in the log would be most welcome. The states page should be added to the admincp because its not peoples problem about how much people are downloading, only admins need to worry about that in my opinion.

I hope it helps ;)

Thanks for the feedback. Your suggestions were already incorporated in the next release: the downloads log is now also displaying the download time and ip address (and when you click on it, it does an ip lookup using the vBulletin ip system). You can find a screenshot of it here (https://vborg.vbsupport.ru/showpost.php?p=1213556&postcount=1131).

Any other people with information about how they use the Stats feature (or the fact that they aren't using it)? And what you want as a new feature in it?

when i upload a file to the board then add images of something to the upload i just made all the pics are strait down the page not next to each other..
someone know what i might need to edit to fix this problem

Have a look at this post (https://vborg.vbsupport.ru/showpost.php?p=1260791&postcount=1438). Someone already asked this and I coded it for him, so you just need to upload the attached downloads.php file instead of your current one.

Can this modication, search your current vBulletin attachments and add them?

No, it has nothing to do with the vBulletin attachments at the moment. It's a separate downloads database.

how to display order category?

When you are viewing a category, there's a "Sort Files" dropdown menu at the bottom of the page. You can also click on the header names for sorting.

iBaker
07-08-2007, 09:20 AM
Hi
I hope someone can help with this.

I have changed the layout in the downloads.php file to use the downloads_panel_top template. I also wanted to have the standard vBulletin category row across the top of the panel which includes the standard collapse button so the dpanel of latest files, popular files and top contributors could be collapsed.

This is my downloads_panel_top template which includes my changes but I can't seem to get the collapse button to work - any help is greatly appreciated!

<!-- IB added for category row heading -->
<table id="downloads{$dpanel}" class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<thead>
<tr>
<td class="tcat" colspan="3">
<a style="float:right" onclick="return toggleMultiCollapse('downloads')"><img id="collapseimg_downloads{$dpanel}" src="images/buttons/collapse_tcat.gif" alt="{$vbphrase['collapse_this']}" border="0" /></a>
Downloads
</td>
</tr>
</thead>
<tbody id="collapseobj_downloads{$dpanel}" style="{$vbcollapse['collapseobj_downloads']}">
<!-- end IB added for category row heading -->

<!-- IB removed for category row heading
<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="100%" align="center">
<tr>
<td>
<table cellpadding="6" cellspacing="1" border="0" width="100%"> -->
<tr align="center">
<td class="thead" width="33%"><span class="smallfont">{$vbphrase['ecdownloads_latest_files']}</span></td>
<td class="thead" width="33%"><span class="smallfont">{$vbphrase['ecdownloads_most_popular_files']}</span></td>
<td class="thead" width="33%"><span class="smallfont">{$vbphrase['ecdownloads_top_contributors']}</span></td>
</tr>
<tr align="left">
<td class="alt1" width="33%" valign="top">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<legend>{$vbphrase['ecdownloads_latest_files']}</legend>
<div style="padding:0px">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
<tr>
<td width="100%">
<table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
$dpanel_latest_bits
</table>
</td>
</tr>
</table>
</div>
</fieldset>
</td>
<td class="alt1" width="33%" valign="top">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<legend>{$vbphrase['ecdownloads_most_popular_files']}</legend>
<div style="padding:0px">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
<tr>
<td width="100%">
<table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
$dpanel_popular_bits
</table>
</td>
</tr>
</table>
</div>
</fieldset>
</td>
<td class="alt1" width="33%" valign="top">
<fieldset class="fieldset" style="margin:0px 0px 0px 0px">
<legend>{$vbphrase['ecdownloads_top_contributors']}</legend>
<div style="padding:0px">
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%">
<tr>
<td width="100%">
<table cellpadding="2" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
$dpanel_contrib_bits
</table>
</td>
</tr>
</table>
</div>
</fieldset>
</td>
</tr>

<!-- IB removed for category row heading
</table>
</td>
</tr> -->

<!-- IB added for category row heading -->
</tbody>
<!-- end IB added for category row heading -->

</table>

majorvbuser
07-09-2007, 10:55 AM
Few questions apologies if they have been answered previously, but at over 100 pages, it's a little time consuming to determine.

1) In this screen shot :
https://vborg.vbsupport.ru/attachment.php?attachmentid=51209&d=1154030030

It shows an image in the left hand column , I was hoping to insert e-book covers into that column, but when I'm adding a new download I just can't see the field where you link to or upload the image you want to see in that download column.

2- Right now it seems to only allow you to upload compressed files, can it be set to allow PDf files?

3- When I use the "link to " method, it allows PDF ofc, but opens them up in Adobe rather than allowing the user to save to their chosen destination, any way around this ?

Thank you.

RS_Jelle
07-09-2007, 11:58 AM
Hi
I hope someone can help with this.

I have changed the layout in the downloads.php file to use the downloads_panel_top template. I also wanted to have the standard vBulletin category row across the top of the panel which includes the standard collapse button so the dpanel of latest files, popular files and top contributors could be collapsed.

This is my downloads_panel_top template which includes my changes but I can't seem to get the collapse button to work - any help is greatly appreciated!

Have a look at this tutorial (https://vborg.vbsupport.ru/showthread.php?t=119931) about collapsable boxes in vBulletin. It's explaining it in full detail :)

Few questions apologies if they have been answered previously, but at over 100 pages, it's a little time consuming to determine.

1) In this screen shot :
https://vborg.vbsupport.ru/attachment.php?attachmentid=51209&d=1154030030

It shows an image in the left hand column , I was hoping to insert e-book covers into that column, but when I'm adding a new download I just can't see the field where you link to or upload the image you want to see in that download column.

2- Right now it seems to only allow you to upload compressed files, can it be set to allow PDf files?

3- When I use the "link to " method, it allows PDF ofc, but opens them up in Adobe rather than allowing the user to save to their chosen destination, any way around this ?

Thank you.


After you added a file, you can upload additional images using the upload form underneath the file description. There's also a usergroup permission to control this image uploading.
You can choose the file extensions you want to allow using the DownloadsII settings in the AdminCP.
You can force the download window for the file extensions you want using the DownloadsII settings in the AdminCP.

majorvbuser
07-10-2007, 07:42 AM
OK, we were talking slightly at cross purposes. The image I linked to above in my post shows an image for the catagories, which can be controlled in admin cp under this option:

Image
This is the image used for this category. Enter the complete url, eg http://www.mysite.com/images/myimage.gif. (Optional, max length of 250 characters)

However what I am trying to achieve is to be able to add an image next to each of the downloads themsleves, not the catagories section.

For example I wish to use the mod to download ebooks and next to each ebook I would like to put the cover of the ebook there, however there does not seem to be anyway to add an image to represent the download, only add images for catagories.

2) Got it, thx.

3) Works a treat thanks. I didn't even suss it had an admincp end was still farting around with the menu options available from the mod ..

So (2) and (3) resolved, (1) I am still unable to achieve.

I've just PM'd you a link to the image I'm trying to change rather than try to explain it, it's on a (currently) private site.

Cheers.

RS_Jelle
07-10-2007, 07:59 AM
My answer was correct for 1, reread it carefully :D
And have a look at the right bottom of this screenshot (https://vborg.vbsupport.ru/attachment.php?attachmentid=51210&d=1154030030) for a visual explanation.

Btw: if you click the install button in the first post, you will receive update notifications of this mod.

majorvbuser
07-10-2007, 08:45 AM
Hi

I appreciate what your saying , I understood entirely what your saying I believe but again we are talking about different pages.

The page your showing in your screen shot is not the page I'm trying to add the image to, that's the page you end up on once you click the download you want after choosing the catagory .

The page I am trying to add , aww screw it let me do a screen shot.

Although in addition I can't see how your adding images to the page your talking about either. Once I upload the PDF using the "upload or link to a file" option, if I then use the upload a file option to try and add an image, it seems to upload fine but no image appears.

If i change the file name in the file name field to the name of the image I want to upload for that download then it simply overwrites the PDF that I want to be downloaded which is kinda what you would expect.

Not sure what I'm doing wrong frankly, I only see 1 upload file option so not entirely sure where the confusion is coming from.

Perhaps I have permissions set up wrong or something could you do a screen shot of the option your using to upload an image to accompany the actual downloaded file which in this case is a PDF.

majorvbuser
07-10-2007, 09:05 AM
Ahh ok, I see the problem, sorry looking at your screen shot here :

https://vborg.vbsupport.ru/attachment.php?attachmentid=51210&d=1154030030

On your view you have a section for adding images below the filename.

On mine, that option does not exist. Hence the confusion, I was beginning to think I was going mad.

I'll attach a screen shot of what I see.

Do I need to turn that option on somwhere?

EDIT _ : I've found the problem, it was simply an option in ADMINCP

"Allow users with permission to view and post images."

That was all it was, problem solved, it was off as default so I didn't see the upload image box your talking about, hence the confusion.

ADDED: Big thanks for your patience :P Great Support

RS_Jelle
07-10-2007, 09:09 AM
Okay, let's go over it a bit slower :p

AdminCP -> Usergroups -> Usergroup Manager -> Edit the usergroup you want (Administrators for your own account normally) -> DownloadsII Permissions -> Can Upload Images -> Yes -> Update

Now will you get the "upload an image" posssibility AFTER you added the file (the PDF in your case). The "upload an image" possibility is on the file page of it you get AFTER you clicked the Add-button for adding a file. It's located underneath the description like you see on this screenshot (https://vborg.vbsupport.ru/attachment.php?attachmentid=51210&d=1154030030).

The image(s) you upload, will be shown underneath that description on the file page AND will be used as a thumb for the category view (this last thing is what you want, but this is not a separate upload thing, it's just using the standard images uploaded to a file AFTER you added it).

I hope that's enough information :D

majorvbuser
07-10-2007, 09:17 AM
Yeah, sussed all that now, it was just the upload images option in admincp that was the problem. That was the missing piece of info that turned a molehill into a mountain.

Cheers for your patience anyway.

RS_Jelle
07-10-2007, 09:21 AM
Ah, sorry. I forgot about that setting :)

dtv100
07-10-2007, 09:30 AM
would love to see this happen :
Vastly enhanced permissions by usergroup and category
Multiple files per entry

thanks for this addon

majorvbuser
07-10-2007, 09:44 AM
Ah, sorry. I forgot about that setting :)

NP, you coder types forget us dimwits don't think to check stuff like that as standard. Thanks again for your patience.:)

funrun
07-10-2007, 11:12 AM
I have Disable file thumbnails set to NO, but none of my test jpg files, linked or uploaded, are showing thumbnail previews anywhere. Its just that little double arrow default icon. Everything else that I can tell is running fine. What might be wrong?

RS_Jelle
07-10-2007, 11:37 AM
I have Disable file thumbnails set to NO, but none of my test jpg files, linked or uploaded, are showing thumbnail previews anywhere. Its just that little double arrow default icon. Everything else that I can tell is running fine. What might be wrong?

That's strange, I can't think about something causing that if the option is set to no. Can you pm me your site url and a normal user test account (username/password) to check it out?

Noctavia
07-10-2007, 12:22 PM
I was wondering if it's possible to make the reply comments match the look of the standard vBulletin comments?

My vBulletin forum replies are separated (each reply is) and shows the full member account info (profile fields etc) on the right. My downloads comments aren't separated and there's no account info. I want people to think it's just part of the site.

Also, is it possible to have the reply section look like the quick reply from the forums? Mine's all smooshed up against the bottom comment.

rowlandc
07-11-2007, 08:38 PM
Any news on the new release I'm getting all excited since Jelle showed me the pictures :D

Saviour
07-12-2007, 02:43 PM
I've seen several posts regarding this bug, but have yet to see any fixes.

I'm currently running vbulletin 3.6.7 PL1 I have Downloads II 5.0.4 installed.

Problem:

Manage files only displays one page...additional pages are still not being displayed.

Did I miss a fix for this...another version possibly?

Any help is greatly appreciated.

CyberRanger
07-13-2007, 02:58 AM
Manage files only displays one page...additional pages are still not being displayed.

Did I miss a fix for this...another version possibly?

Any help is greatly appreciated.
Sorry, this is a know bug that I'd hoped to release a fix for weeks ago. Legal !%@%@#%$%^&$^ with the x-wife have kept me away from programming and will for at least the next two weeks. I do still hope to release a minor bug update while the work on v6 continues.

winstone
07-13-2007, 04:48 PM
how can I have thumbnail image for each entry in "latest files", "most popular files" section
It would also very nice if thumbnail show up in "vbAdvanced Add-On" as well

meantime I'll try to modify the codes and see if I can do it myself

btw this is a great mod, well done

RS_Jelle
07-13-2007, 06:44 PM
I was wondering if it's possible to make the reply comments match the look of the standard vBulletin comments?

My vBulletin forum replies are separated (each reply is) and shows the full member account info (profile fields etc) on the right. My downloads comments aren't separated and there's no account info. I want people to think it's just part of the site.

Also, is it possible to have the reply section look like the quick reply from the forums? Mine's all smooshed up against the bottom comment.

The reply editor is already recoded to use the quick reply editor in v6.
More user info hasn't been added currently to the commentbits (except an edit feature next to the delete feature).

how can I have thumbnail image for each entry in "latest files", "most popular files" section
It would also very nice if thumbnail show up in "vbAdvanced Add-On" as well

meantime I'll try to modify the codes and see if I can do it myself

btw this is a great mod, well done

Hmm, how would you place that? A decent thumbnail is way too large to place it in such a small column :(

koolstuff
07-13-2007, 07:44 PM
Hi Does this run on the database?

RS_Jelle
07-13-2007, 09:19 PM
Hi Does this run on the database?

Euhm, yes, it creates some new tables and fields in existing tables in the vBulletin database. Most mods do this if they need to store data, but you don't have to know anything about databases yourself. The product file does all the work for you: installing, upgrading and deinstalling.

Files in the downloads section (DownloadsII) can be linked to another site, or you can upload them and they are stored in the file system. You can choose a directory to do this inside your vBulletin forums FTP folder.

winstone
07-14-2007, 04:49 PM
Hmm, how would you place that? A decent thumbnail is way too large to place it in such a small column :(

100x100 pixel thumbnails underneath each other would be very nice in my opinion, I would highly appreciate if you could give me some tips on how I can add that

in Addition, is there any way to add full size picture to thread description? (using create new thread mod)

hydrodyn
07-16-2007, 07:36 AM
Hi all,

is it possible to set passwords for single categories?
I saw it on a Handy-Support-Site, but i didnt find the Page again to show you.

Greez

CraiovaOnLine
07-16-2007, 08:43 PM
i need some keywords and description to share with mr Google.

thinking: keyword: the name of the download
description : shortdescript.

tried to modify the template and to call them as meta, kinda screwd up my header.

any ideeas?

AudioFX
07-17-2007, 12:19 PM
Just wanted to say thanx for an awesome vb hack.
This hack has been used in my music community website.
Check it out in action: http://www.audiofx.co.za/forums/downloads.php?
And VBA integration: www.audiofx.co.za

:):)

basketmen
07-20-2007, 02:32 PM
Ugh still not get the answer, i think this easy enough

How to set title lenght?

i know to set description lenght in downloadsII in admincp options, but How to set title lenght?

RS_Jelle
07-20-2007, 03:21 PM
100x100 pixel thumbnails underneath each other would be very nice in my opinion, I would highly appreciate if you could give me some tips on how I can add that

in Addition, is there any way to add full size picture to thread description? (using create new thread mod)

It's not that easy to add in a moment, so I can't give "some tips". First you need a new piece of PHP code to create the 100x100 thumbnails and then you can add them to the template.
Another method is without using special thumbnails and just setting style="width: 100px; height: 100px;" in the img tag for the normal image. You can do this pretty easy in the correct template when you add the PHP code for the normal thumbnails (have a look at the category code part of downloads.php, there's a loop function to pick a thumbnail) to the column functions in class_downloads.php.

For the Create New Thread mod, you better ask this in the mod thread to keep things organised :)

Hi all,

is it possible to set passwords for single categories?
I saw it on a Handy-Support-Site, but i didnt find the Page again to show you.

Greez

That's not possible at the moment, so it's probably a custom coded mod for that site.

i need some keywords and description to share with mr Google.

thinking: keyword: the name of the download
description : shortdescript.

tried to modify the template and to call them as meta, kinda screwd up my header.

any ideeas?

I already added this to v6, next to the existing custom titles for better SEO. It's done using a plugin as we want to avoid modifying any templates.
But meta tags aren't that important any more for SEO. Google is looking more at your inbound links etc. for their PageRank system.

Ugh still not get the answer, i think this easy enough


How to set title lenght?

i know to set description lenght in downloadsII in admincp options, but How to set title lenght?

Hmm, I don't see your question anywhere else in the thread :confused:
That's not possible as we assume the title isn't that long normally (you can put all extra details in the description which is cropped) ...

basketmen
07-20-2007, 09:56 PM
This tutorial to make title name in url is posted in vbseo.com site, i posting here again more perfect and i think you can use it even you dont use vbseo





Step 1:

Open downloads.php

Find: $file['name']

Add this line Below all the entrees, there are about 10-15 of them.

$file['name2'] = str_replace(' ', '-', $file['name']);




Step 2:

Edit the template downloads_cat_filebit

Find:

<a href="downloads.php?do=file&amp;id={$file['id']}


Replace with:

<a href="downloads.php?do=file&amp;id={$file['id']}-{$file['name2']}">







this how is looks like in your category page

Before
http://www.domain.com/forum/downloads.php?do=file&id=1


After above code edit
http://www.domain.com/forum/downloads.php?do=file&id=1-your-file-name

if you use vbseo too it will be like this
http://www.domain.com/forum/1-your-file-name.html







Above code works in category page, i still can not change url in Latest Files and Most Popular Files, anyone know what files or template i need to edit Latest Files and Most Popular Files url?



contribution needed to make this mod more perfect, come on give your hand too :up:

BYB-01
07-21-2007, 10:18 PM
I have just installed this mod and am having troubles with it. I followed the steps right through to "6. Create directories in the 'Categories' menu under the 'Downloads' in your admincp". When I try this all I get is a blank page beside the nav menu. The settings work but the rest (Categories, Import, Downloads) are all blank.

charles abiola
07-21-2007, 10:46 PM
I install download II, but the button didn't show in my menu bar.
Anyhelp will really appreciated.

I delete my categories main by mistakes any suggestion for undone it.

RS_Jelle
07-22-2007, 07:47 AM
I have just installed this mod and am having troubles with it. I followed the steps right through to "6. Create directories in the 'Categories' menu under the 'Downloads' in your admincp". When I try this all I get is a blank page beside the nav menu. The settings work but the rest (Categories, Import, Downloads) are all blank.

That's pretty strange. First try reuploading all the files to your ftp and re-import the product file (using the overwrite option when importing it).

I install download II, but the button didn't show in my menu bar.
Anyhelp will really appreciated.


I delete my categories main by mistakes any suggestion for undone it.

You have to edit the navbar template yourself for this. Have a look at the Install-readme.txt file which is included in the package.

That's not a problem. You just need to create some new ones using the category admin of DownloadsII in the AdminCP.

basketmen
07-22-2007, 06:00 PM
hello RS_Jelle,

i am sorry do you know
what files or template or plugin i need to edit Latest Files and Most Popular Files url?

or some clue for that

RS_Jelle
07-22-2007, 08:41 PM
Sorry, I missed your question because I thought it was a tutorial only and didn't read the rest of the message. I didn't ignored you intentional, you have to do more 3vil things to get me angry :p

You can find the url HTML code of the panel bits in the downloads_panel_bit template. The $url variable in it is generated by /includes/class_downloads.php (just search in it for $url, it's there multiple times for the diferent top lists).

wolf32
07-23-2007, 12:50 AM
Thank you for this mod superb *clicks install*. :)

I have one issue though. I see that you can insert images, which is eye-candy! However, is there a way to place the category name under 'Description' and just leave an image in the 'Category' section?

I have started something similar Here (http://www.u-connex.com/downloads.php?), but there's just too much white space surrounding the icon!

Also, how to replace the default download icon, when there is not an image in its place?

Once again, superb Hack :) (I'm sure you already knew that since it was MOTM, hehe)

RS_Jelle
07-23-2007, 05:09 PM
I have one issue though. I see that you can insert images, which is eye-candy! However, is there a way to place the category name under 'Description' and just leave an image in the 'Category' section?

I have started something similar Here (http://www.u-connex.com/downloads.php?), but there's just too much white space surrounding the icon!

You have to remove the <br /><br /> before the img HTML code in the template to remove the white space ;)

Also, how to replace the default download icon, when there is not an image in its place?

It's placed in the buttons folder of the vBulletin style you are using, so it depends from the style the user have selected. So you need to upload it to your /forums/styledirectory/buttons/ folder as download.gif.

wolf32
07-23-2007, 07:44 PM
Righteous! One last, quick question though. Is there any way to get rid of the white space to the right of the image? You can see it Here (http://www.u-connex.com/downloads.php?)

Thanks

basketmen
07-24-2007, 06:08 AM
how to remove Category Tree , Stats, My Files and Manage Files from navigation


what template or file i need to edit??




thanks for your nice support

CraiovaOnLine
07-24-2007, 12:10 PM
I already added this to v6, next to the existing custom titles for better SEO. It's done using a plugin as we want to avoid modifying any templates.
But meta tags aren't that important any more for SEO. Google is looking more at your inbound links etc. for their PageRank system.

i dont see a v6 release, it is important those meta tags because otherwise all my dowload links will apeare as suplemental results in a google search.

basketmen
07-24-2007, 10:44 PM
I already added this to v6, next to the existing custom titles for better SEO. It's done using a plugin as we want to avoid modifying any templates.
But meta tags aren't that important any more for SEO. Google is looking more at your inbound links etc. for their PageRank system.


i dont see a v6 release, it is important those meta tags because otherwise all my dowload links will apeare as suplemental results in a google search.
hi craiovaonline, maybe you can try this for seo your downloadsII mods





This post had been posted in vbseo.com too, but its need more help from the author, maybe this can be using in next downloadsII release


So your title, meta description and meta keywords will be like this:

Your file name, Category name



To do that replace $headinclude in downloads template with this full code:





<meta http-equiv="Content-Type" content="text/html; charset=$stylevar[charset]" /> <meta name="keywords" content="{$dl->title}<if condition="$dlcustomtitle">, $dlcustomtitle</if>,$cat_value" /> <meta name="description" content="{$dl->title}<if condition="$dlcustomtitle"> - $dlcustomtitle</if>,$cat_value" />

$style[css]
<script type="text/javascript" src="clientscript/vbulletin_global.js?v=$vboptions[simpleversion]"></script> <if condition="$show['popups']"><script type="text/javascript" src="clientscript/vbulletin_menu.js?v=$vboptions[simpleversion]"></script></if>

ShawneyJ
07-24-2007, 11:32 PM
omg how did i miss this lol, love it cheers.

RS_Jelle
07-25-2007, 09:57 AM
Righteous! One last, quick question though. Is there any way to get rid of the white space to the right of the image? You can see it Here (http://www.u-connex.com/downloads.php?)

Thanks

Have a look at this post (https://vborg.vbsupport.ru/showpost.php?p=1260791&postcount=1438) and try that version of downloads.php.
I created it for someone who wanted more images per row. There's a $countnumber variable in it to control the amount.
Here (https://vborg.vbsupport.ru/attachment.php?attachmentid=65098) you can find a screenshot of how the modified version looks like (without the numbers in front of the image, that was a debugging thing).

how to remove Category Tree , Stats, My Files and Manage Files from navigation


what template or file i need to edit??




thanks for your nice support

That's currently hardcoded in downloads.php. Open it and have a search for $dlinks. It's pretty easy to edit yourself (even without knowing PHP).

wolf32
07-25-2007, 11:14 PM
Agggg!!!! didn't work. Do I need to change something in the PHP file? I checked it and didn't see anything. ;)

Edit: Is there a way to just center justify the image? or just make that column thinner? I know it seems like your answering a questionaire, but one last one. How do I replace the download button? The one that looks like vB's default expand and collapse button. Also, can you check out 'Tools & Utilities' under Programming, something is definitely wrong.

Appreciate it.

exportforce
07-26-2007, 10:34 AM
Hello,

I have problems with windows.
I can't upload files larger than 2MB.
php.ini upload and post-max-size is set to 1000M

Help ?

hydrodyn
07-27-2007, 12:23 AM
Hi,

i wanna delete the boxes "newest files", "files-stats", and "upper".

I can deactivate it, but the downloadbox isn´t larger then. I will use the full site for showing my downloads.

Can you help me?

rowlandc
07-27-2007, 07:03 AM
I was just wondering about the Stats page. Does the data prune itself our does it stay up for ever?

I've set my download data to keep it up for 30days but the Stats page has data since 2months.

Cyricx
07-27-2007, 11:46 AM
It appears to not work well with secondary usergroups.

If a secondary usergroup is set to restrict categories and another secondary usergroup is set to allow access to all categories.

The restricted categories are not viewable.

exportforce
07-28-2007, 10:05 AM
Hello,

I have problems with windows.
I can't upload files larger than 2MB.
php.ini upload and post-max-size is set to 1000M

Help ?
This problem persists...
Please help :(

adc-arab
07-28-2007, 12:59 PM
awesome mod installed :D i wounder when is the next release i'd like to prevent members from dl before a number of posts like 10 posts or some thing to allow them to dl it would be great to add the feature ;) thx for this great mod

rowlandc
07-29-2007, 05:23 PM
awesome mod installed :D i wounder when is the next release i'd like to prevent members from dl before a number of posts like 10 posts or some thing to allow them to dl it would be great to add the feature ;) thx for this great mod

You can already do that m8, if you make member get promoted after a certain amount of posts. You can set that group with the chance to download. ;)

Andyrew
07-29-2007, 05:50 PM
I am having problems with downloading .pdf files, it was fine untill i went to vb 3.6.8
When a user downloads a .pdf it downloads in a split second then, when you try to view the file adobe gives an error saying the file is corrupt.
The downloads don't seem to be complete, only a small amount of data is downloaded hence the error from adobe.
Anyone know why this happens. :confused:

Update:

I have set .pdf files to open in the users browser using adobe rather than just download.
Once loaded into adobe the user just needs to click save a copy. :up:

adc-arab
07-30-2007, 11:23 AM
You can already do that m8, if you make member get promoted after a certain amount of posts. You can set that group with the chance to download.
i dunno how to do this -_- and i don't wanna more of group users what i want to be added is something like this mod
https://vborg.vbsupport.ru/showthread.php?t=123002

RS_Jelle
07-30-2007, 07:41 PM
Agggg!!!! didn't work. Do I need to change something in the PHP file? I checked it and didn't see anything. ;)

Edit: Is there a way to just center justify the image? or just make that column thinner? I know it seems like your answering a questionaire, but one last one. How do I replace the download button? The one that looks like vB's default expand and collapse button. Also, can you check out 'Tools & Utilities' under Programming, something is definitely wrong.

Appreciate it.


Sorry, I thought you were pointing at the white space on the file page. For the white space on the right of the category icon, you have to modify the width of the category td, which is currently 20%. You can find this in the downloads_main template and don't forget to change the other procent values to keep the 100% total.
Also reupload the original downloads.php as you don't need the custom one I pointed you to.
The small download icon is controlled by the ecdownloads_download_pic phrase. You can change it using the Languages & Phrases AdminCP part.
That's because you changed the templates :)
You made a mistake in the downloads_cat_subbit template:
<span class="smallfont"><a <span style="font-size:12pt>
As you see the HTML highlighter isn't highlighting it correct as your HTML syntax is wrong. There's that strange <a and you missed a double quotation mark after the 12pt value to close the style attribute. This is messing up the layout.


Hello,

I have problems with windows.
I can't upload files larger than 2MB.
php.ini upload and post-max-size is set to 1000M

Help ?

What do you mean by "problems with Windows"? Is your site running on a Windows server? If it's a problem of your personal (Windows) computer only, it's not the fault of DownloadsII ...
Remember that you need to restart your webserver (Apache mostly for Linux servers, IIS mostly for Windows servers) to make that php.ini effective.
You can also use a .htaccess file (https://vborg.vbsupport.ru/showpost.php?p=1278066&postcount=1523) for changing these PHP settings.

Hi,

i wanna delete the boxes "newest files", "files-stats", and "upper".

I can deactivate it, but the downloadbox isn?t larger then. I will use the full site for showing my downloads.

Can you help me?

Try the Display " "Tops" on all pages? " DownloadsII setting ;)

I was just wondering about the Stats page. Does the data prune itself our does it stay up for ever?

I've set my download data to keep it up for 30days but the Stats page has data since 2months.

It isn't pruned at this moment. But it's not taking that much table space as it's only three values per day (date, # downloads, # bandwidth). You can prune this yourself using for example phpMyAdmin if you really want.

It appears to not work well with secondary usergroups.

If a secondary usergroup is set to restrict categories and another secondary usergroup is set to allow access to all categories.

The restricted categories are not viewable.

Hmm, I will look into this. But personally I also have a lot of problems with secundary user groups. Even for default vBulletin permissions they aren't all working if you set them using the secundary permissions (primary are overriding them) :(

I am having problems with downloading .pdf files, it was fine untill i went to vb 3.6.8
When a user downloads a .pdf it downloads in a split second then, when you try to view the file adobe gives an error saying the file is corrupt.
The downloads don't seem to be complete, only a small amount of data is downloaded hence the error from adobe.
Anyone know why this happens. :confused:

Update:

I have set .pdf files to open in the users browser using adobe rather than just download.
Once loaded into adobe the user just needs to click save a copy. :up:

That's strange: vBulletin 3.6.8 normally doesn't change anything about this as we are using our own download procedure :)

i dunno how to do this -_- and i don't wanna more of group users what i want to be added is something like this mod
https://vborg.vbsupport.ru/showthread.php?t=123002

Hmm, you don't want to see the v6 permissions list at this moment ... :D
There are a lot of new permissions (can edit own comments, can edit own files, can delete own comments, ...), so I already splitted them into two categories. Adding even more permissions would turn it into a real mess and you can already accomplish this in the way rowlandc mentioned.

adc-arab
07-31-2007, 03:33 AM
Hmm, you don't want to see the v6 permissions list at this moment ...
There are a lot of new permissions (can edit own comments, can edit own files, can delete own comments, ...), so I already splitted them into two categories. Adding even more permissions would turn it into a real mess and you can already accomplish this in the way rowlandc mentioned.
thx jelle but i can't do the way rowlandc mentioned it gonna screw alot of things on my forum and i have alot of members ;)

i cann't wait till i install v6 :) awesome script and i really love it and i can't see the no nominate link >.>

CyberRanger
07-31-2007, 10:15 AM
It appears to not work well with secondary usergroups.

If a secondary usergroup is set to restrict categories and another secondary usergroup is set to allow access to all categories.

The restricted categories are not viewable.
The category permissions don't work well at all if used for secondary usergroups. Sorry, it's a know limitation of the current category permission system.

wolf32
08-02-2007, 02:12 AM
Sorry, I thought you were pointing at the white space on the file page. For the white space on the right of the category icon, you have to modify the width of the category td, which is currently 20%. You can find this in the downloads_main template and don't forget to change the other procent values to keep the 100% total.
Also reupload the original downloads.php as you don't need the custom one I pointed you to.
The small download icon is controlled by the ecdownloads_download_pic phrase. You can change it using the Languages & Phrases AdminCP part.
That's because you changed the templates :)
You made a mistake in the downloads_cat_subbit template:
<span class="smallfont"><a <span style="font-size:12pt>
As you see the HTML highlighter isn't highlighting it correct as your HTML syntax is wrong. There's that strange <a and you missed a double quotation mark after the 12pt value to close the style attribute. This is messing up the layout.


Thanks for the help, works like a charm!

J9778CF5F0B5
08-02-2007, 04:04 PM
After following your install instructions and getting to the point where we were to enter the categories into the Downloads menu, all I get is a blank screen. No input fields, nothing! HELP!

Thanks

RS_Jelle
08-02-2007, 05:17 PM
After following your install instructions and getting to the point where we were to enter the categories into the Downloads menu, all I get is a blank screen. No input fields, nothing! HELP!

Thanks

Try reuploading all files and reimporting the product (with overwrite option on) ;)

fariborz khan
08-02-2007, 10:33 PM
hi:
in instalation guide on part 8 say:

8. Perform the following optional edits (only required if you want download information to show on a member's profile and in the postbit)

Find in MEMBERINFO

my question is:
where is MEMBERINFO?

CyberRanger
08-02-2007, 11:03 PM
hi:
in instalation guide on part 8 say:

8. Perform the following optional edits (only required if you want download information to show on a member's profile and in the postbit)

Find in MEMBERINFO

my question is:
where is MEMBERINFO?MEMBERINFO is a template. In the admincp, look under your Styles & Templates -> Style Manager

fariborz khan
08-03-2007, 12:52 AM
thanks alot for answer.

rowlandc
08-03-2007, 09:18 AM
Just a little question regarding the new version, does it have a download accelerator compatibility system?

SKULL1985
08-04-2007, 01:36 PM
Is there a module for latest downloads to be added in the vBadvanced or a way to do it some how?

EvilHawk
08-04-2007, 02:33 PM
Is there a module for latest downloads to be added in the vBadvanced or a way to do it some how?

https://vborg.vbsupport.ru/showthread.php?t=110122 ;)

Mrdby
08-07-2007, 12:25 PM
I notice alot of my downloads come up unapproved after i have approved them..why is that?

CyberRanger
08-07-2007, 10:37 PM
I notice alot of my downloads come up unapproved after i have approved them..why is that?Dunno, I've never heard anyone report such a problem. I'm not even sure how to help troubleshoot the issue.

Anyone else seen this or have ideas??

LilSniper
08-07-2007, 11:20 PM
The picture illustrated below is how I want my Download Center to look. What you see is the main menu of the system.

https://vborg.vbsupport.ru/

However, when I click on one of the categories and leave the main menu, this is what happens:

https://vborg.vbsupport.ru/

I guess VBulletin.org resized my image, so what I wrote is difficult to see. The red arrows are pointing at what I think is the problem. The red writing says: "take a look at the black line which the arrows are pointing at. could this be the problem?"

Any suggestions? Thanks in advance.

basketmen
08-12-2007, 04:00 AM
hi CyberRanger and RS_Jelle

i still developing masking url for file to other website page

i think this is great idea and maybe you can using this for next release

so user still see my forum downloads url in new window address bar after they press download button

can you give clue for dong this

i still dont get working code for this

wtricks
08-12-2007, 01:37 PM
Sorry! You have exceeded your daily allowed download amount

I also have this error for some time. Doesn't appear to me as an admin, but for normal users. And it worked. I tried 2 of the "tricks" mentioned in here, but I failed.

What should I do. it doens't "listen" to the settings in the usergroups either ...

CyberRanger
08-12-2007, 04:39 PM
I also have this error for some time. Doesn't appear to me as an admin, but for normal users. And it worked. I tried 2 of the "tricks" mentioned in here, but I failed.

What should I do. it doens't "listen" to the settings in the usergroups either ...
If you PM me your plus an admin login and password, I'll check it out. Also, if you can tell me a user this happens to, that would be very helpful.

BozzaJos
08-14-2007, 02:19 PM
** EDIT **

Sorry, I posted a problem but already solved it. Thanks anyway. Great hack!

jer2eydevil88
08-14-2007, 08:01 PM
nevermind.

LilSniper
08-15-2007, 03:10 AM
The picture illustrated below is how I want my Download Center to look. What you see is the main menu of the system.

http://img489.imageshack.us/img489/1882/downloadcenter1wn8.jpg

However, when I click on one of the categories and leave the main menu, this is what happens:

http://img489.imageshack.us/img489/9967/downloadcenter2zf9.jpg

I guess VBulletin.org resized my image, so what I wrote is difficult to see. The red arrows are pointing at what I think is the problem. The red writing says: "take a look at the black line which the arrows are pointing at. could this be the problem?"

Any suggestions? Thanks in advance.
Bump?

yahoooh
08-15-2007, 04:54 PM
is there any update

i read there will be v6?

Majest
08-18-2007, 09:32 AM
1. I have a custom style and I want the comment messaging style to not be the vBulletin one, but to match my style.

2. I want it so to authors show up as top contributors and not top uploaders.

I am pretty new with vbulletin editing so I am not 100% following what you mean. If you could explain in more detail I would be greatly appreciative.

Bumped. Does anyone know how to do this, especially the last one?

logofreax
08-18-2007, 09:53 AM
Hi, another Idea for next Release would be maybe something like this.

If someone upload a new File it would be marked with an Prefix [New] for a time of 2 Weeks or another time.

I hope you know what I mean.

cu
logofreax

utw-Mephisto
08-20-2007, 09:49 AM
Is there any way to upload the files on another server (different IP etc.) ?

Mrdby
08-20-2007, 09:12 PM
Waiting?

wtricks
08-21-2007, 05:11 PM
If you PM me your plus an admin login and password, I'll check it out. Also, if you can tell me a user this happens to, that would be very helpful.

Happens to all registered users, as an admin I seem to not have the issue. I have disabled the plugin now, but maybe we can make it work... I'll PM the details. Thank you for the support

RS_Jelle
08-21-2007, 05:37 PM
The picture illustrated below is how I want my Download Center to look. What you see is the main menu of the system.

However, when I click on one of the categories and leave the main menu, this is what happens:

I guess VBulletin.org resized my image, so what I wrote is difficult to see. The red arrows are pointing at what I think is the problem. The red writing says: "take a look at the black line which the arrows are pointing at. could this be the problem?"

Any suggestions? Thanks in advance.

Hmm, how have you set the "Display "Tops" on all pages?" option?
Is it possible that you modified some of the DownloadsII templates and/or the downloads.php file?

is there any update

i read there will be v6?

Yes, we are working on this new version :)

1. I have a custom style and I want the comment messaging style to not be the vBulletin one, but to match my style.

2. I want it so to authors show up as top contributors and not top uploaders.

I am pretty new with vbulletin editing so I am not 100% following what you mean. If you could explain in more detail I would be greatly appreciative.

1. Using the "Styles & Templates" part of the AdminCP, you can edit the Stylevars of a style. There you can specify a "Text Editor Controls Folder" location, so you can change the icons of the message editor.
And you can edit the templates of the style (more specific the "Editor Templates" category) to edit the HTML code of the editor like you want.

2. Euhm, you say "as top contributors and not top uploaders", but there is no top uploaders phrase :D
Do you mean the opposite thing: replacing the "Top contributors" text with "Top uploaders"? Then you need to edit the correct phrase for this using the "Languages and Phrases" part of the AdminCP. Just search for the text and edit it.

Is there any way to upload the files on another server (different IP etc.) ?

Not at this moment. Of course you can FTP them to that location and then add them using the link field, but that's a bit complicated :p

@Everyone: I just finished version 5.0.5 which fixes all known bugs (https://vborg.vbsupport.ru/showpost.php?p=1250112&postcount=1329), some other bugs and improves the downloads log a bit. If anyone wants to report a new bug or something else, you need to be quick :D

ccoa
08-22-2007, 07:06 PM
I'm not sure if this has been reported before, but I have two bugs with my copy:

1. After adding a new file, the user is redirected to a blank page. The file is still uploaded, though.

2. If a comment is deleted, the number of comments is set to some ridiculously large number (like 5 million or more), and the link to the download no longer functions. This fixes itself after a few days.

RS_Jelle
08-22-2007, 08:31 PM
Hmm, those are pretty strange errors :p
I never heard of those kind of problems and for example the first error: there would be a lot of people complaining about this, but you are the first one. So I think it's a problem with your server configuration, some mods to the DownloadsII code, or something custom like that.

Have you installed the newest version of DownloadsII (5.0.4 at the moment of speaking)? Cause your postbit info says to me that you didn't download it ever, which is pretty strange. Maybe you have the old ecDownloads of Ron1n installed (which we don't support, you need to upgrade to DownloadsII 5.0.4)?
Is there anything special you can say? Like mods to the templates, plugins, normal PHP code, ...? Or a special server software configuration?

Btw: if you can pm me the user info of a normal user test account with upload and comments permissions for DownloadsII, I can check it out for you.

JHC
08-23-2007, 01:58 PM
When I try upload an .mp3 it doesn't upload it. It goes through the upload process, but it never appears in the list. The file size is 9+ Mb and I have no limit on file size set. Any suggestions?

JHC
08-23-2007, 02:16 PM
When I try upload an .mp3 it doesn't upload it. It goes through the upload process, but it never appears in the list. The file size is 9+ Mb and I have no limit on file size set. Any suggestions?

I also tried the .htaccess suggestion and it caused an internal server error, I removed the code from it.

RS_Jelle
08-23-2007, 04:35 PM
I also tried the .htaccess suggestion and it caused an internal server error, I removed the code from it.

It's clearly a PHP upload limit problem. You need to edit your php.conf file or use the .htaccess method. Editing your php.conf is only possible if you have root access to the server. Otherwise I would suggest you to contact your host to ask why the .htaccess method fails.

JHC
08-23-2007, 05:07 PM
Yep, PHP upload issue. Fixed...... Thanks!

maidos
08-24-2007, 06:29 AM
my PHP Maximum Upload Size 350.00 MB

but i still fail to upload ´files over 20 mb
running a dedicated server with centos 5 as server os

i have created.htaccess on the same directory as download.php
and used this

php_value upload_max_filesize 30M
php_value post_max_size 30M

but i still failed to upload files over 20 mb

AdeptusAstartes
08-24-2007, 07:24 AM
thank you very much, ;)

AScherff
08-24-2007, 09:09 AM
Hi,

i have these database error when a user try to upload a new version of the download:
Datenbankfehler in vBulletin 3.6.7:

Invalid SQL:
SELECT title, usergroup.usergroupid, username, userid
FROM knxusergroup, knxuser
WHERE ecdownloadpermissions & 1024 AND usergroup.usergroupid = user.usergroupid;

MySQL-Fehler : Unknown table 'usergroup' in field list


The error comes because the Table-Prefix is not all set

The right SQL Statement must be:
SELECT title, knxusergroup.usergroupid, username, userid
FROM knxusergroup, knxuser
WHERE ecdownloadpermissions & 1024 AND knxusergroup.usergroupid = knxuser.usergroupid;


so how can i fix that?

Thanks

Alfred

maidos
08-24-2007, 09:24 AM
i would like to bring up a suggestion, please make it so ppl can upload on ftp so once its done maybe on admin cp or somewhere will tell the staff that soemone uploaded the file and let the staff put it on a category

cOuNtErFiET
08-24-2007, 09:05 PM
For some reason im getting this error when trying to delete a file, and im the GOD admin, also all my other admins are getting this too...how can i fix this?
Forbidden
You don't have permission to access /forums/downloads.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

RS_Jelle
08-24-2007, 10:21 PM
my PHP Maximum Upload Size 350.00 MB

but i still fail to upload ?files over 20 mb
running a dedicated server with centos 5 as server os

i have created.htaccess on the same directory as download.php
and used this

php_value upload_max_filesize 30M
php_value post_max_size 30M

but i still failed to upload files over 20 mb

If it's a dedicated server, you can try changing your php.conf also :)
Maybe AllowOverride is set to None in your httpd.conf (Apache webserver), so .htaccess files don't work?

Hi,

i have these database error when a user try to upload a new version of the download:
Datenbankfehler in vBulletin 3.6.7:

Invalid SQL:
SELECT title, usergroup.usergroupid, username, userid
FROM knxusergroup, knxuser
WHERE ecdownloadpermissions & 1024 AND usergroup.usergroupid = user.usergroupid;

MySQL-Fehler : Unknown table 'usergroup' in field list


The error comes because the Table-Prefix is not all set

The right SQL Statement must be:
SELECT title, knxusergroup.usergroupid, username, userid
FROM knxusergroup, knxuser
WHERE ecdownloadpermissions & 1024 AND knxusergroup.usergroupid = knxuser.usergroupid;


so how can i fix that?

Thanks

Alfred

This is a vBulletin generated query as we don't have our own query like that. We just use the standard usergroup permissions request code and vBulletin uses this kind of code to set up the permissions.
Have you correctly updated your installation? So you have uploaded all files to your forum FTP folder and you have imported the product file (with overwrite option ON)?

i would like to bring up a suggestion, please make it so ppl can upload on ftp so once its done maybe on admin cp or somewhere will tell the staff that soemone uploaded the file and let the staff put it on a category

There's already an FTP feature: you can upload files to a folder and mass import them using the DownloadsII import page in the AdminCP.
You can also use the moderation queue to let members add files.

For some reason im getting this error when trying to delete a file, and im the GOD admin, also all my other admins are getting this too...how can i fix this?

Maybe you did a server move or something like that? Check the chmod of the downloads folder (should be 777, full permissions) and what is the chmod value of the uploaded files in the downloads folder?

AScherff
08-25-2007, 07:25 AM
IThis is a vBulletin generated query as we don't have our own query like that. We just use the standard usergroup permissions request code and vBulletin uses this kind of code to set up the permissions.
Have you correctly updated your installation? So you have uploaded all files to your forum FTP folder and you have imported the product file (with overwrite option ON)?

Hmmm...

all other querys working well, also if the User uploads the first time.

I installed your Mod as new (with overwritten), having a look whats happen...

Thanks

Mrdby
08-25-2007, 02:58 PM
Why do files still come up unapproved?

RS_Jelle
08-26-2007, 06:11 PM
Hmmm...

all other querys working well, also if the User uploads the first time.

I installed your Mod as new (with overwritten), having a look whats happen...

Thanks

On which page are you getting the error?
Can you eventually pm me the username/password of a test account on your site (normal user account), so I can check it out?

Why do files still come up unapproved?

There's a "Can Avoid Moderation Queue" usergroup setting to choose this behavior.

RS_Jelle
08-26-2007, 06:17 PM
We just released version 5.0.5, which fixes some urgent security issues and includes bugfixes for all known bugs (https://vborg.vbsupport.ru/showpost.php?p=1250112&postcount=1329). We advise you to update immediately. For update instructions, read the Readme-Install.txt.

Changelog DownloadsII 5.0.5

CyberRanger

Fixed mixed sort order of files on import page

Jelle

Fixed hardcoded "Category" phrase in the Manage Files option
Changed category abbrevation in Manage Files to the full category name in the category dropdown windows
Updated optional navbar edit as the code to search changed slightly since vBulletin 3.6.7
Fixed problem with multiple pages being empty for the file manager (caused when you have an empty approval value)
Improved the downloads log with time and ip address information (+ some link and layout changes)
Fixed the fact that everyone with upload permissions could upload to every file, now you need to be the file author or need to have editall permissions
Fixed the update counters function which didn't recount the comment amounts (the comment stats were only resetted to 0)
Fixed XSS security issue with the optional downloads profile info
Added xmlns attribute to the html tag of the DOWNLOADS template
Fixed SQL injection security issues with category sorting and the assign uploader page
Fixed wrong conditions for displaying the assign uploader link
Fixed XSS security issues with unclean category and file id's in the templates
Fixed some other bugs and removed some redundant checks

Mrdby
08-26-2007, 06:23 PM
We just released version 5.0.5, which fixes some urgent security issues and includes bugfixes for all known bugs (https://vborg.vbsupport.ru/showpost.php?p=1250112&postcount=1329). We advise you to update immediately. For update instructions, read the Readme-Install.txt.

Changelog DownloadsII 5.0.5

CyberRanger

Fixed mixed sort order of files on import page

Jelle

Fixed hardcoded "Category" phrase in the Manage Files option
Changed category abbrevation in Manage Files to the full category name in the category dropdown windows
Updated optional navbar edit as the code to search changed slightly since vBulletin 3.6.7
Fixed problem with multiple pages being empty for the file manager (caused when you have an empty approval value)
Improved the downloads log with time and ip address information (+ some link and layout changes)
Fixed the fact that everyone with upload permissions could upload to every file, now you need to be the file author or need to have editall permissions
Fixed the update counters function which didn't recount the comment amounts (the comment stats were only resetted to 0)
Fixed XSS security issue with the optional downloads profile info
Added xmlns attribute to the html tag of the DOWNLOADS template
Fixed SQL injection security issues with category sorting and the assign uploader page
Fixed wrong conditions for displaying the assign uploader link
Fixed XSS security issues with unclean category and file id's in the templates
Fixed some other bugs and removed some redundant checks


hmmm was the first..lets see..Thanks!

MB-Soft
08-26-2007, 06:44 PM
Great, Thanks! :)

Saviour
08-26-2007, 07:17 PM
Uploaded all files...imported prduct...allowed overwrite...CHMOD 777 for downloads directory...followed directions to a tee...

The changelog bug that was supposed to be fixed:

* Fixed problem with multiple pages being empty for the file manager (caused when you have an empty approval value)

That bug still exists...

BTW...this was done following the upgrade info in the .txt file attached in your download as I already had the previous version installed.

RS_Jelle
08-26-2007, 07:37 PM
Uploaded all files...imported prduct...allowed overwrite...CHMOD 777 for downloads directory...followed directions to a tee...

The changelog bug that was supposed to be fixed:

* Fixed problem with multiple pages being empty for the file manager (caused when you have an empty approval value)

That bug still exists...

BTW...this was done following the upgrade info in the .txt file attached in your download as I already had the previous version installed.

Strange, it's working for me with version 5.0.5 :(
Any other people to confirm this?

Saviour
08-26-2007, 07:58 PM
I have 57 files in 18 categories...20 files show on page one all approved...

The page menu at the bottom of the first Manag Files page shows three pages, however, when I click on page two there are no files listed...just the Downloads navigation menu and options to pin, category, approval, etc., etc...but no files.

This is the shortcut to page 2:

http://www.saviour-pc.com/forums/downloads.php?do=manfiles&pin=0&approval=0&page=2

This is the shortcut to page 3:

http://www.saviour-pc.com/forums/downloads.php?do=manfiles&pin=0&approval=0&page=3

Apparently it must be an approval thing, because that part of the link is showing "0".

Any suggestions here?

Andyrew
08-26-2007, 08:06 PM
Strange, it's working for me with version 5.0.5 :(
Any other people to confirm this?

It's working for me now since i upgraded. :)

CyberRanger
08-26-2007, 08:09 PM
It's working for me now since i upgraded. :)

me too! :)

Saviour
08-26-2007, 08:13 PM
I ran the installation one more time and now its working...that was totally strange...

Deadly Assassin
08-26-2007, 08:22 PM
Brilliant, thanks alot.

:D

Works like a charm

bigevil
08-26-2007, 08:34 PM
Question:

If I am updating from 5.0.4 to 5.0.5 what do I need to do? Dont want to crash my database... I havent updated DownloadsII before and you dont have anything written about how to do so.

Thanks.

y2krazy
08-26-2007, 08:57 PM
A more friendly Member's Files in MEMBERINFO:

You'll need to change $vbphrase[ecdownloads_member_files] to the following:

{1}'s Files


New downloads_memberfiles template:

<br />
$navigation
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="3"><phrase 1="$userinfo[username]">$vbphrase[ecdownloads_member_files]</phrase></td>
</tr>
<tr>
<td class="thead">{$vbphrase['ecdownloads_file']}</td>
<td class="thead">{$vbphrase['ecdownloads_description']}</td>
<td class="thead">{$vbphrase['date']}</td>
<td class="thead">{$vbphrase['ecdownloads_downloads']}</td>
</tr>
$filebits
</table>
$navigation

RS_Jelle
08-26-2007, 09:11 PM
Question:

If I am updating from 5.0.4 to 5.0.5 what do I need to do? Dont want to crash my database... I havent updated DownloadsII before and you dont have anything written about how to do so.

Thanks.

It's all described in the included Readme-Install.txt ;)
But in fact it's even easier as there aren't any usergroup or setting changes. In fact you just need to upload and overwrite all existing PHP files and import the new product (with the overwrite option set to Yes).

If you really want to be sure, you can disable DownloadsII with the settings for more security (avoiding table corruption). But it's really secure, you can't delete your database with it (except when you click the uninstall button).

RedGTiVR6
08-26-2007, 10:14 PM
File is corrupt..it's only showing up as being 57k in size once downloaded.

Anyone else have this problem?

Black Tiger
08-26-2007, 10:25 PM
Not me, I've just updated and all went just fine.

However I've got a question now. Can users also see and use the "Category tree"?

Before it had a nicer layout, and now some information is added which I don't like my users to view:
Dreambox [Category ID is 2]

Why is that Category ID put there? My users don't need to know that.

Furthermore the Category tree is all lined up left-sided.
For example:
Dreambox
-firmware
-settings
-tools

It would look a lot nicer if subcategory's would jump in a little bit, for example
Dreambox
-firmware
-settings
-tools

Is that possible? Ofcourse whithout the white space between Dreambox (so Category) and the subcategory. The indent caused that in this message.

RS_Jelle
08-26-2007, 10:43 PM
Hmm, the category tree wasn't changed in version 5.0.5, really :p

All users who can access DownloadsII (can view files), can view the category tree. The category id info between brackets is only shown to users with "Can edit all files" permissions.

The layout change you suggest isn't possible without changing the PHP code as it's using the construct_select_array() function, which is also used for the category select dropdown menus.

Black Tiger
08-26-2007, 10:58 PM
Hmm, the category tree wasn't changed in version 5.0.5, really :p
Ah oke, I thought it had a different look before. I must have been mistaken.

The category id info between brackets is only shown to users with "Can edit all files" permissions.
Thanks, my worry's are gone then, I thought all users could see that.

But... what's the benefit of displaying the category id to the users with the edit permissions?

asw
08-27-2007, 12:29 AM
Hello and thank you for this great hack!

I've just updated from the previous version and after uploading 'test' files and on the redirect I receive the following error:

Parse error: syntax error, unexpected '<' in /home/XXXXX/XXXXX/forums/downloads.php(1179) : eval()'d code on line 1

The 'test' files upload just fine but would like to fix the error message.

Your help is appreciated. :up:

Zia
08-27-2007, 01:58 AM
thnx for very prompt action :)

really love downloadsII :)

would love to see v.6 :P

LilSniper
08-27-2007, 02:13 AM
The picture illustrated below is how I want my Download Center to look. What you see is the main menu of the system.

However, when I click on one of the categories and leave the main menu, this is what happens:

I guess VBulletin.org resized my image, so what I wrote is difficult to see. The red arrows are pointing at what I think is the problem. The red writing says: "take a look at the black line which the arrows are pointing at. could this be the problem?"

Any suggestions? Thanks in advance.
Hmm, how have you set the "Display "Tops" on all pages?" option?
Is it possible that you modified some of the DownloadsII templates and/or the downloads.php file?
I tried changing the display tops on all pages to both yes and no, and neither worked. My friend uploaded it for me, but I doubt that he did. I'll ask him though.

maidos
08-27-2007, 06:13 AM
i alllways get this error when i triedto import files via ftp

Warning: opendir(/home/zetaf/public_html/forums/uploads/3x3_eyes/3x3_eyes_v02.zip) [function.opendir]: failed to open dir: No such file or directory in /admincp/downloadadmin.php on line 290

RS_Jelle
08-27-2007, 07:13 AM
But... what's the benefit of displaying the category id to the users with the edit permissions?

The category tree was a requested feature once. I also don't use :)

Hello and thank you for this great hack!

I've just updated from the previous version and after uploading 'test' files and on the redirect I receive the following error:

Parse error: syntax error, unexpected '<' in /home/XXXXX/XXXXX/forums/downloads.php(1179) : eval()'d code on line 1

The 'test' files upload just fine but would like to fix the error message.

Your help is appreciated. :up:

Hmm, on line 1179 there's a hook location. Which DownloadsII add-ons are you using?

I tried changing the display tops on all pages to both yes and no, and neither worked. My friend uploaded it for me, but I doubt that he did. I'll ask him though.

We released version 5.0.5, try upgrading to that version first. Also try the "Update counters" feature, maybe that helps.
Have you set any of the "Number of "xxx" to Display" settings to 0 or made a typo there?

i alllways get this error when i triedto import files via ftp



Warning: opendir(/home/zetaf/public_html/forums/uploads/3x3_eyes/3x3_eyes_v02.zip) [function.opendir]: failed to open dir: No such file or directory in /admincp/downloadadmin.php on line 290

You need to specify a folder to import (multiple) files from. For example /home/zetaf/public_html/forums/uploads/3x3_eyes/ if it exists.
For adding one file, you better use the Add button on the public pages of the downloads section.

maidos
08-27-2007, 10:22 AM
i think theres a bug on yourscript,, i followed ur instruction and added a folder instead however once i done that

Latest Files
Latest Files


Most Popular Files
Most Popular Files


Top Contributors
Top Contributors

Latest Files
Latest Files


Most Popular Files
Most Popular Files


Top Contributors
Top Contributors

i get empty list

when i added the folder path it does say The following files were successfully imported: however i get this error aswell

Warning: Invalid argument supplied for foreach() in /admincp/downloadadmin.php on line 345

also on download page i dont even see the new added folder

maidos
08-27-2007, 10:49 AM
my members told me that they get html file instead of zip file :S the zip file is added on mimetype

asw
08-27-2007, 11:29 AM
Thanks for your fast reply. I'm not using any Downloads Addons that I'm aware of.

CyberRanger
08-27-2007, 11:44 AM
i alllways get this error when i triedto import files via ftp



Warning: opendir(/home/zetaf/public_html/forums/uploads/3x3_eyes/3x3_eyes_v02.zip) [function.opendir]: failed to open dir: No such file or directory in /admincp/downloadadmin.php on line 290
Where is your import directory located and what are you putting for the directory in admincp -> downloads -> import?

CyberRanger
08-27-2007, 11:48 AM
Thanks for your fast reply. I'm not using any Downloads Addons that I'm aware of.I would try re-uploading includes/xml/hooks_downloadsII.xml. Maybe it got corrupted when you first copied it to your server from the Downloads product zip file.

CyberRanger
08-27-2007, 11:51 AM
i think theres a bug on yourscript,, i followed ur instruction and added a folder instead however once i done that

Latest Files
Latest Files
I think when you use the import function, you have to run "Update Counters" when the import is complete.


i get empty list

when i added the folder path it does say The following files were successfully imported: however i get this error aswell

Warning: Invalid argument supplied for foreach() in /admincp/downloadadmin.php on line 345

also on download page i dont even see the new added folder
I'm not sure what you are saying here. The import will not add a folder. It simply copies files from a folder you select to your downloads folder and puts info in the database about each file. The invalid foreach means you have put in an incorrect import path or a path to a folder that has no files in it.

CyberRanger
08-27-2007, 12:00 PM
But... what's the benefit of displaying the category id to the users with the edit permissions?I think when the catergory id was added, we did so that admin's could easily see the cat id for setting group permissions for specific download categories. Like Jelle said, I don't think it's a feature used much, if any!

Black Tiger
08-27-2007, 12:08 PM
Ok thanks both for the explanation.:)

maidos
08-27-2007, 12:24 PM
for the path to import i picked /home/zetaf/public_html/forums/uploads/3x3_eyes/
inside the 3x3_eyes i have files there

on the admin cp it says The absolute path to this script is /home/zetaf/public_html/forums/admincp/

asw
08-27-2007, 12:28 PM
I would try re-uploading includes/xml/hooks_downloadsII.xml. Maybe it got corrupted when you first copied it to your server from the Downloads product zip file.


Thanks again for your fast reply. I reinstalled the entire Zip fil and the error still shows.

maidos
08-27-2007, 12:37 PM
i think i done everything right since i managed to import the files

CyberRanger
08-27-2007, 12:46 PM
i think i done everything right since i managed to import the files
No, the pic shows it did not work. You should have the files listed that were imported. If you want to PM me access to your site (including ftp info) I'll check it out for you.

CyberRanger
08-27-2007, 02:18 PM
for the path to import i picked /home/zetaf/public_html/forums/uploads/3x3_eyes/
inside the 3x3_eyes i have files there

on the admin cp it says The absolute path to this script is /home/zetaf/public_html/forums/admincp/
Your import path is incorrect. You have uploads parallel to forums so the correct path is /home/zetaf/public_html/uploads/3x3_eyes/

edit: I did a successful test to confirm: http://aznmedia.net/forums/downloads.php?do=file&id=260

maidos
08-27-2007, 04:14 PM
hm im still not able to add other files such as /home/zetaf/public_html/uplloads/AirGear/

note: i have a second directory called uplloads so it does exist
Warning: Invalid argument supplied for foreach() in /admincp/downloadadmin.php on line 345

i sitll get this :S

nemesislq
08-27-2007, 04:35 PM
Hi CyberRanger, I seem to be having a similar problem as maidos. If you would not mind I could use your help...I can create categories & subs to, but I can't get files added through the forum or import them in admincp. I have set the "downloads" folder permissions to 777. I know this is vague so if its OK I will PM you access to the site and ftp.

CyberRanger
08-27-2007, 04:39 PM
Are you checking the box after each file that you want to upload? I uploaded two from that directory without error.

CyberRanger
08-27-2007, 04:40 PM
Hi CyberRanger, I seem to be having a similar problem as maidos. If you would not mind I could use your help...I can create categories & subs to, but I can't get files added through the forum or import them in admincp. I have set the "downloads" folder permissions to 777. I know this is vague so if its OK I will PM you access to the site and ftp.sure, PM away

CyberRanger
08-27-2007, 05:03 PM
Hi CyberRanger, I seem to be having a similar problem as maidos. If you would not mind I could use your help...I can create categories & subs to, but I can't get files added through the forum or import them in admincp. I have set the "downloads" folder permissions to 777. I know this is vague so if its OK I will PM you access to the site and ftp.
The upload worked great for me by doing http://www.dungeonlan.com/forum2/downloads.php?do=add&cat=. Are you sure you were trying to upload a file that has an allowed extension? (right now you have that set to zip rar tar gz)

Here's the test file http://www.dungeonlan.com/forum2/downloads.php?do=file&id=1

EDIT: on thing I did notice is that your style is preventing you from seeing the displayed error message if you try to upload an file with an invalid extension.

Check out the two attachments. There is an error message but you can't see it until you highlight where it is.

maidos
08-27-2007, 05:19 PM
oh i didnt see the those box where u can tick on under import anyway works great now thanks XD

nemesislq
08-27-2007, 05:27 PM
OK thanks so much .. .. I was trying to upload a .jpg file originally, and thought that because it was listed in allowed image extensions it would let me upload it.

"Allowed Image Extensions
Users will only be able to upload files with the following specified extensions. Note: must be lower case, separated by spaces ----jpg jpeg jpg2 gif png"



So would I need to add the jpg extension to the list under---------"Allowed File Extensions
Users will only be able to upload files with the following specified extensions. Note: must be lower case, separated by spaces-----zip rar tar gz.

CyberRanger
08-27-2007, 05:28 PM
So would I need to add the jpg extension to the list under---------"Allowed File Extensions
Users will only be able to upload files with the following specified extensions. Note: must be lower case, separated by spaces-----zip rar tar gz.
Correct, allowed file extensions are the files themselves that users download. The image extensions are for "screenshots" that you want to include about the file.

nemesislq
08-27-2007, 05:30 PM
All makes sense now :D thanks again..

KPalicz
08-27-2007, 06:05 PM
How do I adjust the font size?

Specifically at download page home, it lists the number of files for each category. I'd like to increase the font size of that number if at all possible. Any ideas?

Stifmeister2
08-27-2007, 06:14 PM
Good work guys, upgrading... :)

RS_Jelle
08-27-2007, 09:21 PM
How do I adjust the font size?

Specifically at download page home, it lists the number of files for each category. I'd like to increase the font size of that number if at all possible. Any ideas?

You need to edit the downloads_main_catbit template for this ;)

In that template you need to search for:
<span class="smallfont">{$cat['files']}</span>
And replace it with:
{$cat['files']}

KPalicz
08-28-2007, 04:58 PM
Awesome, thanks!

maidos
08-28-2007, 05:01 PM
i have a suggestion, can you make members post a comment on each download page?
and disable the post ccount

RS_Jelle
08-28-2007, 06:40 PM
i have a suggestion, can you make members post a comment on each download page?
and disable the post ccount

There's already a comment feature, but you need to enable it in the DownloadsII settings in the AdminCP and set the correct usergroup permissions. Those comments aren't calculated in the vBulletin postcount.

maidos
08-28-2007, 08:32 PM
oh, how about comments for guest?

RS_Jelle
08-28-2007, 09:48 PM
oh, how about comments for guest?

Like I said: you can give the usergroups you want permissions for commenting. And standard vBulletin has got a guests usergroup, so you can set it.

y2krazy
08-28-2007, 10:53 PM
I uploaded a screenshot (a JPEG image) as a download file; however, I also had to add it as an image after I made the sumission for something to show up; otherwise, I could only download the file and not see a preview. Is there a way to make it recognize an image file if it is uploaded and automatically generate it as the first image? That way you don't have to upload it twice? Also, this should be changeable via the AdminCP for those that wouldn't want this feature enabled. Thanks! :)

RS_Jelle
08-29-2007, 12:05 PM
I uploaded a screenshot (a JPEG image) as a download file; however, I also had to add it as an image after I made the sumission for something to show up; otherwise, I could only download the file and not see a preview. Is there a way to make it recognize an image file if it is uploaded and automatically generate it as the first image? That way you don't have to upload it twice? Also, this should be changeable via the AdminCP for those that wouldn't want this feature enabled. Thanks! :)

DownloadsII is meant for files, not for images. You upload for example a piece of software in a zip file and you can add some screenshots of it with the images features, that's our primary target. For adding images only, you need to get a gallery (and there are some free ones on vBulletin.org, for example PhotoPlog Lite).

EWGF
08-29-2007, 01:03 PM
Upgrade went well :)

y2krazy
08-29-2007, 09:02 PM
DownloadsII is meant for files, not for images. You upload for example a piece of software in a zip file and you can add some screenshots of it with the images features, that's our primary target. For adding images only, you need to get a gallery (and there are some free ones on vBulletin.org, for example PhotoPlog Lite).
Will do. Thanks. ;)

miodrag
08-29-2007, 09:10 PM
Hi there people! :)
I am having a problem with php safe mode.
Thing is that I can't download files larger than 8mb.
I don't need to upload larger files, since i could upload them over ftp, but it would be nice if there is some chance that people could download files larger than my php limit. :)

Thanks in advance! :)

maidos
08-30-2007, 06:00 AM
on downloads, settings theres a settings ´like this

Display "Tops" on all pages?

but even if iset on yet it doesnt seem to appear:/

RS_Jelle
08-30-2007, 10:53 AM
Hi there people! :)
I am having a problem with php safe mode.
Thing is that I can't download files larger than 8mb.
I don't need to upload larger files, since i could upload them over ftp, but it would be nice if there is some chance that people could download files larger than my php limit. :)

Thanks in advance! :)

If you can't change your php.ini (so if it's not your own server), you can use a .htaccess file to override this setting (https://vborg.vbsupport.ru/showpost.php?p=1278066&postcount=1523).

on downloads, settings theres a settings ?like this

Display "Tops" on all pages?

but even if iset on yet it doesnt seem to appear:/

Try the "Update Counters" feature (on the public downloads.php page) and be sure the "Number of "xxx" to Display" DownloadsII settings aren't set to 0.

maidos
08-30-2007, 12:40 PM
i have done what you have instructed me but yet im unable to view it, please take a look on your own please

RS_Jelle
08-30-2007, 12:44 PM
i have done what you have instructed me but yet im unable to view it, please take a look on your own please

Yeah, but then you need to pm me your site url and the login of a test account as I don't know your site (it's not in your vB.org profile) :D
You also need to have files in your categories. If there aren't any files, there's nothing to display for the tops ...

tbaleno
08-31-2007, 01:30 AM
Any chance of in the future adding a "hidden" flag to files so only the uploader can see them. This will make it great for people wanting to store files on the server without giving everyone access to them. Also, it would be good if you could give access based on user so someone could share with just a few others without having to create groups with just 3 or 4 people in them.

Hornstar
08-31-2007, 10:55 AM
Thanks for the update. Went perfect, and fixed those few bugs I had.

ps. you are giving really good support above, don't know how you manage your time, but well done on the wonderful mod. cant wait to see what version 6 will offer ^^

KPalicz
09-01-2007, 12:03 PM
Thanks again for the help on customizing the template. I've been tweaking several things. New download buttons, whee! Now I've got another question.

A lot of my files are things that can potentially be viewed or listened to online in a browser (like .pdfs, graphics, mp3s, etc), and a lot of the people visiting my page might be more interested in viewing instead of downloading everything to their hard drive. Is there a tag I can put into downloads_file that would open the file in a user's browser?

KPalicz
09-01-2007, 02:02 PM
Ok! We figured it out. We can now open files online. Check it out in action:

http://www.youthrights.org/forums/downloads.php?do=file&id=117

The next step would be to keep track of viewed/opened files the same way downloads are tracked. Any suggestions for that?

KPalicz
09-01-2007, 06:24 PM
Ok, we got it set up so the existing download counter counts the viewed/opened files too. I figured it wouldn't be worth it to keep a separate tally. Everything is working great. :D

Black Tiger
09-02-2007, 01:13 AM
Discovered a little bug.
When using the "Manage files" option. Then select a file and do someting like "delete file", then after the action is taken (which works fine) you won't be put back in the filelist of the "Manage files" section.
You just get the head with the subhead (ping, category, approval) but no list of files anymore. However you should be put back in the "Manage Files" section with the list of the remaining file.

Furthermore if I select 2 files, then select 1 action next to 1 of the files, only that file is effected, so I don't quite understand the benefit of the selection squares.

PeteBlume
09-02-2007, 07:54 PM
Is there any possibility to use the permission of the groups while seeing downloadinformation in the profile?

Hornstar
09-03-2007, 05:26 AM
Edit, nvm got it, it is dl_files, ignore this post.

What is the table name that the files are stored in?

I ask because I am trying to change the below code (another files system)


$count_files = mysql_query("SELECT id FROM ccms_file");
$files_c = mysql_num_rows($count_files);
$files = number_format($files_c);
Which I dont use, as I use this files system.

Which shows my stats here

http://www.gamerzneeds.net/sig.php (http://www.gamerzneeds.net/forums)


Basically i'm trying to modify the code above so it will display the number of files for this instead. any help is much appreciated.
Thanks.


Edit, nvm got it, it is dl_files

WarLion
09-03-2007, 06:01 PM
someone knows which is the template ffor the category look i have thub for each category but look so bad have the name and the imagen in the same place

i try to edit downloads_cat_subbit but not look i put the zelse> condicion to show only one but i guess this is not the template that im looking for

https://vborg.vbsupport.ru/

i like to see something like this

https://vborg.vbsupport.ru/

skooby
09-03-2007, 11:12 PM
Like Jelle has said already, you need to create a file named .htaccess (not the period in front of the name). Put the following two lines into the file:

php_value upload_max_filesize 30M
php_value post_max_size 30M

Upload the file into your forum directory (the same location where downloads.php is located.)

This will increase the size of the file you can upload to 30MB.

For a while DownloadsII was working for me and then all of a sudden my site got a 500 internal server error.

When i comment out these 2 lines, the site works again. If I leave them commented, I can upload files (but only small ones). Any ideas? Also there is a file stuck in the etc_tmp folder that I can't delete, like something is locking it. Not sure if that has anything to do with it. I'm on VB 3.6.5 running 4.0.5. below is the errorl

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@nokturnalist.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

RS_Jelle
09-04-2007, 06:50 PM
Discovered a little bug.
When using the "Manage files" option. Then select a file and do someting like "delete file", then after the action is taken (which works fine) you won't be put back in the filelist of the "Manage files" section.
You just get the head with the subhead (ping, category, approval) but no list of files anymore. However you should be put back in the "Manage Files" section with the list of the remaining file.

Furthermore if I select 2 files, then select 1 action next to 1 of the files, only that file is effected, so I don't quite understand the benefit of the selection squares.

I'm going to look into this :)
I'm not using this feature myself, so I just hotfixed it for the previous bug, but most likely not that good :p

Is there any possibility to use the permission of the groups while seeing downloadinformation in the profile?

We are going to address this "bug" in a next release, as there are no permissions for this set at the moment.

What is the table name that the files are stored in?

A better way is to get the 'files' variable from the dl_main table, that's faster (there are some other statistics stored in that table) :)

someone knows which is the template ffor the category look i have thub for each category but look so bad have the name and the imagen in the same place

i try to edit downloads_cat_subbit but not look i put the zelse> condicion to show only one but i guess this is not the template that im looking for

http://img504.imageshack.us/img504/465/catjr6.jpg

i like to see something like this

http://img232.imageshack.us/img232/1913/carfixec0.jpg

There's downloads_main and downloads_main_catbit you need to edit for the downloads.php main page. There's also downloads_cat_subs and downloads_cat_subbit for the sub categories displayed on category pages.

For a while DownloadsII was working for me and then all of a sudden my site got a 500 internal server error.

When i comment out these 2 lines, the site works again. If I leave them commented, I can upload files (but only small ones). Any ideas? Also there is a file stuck in the etc_tmp folder that I can't delete, like something is locking it. Not sure if that has anything to do with it. I'm on VB 3.6.5 running 4.0.5. below is the errorl

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@nokturnalist.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

You get an internal error 500 if there's something wrong with the .htaccess file or its syntax. Are there any more rules than those two mentioned by CyberRanger in it?
Then check the chmod (file permissions) of the .htaccess file. It should have full read permissions for the three possible read levels.

skooby
09-04-2007, 11:59 PM
Thanks for the response. Yes, I have the chmod set to 644 on the file (all 3 reads). The only other thing in the file is stuff for vBSEO. Like I said though, it worked fine for a bit and then it just stopped working. Not really sure why.

Flep
09-05-2007, 04:18 AM
Hi,
if i upgrade to last version,will i lose my downloads ?

thx

reza1217
09-05-2007, 05:50 AM
I absolutely love this mod. Using it in my forum. Click my signature to see it at work. Nice Job.:D

RS_Jelle
09-05-2007, 05:53 AM
Thanks for the response. Yes, I have the chmod set to 644 on the file (all 3 reads). The only other thing in the file is stuff for vBSEO. Like I said though, it worked fine for a bit and then it just stopped working. Not really sure why.

Can you post the full content of your .htaccess file?

Hi,
if i upgrade to last version,will i lose my downloads ?

thx

You won't lose any data during a normal upgrade when you follow the instructions. The only way to remove your files and other database stuff, is uninstalling the product.

skooby
09-05-2007, 09:03 PM
Can you post the full content of your .htaccess file?



You won't lose any data during a normal upgrade when you follow the instructions. The only way to remove your files and other database stuff, is uninstalling the product.

Here is my file...


# Comment the following line (add '#' at the beginning)
# to disable mod_rewrite functions.
# Please note: you still need to disable the hack in
# the vBSEO control panel to stop url rewrites.
RewriteEngine On

# Some servers require the Rewritebase directive to be
# enabled (remove '#' at the beginning to activate)
# Please note: when enabled, you must include the path
# to your root vB folder (i.e. RewriteBase /forums)
#RewriteBase /

#RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]

RewriteRule ^((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]


RewriteCond %{QUERY_STRING} !vbseourl=
RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
RewriteRule ^(.*\.php)$ vbseo.php?vbseourl=$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif)$
RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]

#php_value upload_max_filesize 1000m
#php_value post_max_size 1000m

RS_Jelle
09-05-2007, 10:37 PM
Try using an uppercase M instead of a lowercase m after the number. I'm not sure if it's a possible problem, but it's worth trying it :)
Also try putting them on the first lines of the file, before the RewriteEngine. Finally put only one space and not two spaces between the item and its value. Just to be sure ...

lexyart
09-06-2007, 10:48 AM
Gives it a Download Mod where i can set the permission what usergroup can see a download folder? I want to insert Downloads on my board where normal users can download software and beta user can download betasoftware but normal user sould not see the betasoftware folder.

RS_Jelle
09-06-2007, 11:38 AM
Gives it a Download Mod where i can set the permission what usergroup can see a download folder? I want to insert Downloads on my board where normal users can download software and beta user can download betasoftware but normal user sould not see the betasoftware folder.

Yes, on the usergroup permissions page you can specify the categories which should be visible (not specified: invisible) OR the categories which should be invisible (not specified: visible).

jobbe
09-06-2007, 01:50 PM
I tried to search all over this long thread, but I could not find an answer to my question. is it possible to set permissions, not for an usergroup, but just for a single user to upload files?
Thanks a lot in advance.

CyberRanger
09-06-2007, 02:41 PM
I tried to search all over this long thread, but I could not find an answer to my question. is it possible to set permissions, not for an usergroup, but just for a single user to upload files?
Thanks a lot in advance.
no, permissions are controlled via a usergroup. I guess you could make a usergroup with one user!

jobbe
09-06-2007, 05:30 PM
Ok, thanks for the reply, so, if it has not been requested before, maybe a suggestion for an improvement in the next version? Anyway, well, great mod!

skooby
09-06-2007, 06:17 PM
Try using an uppercase M instead of a lowercase m after the number. I'm not sure if it's a possible problem, but it's worth trying it :)
Also try putting them on the first lines of the file, before the RewriteEngine. Finally put only one space and not two spaces between the item and its value. Just to be sure ...

Thanks for the help. Tried all of that unfortunately didn't help it.

RS_Jelle
09-06-2007, 08:47 PM
Thanks for the help. Tried all of that unfortunately didn't help it.

Can you look into your Apache error log for more details? Or ask your hosting company for assistance (if they are the only one who can see the logs) as this is more a server related problem.

Daky
09-08-2007, 02:02 AM
Hi,
As i mentioned before i have around 23000+ files in about 200+ categories (and growing).
I am having so many complaints from members about search results.
The problem is if they search for common word sometimes they get couple pages of results.

Is it anyhow possible to narrow the search to specific category, not to search whole DB(all categories).

Thank you in advance.

jobbe
09-08-2007, 07:08 AM
Disregard, because it seems the problem is solved right now.
I created a new usergroup that can upload files and I added only 1 user in this group.
Now, this user is trying to upload files, at a certain point he got the error message maximum upload limit would be exceeded by this file...please try another file
I read in this thread that a user had the same problem. I won't create a .htaccess file, because I think that's not the problem; what i think, which you actually mentioned in one of your replies, is that there's a problem of "crossing" permissions if this user is a member of 2 or more gropus. This user is a member of an old usergroup in which has beed added the settings for Download mod (which i actually didn't think it would act like this, I mean i thought the mod would not add its setting even on old usergropus). Now, in this old usergroups the Download mod settings has not been touched and everything is set to "no" (can't download, can't upload, and so on): The question is, obviously, the following: the permissions about the new usergroup "rewrite" those on old groups? And in this case, i don't want to set the same permissions on every old group I have, simply because I want that only that single user can upload files. Now, I know that my english is not that good, but please, help me! :)
Thanks a lot in advance

ps: I forgot to better underline the most important fact: that user could upload several files, it's only from a certain point on that he could not upload any more.
My setting in the new usergroups are the following:
http://img464.imageshack.us/img464/3733/dlki8.th.jpg (http://img464.imageshack.us/my.php?image=dlki8.jpg)

Daky
09-08-2007, 02:19 PM
jobbe, i am having same problem all the time, i have several usergroups for DownloadsII
Can you tell me what you did to fix that problem with "crossing" permissions?

Thank you

Zia
09-09-2007, 09:13 AM
Helo...I got an request..

Been longggggggggggg enough ..many of us are waiting for system "pay points per download" system
i believe many of us will be gratefull if DownloadsII get intigration with vBCredits - Ultimate Points System (https://vborg.vbsupport.ru/showthread.php?t=151924)
So user have to pay points(which user earned bu post)for each downlad.

Thanks

D3m-fny
09-09-2007, 09:40 AM
thank you ..

cl4ym4n
09-11-2007, 03:23 AM
Nice mod...but i wanna make some changes and dont have any idea how to do...

How it looks, all files are uploaded into the ./downloads/ folder...
I've made a lot of categories (for a lot of files), so i created ./downloads/subdir/ and uploaded some files into this directory.

When i go to ACP > Downloads > Import and set [..]/public_html/forum/downloads/subdir/ as path to import, no files are listed in the overview.

Aren't subdirs supported for this script?
Coz...well... it would kinda suck, if i would have to upload 1000+ files from different categories into only one directory.

-----

Also... i wanna add a picture to the file-details page.
For example... the file is called 'application_v1.exe' and i do have a directory ./downloads/images/ with a file called application_v1.jpg...how can i realize that this image is shown up in the file-details, when it exists and otherwise a default-image is shown there?

The php-code is no problem so far...
I just need to know in which part of the code i can get the filename to compare it with the images and where/how i need to set the "$fileimage" variable for the templates...

Thx so far...

tbaleno
09-11-2007, 12:18 PM
I would also like to be able to use subfolders for storing files if possible.

d3v1L
09-14-2007, 08:26 PM
Superb Mod. Just what i was looking for.. But although i have marked as install, i wont be using it till support for really large files (greater than 100mb) is added. an ftp option wud be terrific!! Keep up the great work :)

Also can you add java applet based uploading for large files. That would be a very useful feature apart from ftp.

Please do add that option in the next release. Waiting eagerly.

Edit: Can something like this http://upload.thinfile.com/resume/ be integrated into this mod for uploading file?

AudioFX
09-15-2007, 12:26 AM
This is an excellent hack that i've been using for a while. Recently though, my forums were hacked. Somehow a hacker managed to get a malicious file onto my server's filsystem, which then proceeded to delete all files within writable folders (777). Luckily my host does daily backups so it wasn't a train smash for me.
I don't think he found a backdoor through the DownloadsII hack, but I would like to know some more information with regards to security. Is it all possible for a hacker to use this hack to upload mailicious files? How secure is this hack and the writable downloads folder?

Flight_Teacher
09-15-2007, 11:08 AM
hmmm....

I am missing something here.

I installed it as directed but I don't see a downloads section anywhere on my forum.

d3v1L
09-15-2007, 12:32 PM
hmmm....

I am missing something here.

I installed it as directed but I don't see a downloads section anywhere on my forum.

Did you made the necessary edits to the navbar? Read the readme file again. All edits are given. you can also access the download page via www.yourforum.com/forum/downloads.php (ie if your forum url is www.yourforum.com/forum)

maidos
09-17-2007, 03:00 PM
was wondering is it possible to display the size on each category ? like how much size it is inside the category?

also i want to display file name on alphabetic order in default, dont want the members to change itself i want it to show auto.

skooby
09-21-2007, 12:00 AM
Looks like my hosting company (Midphase) set the max_download limit to 10mb and if I try to add the 2 lines in htaccess.php I get a 500 error. Not much else to do.

Anyone else use midphase as their hosting company that got this to work (on a shared plan)?

TheJekyll
09-22-2007, 03:05 PM
When i click downlads on the navbar i get

Your server is running safe mode. You MUST manually create a folder named ec_tmp under your downloads folder. Be sure to change the permissions to 777.: Currently Under Maintenance

:s what do i do

CyberRanger
09-22-2007, 07:49 PM
When i click downlads on the navbar i get

Your server is running safe mode. You MUST manually create a folder named ec_tmp under your downloads folder. Be sure to change the permissions to 777.: Currently Under Maintenance

:s what do i doYou need to do like the message says. Under your downloads folder, create a folder named ec_tmp. Then, change the permissions to 777 (rwxrwxrwx). If you don't understand how to do that, ask your host for help.

:-)

maidos
09-23-2007, 08:18 AM
i think there are issue with ur script, i have a directorywith over 60 files and when i import it the script add 3 dubliclate files or more,and fail to import everysingle files

in that directory one file is at least 170 mb large.... i get blank page when i import all of the files at once but i can upload if i import 10 files at the time

there are no errors from the servers end

silencerdeluxe
09-24-2007, 10:56 AM
First, please excuse my bad english :o

Is there any easy way to hide the Link of the Category, if there is a image for the category?

Look @ this 2 Screens:

normal:
70243

wanted (edited in photoshop):
70244


Thx for any help!

49er
09-24-2007, 07:37 PM
Another template change I made is make the category names bold. Looks better this way and more consistent with my forum looks.


Hello,

Can someone tell how this is done?

Thx

networkpanel
09-25-2007, 12:06 AM
thanks

eido
09-25-2007, 04:24 AM
Hi

Please can anyone tell me how to approve a posted item ..

Thank you

maidos
09-25-2007, 05:06 PM
also is itpossible to only grant a specific usergroup to only import files, since i haveuploader as usergroup and its really bothersome for our admin to import files one after another.... So cant you make a special access for only uploaded so theycan only import the files?