vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Major Additions - DownloadsII (https://vborg.vbsupport.ru/showthread.php?t=120122)

maidos 01-02-2010 07:06 PM

please delete this

triff 01-02-2010 10:15 PM

Quote:

Originally Posted by Black Tiger (Post 1945134)
@Jelle: On my forums an old error is suddenly showing up:
Your submission could not be processed because a security token was missing.

That's the error message my users usually get when they try to upload a file type that hasn't been allready approved. Could that be the issue?

SGL.

Black Tiger 01-02-2010 10:58 PM

Thanks for helping Triff, but unfortunately it isn't that issue. Only admins and supermods have upload rights on my forums.
In my case it's a file i'm trying to upload myself and it's extension is .rar, upload that numerous times. So it can't be a permissions or unapproved file types.

MrRem 01-04-2010 10:58 AM

Is there a way so we can put in a megaupload link that lets users then click download and it opens the megaupload/rapidshare site where they can then enter their verification code as normal?

Basically, can we put URLs in the Link to File form with it not ending in a file extension?

RS_Jelle 01-04-2010 11:11 AM

Quote:

Originally Posted by Skyline_GT (Post 1941545)
How do you add a status section for every download like http://www.mpcdownloads.com/forums/d...stem/6583.html
or is it possible to add additional field?

Adding custom fields isn't possible at the moment.

Quote:

Originally Posted by Black Tiger (Post 1945395)
Thanks for helping Triff, but unfortunately it isn't that issue. Only admins and supermods have upload rights on my forums.
In my case it's a file i'm trying to upload myself and it's extension is .rar, upload that numerous times. So it can't be a permissions or unapproved file types.

You probably get it because it's a large file (so it's timing out and vB doesn't receive the token). Do you get it when you only link files?

You need to change PHP's upload limits for this (.htaccess or php.ini).

Quote:

Originally Posted by MrRem (Post 1946789)
Is there a way so we can put in a megaupload link that lets users then click download and it opens the megaupload/rapidshare site where they can then enter their verification code as normal?

Basically, can we put URLs in the Link to File form with it not ending in a file extension?

Yes, you can. There's no check on the link field.

MrRem 01-05-2010 08:56 AM

Thank you! Installed :D

Black Tiger 01-05-2010 12:14 PM

Quote:

You probably get it because it's a large file (so it's timing out and vB doesn't receive the token). Do you get it when you only link files?
I don't think this is the problem, because it's a file of 9 mb and normally I upload files of 16 mb
The php.ini is setup to 25 mb so that should not be the problem either.

I will check if the error also occur's when linking to files.

Black Tiger 01-05-2010 12:31 PM

I've just seen the files of 16mb are linked too. Linking is ok, no problems there. So I think you indeed were correct with the assumption that it had to do with big file uploads.

However, it still says in php.ini:
file_uploads = On
upload_max_filesize = 25M
default_socket_timeout = 60

Is there another place where I can change something so bigger file uploads won't time-out? I've got all access on that server including root access.

RS_Jelle 01-05-2010 12:37 PM

Quote:

Originally Posted by Black Tiger (Post 1947809)
Is there another place where I can change something so bigger file uploads won't time-out? I've got all access on that server including root access.

What's your AdminCP home saying (PHP ... PHP Memory Limit)?

Just to be sure that those settings are actually working :)

Black Tiger 01-05-2010 06:21 PM

Thanks Jelle, I think I got some idea's about where to look:
max_execution_time = 30 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 16M ; Maximum amount of memory a script may consume

Seems the memory limit is oke for a 9 mb big file, but the max. execution time is limited to 30 secs, which might cause the upload to stop, correct?

In that case for security reasons (shared server with a lot of accounts) I can better leave this as it is now and upload the files by ftp and link to it.

RS_Jelle 01-05-2010 06:39 PM

That's possible. You could give it a try for one time to be sure (and revert it afterwards) :)

Black Tiger 01-05-2010 06:52 PM

Will do that, thanks for the quick help.
Just a last question, I don't want to use usergroups for everything. Is it possible to add a feature in Downloads II that users can only start downloading after making an x amount of posts?

wildweaselmi 01-06-2010 11:47 AM

Thanks again for a great mod and great support.

If I may make a request... anyway to add a column and/or field for version# this would be awesome.

Of course if I could keep making requests my seconod request would be for another column labeled Machine Type (ya know for software that we could add Windows, Mac, Cisco, Linux, Joomla, vBulletin, etc..)

Just a wish list.. the ability to add versions would be the coolest and then machine type (of course n/a for documents etc.)

GSA 01-08-2010 11:36 AM

Fantastic mod, many thanks.

I can't seem to find an answer in this thread, but apologies if this has already been answered.

