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

CyberRanger
11-30-2007, 02:09 PM
ftp to my account and go into the downloads folder that i set, there's only almost 4,000 files in there.
That is weird. I wonder if it could be a permissions issue where the ftp client can't count the files? just guessing really. If you get can get a command line and do a "wc -l" command, I wonder what you get.

ntloc
11-30-2007, 03:21 PM
i have tried but still only get 3998 total of files. I've imported about 40 more files this morning and i exited out of FTP then go back in again and this time it's showing 4000 files in the downloads folder eventhough i just imported 40 more files. All the new files i imported are working fine too, i'm able to download all 40 files.

CyberRanger
11-30-2007, 04:36 PM
... get 3998 total of files. I've imported about 40 more files this morning and i exited out of FTP then go back in again and this time it's showing 4000 ...
I have to believe it's a problem with how the ftp client is counting the files. Do you have shell access? If you want to PM me your ftp info I'll also check it out.

ntloc
11-30-2007, 05:58 PM
ok, i forgot i have that option also. I went in and check, shell access of course. They're all there 75GB of files, the ftp client truncate the listing to 4000 files. Thanks again. But i still have one more question, would it affect the board performance if i have about 200 members download files at the same time. My server is dedicated to i got really good connection to the site all time, i'm just worried about the board? Please let me know and thanks again for your help.

maidos
11-30-2007, 06:27 PM
ok at first u told it was server issue but it doesnt seem that way....
i switched to different compant and different server...
i have now quad core intel and 4 gb ram... and yet my user seem to get this error file id

CyberRanger
11-30-2007, 06:34 PM
ok at first u told it was server issue but it doesnt seem that way....
i switched to different compant and different server...
i have now quad core intel and 4 gb ram... and yet my user seem to get this error file id
What's the error again? Is it on all files for all users? Just one file? Just one user?

maidos
11-30-2007, 06:47 PM
i get this when i click on the link: http://i73.photobucket.com/albums/i230/deadlynightshade_2006/untitled-4.jpg

and then the webpage becomes this: http://i73.photobucket.com/albums/i230/deadlynightshade_2006/untitled2.jpg

however the files work just fine for me

CyberRanger
11-30-2007, 06:51 PM
i get this when i click on the link: http://i73.photobucket.com/albums/i230/deadlynightshade_2006/untitled-4.jpg

and then the webpage becomes this: http://i73.photobucket.com/albums/i230/deadlynightshade_2006/untitled2.jpg

however the files work just fine for me
Is the user that receives the error in the same usergroup as you are? Does that usergroup have permission to access downloads in that category?

maidos
11-30-2007, 06:57 PM
thats odd that user cant view the files.... on the download page while on that usergroup she is allowed to download the files

CyberRanger
11-30-2007, 06:59 PM
thats odd that user cant view the files.... on the download page while on that usergroup she is allowed to download the files
I really don't understand what you are saying here. Can you PM me your site details along with the details of what the file is that user is trying to download?

maidos
11-30-2007, 07:08 PM
sent u the pm

CyberRanger
11-30-2007, 07:14 PM
i get this when i click on the link: http://i73.photobucket.com/albums/i230/deadlynightshade_2006/untitled-4.jpg

and then the webpage becomes this: http://i73.photobucket.com/albums/i230/deadlynightshade_2006/untitled2.jpg

however the files work just fine for me
You have the usergroup permissions setup where super moderators can only see download files that are in category 121. See attached pic. Did you mean to do that?

ntloc
12-01-2007, 03:50 PM
Any news on the date of the new update for this? THanks.

adoxtater
12-01-2007, 09:14 PM
Great idea for a mod! I downloaded and installed it but have a slight problem. When I go to ADMINCP > DOWNLOADS I can't get to the Categories, Import, and Downloads sections of the mod at all. All I can get into is the Settings section. The other 3 sections just gives me a "404 Page Not Found" error. Does anyone else have similar problems?

I am running vb3.6.8 patch level 2. Thanks in advance! I'd love to get this all working!

CyberRanger
12-01-2007, 09:44 PM
The other 3 sections just gives me a "404 Page Not Found" error. Does anyone else have similar problems?

I am running vb3.6.8 patch level 2. Thanks in advance! I'd love to get this all working!

You need to make sure you have uploaded all of the included files. It sounds like you missed admincp/downloadsadmin.php

adoxtater
12-02-2007, 12:20 AM
That did the trick! Thank you so very much! :D Not sure how I missed that, but it's working now thanks to you!

thebigman87
12-02-2007, 09:48 AM
I know you must be tired of covering the "blank page problem" but I have tried to modify the .htaccess (non php.ini access) to support 25mb uploads as stated in you post.

However I still get a Blank Page, now the file uploads without an issue it's never not there, the problem is that the files uploaded tend to only be nzbs, torrents or images of less than 1mb.

I also tried to see if it was an issue with the installation by doing a diagnostics--> upload test, but that worked fine and reported no error.

Not sure if this makes any difference but the site uses Dreamhost. Thanks if you can help, but I can understand if you have any frustration in covering an issue that you have sorted out before.

Cheers

BozzaJos
12-03-2007, 11:45 AM
Hey guys,

I know there was a little update on 01 Nov 2007 which I totally forgot to install. Is it an update which should be installed or is it one which is optional to install?

DownloadsII stats of my site:
Downloads: 241,201
We have 849 files in 136 categories.

Hundreds of files will be added in the upcoming weeks. Only thing left to say is: What a hack... Chapeau!

Asco1
12-03-2007, 04:41 PM
Hi there,