I'd like to upload podcasts (mp3) and then link them into the forum, however the link generated by DownloadsII adds a value to the URL. Is there a way to get the uploaded URL to be that of the file location, including the files extension?

I can make an mp3 file play in the forum but not a URL.

Unless there is a much easier way to today.

Any help is appreciated, thanks.

EricPSF 01-11-2010 03:38 AM

Quote:

Originally Posted by RS_Jelle (Post 1411831)
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:

Code:

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.

Hi Jelle,

I have another .htaccess already in placed in the forum directory that you have mentioned. Is it OK to paste your code together with those in my present .htaccess?

Please kindly advice.

Black Tiger 01-11-2010 04:01 AM

Yes that is no problem. A .htaccess file can contain several codes.
You can safely add the php value code to your existing .htaccess file.

However, if your problem still resides you need to contact your host.
It can also be the hosting company has set a limit, then these changes won't have any effect. In that case you have to ask your hosting company also.

EricPSF 01-11-2010 04:13 AM

Quote:

Originally Posted by Black Tiger (Post 1952476)
Yes that is no problem. A .htaccess file can contain several codes.
You can safely add the php value code to your existing .htaccess file.

However, if your problem still resides you need to contact your host.
It can also be the hosting company has set a limit, then these changes won't have any effect. In that case you have to ask your hosting company also.

Opps..it causes 500 Internal Server Error after I have embedded the code into the present .htaccess file...any advice?

Black Tiger 01-11-2010 02:28 PM

In that case your hosting provider has protected these settings, he's probably using php fastcgi (php in cgi mode, mostly used in combination with phpsuexec).

Try doing the following. Instead of using a .htacces file, create a php.ini.
Put in there:
upload_max_filesize 30M
php_value post_max_size 30M

Try again. If this works but you get another error (timeout or security token missing), you can try and add this setting to the php.ini you made:
max_execution_time = 180
This increases the time to 3 minutes. If you have big files, it might be you have to increase this to a higher setting.

You could also add:
max_input_time = 180

The default of both these settings is 60. If you get an error again, then your hosting company has protected the possibility to use your own php.ini files too.
In that case the only solution is to contact your hosting company.

gortelli 01-15-2010 06:13 AM

HELP!

Hi all

I did the installation by following the instructions step by step

I modified the rights of user groups (as described in the installation guide)

but... when I try to download a file I get the following error:

You don't have the permission to download this. Please buy this item in the Shop.

Any idea? I'm a little bit desperated...

Thanks in advance

RS_Jelle 01-16-2010 06:47 PM

Quote:

Originally Posted by gortelli (Post 1956264)
HELP!

Hi all

I did the installation by following the instructions step by step

I modified the rights of user groups (as described in the installation guide)

but... when I try to download a file I get the following error:

You don't have the permission to download this. Please buy this item in the Shop.

Any idea? I'm a little bit desperated...

Thanks in advance

That's not a phrase which is part of DownloadsII itself. You probably have some kind of points system (shop) installed, which integrates into DownloadsII. Check the configuration of that mod to solve this.

mark370 01-16-2010 07:35 PM

@RS_Jelle Is there a way i can mass move posts and there attachments from sections of the forum into the downloads center without me going through all of them 1 by 1 and manually retyping all the posts out and re-uploading the attachments ?

Reason ime asking is i have around 1500 posts & attachments i want moving into downloads center and atm its very time consuming :eek:


Thanks


Edit just looking at the imports option in acp but not to sure how to use it and if moving a database of 1.3GB will cause any problems?

RS_Jelle 01-16-2010 08:54 PM

Quote:

Originally Posted by mark370 (Post 1957614)
@RS_Jelle Is there a way i can mass move posts and there attachments from sections of the forum into the downloads center without me going through all of them 1 by 1 and manually retyping all the posts out and re-uploading the attachments ?

Reason ime asking is i have around 1500 posts & attachments i want moving into downloads center and atm its very time consuming :eek:


Thanks


Edit just looking at the imports option in acp but not to sure how to use it and if moving a database of 1.3GB will cause any problems?

There's no way to import post and their attachments at the moment. The "import" AdminCP feature is there to import all files from an FTP folder you specify, so that's not what you're looking for.

mark370 01-16-2010 09:07 PM

Quote:

Originally Posted by RS_Jelle (Post 1957683)
There's no way to import post and their attachments at the moment. The "import" AdminCP feature is there to import all files from an FTP folder you specify, so that's not what you're looking for.

Yea i thought so , just wanted to double check.

Thanks :up:

Black Tiger 01-17-2010 12:29 AM

@RS_Jelle:
Quote:

Originally Posted by Black Tiger
Just a last question, I don't want to use usergroups for everything. Is it possible to add a feature in Downloads II that users can only start downloading after making an x amount of posts?

If I remember correctly there was another version "in the make", which would have a lot of new features. Is there any sight if such option could be in there and maybe an ETA?

RS_Jelle 01-17-2010 03:02 PM

Quote:

Originally Posted by Black Tiger (Post 1957817)
@RS_Jelle:

If I remember correctly there was another version "in the make", which would have a lot of new features. Is there any sight if such option could be in there and maybe an ETA?

I already released DownloadsII v6 (vB4 only), which is a full recode with several new features (report button, advanced search, quick reply, ...) :)
So I currently have no plans for extending the vB3 release any further.

Black Tiger 01-17-2010 04:43 PM

That's very pity to hear, because like a lot of other people, I will not upgrade to VB4, mostly due to the way things were done by VB and the new pricing system.

RS_Jelle 01-17-2010 05:41 PM

Quote:

Originally Posted by Black Tiger (Post 1958345)
That's very pity to hear, because like a lot of other people, I will not upgrade to VB4, mostly due to the way things were done by VB and the new pricing system.

I know, but it's impossible to develop two versions. I will continue to fix bugs and security issues, but that's probably all.

Keep in mind that support for vB 3.8 will stop pretty quickly: http://www.vbulletin.com/forum/showt...pport-Schedule
Now it has bugfix + security support, but when 4.1 is released the bugfix support will be dropped. And 3.8 will be end of life when 4.2 is released.

I'm not a big vB4 fan too at the moment (and I'm not upgrading my own site at this moment), but it's a dead end. I hope 4.0.2 will be more stable, cause 4.0.1 introduced two new bugs (AJAX username suggestion and custom profile tabs not working any more). But I'm really disappointed too at the moment and it's not getting any better with such bad "maintenance" releases (200 bugs "fixed", but still 2000+ open on the tracker) :)

Digital Jedi 01-17-2010 06:03 PM

As it is, every time Jelle goes away to fix lunch, people start screaming "Unsupported" and declaring the mod abandoned. At least he's still offering bug fixes.

Black Tiger 01-17-2010 09:41 PM

@Digital Jedi: I don't screem anything, I only stated that it was pity downloads II v3.x development would be stopped. And that's because I'm a real fan of downloads 2, not because I think Jelle's abandoning things or whatever.

I always was very happy with Jelle's support and I still am. Downloads II is one of the mods which belongs to the very best of all. I'm a fan of Downloads II for several years. You should think and read statements better, before making incorrect accusations about people you don't know. I never screemed anything, instead I even tried to help out too sometimes (check the previous page).

@Jelle: I understand you have to make a choice. No hard feelings there, you don't owe me an explanation. I'm already glad I could use this great mod over the years and still can. For which I'm thankful, including the support you still give for people with problems.

Quote:

And 3.8 will be end of life when 4.2 is released.
Indeed, you're right, so I'm even more glad that I will stop upgrading vB, because I bought a lifetime license with at least lifetime security fixes was told me before.
But vB keeps changing their agreements over the years which is a bad thing, a lifetime is shortened these days to what vB think should be the end of life.
Anyway, that's not your fault.:)

I wish you all the best on the 4.x section!

Digital Jedi 01-18-2010 03:53 AM

Quote:

Originally Posted by Black Tiger (Post 1958659)
@Digital Jedi: I don't screem anything, I only stated that it was pity downloads II v3.x development would be stopped. And that's because I'm a real fan of downloads 2, not because I think Jelle's abandoning things or whatever.

I always was very happy with Jelle's support and I still am. Downloads II is one of the mods which belongs to the very best of all. I'm a fan of Downloads II for several years. You should think and read statements better, before making incorrect accusations about people you don't know. I never screemed anything, instead I even tried to help out too sometimes (check the previous page).

Er, I never said that you did. I was making a general statement. Hence the generic term: "people."

gortelli 01-18-2010 07:03 AM

Quote:

Originally Posted by RS_Jelle (Post 1957580)
That's not a phrase which is part of DownloadsII itself. You probably have some kind of points system (shop) installed, which integrates into DownloadsII. Check the configuration of that mod to solve this.

I'be found the problem... is vBExperience 3.8.5 that give me this error... I've disabled it and now I can download...

Thanks very much for your help!

ansarion 01-18-2010 12:30 PM

Thank you very much RS_Jelle for your support , you are making a great work.

I have aproblem when I installed new style as the the direction of typing in the tables changed and I want to adjust the direction to be from right to left instead of from left to right, how can I do this adjustment?

Black Tiger 01-18-2010 02:03 PM

Quote:

Originally Posted by Digital Jedi
Er, I never said that you did.