I have a lot of post but I dont find something about my question :(
It is possible to display the latest files and the popular Files at another page ?

Thx 4 replay.

Greetz
RLD

RS_Jelle
12-04-2007, 05:41 AM
I know you must be tired of covering the "blank page problem" but I have tried to modify the .htaccess (non php.ini access) to support 25mb uploads as stated in you post.

However I still get a Blank Page, now the file uploads without an issue it's never not there, the problem is that the files uploaded tend to only be nzbs, torrents or images of less than 1mb.

I also tried to see if it was an issue with the installation by doing a diagnostics--> upload test, but that worked fine and reported no error.

Not sure if this makes any difference but the site uses Dreamhost. Thanks if you can help, but I can understand if you have any frustration in covering an issue that you have sorted out before.

Cheers

That's pretty strange indeed. Have you put the extensions on the list of allowed file extensions?

Hey guys,

I know there was a little update on 01 Nov 2007 which I totally forgot to install. Is it an update which should be installed or is it one which is optional to install?

DownloadsII stats of my site:
Downloads: 241,201
We have 849 files in 136 categories.

Hundreds of files will be added in the upcoming weeks. Only thing left to say is: What a hack... Chapeau!

I see you are still running v5.0.5. The newest release (1 november 2007) is version 5.0.6, which fixes a list of bugs and also plugs a small XSS security issue. You can find the changelog here (https://vborg.vbsupport.ru/showpost.php?p=1373454&postcount=1869).

Hi there,

I have a lot of post but I dont find something about my question :(
It is possible to display the latest files and the popular Files at another page ?

Thx 4 replay.

Greetz
RLD

It's possible when you use vBadvanced CMPS (http://www.vbadvanced.com/) and integrate it in the pages you want. Then you can use the DownloadsII ver 5.0 vbAdvanced Add-On (https://vborg.vbsupport.ru/showthread.php?t=110122) :)

thebigman87
12-04-2007, 11:32 AM
That's pretty strange indeed. Have you put the extensions on the list of allowed file extensions?

Yes they are all there separated by spaces.

I don;t know if this makes it more confusing but I also have the Create a Thread Add On and even though it sends the user to a White Page, the thread is still created detailing the item uploaded by which user.

Kingster
12-04-2007, 07:56 PM
Any chance of using a flash-based uploader like http://www.pixeline.be/experiments/jqUploader/?

Gets us to bigger upload files... I need to replace an old Java-based FTP client that I would prefer to get away from...

Kingster
12-05-2007, 05:23 PM
Alrighty then. I've gone through this thread with a fine tooth comb.

I have the dreaded "blank page" issue, only when I try to view downloads.php.

Thankfully, I haven't turned the functionality on for the users yet!

This is a fresh install of DownloadsII v 5.0.6 onto a 3.6.8PL2 vBulletin. The vBulletin was recently upgraded (without errors, and works great) from ancient tech, vB 3.0.4.

The thing that I worry about is that during the install of DownloadsII through the product manager, the page times out (the script appears to run greater than 30 seconds). In watching top (I have SSH access - dedicated server) though, I see that MySQL is busy, so I wait... I do have large forums, lots of users, etc. Anyhow, when I see MySQL slow/stop, I refresh my CP and go look around. Everything is there where I would expect it to be. I've chmodded the downloads dir to 777, uninstalled, reinstalled, re-uploaded (making sure to do it in ASCII), etc.

What have I missed? What am I doing wrong?

[edit] So, if I disable the downloads from the downloads settings, and go to downloads.php in IE, I see that they are closed. FireFox doesn't see that. Once I enable them though, neither IE or FireFox can see downloads.php. Dunno if that helps, but it's more info to work with.

CyberRanger
12-05-2007, 05:47 PM
Alrighty then. I've gone through this thread with a fine tooth comb.

I have the dreaded "blank page" issue, only when I try to view downloads.php.....
When you install DownloadsII via the product page, the install should take seconds. Very puzzling what you are seeing. If you want, PM me the info to check out your site (vb admin login along with ftp info).

Kingster
12-05-2007, 06:13 PM
Uninstall takes seconds, install more than 30 (page times out in browser).

I'll PM you shortly.

Kingster
12-05-2007, 06:47 PM
When you install DownloadsII via the product page, the install should take seconds. Very puzzling what you are seeing. If you want, PM me the info to check out your site (vb admin login along with ftp info).

Uninstall takes seconds, install more than 30 (page times out in browser).

I'll PM you shortly.



Just to doublecheck that I did everything, I uninstalled, deleted files, reupped, reinstalled. Same problem. The import timed out. So then I imported again (allowing overwrite). Lo and behold, it worked.

Never mind. Thanks CyberRanger.

Joshva
12-05-2007, 10:39 PM
I would also like to see an option to allow html in descriptions. That would be awesome.

Great mod guys, can't wait for version 6.0!

thebigman87
12-06-2007, 11:49 AM
Sorry to be a pain but have you any other suggestion I could try to prevent this White Page Issue, as it's such a downer on what is at the moment a great product.

CyberRanger
12-06-2007, 11:59 AM
Sorry to be a pain but have you any other suggestion I could try to prevent this White Page Issue, as it's such a downer on what is at the moment a great product.
Do the following -


Delete any .htaccess files you have
Disable any products that interact with DownloadsII (like the create thread one)
Try adding a new file

DownloadsII will not produce a white page on a clean install. Something's funky with your setup. If you try the above and still get a white page, PM me your site details including vb admin account and an ftp account.

Hex_legend
12-06-2007, 02:31 PM
I am using The Downloads II modification for 3.6.8 but I am having this error:

I have set it so that it allows unlimited MB of files for admins and moderators, however when I upload a media clip of something 2MB+ it comes up with

Upload Error! Can Not Upload.

I have checked the settings in the ACP for usergroups and also checked the CHMOD permissions, which all appear to be correct.

What am I doing wrong?

The media types are wmv,mpeg, mpg

It did allow me to upload a file of 1.37MB

Can anyone help?

CyberRanger
12-06-2007, 02:36 PM
however when I upload a media clip of something 2MB+ it comes up with

Upload Error! Can Not Upload.


tell me what to do plz.
Like Jelle has said already, you need to create a file named .htaccess (note 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.

Hex_legend
12-06-2007, 02:42 PM
Is there a maximum that we can upload?

I have a few videos that I'll be uploading that are over 100mb.. Would this cope?

RS_Jelle
12-06-2007, 03:16 PM
Yes they are all there separated by spaces.

I don;t know if this makes it more confusing but I also have the Create a Thread Add On and even though it sends the user to a White Page, the thread is still created detailing the item uploaded by which user.

That's a sign that the PHP code works, but normally after the plugins (add-on) are finished there's a final redirect after uploading.

Are you on PHP Safe Mode (just to be sure, normally DownloadsII gives you an information bar about that if you need to do any extra steps because of that)?
Can you find any of the uploaded files in the downloads folder on your forums FTP? What's their chmod?

We are just using the default upload PHP functions, so I'm not sure what goes wrong on your site :confused:

Is there a maximum that we can upload?

I have a few videos that I'll be uploading that are over 100mb.. Would this cope?

Just add the .htaccess file like CyberRanger says and change the 30 to the maximum amount of MB's you need. This overwrites the PHP upload limitation from the php.ini configuration file. You can also see your "PHP Max Post Size" and "PHP Maximum Upload Size" on the home of your AdminCP.

Hex_legend
12-06-2007, 03:19 PM
Thanks guys

Worked like a charm

thebigman87
12-06-2007, 04:28 PM
Thanks for your help, I done what you suggested and it appears that the Create a Thread is causing the trouble, as with it disabled it redirects to the newly created File but obviously doesn't create a new thread.

So the White Page Issue is fixed... to a degree. Cheers

CyberRanger
12-06-2007, 04:35 PM
appears that the Create a Thread is causing the trouble
bummer, I haven't looked at that add-on in a year or so. Looks like I need to maybe update it!

Emarkay
12-07-2007, 03:55 AM
I'm trying hard to increase the upload limit with this great add-on, but I keep on running into brick walls.

I can't use the .htaccess file as mentioned above, because my host won't allow it for security reasons? The file gets edited out with #'s and a statement that it's not allowed. Tried to do updated php.ini files everywhere, with no success. Tried looking in the forums config file in the includes folder, no success.

Some threads say to restart the apache server, but I don't have direct access to that since it's a simple hosting plan.

I'm not sure if you guys could suggest any other ideas, but they would be appreciated. Other than the limit I want to increase, this add-on is really great! Really good work. Thanks !

RS_Jelle
12-07-2007, 01:18 PM
I'm trying hard to increase the upload limit with this great add-on, but I keep on running into brick walls.

I can't use the .htaccess file as mentioned above, because my host won't allow it for security reasons? The file gets edited out with #'s and a statement that it's not allowed. Tried to do updated php.ini files everywhere, with no success. Tried looking in the forums config file in the includes folder, no success.

Some threads say to restart the apache server, but I don't have direct access to that since it's a simple hosting plan.

I'm not sure if you guys could suggest any other ideas, but they would be appreciated. Other than the limit I want to increase, this add-on is really great! Really good work. Thanks !

I don't understand why they are blocking .htaccess files also. Your host is pretty strict :D
If that method isn't allowed, you also won't have any (virtual) php.ini access also and there are no other methods. The only thing you can do is contacting your host and ask why they aren't allowing it as it's not a normal security measure a lot of hosts are using.

mri_mohammad
12-08-2007, 12:06 AM
this 2 website use this hack and remove the copyright :

http://forum.iranproud.com/downloads.php
http://www.persianhub.org/downloads.php

SAUR0N
12-08-2007, 12:22 PM
is it normal that the files dupicates itself into a tmp folder? because with a 500kb files it's ok but with a 2gb :S

CyberRanger
12-08-2007, 01:55 PM
is it normal that the files dupicates itself into a tmp folder? because with a 500kb files it's ok but with a 2gb :S
Yes, that's normal and how the program works. It duplicates itself but is then erased. This prevents people from directly linking to the file.

SAUR0N
12-09-2007, 01:42 PM
what would happen if 4 users wants to download the same file at the same time?. will it duplicate 4 times?

what about using fpassthru ?

InoffLine
12-10-2007, 04:34 AM
As i understood it makes more then 35 sql queries on one page. So will you work on decreasing their number?

RS_Jelle
12-10-2007, 05:10 AM
what would happen if 4 users wants to download the same file at the same time?. will it duplicate 4 times?

what about using fpassthru ?

We're working on this for v6 (also putting files in multiple directories (with an option for storing them outside the forums directory) instead of all files in one).

As i understood it makes more then 35 sql queries on one page. So will you work on decreasing their number?

Not on normal pages :)
You only get those numbers if you are having a lot of subcategories as we aren't caching the category structure yet. So the amount *can* be high, but as the category table isn't that heavy, the queries aren't slow and the page also isn't.
But we are working on it: storing the category structure in the datastore would be better.

jimjam
12-10-2007, 11:04 AM
Suddenly, members are getting "ERROR: File not found" on just some files they want to download. The files are physically there in the downloads folder.

Any idea what might be causing this?

Thanks in anticipation

Kingster
12-10-2007, 01:10 PM
Great mod guys... It's working well so far. Had a few issues converting some old downloads that I had, plugging it into your mod... But so far, so good. I've clicked Installed.

Couple of things that I'm (and my users) are looking for:

Search downloads by user. I know that I can go to the person's profile and see what they've uploaded, but I'd like to add a button image to their postbit if they have files that they've upped. This button would take them to the result of a search for files that they have uploaded. Thoughts on how to do this?
RSS feeds for categories. I have users that would like to watch for new files. Anyway to create RSS feeds that displays most recent uploads by category as well as an overall most recent uploads? I could do a work-around by creating a thread per upload, but, why, when comments for each upload is available.
I mentioned it before - no one responded... What about using one of the free flash-based uploaders out there - doesn't have all the PHP upload limitations, plus it gives visual feedback on the upload process... And, it's not FTP based.
How do I set the default download button to be used when viewing a category? Currently it shows the collapse button, and I've created a much better button that I would like to use. I thought it was the ecdownloads_download_pic variable in the phrase table (doesn't seem to be exposed anywhere on the interfaces), but it didn't change the image used when I changed the name to the new image I wanted to use.Once again, great mod! Thanks for all your support!

xTerMn8R
12-10-2007, 02:21 PM
Hey Folks

I had this installed and working great and then added a new skin to the site (style) Now when I try and download something It tells me I've excided my Daily Limit. I'm ADMIN and have checked all the permissions for DownloadsII and have NO restrictions on group and checked all the settings. I did find that I had to re-import a lot of my other products to get them to work in this style so My question is ....

If I re-install the DownloadsII Product will it Kill all the Files and catagories I already have in there, this really would not be good... Is there another way to tell it to work with a new style without re-installing?

Thanks to ALL ...

Termi

Tom_S
12-10-2007, 07:47 PM
I am sure this may have been answered but I haven't found it. When linking to a file such as on downloads.com the url being huge this mod does not accept the entire url. Is there a fix for this? I know the original -> Minatica.be Downloads (http://www.minatica.be/downloads.php) is working fine with this method so evidently there is an edit I can make somewhere to accommodate this issue.

Thanks in advance.

Kingster
12-10-2007, 11:05 PM
Couple of things that I'm (and my users) are looking for:

Add one more thing to the list - resumable downloads: Some code along these lines:
<?php
function dl_file_resume($file){

//First, see if the file exists
if (!is_file($file)) { die("<b>404 File not found!</b>"); }

//Gather relevent info about file
$len = filesize($file);
$filename = basename($file);
$file_extension = strtolower(substr(strrchr($filename,"."),1));

//This will set the Content-Type to the appropriate setting for the file
switch( $file_extension ) {
case "exe": $ctype="application/octet-stream"; break;
case "zip": $ctype="application/zip"; break;
case "mp3": $ctype="audio/mpeg"; break;
case "mpg":$ctype="video/mpeg"; break;
case "avi": $ctype="video/x-msvideo"; break;
default: $ctype="application/force-download";
}

//Begin writing headers
header("Cache-Control:");
header("Cache-Control: public");

//Use the switch-generated Content-Type
header("Content-Type: $ctype");
if (strstr($_SERVER['HTTP_USER_AGENT'], "MSIE")) {
# workaround for IE filename bug with multiple periods / multiple dots in filename
# that adds square brackets to filename - eg. setup.abc.exe becomes setup[1].abc.exe
$iefilename = preg_replace('/\./', '%2e', $filename, substr_count($filename, '.') - 1);
header("Content-Disposition: attachment; filename=\"$iefilename\"");
} else {
header("Content-Disposition: attachment; filename=\"$filename\"");
}
header("Accept-Ranges: bytes");

$size=filesize($file);
//check if http_range is sent by browser (or download manager)
if(isset($_SERVER['HTTP_RANGE'])) {
list($a, $range)=explode("=",$_SERVER['HTTP_RANGE']);
//if yes, download missing part
str_replace($range, "-", $range);
$size2=$size-1;
$new_length=$size2-$range;
header("HTTP/1.1 206 Partial Content");
header("Content-Length: $new_length");
header("Content-Range: bytes $range$size2/$size");
} else {
$size2=$size-1;
header("Content-Range: bytes 0-$size2/$size");
header("Content-Length: ".$size);
}
//open the file
$fp=fopen("$file","rb");
//seek to start of missing part
fseek($fp,$range);
//start buffered download
while(!feof($fp)){
//reset time limit for big files
set_time_limit(0);
print(fread($fp,1024*8));
flush();
ob_flush();
}
fclose($fp);
exit;
}
?>

RS_Jelle
12-11-2007, 05:44 AM
Suddenly, members are getting "ERROR: File not found" on just some files they want to download. The files are physically there in the downloads folder.

Any idea what might be causing this?

Thanks in anticipation

Did you change servers? Check the chmod of the downloads folder, is it still 777? And do the files inside of it (not the images) have got a 666 chmod?

Hey Folks

I had this installed and working great and then added a new skin to the site (style) Now when I try and download something It tells me I've excided my Daily Limit. I'm ADMIN and have checked all the permissions for DownloadsII and have NO restrictions on group and checked all the settings. I did find that I had to re-import a lot of my other products to get them to work in this style so My question is ....

If I re-install the DownloadsII Product will it Kill all the Files and catagories I already have in there, this really would not be good... Is there another way to tell it to work with a new style without re-installing?

Thanks to ALL ...

Termi

That's pretty strange. I don't know how a new style could cause such an error (caused by the DownloadsII PHP code, it hasn't anything to do with the style normally). Are you really sure about the settings of the limits?

If you reinstall (or better said: uninstall and install), all the database stuff will be removed during the uninstall, so you lose all of your data (except uploaded files in your downloads folder). I suggest you to import the product XML again (without uninstalling first!) with the "Allow overwrite" option on. Then the templates etc. are added again to all styles (but it doesn't overwrite template modifications, but that's not the problem).

I am sure this may have been answered but I haven't found it. When linking to a file such as on downloads.com the url being huge this mod does not accept the entire url. Is there a fix for this? I know the demo Minatica.be Downloads (http://www.minatica.be/downloads.php) is working fine with this method so evidently there is an edit I can make somewhere to accommodate this issue.

Thanks in advance.

That hasn't anything to do with the demo as we are having the same limitation there.

But it's easy to get rid off :)
It's no database limitation (it's a text field, so plenty of space), but an HTML limitation (the input field for links has got a maxlength of 250 characters. Just edit the downloads_file_addit template and change the maxlength in the following part of the code:
<input name="link" type="text" size="40" maxlength="250" <if condition="$file['link']==1">value="{$_POST['url']}"</if> />

@Kingster: We are working on v6, but at the moment I'm a bit busy (I've got examns at university in januari). There's already a lot of progress in it (more search options, extensions management -like the vB attachments-, default category sort options and a new category admin, ...). RSS, the search, ... are already suggested, so we try to integrate as much as things, but it's also slowing down a lot. I won't get to a release before the end of my exams, but I really want to finish it finally as we are talking already too long about the new version.

Strange about the category image thing. It's a hardcoded thing, but if there's no image, it's using the ecdownloads_download_pic defined image (I know, not that nice, but we wanted a default image everyone has got). Also note that the image should be placed in your styles buttons folder, that's probably your problem.

CyberRanger
12-11-2007, 01:49 PM
wow first install
thanks
We are only two installs away from 1,000!!! :D

maidos
12-12-2007, 12:01 AM
ok thanks...
beside on the previous version i could actually download using a download manager but on the latest it didnt work.
is it possible to support download manager?

Joshva
12-12-2007, 04:07 AM
How would i prevent the left nav being displayed? I run downloads 2 in vbadvanced and i already have the vbadvanced module displaying.

cellow
12-12-2007, 09:12 AM
Hi dev team,
i have 2 issues to talk about it :()

1.
Situation:
Moderate uploads = on
Problem:
After a "registred" user uploads a file, there comes a "database error page" (see attached screenshot)
But the file is 100% correctly uploaded + waiting for moderate
But if a admin uploads a file, there is no error page, its redirected to the uploaded file.


2. Stats of Uloads
Situation:
User have Uploads = 0
Uploads preferences are "moderated"
User uploads a file into downloadsII
Problem a):
The stat of "uploads" in postbid and memberinfo are directly counted. (User uploads = 1)
Normally, it should have to wait, until a admin has moderate the upload and give it free.
Problem b):
If the admin deletes the upload, the stat in postbit&memberinfo is still the same. (still user uploads = 1)
Normally, it shouldn't have to count the uploaded file.
My Gamble solution:
Use the "refresh count" function of DownloadsII, after that, the user upload = 0

regards

CyberRanger
12-12-2007, 01:25 PM
Hi dev team,
i have 2 issues to talk about it :()

1.
Situation:
Moderate uploads = on
Problem:
After a "registred" user uploads a file, there comes a "database error page" (see attached screenshot)
But the file is 100% correctly uploaded + waiting for moderate
But if a admin uploads a file, there is no error page, its redirected to the uploaded file.

Can you post the actual SQL error in English?

cellow
12-12-2007, 02:17 PM
there is no sql statement error or sql error ... only this page that says, that there is an error with the database.

RS_Jelle
12-12-2007, 04:40 PM
ok thanks...
beside on the previous version i could actually download using a download manager but on the latest it didnt work.
is it possible to support download manager?

As far as I know we didn't ever support download managers (yet). A download manager can pause a download and there has never been any PHP code to accomplish this (again: yet). I don't know how/why it could have worked some time (in each case without allowing to pause a download), but we consider this for v6.

How would i prevent the left nav being displayed? I run downloads 2 in vbadvanced and i already have the vbadvanced module displaying.

Set the 'Display "Tops" on all pages?' DownloadsII setting to No, but this won't help for the category view.

To remove it from that one, open downloads.php

Find:
eval('$dmain_jr = "' . fetch_template('downloads_cat') . '";');
eval('$dpanel = "' . fetch_template('downloads_panel_side') . '";');
eval('$dmain = "' . fetch_template('downloads_wrapper_side') . '";');
Replace with:
eval('$dmain_jr = "' . fetch_template('downloads_cat') . '";');
eval('$dmain = "' . fetch_template('downloads_wrapper_top') . '";');

there is no sql statement error or sql error ... only this page that says, that there is an error with the database.

Have a look at the source code of that database error page. Database errors are "hidden" since the vB 3.6 branch (you can find it between <pre> HTML tags).

For number 2: For a), this is at the moment the expected behaviour, but we should change it indeed. For b), this seems to be an issue when using the "Manage files" delete option (the modify_filecount_user() is missing there).
Use the delete option on the file page to fix this at the moment or open downloads.php:

Find the first occurence of:
$dl->modify_filecount($file['category'],-1);
Above this add:
$dl->modify_filecount_user($file['uploaderid']);

We are only two installs away from 1,000!!! :D

We've got 999 installs now, 1 more to go :D

Edit: 1000 installs, we reached it http://www.codinghorror.com/blog/images/dancing-banana.gif

maidos
12-12-2007, 06:42 PM
great :)

beside on 5.0.5 it acutally worked with a download manager called "free download manager"
www.freedownloadmanager.org/

i can confirm that it does work with 5.0.5 since all of my user seem to get it to work aswell

RS_Jelle
12-12-2007, 07:07 PM
great :)

beside on 5.0.5 it acutally worked with a download manager called "free download manager"
www.freedownloadmanager.org/

i can confirm that it does work with 5.0.5 since all of my user seem to get it to work aswell

Like I said: the only change to the actual download code we made between 5.0.5 and 5.0.6 is a small change to a header. Pausing downloads etc. requires other headers and HTTP requests, but we don't have such code at the moment in DownloadsII, so normally this change doesn't matter (we only included it as someone had some corruption problems with IE and this change fixed it, I don't know why, it only happened on his server).

To undo it:

Open downloads.php
Find
header("Content-Type: $ctype; name=\"".basename($filename)."\";");
Replace with
header("Content-Type: $ctype");

I don't know how this could affect the special pausing/resuming etc. features of a download manager.

Nomble
12-12-2007, 07:32 PM
Cant import the product.

Getting this.

XML Error: not well-formed (invalid token) at Line 1149

maidos
12-12-2007, 07:56 PM
thanks alot the edited code works

Nomble
12-12-2007, 08:07 PM
Another error now.

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/epicsi5/public_html/forum/admincp/plugin.php(1970) : eval()'d code on line 77

Database error in vBulletin 3.6.8:

Invalid SQL:
SHOW COLUMNS FROM `dl_cats` LIKE 'desc';

MySQL Error : Table 'epicsi5_vbulletin.dl_cats' doesn't exist
Error Number : 1146
Date : Wednesday, December 12th 2007 @ 02:06:44 PM
Script : http://www.epicsize.net/forum/admincp/plugin.php?do=productimport
Referrer : http://www.epicsize.net/forum/admincp/plugin.php?do=productadd
Classname : vb_database

RS_Jelle
12-12-2007, 08:28 PM
Cant import the product.

Getting this.

XML Error: not well-formed (invalid token) at Line 1149

Another error now.

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /home/epicsi5/public_html/forum/admincp/plugin.php(1970) : eval()'d code on line 77

Database error in vBulletin 3.6.8:

Invalid SQL:
SHOW COLUMNS FROM `dl_cats` LIKE 'desc';

MySQL Error : Table 'epicsi5_vbulletin.dl_cats' doesn't exist
Error Number : 1146
Date : Wednesday, December 12th 2007 @ 02:06:44 PM
Script : http://www.epicsize.net/forum/admincp/plugin.php?do=productimport
Referrer : http://www.epicsize.net/forum/admincp/plugin.php?do=productadd
Classname : vb_database

You get the second error because the import failed. There's nothing wrong with the XML as it works for other people and it validates perfectly when I throw it throught the W3C Validator.
Try to reupload/reimport the product XML with the overwrite option on.

Nomble
12-12-2007, 08:31 PM
I thinI got it now, but I can't seem to find the option to set usergroup permissions.

EDIT: Infact everything is screwy, after trying to upload the xml a couple it worked and the usermanager options appeared. But im still missing the admincp download options.

Pirat3
12-12-2007, 09:22 PM
hi i downloaded this, can anyone please tell me how to go to the download page where the created catagories exist? And where I can view the catarogies as if a guest would without having to install the download nav button on the README? thanks

cellow
12-12-2007, 09:35 PM
Have a look at the source code of that database error page. Database errors are "hidden" since the vB 3.6 branch (you can find it between <pre> HTML tags).

For number 2: For a), this is at the moment the expected behaviour, but we should change it indeed. For b), this seems to be an issue when using the "Manage files" delete option (the modify_filecount_user() is missing there).
Use the delete option on the file page to fix this at the moment or open downloads.php:

Find the first occurence of:
$dl->modify_filecount($file['category'],-1);
Above this add:
$dl->modify_filecount_user($file['uploaderid']);


Thx RS_JELLE -> IT WORKS PERFECT (hope you will fix it in new versions)
i found now the sql errors in the sourcecode of the html error page :)


<!--
Datenbankfehler in vBulletin 3.6.8:

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

MySQL-Error : Unknown column 'usergroup.usergroupid' in 'field list'
Error-Nr. : 1054
Date : Thursday, December 13th 2007 @ 12:30:32 AM
Skript : http://www.domainname.de/forum/downloads.php?do=add&amp;id=
Referrer : http://www.domainname.de/forum/downloads.php?do=add&amp;cat=
IP-Adresse : 80.135.99.182
Username : CAM
Classname : vB_Database

-->


I hope we can fix that asap.

Thank you for your support!
regards

cOuNtErFiET
12-12-2007, 09:47 PM
i have 5.0.6 installed and im god admin on my site and im getting
You don't have permission to access /forums/downloads.php on this server
and all the settings in the mod are set right and havent changed since 5.0.4 and i was getting this error with that version is it the host that i should contact or is there a quick fix that im overlooking?

Pirat3
12-12-2007, 10:13 PM
Problem fixed I assumed that admins would have access to downloads.php in usergroups, aparently they dont :)

Tom_S
12-12-2007, 10:54 PM
Love it! This mod is one of the best yet. Of course it could use some improvements but I see that being done already so I am not griping. This one I would pay for. One of the biggest issues I see with this though is having files posted with file size showing in BYTES. You have noobs not even knowing how to install it much less users that are going to know how to convert MB to BYTES so there for you are going to have a File Base full of (Unknown) for file size.

I would suggest having it so you can put whatever the actual file size is or none at all. I would prefer the actual file size.

Again..great mod. a few more tweaks and upgrades and this one will be one of the best yet. It is worth paying for. ;)

Joshva
12-13-2007, 02:02 AM
As far as I know we didn't ever support download managers (yet). A download manager can pause a download and there has never been any PHP code to accomplish this (again: yet). I don't know how/why it could have worked some time (in each case without allowing to pause a download), but we consider this for v6.



Set the 'Display "Tops" on all pages?' DownloadsII setting to No, but this won't help for the category view.

To remove it from that one, open downloads.php

Find:
eval('$dmain_jr = "' . fetch_template('downloads_cat') . '";');
eval('$dpanel = "' . fetch_template('downloads_panel_side') . '";');
eval('$dmain = "' . fetch_template('downloads_wrapper_side') . '";');
Replace with:
eval('$dmain_jr = "' . fetch_template('downloads_cat') . '";');
eval('$dmain = "' . fetch_template('downloads_wrapper_top') . '";');






Thanks for the response. I'd strongly suggest putting it as an option in downloads admin as anyone using your vbadvanced plugin will probably want to remove it :)

Cheers,
Josh

maidos
12-13-2007, 10:49 AM
is it possible to add a search field on the download main page?

CyberRanger
12-13-2007, 11:22 AM
hi i downloaded this, can anyone please tell me how to go to the download page where the created catagories exist?That option is in your admincp under Downloads.
And where I can view the catarogies as if a guest would without having to install the download nav button on the README? thankssimply go to your forum directory and type downloads.php in the address bar of your browser.

kaptanblack
12-13-2007, 11:39 AM
Thanks...

RS_Jelle
12-13-2007, 03:49 PM
I thinI got it now, but I can't seem to find the option to set usergroup permissions.

EDIT: Infact everything is screwy, after trying to upload the xml a couple it worked and the usermanager options appeared. But im still missing the admincp download options.

You probably missed uploading some files. Reupload all files from the DownloadsII upload folder again to your forums FTP. /includes/xml/cpnav_ecdownloads.xml is controlling the link in the left bar of the AdminCP, so you have missed already that one for sure (probably others also).

Thx RS_JELLE -> IT WORKS PERFECT (hope you will fix it in new versions)
i found now the sql errors in the sourcecode of the html error page :)


<!--
Datenbankfehler in vBulletin 3.6.8:

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

MySQL-Error : Unknown column 'usergroup.usergroupid' in 'field list'
Error-Nr. : 1054
Date : Thursday, December 13th 2007 @ 12:30:32 AM
Skript : http://www.domainname.de/forum/downloads.php?do=add&amp;id=
Referrer : http://www.domainname.de/forum/downloads.php?do=add&amp;cat=
IP-Adresse : 80.135.99.182
Username : CAM
Classname : vB_Database

-->


I hope we can fix that asap.

Thank you for your support!
regards

That's a problem with the DownloadsII PM moderation notification Add-On, not with DownloadsII itself. There are missing some TABLE_PREFIX codes, so that gives an issue if you are using a table prefix for vBulletin. You can find a fix here (https://vborg.vbsupport.ru/showpost.php?p=1201692&postcount=21), but I'm passing this to CyberRanger to include the fix by default as it's there already for a lot of months. It should be ok by default :)

i have 5.0.6 installed and im god admin on my site and im getting
You don't have permission to access /forums/downloads.php on this server
and all the settings in the mod are set right and havent changed since 5.0.4 and i was getting this error with that version is it the host that i should contact or is there a quick fix that im overlooking?

Check the chmod of your downloads.php and compare it with other vBulletin PHP files which are working. Mostly it should have a chmod 644.
You probably better contact your host to report this problem as it's a server configuration problem most of the times (wrong default chmod given by default or so).

Love it! This mod is one of the best yet. Of course it could use some improvements but I see that being done already so I am not griping. This one I would pay for. One of the biggest issues I see with this though is having files posted with file size showing in BYTES. You have noobs not even knowing how to install it much less users that are going to know how to convert MB to BYTES so there for you are going to have a File Base full of (Unknown) for file size.

I would suggest having it so you can put whatever the actual file size is or none at all. I would prefer the actual file size.

Again..great mod. a few more tweaks and upgrades and this one will be one of the best yet. It is worth paying for. ;)

If you are uploading a fill, we already put the correct size by default.
For linking, this isn't that easy to do automatically (the server could throw up a lot of errors, can be slow if it's a big file, ...). Working with a Bytes field is giving the most correct result, as MB's are a bit rough :)

You could always edit the downloads_file_addit template and put a link to a free bit calculator (http://www.matisse.net/bitcalc/).

is it possible to add a search field on the download main page?

You can edit the templates like you want as DownloadsII is fully templated :)
The main page HTML code is inside of the downloads_main template and a search field it pretty easy to add. Just add this HTML code where you want it and add some style to it like you want:

<form action="./downloads.php?do=search" method="post">
<br />{$vbphrase['ecdownloads_search_instructions']}
<br /><input type="text" name="query" maxlength="75" size="50" />&nbsp;<input type="submit" name="submit" value="{$vbphrase['ecdownloads_search']}" />
</form>

ReQueM
12-13-2007, 05:25 PM
Thank you for this great hack
But i can't download files via FlashGet :( 73186

RS_Jelle
12-13-2007, 08:02 PM
Thank you for this great hack
But i can't download files via FlashGet :( 73186

We don't support download managers at this moment.

cellow
12-13-2007, 11:28 PM
That's a problem with the DownloadsII PM moderation notification Add-On, not with DownloadsII itself. There are missing some TABLE_PREFIX codes, so that gives an issue if you are using a table prefix for vBulletin. You can find a fix here (https://vborg.vbsupport.ru/showpost.php?p=1201692&postcount=21), but I'm passing this to CyberRanger to include the fix by default as it's there already for a lot of months. It should be ok by default :)


result = positive
Works perfect!

Thank you master ;)

mark|3
12-14-2007, 05:08 PM
i have uploaded by placing a link(e.g. www.testsite.com/files/abc.doc) . But i think there is a problem the hyperlinks for both the Latest Files and most popular links. It displays in this manner www.testsite.com/forum/www.testsite.com/files/abc.doc. Any fix for this? Thanks

CyberRanger
12-14-2007, 05:43 PM
i have uploaded by placing a link(e.g. www.testsite.com/files/abc.doc) . But i think there is a problem the hyperlinks for both the Latest Files and most popular links. It displays in this manner www.testsite.com/forum/www.testsite.com/files/abc.doc. Any fix for this? ThanksI can't replicate that. Are you putting the link in the "Link to a File" box?

SbyD_Salient
12-15-2007, 02:55 AM
First up awesome mod dude, thanks for putting it at vborg

Clicked the installed button not sure if anything else is meant to happenn

Possibly to change user permissions to be either for individual downloads or categories? That would be exactly what we need <insert puppy dog eyes>

mirzonni
12-15-2007, 06:18 AM
I have a small question. How do you add that linke "add a file..." above the Latest File column on the left?

Example : http://www.bhraja.ca/forum/downloads.php

CyberRanger
12-16-2007, 01:25 AM
I have a small question. How do you add that linke "add a file..." above the Latest File column on the left?

Example : http://www.bhraja.ca/forum/downloads.phpI think this was done by editing the template downloads_panel_side. The link was placed at the very top of the template.

For example, if you wanted the words "Test Me!" to display where you have the link the template would look like:Test Me!
<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="100%" align="center"> ...

mark|3
12-16-2007, 02:36 AM
Yes i did. I simply ftp-ed the filed to the server and linked them manually.

I can't replicate that. Are you putting the link in the "Link to a File" box?

redslush
12-16-2007, 03:03 AM
Is it possible for you to tell me what template changes need to be made to get the category icons to look similar to http://www.minatica.be/downloads.php

As far as there being a separation from the icon and the cat name

thanks

Flep
12-16-2007, 05:19 AM
Hi,
my forum is running the 5.0.4 version.
I should like to upgrade but I am a bit scared :)
I have several important downloads, is there a possibility I lose them by upgrading ?

thank you

CyberRanger
12-16-2007, 06:00 PM
I have several important downloads, is there a possibility I lose them by upgrading ?

thank youNo chance at all. Simply follow the instructions. The only way you'd lose data is if you did an uninstall. Don't do that and you'll be fine!

Flep
12-16-2007, 06:43 PM
It worked great, thank you ! :)

ntloc
12-16-2007, 06:51 PM
is there anyway you can give us ETA on the new version, please? Christmas maybe?

Flep
12-17-2007, 08:26 AM
After the upgrade, I did not lose comments but I noticed the comment counts are showing 0.

CyberRanger
12-17-2007, 11:35 AM
After the upgrade, I did not lose comments but I noticed the comment counts are showing 0.Trying running "Update Counters".

cosy
12-17-2007, 03:40 PM
i get this error when add a file

/downloads.php(1392) : eval()'d code on line 67 any ideas ?

CyberRanger
12-17-2007, 04:08 PM
i get this error when add a file

/downloads.php(1392) : eval()'d code on line 67 any ideas ?

That line (1392) is when the hook dl_post_upload_add is called. Are you running any of the DownloadsII add-on's?

cosy
12-17-2007, 04:12 PM
yes i use DownloadsII PM and DownloadsII Create New Thread
i bet i miss sone settings :S

mark|3
12-18-2007, 05:05 AM
Yes i did. I simply ftp-ed the filed to the server and linked them manually.

the hyperlink for the most popular download is in this format >> http://www.xyz.com/forums/www.xyz.com/downloads.php?do=file&id=19

I can't replicate that. Are you putting the link in the "Link to a File" box?

Flep
12-18-2007, 05:55 AM
Trying running "Update Counters".
I did it...
still 0 :(

maidos
12-18-2007, 12:18 PM
is it possible to have keyword impleneted on every download files. it will certainly ease alot for ppl to get what they want.

RS_Jelle
12-18-2007, 01:16 PM
Yes i did. I simply ftp-ed the filed to the server and linked them manually.

the hyperlink for the most popular download is in this format >> http://www.xyz.com/forums/www.xyz.com/downloads.php?do=file&id=19

That's pretty strange as the url is created like this:
$url = $vbulletin->options['bburl']."/downloads.php?do=file&amp;id=$id";

So we take your vBulletin forums url and add the downloads part, which should work fine :)

Is your forum url correctly set in the vB options (without an ending slash)? Have you modified the DownloadsII templates?

I did it...
still 0 :(

Reupload (and overwrite) all the 5.0.6 files again to your forums FTP. You should have missed the /includes/class_download.php file which was updated to fix the 0 comments counter problem (after running the update counters).
I tested the fix and it should really work :)

@All: I just tested it and DownloadsII 5.0.6 works fine on the new vB 3.7 beta 2.

mark|3
12-18-2007, 03:07 PM
Hi Jelle

I have checked the url and it correct format. And i did not modify the quotes for the link.
I typed the location of the file in "Link to a File". Will it be convenient if you could view my site?

Thanks


That's pretty strange as the url is created like this:
$url = $vbulletin->options['bburl']."/downloads.php?do=file&amp;id=$id";

So we take your vBulletin forums url and add the downloads part, which should work fine :)

Is your forum url correctly set in the vB options (without an ending slash)? Have you modified the DownloadsII templates?

RS_Jelle
12-18-2007, 03:24 PM
Will it be convenient if you could view my site?

Yes, that would be better :)

jimjam
12-19-2007, 06:28 AM
User are getting file not found errors on some downloads

Did you change servers? Check the chmod of the downloads folder, is it still 777? And do the files inside of it (not the images) have got a 666 chmod?


Yes the downloads folder is 777 and all the files are 666. We installed VBSEO at around the time the downloads stopped working. Whould this have anything to do with some of the files not being found?

Flep
12-19-2007, 06:57 AM
Reupload (and overwrite) all the 5.0.6 files again to your forums FTP. You should have missed the /includes/class_download.php file which was updated to fix the 0 comments counter problem (after running the update counters).
I tested the fix and it should really work :)

Yeah ! worked great.. thank you :)

mark|3
12-19-2007, 07:12 AM
thank you Jelle for your help :D

Poeta
12-19-2007, 10:26 AM
hi guys,

one of my users is trying to upload a 80mb file.. the upload works but there is no trace of the file. Any ideas? Is there a limit of mb that can be uploaded?

Thanks :)

CyberRanger
12-19-2007, 12:37 PM
hi guys,

one of my users is trying to upload a 80mb file.. the upload works but there is no trace of the file. Any ideas? Is there a limit of mb that can be uploaded?

Thanks :)Are you SURE the upload worked? Normally, your web server won't permit that big of an upload unless you've modified the config files or .htaccess.

From prior posts in this thread:

however when I upload a media clip of something 2MB+ it comes up with

Upload Error! Can Not Upload.


tell me what to do plz.
Like Jelle has said already, you need to create a file named .htaccess (note 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.

Poeta
12-19-2007, 07:11 PM
Thanks Cyb i'll try manually and give a look for the file you talked about.

xcesiv
12-19-2007, 10:24 PM
with this mod, is it possible to restrict who can use the downloads per user group.

Stifmeister2
12-20-2007, 09:05 AM
with this mod, is it possible to restrict who can use the downloads per user group.
Yes.

jimjam
12-20-2007, 10:43 AM
User are getting file not found errors on some downloads



Yes the downloads folder is 777 and all the files are 666. We installed VBSEO at around the time the downloads stopped working. Whould this have anything to do with some of the files not being found?

Sory for them bump. Does anyone have any idea why downloads is not now findiing files?

RiosJoe
12-20-2007, 10:57 AM
I installed the plug in, add files is fine for me. However, I'm trying to import a mass amount of files and I get this specific error:

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

I have no idea what that means or how to fix it >.>

CyberRanger
12-20-2007, 11:58 AM
I installed the plug in, add files is fine for me. However, I'm trying to import a mass amount of files and I get this specific error:

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

I have no idea what that means or how to fix it >.>Do you see a listing of files when you click on import? If yes, are you selecting any of the files before you submit the page?

RiosJoe
12-20-2007, 12:04 PM
Nevermind, I seem to randomly fix it. However, its different now.

Database error in vBulletin 3.6.8:

Invalid SQL:
INSERT INTO dl_files (`name`, `description`, `author`, `_author`, `uploader`, `uploaderid`, `url`, `date`, `category`, `size`, `pin`)
VALUES('Test1 (Part 1)', '1', 'FuKer', 'FuKer', 'RiosJoe', '1', 'test.zip', 1198161075, '1', 1337133700, '0');

MySQL Error : MySQL server has gone away
Error Number : 2006
Date : Thursday, December 20th 2007 @ 07:33:25 AM
Script : http://riosjoe.net/forums/admincp/downloadadmin.php?do=doimport
Referrer : http://riosjoe.net/forums/admincp/downloadadmin.php?do=preimport
IP Address : 66.214.34.235
Username : RiosJoe
Classname : vB_Database

CyberRanger
12-20-2007, 01:28 PM
Nevermind, I seem to randomly fix it. However, its different now.

Database error in vBulletin 3.6.8:

Invalid SQL:
INSERT INTO dl_files (`name`, `description`, `author`, `_author`, `uploader`, `uploaderid`, `url`, `date`, `category`, `size`, `pin`)
VALUES('Test1 (Part 1)', '1', 'FuKer', 'FuKer', 'RiosJoe', '1', 'test.zip', 1198161075, '1', 1337133700, '0');

MySQL Error : MySQL server has gone away
Error Number : 2006
Date : Thursday, December 20th 2007 @ 07:33:25 AM
Script : http://riosjoe.net/forums/admincp/downloadadmin.php?do=doimport
Referrer : http://riosjoe.net/forums/admincp/downloadadmin.php?do=preimport
IP Address : 66.214.34.235
Username : RiosJoe
Classname : vB_Database
Be sure to check the "Import" box at the end of the file's listing too for each file.

The above error doesn't have anything to do with Downloads. Your mysql server instance is mad.

RiosJoe
12-20-2007, 01:37 PM
Yeah, its not liking big files to be uploaded it seems. However, since my current host limits HTTP speed, I need to figure out a way to allow uses to use download Managers with this mod. I've tried it and it only allows them to download downloads.php.

Hornstar
12-21-2007, 12:09 PM
Hey now that 3.7 beta is out, will this work with this, or will some changes need to be made for it to work.

Thanks.

RS_Jelle
12-21-2007, 01:39 PM
Hey now that 3.7 beta is out, will this work with this, or will some changes need to be made for it to work.

Thanks.

I tested it with beta 2 and it works fine (didn't test it with beta 3 yet, but that can't be a problem normally) :)

SbyD_Salient
12-23-2007, 02:19 AM
Yes.

Thanks dude, my question got lost a few pages back :) Just testing it out now on our site and this mod rocks. Once I work out how to donate will send something to the author in the new year :)

Okay back to working out how to put the link into the forum so our massive 9 members can have a play with it. (We aren't live yet).

Very easy mod to install.

Uhmmm Stifmeister where the heck do you edit permissions?

Can't seem to locate anything in the ACP, though at this stage of my vBulletin education it's a place off the edge of the World. One of my other Admins is screaming at me not to change anything :D

Stifmeister2
12-23-2007, 03:11 PM
Thanks dude, my question got lost a few pages back :) Just testing it out now on our site and this mod rocks. Once I work out how to donate will send something to the author in the new year :)

Okay back to working out how to put the link into the forum so our massive 9 members can have a play with it. (We aren't live yet).

Very easy mod to install.

Uhmmm Stifmeister where the heck do you edit permissions?

Can't seem to locate anything in the ACP, though at this stage of my vBulletin education it's a place off the edge of the World. One of my other Admins is screaming at me not to change anything :D
They are in the "Usergroup Manager", just edit every user group and give them the permissions you want. ;)

SbyD_Salient
12-23-2007, 10:55 PM
They are in the "Usergroup Manager", just edit every user group and give them the permissions you want. ;)

Ohhh awesome feature for vB when you quote it doesn't include other quotes in the post :up:

Thanks dude, eventually will get around to working out the ACP.

Stifmeister2
12-24-2007, 03:36 PM
Ohhh awesome feature for vB when you quote it doesn't include other quotes in the post :up:

Thanks dude, eventually will get around to working out the ACP.
Yeah that is standard vBulletin behaviour. I guess you've used Invision before? :p

S7rik3R
12-26-2007, 02:19 PM
Thanks for this mod I likes it very much ... it's save all my troubles to hunt for places to upload my files.

*Installed*

Thanks ~

maidos
12-27-2007, 11:33 AM
is it possible to completly remove all data about the uploaders name ?

RS_Jelle
12-27-2007, 07:25 PM
is it possible to completly remove all data about the uploaders name ?

You already asked (https://vborg.vbsupport.ru/showpost.php?p=1379221&postcount=1906) this a month ago and I already gave you the answer (https://vborg.vbsupport.ru/showpost.php?p=1379626&postcount=1908).

maidos
12-28-2007, 06:11 AM
i did but however like i said i want to delete it completly, if i enable the code again the name of the uploaders will show up, i want it to vanished completely from the datatbase
and if i go to manage files i still see the uploaders name

maidos
12-28-2007, 06:42 PM
one feature request, can u implent a click box on all files so the staff can easily mass delete the files

let say i got 80 files in one category and i wanna delete 50 files.. it would eat alot of my time deleting one after another if you implent one clickbox it will save alot of time...

RS_Jelle
12-28-2007, 06:54 PM
i did but however like i said i want to delete it completly, if i enable the code again the name of the uploaders will show up, i want it to vanished completely from the datatbase

You can do that, but then you will need to do a lot of changes (PHP changes next to the the simple template edit) each release of DownloadsII.

We are not going to remove it as it's a pretty logical feature for a downloads mod. Most DownloadsII users are using it.

and if i go to manage files i still see the uploaders name

Remove this part from the downloads_man_bit template:
{$vbphrase['ecdownloads_uploaded_by']} <a href="member.php?u={$file['uploaderid']}">{$file['uploader']}</a>

Two template edits are way easier than removing it also from the database (with database removal, you will still need to do the template edits). If you don't see it, why is it then so important to remove it from the database?

Just removing the uploader id from the database doesn't solve it all (as that would cause database errors without the PHP edits for every new release).

one feature request, can u implent a click box on all files so the staff can easily mass delete the files

let say i got 80 files in one category and i wanna delete 50 files.. it would eat alot of my time deleting one after another if you implent one clickbox it will save alot of time...

Manage Files can do that? :)
Search for the files you want with the select boxes at the top, then check the files you want and select the action (for example delete) at the bottom select box.

maidos
12-28-2007, 07:05 PM
Thanks :)

Actually no, since my hdd got bad sector it was replaced with a new hard disk. surely u remember when i always get the error file down issue lol

Bad news came and they only was able to recover 40 % of my files. So most files on the download page is being there with with dead links. Theres no way i can go to manage my files to delete it. takes even more time . i need to test all files if they work or not before i delete it :(
which is why having click box could save me alot of grief

RS_Jelle
12-28-2007, 07:29 PM
Thanks :)

Actually no, since my hdd got bad sector it was replaced with a new hard disk. surely u remember when i always get the error file down issue lol

Bad news came and they only was able to recover 40 % of my files. So most files on the download page is being there with with dead links. Theres no way i can go to manage my files to delete it. takes even more time . i need to test all files if they work or not before i delete it :(
which is why having click box could save me alot of grief

I understand, but you are asking a lot of stuff and we are creating DownloadsII in our free time.

Always take a backup at least every week if your site is changing quick.
But I thought you were using RAID? So one bad disk can't be a problem (except for RAID0, which isn't a real RAID level) as you still have got a duplicate of all the content.
Also with RAID a good backup system is necessary (for example when you are hacked, then it's changed on all the disks). RAID only protects you from hardware failure.

maidos
12-28-2007, 07:35 PM
well i used raid0 actually :/ the company said my server got3ware so i thought it was alright....

hm yeah i know its ur free time... but if u can make some vote or something and see if many ppl want that feature, would u do it?

RS_Jelle
12-28-2007, 07:56 PM
well i used raid0 actually :/ the company said my server got3ware so i thought it was alright....


hm yeah i know its ur free time... but if u can make some vote or something and see if many ppl want that feature, would u do it?

I don't think that many people have got a hd crash problem like that :)

You can also use phpMyAdmin to do this. The dl_files table is pretty easy to find and to handle manually.

ZatroX
12-28-2007, 10:34 PM
Im not to sure on the instructions for upgrading, i have version 5.0.5 with downloads on it already and stuff, if i wanna upgrade i just upload and replace all the files with the ones in the upload folder from the package? and everything is done?

steven s
12-29-2007, 12:57 AM
I have a few members listed as Top Contributors with 0 files.
The plugin is brand new. They haven't contributed anything.
Where do their names come from?

Mrdby
12-29-2007, 03:20 AM
How do I set it so only subscribed people can download?

RS_Jelle
12-29-2007, 06:09 AM
Im not to sure on the instructions for upgrading, i have version 5.0.5 with downloads on it already and stuff, if i wanna upgrade i just upload and replace all the files with the ones in the upload folder from the package? and everything is done?

Yes, just overwrite all the old files with the new ones in the upload folder. Then import the new product XML to your product section in the AdminCP (and turn the overwrite option on while importing).

I have a few members listed as Top Contributors with 0 files.
The plugin is brand new. They haven't contributed anything.
Where do their names come from?

It's because there's no limit at the moment and so it just gets the first x members it can get from the users table (with the highest upload counter, but in the beginning that's all 0). It gets fixed while you are adding files and there are real uploaders. You can change the amount of top contributors in the AdminCP (DownloadsII settings).

How do I set it so only subscribed people can download?

Just use the usergroup permissions and put them in another usergroup. That's it :)

maidos
12-29-2007, 10:43 AM
but i dont know where to edit on phpmyadmin im not that familiar care to help please?

oh on manage my files can i somehow get more files in one page... like 100 files per page

heres another suggestion (think this one will benefit everyone)
create a link for all files for everyone to report a dead file

Animparadise
12-30-2007, 04:45 AM
hi man.
i always getting "The upload failed! Upload error" when uploading files bigger than 1 mb but there is no problem with small files, what's the problem?

RS_Jelle
12-30-2007, 09:37 AM
hi man.
i always getting "The upload failed! Upload error" when uploading files bigger than 1 mb but there is no problem with small files, what's the problem?

That's because of the default upload limit of PHP.

You need to create a file named .htaccess (note 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.

Animparadise
12-31-2007, 01:41 AM
That's because of the default upload limit of PHP.

You need to create a file named .htaccess (note 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.

thx man
i'm sorry to not searched in previous pages, its better to put the solution in first post:rolleyes:
most people have same problem:up:

Humayun1
12-31-2007, 09:15 AM
Hello i have downloaded and installed this mod and is working perfect. Am also getting a good response by my members because of such a nice tool added to forum. I am having a little problem while integrating google adsense in my software download section. I have selected to show ads after the first post in the thread but when i do a post (post the description and link of software) in the download section then no ads are displayed there after my post.

Can you please tell me how can i display ads after every first post in the download mod.

Thanks

RedBird
12-31-2007, 10:51 AM
Thank you bro working 100% With vb 3.6.5

Jase2
12-31-2007, 03:56 PM
Hi,

When you say Find in MEMBERINFO is that just the MEMBERINFO template or is it in one with them?

Sorry i am just lost on finding it.

Stifmeister2
12-31-2007, 06:45 PM
It's the basic MEMBERINFO template that every vBulletin has by default.

Jase2
12-31-2007, 07:05 PM
I'm on step 3 but I don't get it. I've uploaded all files ect.. But there is no downloads directory on my web server, and in the upload folder you have download, and then a document. Please could you explain further to me.

Regards Jason :)

RS_Jelle
12-31-2007, 07:11 PM
Hello i have downloaded and installed this mod and is working perfect. Am also getting a good response by my members because of such a nice tool added to forum. I am having a little problem while integrating google adsense in my software download section. I have selected to show ads after the first post in the thread but when i do a post (post the description and link of software) in the download section then no ads are displayed there after my post.

Can you please tell me how can i display ads after every first post in the download mod.

Thanks

DownloadsII comments hasn't got anything to do with forum posts and the DownloadsII code isn't listening to such a first post setting from another mod we don't know :p

DownloadsII is fully templated, so you can add Google AdSense code pretty easily. The comment bit template is downloads_file_comment. At the end of the template code of downloads_file_comment, you can add for example:
<if condition="$comment['id'] == 1">
Your AdSense code here
</if>
so it will display your AdSense code after the first comment.

Thank you bro working 100% With vb 3.6.5

Nice to hear, but I suggest you to upgrade to vB 3.6.8 PL2 for security reasons :)

I'm on step 3 but I don't get it. I've uploaded all files ect.. But there is no downloads directory on my web server, and in the upload folder you have download, and then a document. Please could you explain further to me.

Regards Jason :)

In the first step you uploaded the content of the upload folder (not the folder itself) to your vBulletin forums directory.

So downloads.php is uploaded to the same folder where you can find index.php, forumdisplay.php, showthread.php and the other vBulletin root files. The upload folder also contais a downloads folder (with an index.html in it), so after uploading all the content the downloads folder is standing next to for example the vBulletin includes folder on your FTP.

Step 3: You just give that downloads folder a chmod to 777 permissions (right click on it in your FTP program, choose for chmod, "file permissions", "file properties", or something like that and give the folder the 777 permissions).

Jase2
12-31-2007, 07:44 PM
I've done it all, but I'm getting a white page when I type the url with downloads on the end.

Regards Jason :)

RS_Jelle
12-31-2007, 09:01 PM
I've done it all, but I'm getting a white page when I type the url with downloads on the end.

Regards Jason :)

You can't access the downloads folder, you need to access downloads.php in your browser :)

Like for example http://www.yoursite.com/forums/downloads.php (if you have vBulletin installed in a directory called forums)

Btw: click install to receive future update notifications.

Snookieboy
01-01-2008, 02:53 AM
I just installed a fresh copy on a vb 3.6.8 forum and have a couple of questions.

When I go to download.php it shows at the bottom:
Downloads: 4294967295

Which is a bit impossible for a freshly installed mod.

Secondly, when important a file from a link it needs to know the size in bytes, whats the reason for this? Does it go and fetch the file and add it so it needs the size, or does it just link it, and the size is for user reference on the board?

Many thanks for a great mod :)

Jase2
01-01-2008, 06:04 PM
Like for example http://www.yoursite.com/forums/downloads.php (if you have vBulletin installed in a directory called forums)

Iv done that but im getting the 500 Internal Server error.

The file is there FACT.

So i dont know why its not coming up with anything.
http://www.thecomputerforumz.com/vbtest/downloads.php

ZatroX
01-01-2008, 06:48 PM
RS_Jelle

thank you for responsce, i went into ftp replaces file and when i tried uploading new product selecting overight i got this error message

---------

A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:

* Bitfield Collision: prefixrequired = credits_cantearn
-----------------------

was wondering hwo i could fix this...

Forum Lover
01-01-2008, 07:21 PM
is it working with 3.7 beta 3?

RS_Jelle
01-02-2008, 07:13 AM
I just installed a fresh copy on a vb 3.6.8 forum and have a couple of questions.

When I go to download.php it shows at the bottom:
Downloads: 4294967295

Which is a bit impossible for a freshly installed mod.

Secondly, when important a file from a link it needs to know the size in bytes, whats the reason for this? Does it go and fetch the file and add it so it needs the size, or does it just link it, and the size is for user reference on the board?

Many thanks for a great mod :)


That's pretty strange, never heard of such a bug before :p
Go to the dl_main table using phpMyAdmin and set the downloads field to 0 :)
or run this query:
UPDATE dl_main SET `downloads`= 0

You can leave the size field empty if you want. It's only for user reference (DownloadsII will display "file size: unknown" if it's empty).
If you upload files, it's filled in for you automatically of course.


Iv done that but im getting the 500 Internal Server error.

The file is there FACT.

So i dont know why its not coming up with anything.
http://www.thecomputerforumz.com/vbtest/downloads.php

That's a problem with your server, not a DownloadsII problem.
Try reuploading and overwriting all the php, xml, ... files of DownloadsII on your FTP. Also reimport the XML (with the overwrite option on).

RS_Jelle

thank you for responsce, i went into ftp replaces file and when i tried uploading new product selecting overight i got this error message

---------


A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:

* Bitfield Collision: prefixrequired = credits_cantearn
-----------------------

was wondering hwo i could fix this...

There are some other people having this problem also (link (http://www.vbulletin.com/forum/showthread.php?p=1477777), link 2 (http://www.vbulletin.com/forum/showpost.php?p=1470287&postcount=200), ...). This is a problem with your credits addon, not with DownloadsII. You need to uninstall the credits addon and remove all files of it from your FTP.

is it working with 3.7 beta 3?

Yes, except for the optional memberinfo template edits as the 3.7 member page has been revamped completely :)

maidos
01-03-2008, 06:34 AM
on the download page it says "add" do you know where i can remove that name and change it "Upload files here"

Helmut71
01-03-2008, 06:43 AM
will there be a new version of this for 3.7?

RS_Jelle
01-03-2008, 07:02 AM
on the download page it says "add" do you know where i can remove that name and change it "Upload files here"

DownloadsII is fully phrased at the frontend, so just go to Languages & Phrases in your AdminCP, find the phrase and change it. It's inside the Downloads phrase type category and has got the dl2_add varname.

will there be a new version of this for 3.7?

This version also works with vBulletin 3.7 (except for the optional profile template changes) :)

maidos
01-03-2008, 09:24 AM
thanks alot

se_p800
01-03-2008, 11:46 PM
How to I add a thumbnail to files?

RS_Jelle
01-04-2008, 05:41 AM
How to I add a thumbnail to files?

After adding a file (with it's file name, description, link or upload, ...) you will see an image upload form at the bottom of the file page.

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

se_p800
01-04-2008, 11:55 AM
ooo lovely thanks for the fast response!

Fraik
01-04-2008, 12:42 PM
Is there any way to make this system use FTP instead of PHP for uploads? I people uploading game modifications and trailers, that have files over 100 MB, and php isn't really a great option for that (timeouts, memory limit issues etc)

se_p800
01-04-2008, 01:46 PM
Yes i would like to know also..

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

You have a download image instead of download text. how would I do this?

RS_Jelle
01-05-2008, 05:22 PM
Is there any way to make this system use FTP instead of PHP for uploads? I people uploading game modifications and trailers, that have files over 100 MB, and php isn't really a great option for that (timeouts, memory limit issues etc)

That's not easily possible at this moment. The only other solution is the import feature in the AdminCP.

Yes i would like to know also..

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

You have a download image instead of download text. how would I do this?

It's there by default: /images/buttons/download.gif, but you need to upload it also to the buttons folders of your other styles if you aren't using the default images folder.

se_p800
01-05-2008, 06:24 PM
Thanks a lot :D

All is fine now. Except it wont except the extesion bmp even when I add it to the list??

jimjam
01-06-2008, 06:33 PM
Suddenly we are getting file not found errors. The files are physically there, the downloads folder is 777 and all the files are 666. We installed VBSEO at around the time the downloads stopped working. Whould this have anything to do with some of the files not being found?

Thanks in anticipation

drpeppper
01-06-2008, 11:11 PM
hi i just moved servers. all of the download links are telling me Error: File Not Found.
I know its correct because all of the thumbnails work, its just the download link to actual files.

Can someone please help?

cellow
01-07-2008, 01:28 AM
Hi DownloadsII Users :)

If i change a Users nickname in vbulletin, the database tables of DownloadsII did not change. the column
dl_downloads.user
UPDATE `vb3_dl_downloads` SET `user` = "xyz" WHERE `userid` = 123
or
dl_files.uploader
UPDATE `vb3_dl_files` SET `uploader` = "xyz" WHERE `uploaderid` = 123
or
dl_comments.author
UPDATE `vb3_dl_comments` SET `author` = "xyz" WHERE `authorid` = 123
or
dl_images.uploader
UPDATE `vb3_dl_images` SET `uploader` = "xyz" WHERE `uploaderid` = 123
are existing with the old "username".

Is there any possibility to mass-update / mass-sync all nicknames in the DownloadsII tables with the actually existing nicknames in the vbulletin user table?


Thank you 4 ur support :)

loki-sama
01-07-2008, 07:22 AM
I have this Mod, but I have noticed something with happening with it. I have it set up so that a member with less then 30 posts can only download one file per day. The thing is, I've notice that there are some people that are able to beat this and are downloading multiple files in a single day. How are they doing this, and how can I stop this from happening?

EDIT:
Also I have noticed that whenever we add a file, some files become unapproved, or unpinned. Is there a way to stop this as well?

se_p800
01-07-2008, 06:58 PM
I know the amount of questions is accumulating so I am unlikely to get a answer, but is there anyway to get the thumbnails bigger?

Thanks

hugh_
01-07-2008, 07:21 PM
Could I suggest an optional captcha prompt (e.g: a random question) for every download?

Chazz Layne
01-07-2008, 09:53 PM
I'm having trouble getting this going on a clean install of 3.6.8 (no other hacks... yet). The install went smoothly from what I can tell, but I kept getting the standard vB "nopermissions" when going to downloads.php even though I have set them several times. When I went back to do it again, I noticed all of them are back at the default "no" and continue to revert back to this. Obviously, the permissions I set are not making it into the database...

Chazz Layne
01-07-2008, 11:24 PM
Well, it doesn't appear specific to this hack as I've just installed PhotoPlog and I'm getting the same problem for it's permissions. Hopefully, some commonality between the two will make the problem easier to find...

After a little more digging I'm finding it's a little more complex of a problem. I don't know how the number-value in the database is calculated from the form inputs, but that is probably where the problem is happening. I get a different outcome every time I try a different combination of permission-options... ranging from all yes, to all no, to completely random ...and some permission-options work just fine if they are the only ones changed.

The stock permission sets are unaffected by this, it's only these two (now) add-ons.

/me keeps digging...

maidos
01-08-2008, 11:44 AM
Hello
im having a major issue due to high load im experiencing. The hosting company strongly recommended me to move all files to ftp as the cpu is being extremly drained and causong the server downtime almost everyday.

But the issue is that i cant rename all files to ftp since i have uploaded all files on admincp and import and theres no url for me to edit that :( please advice

hugh_
01-08-2008, 06:43 PM
Since upgrading from php4 to php5 I keep getting the following errors and very substantially the value of increasing wait_timeout and max_allowed_packet in my.cnf hasn't helped. Any thoughts? All help gratefully received of course...

Hugh

ps: IPs removed.

Database error in vBulletin 3.5.4:

Invalid SQL:

INSERT IGNORE INTO session
(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass)
VALUES
('aefad92623ce39d0197d87f57e914a60', 18587, 'xxx', '4164986e4a5501b76beee7e032910783', 1199823363, '/vbulletin/downloads.php?do=file&amp;id=333&amp;act=down', 0, 0, 0, 0, 0, 0, 0, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; SIMBAR=0; MEGAUPLOAD 2.0)', 0);

MySQL Error : MySQL server has gone away Error Number : 2006
Date : Tuesday, January 8th 2008 @ 02:37:58 PM
Script : http://www.xxx.com/vbulletin/downloads.php?do=file&id=333&act=down
Referrer : http://www.xxx.com/vbulletin/downloads.php?do=cat&id=19
IP Address : xxx
Username : xxx
Classname : vB_Database

maidos
01-09-2008, 12:07 PM
beside what do u think about the feature to report dead links?

uydudoktoru
01-12-2008, 08:58 AM
hello ! Upload Your Files To External Server setting ?

RS_Jelle
01-12-2008, 01:40 PM
Suddenly we are getting file not found errors. The files are physically there, the downloads folder is 777 and all the files are 666. We installed VBSEO at around the time the downloads stopped working. Whould this have anything to do with some of the files not being found?

Thanks in anticipation

Disable vBSEO and try again :)
I don't use vBSEO myself, so I don't know how it works with DownloadsII.

hi i just moved servers. all of the download links are telling me Error: File Not Found.
I know its correct because all of the thumbnails work, its just the download link to actual files.

Can someone please help?

Check the chmod of the downloads folder and ec_tmp subfolder. They should be 777 (writable). The files inside of the downloads folder should have a 666 chmod normally.

Hi DownloadsII Users :)

If i change a Users nickname in vbulletin, the database tables of DownloadsII did not change. the column
dl_downloads.user
UPDATE `vb3_dl_downloads` SET `user` = "xyz" WHERE `userid` = 123
or
dl_files.uploader
UPDATE `vb3_dl_files` SET `uploader` = "xyz" WHERE `uploaderid` = 123
or
dl_comments.author
UPDATE `vb3_dl_comments` SET `author` = "xyz" WHERE `authorid` = 123
or
dl_images.uploader
UPDATE `vb3_dl_images` SET `uploader` = "xyz" WHERE `uploaderid` = 123
are existing with the old "username".

Is there any possibility to mass-update / mass-sync all nicknames in the DownloadsII tables with the actually existing nicknames in the vbulletin user table?


Thank you 4 ur support :)

There's no mass update method for this at the moment. Running those queries manually is an option.

We should place a plugin in the AdminCP so it runs those queries after a username update.
* RS_Jelle notes it down :)

I have this Mod, but I have noticed something with happening with it. I have it set up so that a member with less then 30 posts can only download one file per day. The thing is, I've notice that there are some people that are able to beat this and are downloading multiple files in a single day. How are they doing this, and how can I stop this from happening?

EDIT:
Also I have noticed that whenever we add a file, some files become unapproved, or unpinned. Is there a way to stop this as well?


Check the "Use strict daily download limits." usergroup setting. Probably it's set to No and the amount of allowed MB's to download is a higher value (or unlimited, -1).
That's controlled by the "Can Avoid Moderation Queue" usergroup permission.


I know the amount of questions is accumulating so I am unlikely to get a answer, but is there anyway to get the thumbnails bigger?

Thanks

That's not possible at the moment. You can change it in downloads.php, but this doesn't affect old thumbnails then (and you can't recount them at the moment like vB attachment thumbnails).

Since upgrading from php4 to php5 I keep getting the following errors and very substantially the value of increasing wait_timeout and max_allowed_packet in my.cnf hasn't helped. Any thoughts? All help gratefully received of course...

Hugh

ps: IPs removed.

Database error in vBulletin 3.5.4:

Invalid SQL:

INSERT IGNORE INTO session
(sessionhash, userid, host, idhash, lastactivity, location, styleid, languageid, loggedin, inforum, inthread, incalendar, badlocation, useragent, bypass)
VALUES
('aefad92623ce39d0197d87f57e914a60', 18587, 'xxx', '4164986e4a5501b76beee7e032910783', 1199823363, '/vbulletin/downloads.php?do=file&amp;id=333&amp;act=down', 0, 0, 0, 0, 0, 0, 0, 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; SIMBAR=0; MEGAUPLOAD 2.0)', 0);

MySQL Error : MySQL server has gone away Error Number : 2006
Date : Tuesday, January 8th 2008 @ 02:37:58 PM
Script : http://www.xxx.com/vbulletin/downloads.php?do=file&id=333&act=down
Referrer : http://www.xxx.com/vbulletin/downloads.php?do=cat&id=19
IP Address : xxx
Username : xxx
Classname : vB_Database

That query isn't created by DownloadsII, but by vBulletin (on each page). It's a server configuration problem.

Some documentation: http://www.vbulletin.com/docs/html/main/troubleshoot_mysql_goneaway

ezurick
01-12-2008, 02:37 PM
Installed and GREAT mod! I got a question...

I want to allow only a certain usergroup to use this... I call "Privleged Members" which is usergroupid=9. And I only want that usergroup to see the download link in the navbar... Is there way to put an if statement in there so only they see the link? Thanks...

RS_Jelle
01-12-2008, 04:34 PM
Installed and GREAT mod! I got a question...

I want to allow only a certain usergroup to use this... I call "Privleged Members" which is usergroupid=9. And I only want that usergroup to see the download link in the navbar... Is there way to put an if statement in there so only they see the link? Thanks...

Use this:
<if condition="is_member_of($bbuseruserinfo, 9)">
<td class="vbmenu_control"><a href="downloads.php$session[sessionurl_q]">$vbphrase[ecdownloads_downloads]</a></td>
</if>
For multiple usergroups:
<if condition="is_member_of($bbuseruserinfo, 9, 6, 5)">
<td class="vbmenu_control"><a href="downloads.php$session[sessionurl_q]">$vbphrase[ecdownloads_downloads]</a></td>
</if>

taheri6
01-12-2008, 04:55 PM
[EDIT]
Problem Solved, my host messed up NTFS file permissions so the mod could no longer read teh files using the ANON user

rizelim
01-12-2008, 08:50 PM
sorry!!!

lukedono
01-12-2008, 11:01 PM
i don't know if any one asked this, but i'm getting an error in the adminCP.
i get this:

Parse error: syntax error, unexpected ']', expecting ',' or ';' in www/forum/admincp/downloadadmin.php on line 287

when i got to Categories, Import, and Downloads. is there a fix for this?

dtv100
01-13-2008, 07:57 AM
today we find to errors .

cant upload any file and we dont have idea why .

also if you look in attach pic thats the error browser show now.

any idea what where to look .


things that change since last week we replaces apache with litespeed and turn off zend and update gars .



update:

I restore site to before I update gars and now is working again but still get error in attachment.

ezurick
01-13-2008, 11:48 AM
Use this:
For multiple usergroups:
<if condition="is_member_of($bbuseruserinfo, 9, 6, 5)">
<td class="vbmenu_control"><a href="downloads.php$session[sessionurl_q]">$vbphrase[ecdownloads_downloads]</a></td>
</if>

That's strange... I applied this multiple usergroups and I am the admin (usergroup=6) and I don't see it in the navbar when I go to my forum. Also, is there a way to shorten that vbphrase? My navbar is getting kinda packed with stuff... thanks so much!

rizelim
01-13-2008, 04:51 PM
hello ! Upload Your Files To External Server setting ?

inciarco
01-13-2008, 08:06 PM
That's because of the default upload limit of PHP.

You need to create a file named .htaccess (note 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.

Great Advice!! :up::up::up:

It allows to Increase the FTP Upload Limit!! ;)

Thank You Very Much!! :up:

:)

Vinyljunky
01-14-2008, 01:35 PM
This looks great :)

I currently use LDM for my downloads, how do the two compare?

With DownloadsII can I do the following:
- Restrict certain download groups (I want everyone to see them but only group Z to be able to download.
- Does anybody use this with VBSEO
- Are there stats for user and admin (Hot, new, most in catagory,.,,,,,)
- Integrate into VB search

Thanks

VinylJunky

Golzarion
01-14-2008, 04:47 PM
3. Change the permissions on the directory called 'downloads' (under your forum directory) making it writeable and executable (chmod 777) (Note for Advanced users: once you have installed the product, you also have the option to place the 'downloads' folder anywhere in your web server's path.)

how can I set the downloads directory above the document root.??

would you please tell me what I should write in admin cp ?

I mean what shold I write as the directory link ?

thx

CyberRanger
01-14-2008, 05:00 PM
how can I set the downloads directory above the document root.?? That's not currently supported.

maidos
01-15-2008, 07:22 PM
please reply on my previous msg

https://vborg.vbsupport.ru/showthread.php?p=1417700#post1417700

i really need a feature to edit the links please

ezurick
01-15-2008, 07:32 PM
That's strange... I applied this multiple usergroups and I am the admin (usergroup=6) and I don't see it in the navbar when I go to my forum. Also, is there a way to shorten that vbphrase? My navbar is getting kinda packed with stuff... thanks so much!

Can I get help with this please?

CyberRanger
01-16-2008, 12:28 AM
please reply on my previous msg

https://vborg.vbsupport.ru/showthread.php?p=1417700#post1417700

i really need a feature to edit the links please
sorry but there's no feature to do this. If you've uploaded the file, you can't convert it into a linked file. You only option is to put the file somewhere else, then edit it's downloads page and put the new link in.

CyberRanger
01-16-2008, 12:36 AM
That's strange... I applied this multiple usergroups and I am the admin (usergroup=6) and I don't see it in the navbar when I go to my forum. Also, is there a way to shorten that vbphrase? My navbar is getting kinda packed with stuff... thanks so much!
little typo:
<if condition="is_member_of($bbuseruserinfo, 9, 6, 5)">

should be

<if condition="is_member_of($bbuserinfo, 9, 6, 5)">

if it's a vbphrase, simply search for the phrase (Language and Phrases -> Search in Phrases), find it, change it. :)

lukedono
01-16-2008, 04:53 PM
sorry to be a bother, but can some one help? i keep getting an error in the downloadadmin.php file. it tells me there's a "
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' on line 287"

which is:

echo '<tr><td class="'.$class.'" rowspan="2"><input type="hidden" name="dir" value="
.$_POST['dir'].'" /><b>All Files</b><br /><i>(not filled out)</i></td><td class="'.$class.'"><b>File Name</b></td><td class="'.$class.'"><b>Author</b></td><td class="'.$class.'"><b>File Desc</b></td><td class="'.$class.'"><b>Category</b></td><td class="'.$class.'"><b>Pinned</b></td><td class="'.$class.'"><b>Import</b></td></tr>';


is there a way to fix this? i would be most greatfull for any help. thnx. i think the problem is value="
.$_POST['dir'].'" but i'm not sure how to fix it. anyone???

ezurick
01-16-2008, 05:30 PM
little typo:
<if condition="is_member_of($bbuseruserinfo, 9, 6, 5)">

should be

<if condition="is_member_of($bbuserinfo, 9, 6, 5)">

if it's a vbphrase, simply search for the phrase (Language and Phrases -> Search in Phrases), find it, change it. :)

Thanks... that worked!

CyberRanger
01-16-2008, 08:58 PM
sorry to be a bother, but can some one help? i keep getting an error in the downloadadmin.php file. it tells me there's a "
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' on line 287"

which is:
..

is there a way to fix this? i would be most greatfull for any help. thnx. i think the problem is value="
.$_POST['dir'].'" but i'm not sure how to fix it. anyone???

I've it's only happening when you try select the "Import" option, then you probably don't have the import directory set right. If it happens when you click on "Categories", then I suggest you download the product again and re-upload downloadadmin.php

lukedono
01-17-2008, 03:04 AM
thnx, i'll give it a try again.

Praxis
01-17-2008, 04:12 PM
Cool feature would be to have the script send the file to one of those online virus scanners of your choice to scan it. Best mod I have used by the way. Easy installation and very professional good work!

Golzarion
01-18-2008, 06:13 PM
of course it's a very nice hack as I try before ..

I installed !!

But if a user upload a virus files ... there isn't a way for other users to report it ?

I mean it would be very useful if you put a report button in files download area.

thx

rayw
01-19-2008, 02:48 AM
<font color="Silver">I've just noticed, having been using it for months now that there is no open to attach a file, more importantly an image.

Is there a was I can enable this?

Thanks!</font>

rayw
01-19-2008, 02:55 AM
Oops... forget my last post, I found the setting in the Admin CP. Sorry! :)

yahoooh
01-19-2008, 02:58 AM
i installed v 5.0.6

there is an additional query per file show in category

if i choose to show 20 files
it add 20 query

if i choose to show 25 files it will add 25 query and so on !

any help ?

REVHEAD
01-19-2008, 07:01 AM
Can this mod have set forum permissions for usergroups?

I am seriously thinking about installing this.

RS_Jelle
01-19-2008, 07:41 AM
i installed v 5.0.6

there is an additional query per file show in category


if i choose to show 20 files
it add 20 query

if i choose to show 25 files it will add 25 query and so on !

any help ?

There is no additional query per file shown in a category. I don't know where you have that information from :)

There are only additional queries for generating the category tree (if you are having a lot of sub-categories), but that's only an amount. It doesn't say a thing about the weight of them and those are very light as it's a pretty small table to search in.

Can this mod have set forum permissions for usergroups?

I am seriously thinking about installing this.

At the moment there are raw category permissions per usergroup: you can list the categories which should be blocked or which should be accessible for a usergroup.

REVHEAD
01-19-2008, 11:50 AM
Hi

I just installed the mod ,I havnt created a button yet,but when I go to http://mysite.com/forums/downloads ,I just get a blank page,is this normal?
I have set permissions to 777 I have created some cats and user permisssions ,but I dont see a page for it .

thanks in advance.

RS_Jelle
01-19-2008, 12:06 PM
Hi

I just installed the mod ,I havnt created a button yet,but when I go to http://mysite.com/forums/downloads ,I just get a blank page,is this normal?
I have set permissions to 777 I have created some cats and user permisssions ,but I dont see a page for it .

thanks in advance.

The http://www.mysite.com/forums/downloads/ folder stores your downloads. The downloads section can be found at http://www.mysite.com/forums/downloads.php

REVHEAD
01-19-2008, 12:23 PM
That worked thanks.

Now I will make a download button thanks.

REVHEAD
01-19-2008, 12:41 PM
Ok I have a slight hiccup.

I get error uploading a small 2 meg file ,I made a .htaccess file as suggested ,but still got the problem ,when I re-checked the .htccass the server added some text ,this is what it changed it to # File modified on Sat Jan 19 07:35:37 2008 by server
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
# php_value upload_max_filesize 30M
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
# php_value post_max_size 30M

RS_Jelle
01-19-2008, 12:45 PM
Ok I have a slight hiccup.

I get error uploading a small 2 meg file ,I made a .htaccess file as suggested ,but still got the problem ,when I re-checked the .htccass the server added some text ,this is what it changed it to # File modified on Sat Jan 19 07:35:37 2008 by server
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
# php_value upload_max_filesize 30M
# For security reasons, mod_php is not used on this server. Use a php.ini file for php directives
# php_value post_max_size 30M

Find the php.ini on your (virtual) server and add this code to it:
upload_max_filesize 30M
post_max_size 30M
I don't know the exact location of your php.ini (maybe you even need to create it yourself) as this depends from your host. So search their FAQ for it or ask it :)

REVHEAD
01-19-2008, 10:37 PM
all fixed thanks RS Jelle, for this mod your giving top notch support,its appreciated.

Just one last thing, when I came acrosss optimizing details for my php.ini file I came across this info If you expect to handle a large number of concurrent file transfers on your website consider using a perl or java server side component. PHP happens to be our favourite web programming language as well but perl is just slightly ahead when it comes to file handling.
Most installations of perl as an apache module can accept upto 32 megabytes out of the box. Compare this against the 2MB default for PHP. The downside is that perl coding takes just a bit more effort than PHP but it's worth it.

Is this at all possible for me to do Or do I stick with php because of VB, forgive me I know very little about website coding and stuff .

REVHEAD
01-20-2008, 03:32 AM
I am allso having a ever so small problem with the Download button disstorting due to my skin , Would any one be able to edit the button for me to remove the tranceparent border for me ,because I think that is what is playing up on me.

If not then thats ok ,I can live with it.

yahoooh
01-20-2008, 05:39 AM
There is no additional query per file shown in a category. I don't know where you have that information from :)

There are only additional queries for generating the category tree (if you are having a lot of sub-categories), but that's only an amount. It doesn't say a thing about the weight of them and those are very light as it's a pretty small table to search in.



At the moment there are raw category permissions per usergroup: you can list the categories which should be blocked or which should be accessible for a usergroup.

i tested it
in vb 3.6.8 pl2

php:5
mysql:4.1
with xcache
and vbseo
it give me additional query per file

i disabled vbseo and vbseo plugin for download II

also it gives additional query per file

could u check plz

RS_Jelle
01-20-2008, 08:35 PM
all fixed thanks RS Jelle, for this mod your giving top notch support,its appreciated.

Just one last thing, when I came acrosss optimizing details for my php.ini file I came across this info

Is this at all possible for me to do Or do I stick with php because of VB, forgive me I know very little about website coding and stuff .

vBulletin is PHP coded and because of that also all the mods at vB.org. vBulletin itself is also using PHP for uploading attachments to the forum and other things.

Combining two programming languages isn't easy/very logical/... and most webhosts are only supporting PHP.

i tested it
in vb 3.6.8 pl2

php:5
mysql:4.1
with xcache
and vbseo
it give me additional query per file

i disabled vbseo and vbseo plugin for download II

also it gives additional query per file

could u check plz

Ok, I can confirm it now (there's a query in the while loop for getting the image thumbs). That's some old Ron1n ecDownloads code, not ours :p

This is already recoded in my v6 dev version using a table join. No ETA, I'm in the middle of my exams at the moment :)

aacircle
01-20-2008, 08:35 PM
Does this mod allow you to charge members for access to downloads?

Thank you.

RS_Jelle
01-20-2008, 08:47 PM
Does this mod allow you to charge members for access to downloads?

Thank you.

It has got usergroup permissions, should be enough for that :)

You can create a usergroup for those members and combine this with the vB promotion system and paid subscriptions.

yahoooh
01-21-2008, 03:47 AM
vBulletin is PHP coded and because of that also all the mods at vB.org. vBulletin itself is also using PHP for uploading attachments to the forum and other things.

Combining two programming languages isn't easy/very logical/... and most webhosts are only supporting PHP.



Ok, I can confirm it now (there's a query in the while loop for getting the image thumbs). That's some old Ron1n ecDownloads code, not ours :p

This is already recoded in my v6 dev version using a table join. No ETA, I'm in the middle of my exams at the moment :)

thanks for your confirmed
i wish that u will success in your exams :up:

booktoweb
01-22-2008, 03:17 PM
hi,

i have many idea if it added to this hak it make it more efficient



using custom fields:-
you can using the same options and codes that used in profile field in vb admincp


make this product more Interdependence with forum this methods:-

when file added, thread added to forum have all information about file ( forum that admin chosen it to category from cpanel )
when file edited, its post in forum edited too ( not new post )
comments under files Interdependence with thread too ( when member add a comment, added post to thread - when he edit his post or comment its edited in both and so on )

like links and download product

using rewrite to make urls more compatible with seo

allow uploading file om external server :
admin can choose the way of uploading file
on the same server or external server
when he chooses external server - there are options to take information about ftp account to upload file

allow category permission:-
in vbulletin there are permissions to each forums and permissions to each user group
but in this product just permissions to user groups.
i want to allow downloading from some categories to some groups
and not allow for some
uploading file to some categories, adding comments, adding images ... and so on

allow to us to merge category with label not forum only ( in vbulletin 3.7.0 )
when member add file, post thread in forum that admin choose it from panel
and take label that admin define it also

allow adding tags from members to files and this tags appear in files thread in forum ( in vbulletin 3.7.0 )

GiaNNi
01-22-2008, 04:44 PM
Hi all..

Im using this really good mod... but i woukd want to change the page title on each download.

Now, a download page title is "Boar Title - Downloads - File_Name"...

I would want it to be with the file name in the start of the title... it would be possible? how?

Someting like "FileName - Board Downloads"

RS_Jelle
01-22-2008, 05:30 PM
Hi all..

Im using this really good mod... but i woukd want to change the page title on each download.

Now, a download page title is "Boar Title - Downloads - File_Name"...

I would want it to be with the file name in the start of the title... it would be possible? how?

Someting like "FileName - Board Downloads"

You can change the title in the DOWNLOADS template ;)

MiahBeSmokin420
01-23-2008, 05:16 PM
I have

DownloadsII 5.0.6

installed on my site and i also have

vBCredits 1.3

installed on my site and i have a idea / question about the 2

is there a way to make it so that downloads cost a certian amount of credits and if a user dose not have the credits required then he or she can not download the file?

also making it to where after downloading the file the user would loose X amount of credits after downloading the file?

CyberRanger
01-23-2008, 05:19 PM
I have

DownloadsII 5.0.6

installed on my site and i also have

vBCredits 1.3

installed on my site and i have a idea / question about the 2

is there a way to make it so that downloads cost a certian amount of credits and if a user dose not have the credits required then he or she can not download the file?

also making it to where after downloading the file the user would loose X amount of credits after downloading the file?The hooks are available in Downloads II to make it happen. We just need someone to code it :)

MiahBeSmokin420
01-23-2008, 05:32 PM
ok well im going to try to disasemble the spend credits in the arcade and see if i can code it for the downloads

if i can do it then it will be the first mod that i have ever released lol :)

CyberRanger
01-23-2008, 05:45 PM
ok well im going to try to disasemble the spend credits in the arcade and see if i can code it for the downloads

if i can do it then it will be the first mod that i have ever released lol :)
Be sure to read this post (https://vborg.vbsupport.ru/showpost.php?p=1108777&postcount=695) about the available hooks. What you'll want to do is figure out the sql to use for increasing/decreasing credits then have that at the appropriate hook.

Good luck! I'd love to see someone finally write an add-on to hook into one of the credit systems.

stationar
01-23-2008, 10:38 PM
Is it possible for users to sell their files through this hack?

CyberRanger
01-23-2008, 11:14 PM
Is it possible for users to sell their files through this hack?
No, not really. There's no permission or payment system set up for that.

ntloc
01-24-2008, 07:39 PM
Hi, can you help me out on this problem. I've just moved to a new dedicated server with Apache v2.2 + PHP5 + MySQL 4.1, then problem is when i tried to import files via admincp it got real slow when doing the "doimport", takes 5-10 minutes just to import 7-14 files. I've never had this problem before on my old server and i think i set the config same with myold server. It load the page "preimport" really fast but when starting actual importing work, it's taking forever eventhough the files have been copied into my download dir successfully really fast (check the files via SSH) but the page "doimport" keep loading, trying to reply back or something according to the server log file.
I check the server process log while "doimport" is running and it show POST... "W" Sending reply and hog 1/2 of my CPU usage. Please help me on this and thanks in advance.

p.s. and also when I click "Update Counters" to recount all files after imported, it take 10 minutes to finish.

CyberRanger
01-24-2008, 07:57 PM
Hi, can you help me out on this problem. I've just moved to a new dedicated server with Apache v2.2 + PHP5 + MySQL 4.1,...
p.s. and also when I click "Update Counters" to recount all files after imported, it take 10 minutes to finish.My guess is the difference between how PHP5 and PHP4 handle memory. Ask your host what memory_limit is set to in php.ini. My guess is that it's memory_limit = 8M. Ask them to increase that to 24M. That should help.

ntloc
01-24-2008, 10:16 PM
Well, i set that 500M (also try no limit -1 too) since I have about 2GB of memory for my server, that won't be a problem. Any other problem i might have you think? I've also try to downgrade to using PHP4 but didn't help either.
regards.

CyberRanger
01-24-2008, 10:59 PM
Any other problem i might have you think? I've also try to downgrade to using PHP4 but didn't help either.
regards.I can't think of any. The script uses a simple unix copy command.

MiahBeSmokin420
01-24-2008, 11:50 PM
quick question

i set the limit for file to -1 which should be unlimited

why are file above 75mb - 100mb + not uploading

it just takes you back to the add file page

CyberRanger
01-25-2008, 02:51 AM
quick question

i set the limit for file to -1 which should be unlimited

why are file above 75mb - 100mb + not uploading

it just takes you back to the add file page
What is the max upload size, ie what is the value of upload_max_filesize and post_max_size?
See : https://vborg.vbsupport.ru/showthread.php?p=1411831#post1411831

maidos
01-25-2008, 02:46 PM
my sys admin said theres a time out issue with the script after adding this on htaccess it cant be my servers configuration, i still get blank page adfter importing files only 4 files

heres my htaccess config

php_value upload_max_filesize 1000M
php_value post_max_size 1000M
php_value memory_limit 900M
php_value max_execution_time 0
php_value max_input_time 0

edit: he changed the php.ini so the value to 0 but i still get blank page

MiahBeSmokin420
01-25-2008, 10:48 PM
what dose this do in the .htaccess file

php_value max_execution_time 0
php_value max_input_time 0

?????? just wondering

cause i see it there in your post and i never had a htaccess file in my dir untill just now lol

kafi
01-26-2008, 08:32 AM
I wanted to have search box on main download page.
Here is how I achieved this:

1. copy content of downloads_search template except "$dresult" at the bottom of the template.

Here it is:

<table cellpadding="0" cellspacing="0" border="0" class="tborder" width="{$stylevar['tablewidth']}" align="center">
<tr>
<td>
<table cellpadding="{$stylevar['cellpadding']}" cellspacing="{$stylevar[cellspacing]}" border="0" width="100%">
<tr align="center">
<td class="thead" width="100%" colspan="3">{$vbphrase['ecdownloads_search']}</td>
</tr>
<tr>
<td class="alt2" align="center" colspan="3">
<form action="./downloads.php?do=search" method="post">
<br />{$vbphrase['ecdownloads_search_instructions']}
<br /><input type="text" name="query" maxlength="75" size="50" />&nbsp;<input type="submit" name="submit" value="{$vbphrase['ecdownloads_search']}" />
</form>
<br /><br />
</td>
</tr>
</table>
</td>
</tr>
</table>

2. Paste the content at the very beginning of downloads_main template.

You done. Search box now appear under downloads navigation box and it works :)

kafi
01-26-2008, 08:40 AM
How do I put files stat on forumhome? I guess I have to call {$dl->stats['files']} somewhere.

I want to place it into stats box (treads, posts, members, downloads_files)

Thanks!!!

WhatChaMissin
01-26-2008, 10:13 AM
I'm not sure how many people are familiar with GARS (http://www.thevbgeek.com/forum.php).

Well I'm currently use it on my site and once I installed Gars, the upload feature stopped working on downloadsII. Now I have to disable Gars in order to upload files to my site using DownloadsII, and then enable Gars when I'm done.

I used to have a special group set with permission to upload to the site. Now they have to send me the files so I can upload it for them.

I was just wondering if anyone has DownloadsII and Gars running together and might have found a fix for it.

BTW: The only error message I get is that all fields must be completed (which they are of course), this is were it gets "stuck" and won't let anyone complete the upload process.

Thanks

dtv100
01-26-2008, 10:18 AM
I'm not sure how many people are familiar with GARS (http://www.thevbgeek.com/forum.php).

Well I'm currently use it on my site and once I installed Gars, the upload feature stopped working on downloadsII. Now I have to disable Gars in order to upload files to my site using DownloadsII, and then enable Gars when I'm done.

I used to have a special group set with permission to upload to the site. Now they have to send me the files so I can upload it for them.

I was just wondering if anyone has DownloadsII and Gars running together and might have found a fix for it.

BTW: The only error message I get is that all fields must be completed (which they are of course), this is were it gets "stuck" and won't let anyone complete the upload process.

Thanks

now I know is not only me if you find a answer please let me know.

Charles_1
01-26-2008, 04:05 PM
now I know is not only me if you find a answer please let me know.
I have this problem too :-(. I was using GARS version 2.1.8c together with Downloads II (version 5.0.5, then 5.0.6) for several months and they were working fine. A few days ago I updated GARS to its new version (2.1.8m) and mentioned problem occurred. I hope that someone will find solution soon, becouse our users are unable to add new downloads right now (GARS is more important for our forum, so I can't disable it) :-(

exportforce
01-27-2008, 12:48 PM
Does this Mod support pre-HTML Downloadstreaming?
So that I can put my downloads under the HTML-Path?
/var/www/webX/html/ <-- thats where www.domain.com links
/var/www/webX/downloads/ <-- here you can't access via hotlinking etc.
Thats where I wan't my downloads, so they never can be hotlinked.

Is that possible with this ?

thecool444
01-27-2008, 09:24 PM
Im having trouble with downloads2. I have done every step exept the optional steps. But when i go to my forum theres no link to the download page. I have done settings categories etc. When i manually go to the download page it is just blank see here
http://www.mmorpglord.com/Forum/downloads/

Any help would be appreciated.

Thanks
Alexander

RS_Jelle
01-27-2008, 09:36 PM
what dose this do in the .htaccess file

php_value max_execution_time 0
php_value max_input_time 0

?????? just wondering

cause i see it there in your post and i never had a htaccess file in my dir untill just now lol

Those are optional PHP settings, but you don't need that normally :)

Have a look at http://www.php.net/info for some more information about them.

I'm not sure how many people are familiar with GARS (http://www.thevbgeek.com/forum.php).

Well I'm currently use it on my site and once I installed Gars, the upload feature stopped working on downloadsII. Now I have to disable Gars in order to upload files to my site using DownloadsII, and then enable Gars when I'm done.

I used to have a special group set with permission to upload to the site. Now they have to send me the files so I can upload it for them.

I was just wondering if anyone has DownloadsII and Gars running together and might have found a fix for it.

BTW: The only error message I get is that all fields must be completed (which they are of course), this is were it gets "stuck" and won't let anyone complete the upload process.

Thanks

That's pretty strange, but GARS isn't a free script, so I can't test it :(

Could you bring this issue to the attention of the GARS developer? DownloadsII is available for free, so he can test it out :)
He can always contact me to sort it out together.

How do I put files stat on forumhome? I guess I have to call {$dl->stats['files']} somewhere.

I want to place it into stats box (treads, posts, members, downloads_files)

Thanks!!!

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

Try adding a plugin to the forumhome_start hook location with this content:
require_once('./includes/class_downloads.php');
$dl = new vB_Downloads();
(I didn't test it, but it should work normally.)

Does this Mod support pre-HTML Downloadstreaming?
So that I can put my downloads under the HTML-Path?
/var/www/webX/html/ <-- thats where www.domain.com links
/var/www/webX/downloads/ <-- here you can't access via hotlinking etc.
Thats where I wan't my downloads, so they never can be hotlinked.

Is that possible with this ?

That's not possible at the moment, but users will never see the direct file link (except for the optional file images). We also add some random characters to the file name, so guessing the exact location is pretty difficult.

Finally you can add .htaccess protection to the directory if you don't trust it :)

Im having trouble with downloads2. I have done every step exept the optional steps. But when i go to my forum theres no link to the download page. I have done settings categories etc. When i manually go to the download page it is just blank see here
http://www.mmorpglord.com/Forum/downloads/

Any help would be appreciated.

Thanks
Alexander

That's why there is an optional step to add a link to your vB navigation bar in the navbar template :)

Try http://www.mmorpglord.com/Forum/downloads.php (you need to set usergroup permissions to access it)
(http://www.mmorpglord.com/Forum/downloads/ is just the storage directory for uploads)

thecool444
01-27-2008, 11:13 PM
Ah thankyou so much. Also how do i do the optional bits (im a bit new to all this)

yahoooh
01-28-2008, 01:53 AM
is there any temporary fix for : additional query per file ?
i did not use thumbnil!

also i want to show random files under most downloaded files , is there any additional code to make this random files

i suggest adding :
1. related files that show in the page of file
2. captcha for unregistered to prevent hot linking espicially when unregistered useres can download files by permission in usergroup

thanks

REVHEAD
01-28-2008, 08:22 AM
I have a niggle with some text not lining up here is my code<img src="http://www.mysite.com/forums/images/downloadsII_icons/disk.jpg">
<br>
<strong>Important Notice</strong>
<ul>
<li>We are not resposible for any virus you may receive , due to any files you may download. </li>
<li>While we try and make shure all files are scanned before upload, we can not guarantee all files to remain free from Trojans and Virus</li>
<li>To be safe, scan all files before opening.</li>
<li>Use these files at your own risk!</li>
<li>Enjoy</li>
</ul>

and here is my screenshot.

What do I need to change?.

RS_Jelle
01-28-2008, 11:00 AM
Ah thankyou so much. Also how do i do the optional bits (im a bit new to all this)

AdminCP -> Styles & Templates -> Style Manager -> Edit templates (in the dropdown menu of your style) -> Navigation / Breadcrumb Templates (double click on it) -> navbar (double click on it)

Then you can do the edit and save it :)

Btw: please click the install link in this thread to receive feature update notifications.

is there any temporary fix for : additional query per file ?
i did not use thumbnil!

also i want to show random files under most downloaded files , is there any additional code to make this random files


i suggest adding :
1. related files that show in the page of file
2. captcha for unregistered to prevent hot linking espicially when unregistered useres can download files by permission in usergroup

thanks

Enable the "Disable file thumbnails?" DownloadsII setting and you will get rid of the extra query (and thumbnails).

Random files aren't possible by default.

For the suggestions:

I don't think we are going to add such a feature as this is very database intensive if you have a lot of files. vBulletin has got it for threads and it's one of the first things they suggest you to turn off if you are having performance problems. Also you get sometimes the strangest related results.
We aren't hotlinking to files. Users will never see the exact file location and we are adding some random characters to the stored file name, so guessing it is very difficult. You can also add .htaccess protection to the downloads folder.


I have a niggle with some text not lining up here is my code<img src="http://www.mysite.com/forums/images/downloadsII_icons/disk.jpg">
<br>
<strong>Important Notice</strong>
<ul>
<li>We are not resposible for any virus you may receive , due to any files you may download. </li>
<li>While we try and make shure all files are scanned before upload, we can not guarantee all files to remain free from Trojans and Virus</li>
<li>To be safe, scan all files before opening.</li>
<li>Use these files at your own risk!</li>
<li>Enjoy</li>
</ul>

and here is my screenshot.

What do I need to change?.

That's just normal (X)HTML behaviour: a list (ul) is always indenting by default.

Try using
<blockquote><img src="http://www.mysite.com/forums/images/downloadsII_icons/disk.jpg" alt="Disk" />
<br />
<strong>Important Notice</strong></blockquote>
<ul>
<li>We are not resposible for any virus you may receive , due to any files you may download. </li>
<li>While we try and make shure all files are scanned before upload, we can not guarantee all files to remain free from Trojans and Virus</li>
<li>To be safe, scan all files before opening.</li>
<li>Use these files at your own risk!</li>
<li>Enjoy</li>
</ul>
instead. The blockquote tag will also create indenting for the upper text.

REVHEAD
01-28-2008, 04:39 PM
Thant worked thanks RS Jelle.

thecool444
01-29-2008, 03:25 AM
All im getting is this when i double click navbar.


<br />

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>

<if condition="$show['member']">

<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
</div>
</td>

<else />

<td class="alt2" nowrap="nowrap" style="padding:0px">

<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->

</td>

</if>

</tr>
</table>
<!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
$template_hook[navbar_buttons_left]
<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
</if>
<if condition="$show['member']">
<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
$template_hook[navbar_buttons_right]
<if condition="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
<!-- / nav buttons bar -->

<br />
<if condition="$show['forumdesc']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
<div style="margin-top:$stylevar[cellpadding]px">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
&nbsp;
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</div>
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
$template_hook[navbar_search_menu]
</table>
</div>
<!-- / header quick search form -->
</if>

<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scrollbars=yes,resizable=yes,w idth=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
$template_hook[navbar_quick_links_menu_pos1]

<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
$template_hook[navbar_quick_links_menu_pos2]

<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
$template_hook[navbar_quick_links_menu_pos3]

</table>
</div>
<!-- / user cp tools menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->

<!-- PAGENAV POPUP -->

<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>

<!-- / PAGENAV POPUP -->
</if>

blind-eddie
01-29-2008, 04:26 AM
When you show that much code, please place it in code tags...Thanks

thecool444
01-29-2008, 04:45 AM
whats code tags?

blind-eddie
01-29-2008, 05:30 AM
HIT GO ADVANCED, YOU WILL SEE https://vborg.vbsupport.ru/external/2009/07/3.gif CLICK IT, BEFORE YOU START TYPING,THE CODE TAGS WILL SHOW, PASTE ALL YOUR TEXT BETWEEN THOSE LINES & HIT
SUBMIT REPLY. IT WILL LOOK LIKE THIS:

<br />

<!-- breadcrumb, login, pm info -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%">
<if condition="is_array($navbits)">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
<td><a href="#" onclick="history.back(1); return false;"><img src="$stylevar[imgdir_misc]/navbits_start.gif" alt="$vbphrase[go_back]" border="0" /></a></td>
<td>&nbsp;</td>
<td width="100%"><span class="navbar"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td>
</tr>
<tr>
<td class="navbar" style="font-size:10pt; padding-top:1px" colspan="3"><if condition="$_SERVER['REQUEST_METHOD'] == 'POST'"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="" border="0" /><else /><a href="$scriptpath"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_finallink_$stylevar[textdirection].gif" alt="$vbphrase[reload_this_page]" border="0" /></a></if> <strong>$navbits[lastelement]</strong></td>
</tr>
</table>
<else />
<div class="navbar" style="font-size:10pt"><a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div>
</if>
</td>

<if condition="$show['member']">

<td class="alt2" valign="top" nowrap="nowrap">
<div class="smallfont">
<strong><phrase 1="$bbuserinfo[username]">$vbphrase[welcome_x]</phrase></strong><br />
<phrase 1="$pmbox[lastvisitdate]" 2="$pmbox[lastvisittime]">$vbphrase[last_visited_x_at_y]</phrase>
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl_q]">$vbphrase[private_messages_nav]</phrase></if>
<if condition="$show['pmwarning']"><br /><strong><phrase 1="$vbphrase[pmpercent_nav_compiled]">$vbphrase[your_pm_box_is_x_full]</phrase></strong></if>
</div>
</td>

<else />

<td class="alt2" nowrap="nowrap" style="padding:0px">

<!-- login form -->
<form action="login.php?do=login" method="post" onsubmit="md5hash(vb_login_password, vb_login_md5password, vb_login_md5password_utf, $show[nopasswordempty])">
<script type="text/javascript" src="clientscript/vbulletin_md5.js?v=$vboptions[simpleversion]"></script>
<table cellpadding="0" cellspacing="$stylevar[formspacer]" border="0">
<tr>
<td class="smallfont"><label for="navbar_username">$vbphrase[username]</label></td>
<td><input type="text" class="bginput" style="font-size: 11px" name="vb_login_username" id="navbar_username" size="10" accesskey="u" tabindex="101" value="$vbphrase[username]" onfocus="if (this.value == '$vbphrase[username]') this.value = '';" /></td>
<td class="smallfont" colspan="2" nowrap="nowrap"><label for="cb_cookieuser_navbar"><input type="checkbox" name="cookieuser" value="1" tabindex="103" id="cb_cookieuser_navbar" accesskey="c" />$vbphrase[remember_me]</label></td>
</tr>
<tr>
<td class="smallfont"><label for="navbar_password">$vbphrase[password]</label></td>
<td><input type="password" class="bginput" style="font-size: 11px" name="vb_login_password" id="navbar_password" size="10" tabindex="102" /></td>
<td><input type="submit" class="button" value="$vbphrase[log_in]" tabindex="104" title="$vbphrase[enter_username_to_login_or_register]" accesskey="s" /></td>
</tr>
</table>
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="login" />
<input type="hidden" name="vb_login_md5password" />
<input type="hidden" name="vb_login_md5password_utf" />
</form>
<!-- / login form -->

</td>

</if>

</tr>
</table>
<!-- / breadcrumb, login, pm info -->

<!-- nav buttons bar -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="0" border="0" width="100%" align="center" style="border-top-width:0px">
<tr align="center">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_cp]</a></td>
</if>
<if condition="$show['registerbutton']">
<td class="vbmenu_control"><a href="register.php$session[sessionurl_q]" rel="nofollow">$vbphrase[register]</a></td>
</if>
$template_hook[navbar_buttons_left]
<td class="vbmenu_control"><a href="faq.php$session[sessionurl_q]" accesskey="5">$vbphrase[faq]</a></td>
<td class="vbmenu_control"><a href="memberlist.php$session[sessionurl_q]">$vbphrase[members_list]</a></td>
<td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td>
<if condition="$show['popups']">
<if condition="$show['searchbuttons']">
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>
</if>
<if condition="$show['member']">
<td id="usercptools" class="vbmenu_control"><a href="$show[nojs_link]#usercptools" accesskey="3">$vbphrase[quick_links]</a> <script type="text/javascript"> vbmenu_register("usercptools"); </script></td>
</if>
<else />
<if condition="$show['searchbuttons']">
<td class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4">$vbphrase[search]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>
</if>
<td class="vbmenu_control"><a href="forumdisplay.php?$session[sessionurl]do=markread" rel="nofollow">$vbphrase[mark_forums_read]</a></td>
<if condition="$show['member']">
<td class="vbmenu_control"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scroll bars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td>
</if>
</if>
$template_hook[navbar_buttons_right]
<if condition="$show['member']">
<td class="vbmenu_control"><a href="login.php?$session[sessionurl]do=logout&amp;logouthash=$bbuserinfo[logouthash]" onclick="return log_out('$vbphrase[sure_you_want_to_log_out]')">$vbphrase[log_out]</a></td>
</if>
</tr>
</table>
<!-- / nav buttons bar -->

<br />
<if condition="$show['forumdesc']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="alt1" width="100%"><strong>$foruminfo[title]</strong> <span class="smallfont">$foruminfo[description]</span></td>
</tr>
</table>
<br />
</if>

<if condition="$show['popups']">
<!-- NAVBAR POPUP MENUS -->

<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="search.php?do=process" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="childforums" value="1" />
<input type="hidden" name="exactname" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<div><input type="text" class="bginput" name="query" size="25" tabindex="1001" /><input type="submit" class="button" value="$vbphrase[go]" tabindex="1004" /></div>
<div style="margin-top:$stylevar[cellpadding]px">
<label for="rb_nb_sp0"><input type="radio" name="showposts" value="0" id="rb_nb_sp0" tabindex="1002" checked="checked" />$vbphrase[show_threads]</label>
&nbsp;
<label for="rb_nb_sp1"><input type="radio" name="showposts" value="1" id="rb_nb_sp1" tabindex="1003" />$vbphrase[show_posts]</label>
</div>
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
$template_hook[navbar_search_menu]
</table>
</div>
<!-- / header quick search form -->
</if>

<if condition="$show['member']">
<!-- user cp tools menu -->
<div class="vbmenu_popup" id="usercptools_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">

<tr><td class="thead">$vbphrase[quick_links]</td></tr>
<if condition="$vboptions['enablesearches']"><tr><td class="vbmenu_option"><a href="search.php?$session[sessionurl]do=getdaily">$vbphrase[todays_posts]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread">$vbphrase[mark_forums_read]</a></td></tr>
<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,me nubar=no,toolbar=no,scroll bars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
$template_hook[navbar_quick_links_menu_pos1]

<tr><td class="thead"><a href="usercp.php$session[sessionurl_q]">$vbphrase[user_control_panel]</a></td></tr>
<if condition="$show['siglink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editsignature">$vbphrase[edit_signature]</a></td></tr></if>
<!--<if condition="$show['avatarlink']"><tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editavatar">$vbphrase[edit_avatar]</a></td></tr></if>-->
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editprofile">$vbphrase[edit_profile]</a></td></tr>
<tr><td class="vbmenu_option"><a href="profile.php?$session[sessionurl]do=editoptions">$vbphrase[edit_options]</a></td></tr>
$template_hook[navbar_quick_links_menu_pos2]

<tr><td class="thead">$vbphrase[miscellaneous]</td></tr>
<if condition="$show['pmmainlink']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>
<tr><td class="vbmenu_option"><a href="subscription.php$session[sessionurl_q]" rel="nofollow">$vbphrase[subscribed_threads]</a></td></tr>
<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr>
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
$template_hook[navbar_quick_links_menu_pos3]

</table>
</div>
<!-- / user cp tools menu -->
</if>
<!-- / NAVBAR POPUP MENUS -->

<!-- PAGENAV POPUP -->

<div class="vbmenu_popup" id="pagenav_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead" nowrap="nowrap">$vbphrase[go_to_page]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form">
<input type="text" class="bginput" id="pagenav_itxt" style="font-size:11px" size="4" />
<input type="button" class="button" id="pagenav_ibtn" value="$vbphrase[go]" />
</form>
</td>
</tr>
</table>
</div>

<!-- / PAGENAV POPUP -->
</if>

thecool444
01-29-2008, 05:56 AM
Ok put in code tags ty for telling me about it. I have just done it. It didn't change anything. Evan look http://www.mmorpglord.com/Forum/

Humayun1
01-29-2008, 11:29 AM
Hello

Thanks for your reply, but actually i want google ads to be displayed in the first post i make (the post for writing description of software etc.,) I am not interested in members comments; i tried the modification you have mentioned above but it doesn't work because i am modifying comments template. Can you please tell me the exact template to modify and where shall i insert adsense.

Also i am using another mod (vB Forum Feeds by CinVin ), have you any idea how can i include my download section on the rss feeds page.

I am also using vBSEO Google / Yahoo Sitemap for vBulletin; am not sure whether it includes pages from my download section. Do you know whether it automatically integrates with this mode or need to be integrated with it.

Thanks

pedro84
01-29-2008, 04:09 PM
Hi!

Because of unknown reason I got error
Warning: copy(./downloads//ec_tmp/Whitesnake.ttf) [function.copy]: failed to open stream: Permission denied in /downloads.php on line 700
ERROR: File not found.

Does anyone know the solution?

Cheers!
Pedro