Oke, no hard feelings, but I looked back and did not find that quick anybody else making a statement or "screeming", so that's why I thought you was pointing to me.:)
But it's nice to hear my assumption was incorrect.

gortelli 01-18-2010 07:11 PM

1 Attachment(s)
Here my translation of DownloadsII 5.1.1

Llandy 01-21-2010 12:13 AM

Tried searching for it, but can't seem to find the answer. Does anybody know how to change the side of where the latest files and downloads are shown, instead of having it on the default side (left), i want to have it on the right side.

chick 01-21-2010 05:50 PM

1 Attachment(s)
This is one of the best and most used mods on my site. Thanks so much for creating this.

I have one question and I have searched the templates for this : but I cannot find it so maybe the coder could tell me where it is... see image, I want to make : into this -

I need know where it is. Thanks

gnrx 01-21-2010 11:28 PM

Hi.
When acces to downloads, in the title of explorer appears:
Name of my forum - Downloads
An if acces to any file appears:
Name of my forum - Downloads - Name of file

Well, my web is in spanish and I have translate to spanish DownloadsII.

I search for translate, in the title, Downloads to spanish, but I don't view what vbphare or waht templade I need edit.
I search in all NameVar, and in the templates of DownloadsII, byt I don't view that I need edit for that, appears, the name Downloads in the title of explorer in my languaje.

Thanks for your help.

Have nice day!

RS_Jelle 01-22-2010 06:53 PM

Quote:

Originally Posted by ansarion (Post 1959136)
Thank you very much RS_Jelle for your support , you are making a great work.

I have aproblem when I installed new style as the the direction of typing in the tables changed and I want to adjust the direction to be from right to left instead of from left to right, how can I do this adjustment?

You only have that with one of your styles? Then it seems more like a style issue?

Btw, v6 (vB4 only) has better RTL support.

Quote:

Originally Posted by Llandy (Post 1961861)
Tried searching for it, but can't seem to find the answer. Does anybody know how to change the side of where the latest files and downloads are shown, instead of having it on the default side (left), i want to have it on the right side.

Change the content of your downloads_wrapper_side template to:
Code:

<table cellpadding="0" cellspacing="0" border="0" width="100%" align="center">
 <tr valign="top">
  <td>
  <table cellpadding="0" cellspacing="0" border="0" class="tborder" width="{$stylevar['tablewidth']}" align="center">
    <tr>
    <td valign="top">
      <table cellpadding="{$stylevar['cellpadding']}" cellspacing="{$stylevar['cellspacing']}" border="0" width="100%">
      <tr align="center" valign="top">
        <td class="thead" width="100%" colspan="3">{$vbphrase['ecdownloads_navigation']}</td>
      </tr>
      <tr valign="top">
        <td class="alt2" align="center" colspan="3" valign="top">$dlinks</td>
      </tr>
      <tr valign="top">
        <td class="panel" style="border: 0;" colspan="3" valign="top">
          $dmain_jr
        </td>
      </tr>
      </table>
    </td>
    </tr>
  </table>
  </td>
  <td>&nbsp;&nbsp;</td>
  <td width="225">
  $dpanel
  <br />$dl->downloadsmessage
  </td>
 </tr>
</table>

Quote:

Originally Posted by chick (Post 1962572)
This is one of the best and most used mods on my site. Thanks so much for creating this.

I have one question and I have searched the templates for this : but I cannot find it so maybe the coder could tell me where it is... see image, I want to make : into this -

I need know where it is. Thanks

You need to edit downloads.php for that. Search for:
PHP Code:

$smalldesc ": ".$smalldesc

Quote:

Originally Posted by gnrx (Post 1962915)
Hi.
When acces to downloads, in the title of explorer appears:
Name of my forum - Downloads
An if acces to any file appears:
Name of my forum - Downloads - Name of file

Well, my web is in spanish and I have translate to spanish DownloadsII.

I search for translate, in the title, Downloads to spanish, but I don't view what vbphare or waht templade I need edit.
I search in all NameVar, and in the templates of DownloadsII, byt I don't view that I need edit for that, appears, the name Downloads in the title of explorer in my languaje.

Thanks for your help.

Have nice day!

It's not a phrase, but a setting in v5. Change the "Title" DownloadsII setting.

gnrx 01-23-2010 12:02 AM

Quote:

Originally Posted by RS_Jelle (Post 1963691)
It's not a phrase, but a setting in v5. Change the "Title" DownloadsII setting.

Oh :o
I search in a phrases and in templates, and this option is in "Title" of DownloadsII settings....:o

Thank you very much for your attention and help.

Regards :)

b6gm6n 01-25-2010 08:55 PM

great mod, thanks


All times are GMT. The time now is 03:09 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05436 seconds
  • Memory Usage 1,869KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (23)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete