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)

GuaRRand 02-20-2008 06:19 PM

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.

does it have to have certain rights?... chmod?

i made it 60MB and it still doesnt upload :(

masterweb 02-20-2008 06:32 PM

Seems really good, i'll try it later :)

RS_Jelle 02-20-2008 07:05 PM

Quote:

Originally Posted by GuaRRand (Post 1447542)
does it have to have certain rights?... chmod?

i made it 60MB and it still doesnt upload :(

No, just the standard chmod rights (readable). Watch out for the strange file name, maybe you wrote it wrong. And it needs to be uploaded in the vB forum root (where you can find downloads.php), not in the downloads folder. That's it.

Although webhosts can disable the .htaccess method, so you better contact your webhosting company.

GuaRRand 02-20-2008 07:27 PM

Quote:

Originally Posted by RS_Jelle (Post 1447573)
No, just the standard chmod rights (readable). Watch out for the strange file name, maybe you wrote it wrong. And it needs to be uploaded in the vB forum root (where you can find downloads.php), not in the downloads folder. That's it.

Although webhosts can disable the .htaccess method, so you better contact your webhosting company.

looks ok...
it also shows as a HTACCESS filetype...

GuaRRand 02-21-2008 09:50 AM

K, i asked the serverdude to edit the uploadable size to 64MB.
Quote:

upload_max_filesize 64M 64M
So i should be able to upload now right?



Yup.... still no go :(
It just says "waiting for www.glcoti.com......." and the progress/load bar stays empty.

Any ideas??
Need me to post some code?

glennybee 02-21-2008 02:09 PM

Thanks for this mod, excellent!

I'm trying to increase the upload limit (yawn you think).

I've tried everything that's been suggested. If I put the 2 lines in the /forums/.htaccess file I get an error like in this thread. If I comment out the lines it works again.

I've checked my shared server logs and this is the error that's generated...

Code:

[Thu Feb 21 09:53:41 2008] [alert] [client xx.xx.xx.xx] /home/xxxxxxxx/public_html/forums/.htaccess: Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration
Any help is appreciated. :)

Thanks

Black Tiger 02-21-2008 02:16 PM

Quote:

Invalid command 'php_value',
This notice already says enough, your webhost does not allow you to use this setting in a .htacces file. You have to contact your host to increase the max file uploadsize.

TriumphCorp 02-21-2008 04:48 PM

I have went threw all the instructions to install this

I have gotton to the part where i need to set the options up in the 'downloads' under my admin CP...

I Dont have that category. 'Downloads',

I dont see anywhere to add it.

So far i have uploaded the files in the upload folder , added the xml file, and set directory permissions of the downloads folder to full control

Restarted the IIS service, and i dont have the downloads category in my admin CP, any help?

RS_Jelle 02-23-2008 07:46 AM

Quote:

Originally Posted by GuaRRand (Post 1447995)
K, i asked the serverdude to edit the uploadable size to 64MB.

So i should be able to upload now right?



Yup.... still no go :(
It just says "waiting for www.glcoti.com......." and the progress/load bar stays empty.

Any ideas??
Need me to post some code?

You also need to set post_max_size next to upload_max_filesize ;)

You can view those server settings in your AdminCP index: "PHP Max Post Size" and "PHP Maximum Upload Size".

Quote:

Originally Posted by TriumphCorp (Post 1448215)
I have went threw all the instructions to install this

I have gotton to the part where i need to set the options up in the 'downloads' under my admin CP...

I Dont have that category. 'Downloads',

I dont see anywhere to add it.

So far i have uploaded the files in the upload folder , added the xml file, and set directory permissions of the downloads folder to full control

Restarted the IIS service, and i dont have the downloads category in my admin CP, any help?

Are you sure you uploaded includes/xml/cpnav_ecdownloads.xml correctly? That's the (only) file which controls the AdminCP menu.

GuaRRand 02-23-2008 08:41 AM

argh... max postsize is 8 mb :P
*calls serverdude again*

mark|3 02-23-2008 12:45 PM

any idea on how to place adsense banners in the download module. like at the top and also at the bottom.

thanks

RS_Jelle 02-23-2008 12:59 PM

Quote:

Originally Posted by mark|3 (Post 1449323)
any idea on how to place adsense banners in the download module. like at the top and also at the bottom.

thanks

You can find the vBadvanced CMPS module in the adv_portal_ecdownloads template ;)

So there you can add for example
HTML Code:

    <tr align="center">
      <td class="alt1">
      <!-- Your Adsense code here -->
      </td>
    </tr>

somewhere.

mark|3 02-24-2008 01:24 PM

hi

if i am not using the vBadvanced CMPS module, how do i go about with the integration

thanks

RS_Jelle 02-24-2008 02:23 PM

Quote:

Originally Posted by mark|3 (Post 1449916)
hi

if i am not using the vBadvanced CMPS module, how do i go about with the integration

thanks

Now you are confusing me :p
You were talking about the "download module" and the only module we've got is the vBadvanced CMPS module (add-on).

Where do you want to place the ads?

You can place them almost everywhere as all the layout can be found in the Downloads template group.

glennybee 02-24-2008 03:00 PM

Quote:

Originally Posted by Black Tiger (Post 1448138)
This notice already says enough, your webhost does not allow you to use this setting in a .htacces file. You have to contact your host to increase the max file uploadsize.

Thanks Black Tiger, I've already contacted my host and they have increased it to 10MB.

:)

Black Tiger 02-24-2008 09:50 PM

You're welcome. Nice to hear you have a supportive host!

RS_Jelle 02-26-2008 05:46 AM

If Pirat3 contacts you with a fix for his "blind type SQL injection" security issue, don't use the fix he provides. It's inserting a gigantic security hole into DownloadsII and not fixing anything ...

Black Tiger 02-26-2008 12:58 PM

I already had very heavy doubts about the existance of any sql injection issue in Downloads II, the more he did not provide any prove of anything.

Thanks for the warning RS Jelle!
For all other people, never accept or apply fixes to mods without consideration and/or approval of the coder of the mod and/or the vbulletin.org team. Let them check things first!

InoffLine 02-26-2008 02:22 PM

Hi!
I'm afraid that ask too much for a free and opensource product, but please do smth with sql queries. I have more then 30 on many pages of downloads. It's terrible, as I'm using VPS and mysql usually fells down every evening:mad:

===
But still big thanks for such a great product.

Praxis 02-26-2008 09:58 PM

On the stats page the the date of the downloads is a day off. When I set my GMT time under CP -> User options to GMT it reports the right day. The days I upload the files are all correct but the Stats page reports it wrong. Is this a bug or something designed in?

RedGTiVR6 02-27-2008 05:02 PM

Any word on if this works with 3.7?

RS_Jelle 02-28-2008 06:09 AM

Quote:

Originally Posted by InoffLine (Post 1451459)
Hi!
I'm afraid that ask too much for a free and opensource product, but please do smth with sql queries. I have more then 30 on many pages of downloads. It's terrible, as I'm using VPS and mysql usually fells down every evening:mad:

===
But still big thanks for such a great product.

Already fixed in v6 ;)

But I don't think DownloadsII is the cause of your MySQL server going down. Then you should have really a lot of files. How much of files do you have in your downloads section?

Quote:

Originally Posted by Praxis (Post 1451707)
On the stats page the the date of the downloads is a day off. When I set my GMT time under CP -> User options to GMT it reports the right day. The days I upload the files are all correct but the Stats page reports it wrong. Is this a bug or something designed in?

The stats page is giving the download bandwidth stats, not the upload stats. So if today no one already downloaded a file (uploaded, not a linked one), today won't be displayed. Normally it should work fine.

Quote:

Originally Posted by RedGTiVR6 (Post 1452250)
Any word on if this works with 3.7?

Yes, except for the optional profile template edits.

Hornstar 02-28-2008 06:41 AM

Question, I just noticed you mentioned version 6 above. Approx how far away is this version? will it be 3.7 ready when it is released?

Thanks.

mark|3 02-28-2008 12:40 PM

Don't think i am using the the vbadvanced module :x
sorry for the confusion


for instance in download .php, i would like to have the ads at the top as well as at the end of the page. I have the header ad as its being displayed throughtout my forum. But how to i display at the end of this page.

and also i would like to have an advert just above the comment boxes.

Thanks

Quote:

Originally Posted by RS_Jelle (Post 1449951)
Now you are confusing me :p
You were talking about the "download module" and the only module we've got is the vBadvanced CMPS module (add-on).

Where do you want to place the ads?

You can place them almost everywhere as all the layout can be found in the Downloads template group.


ArticleRus 02-28-2008 01:20 PM

Is there anyway to make a member only accessible to use download once they've reach certain no of post?

Pirat3 02-28-2008 05:32 PM

Just to clarify that was NOT my fix, it was just a report I had from a hacker and he gave me a fix in which I forwarded it to the owner of mod.

Sorry for any confusion guys.

triff 02-28-2008 05:35 PM

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.

I'm getting an "Internal Server Error" on my forum when implementing that code in my .htaccess files. :( I have some vbseo rewrite rules in the .htaccess file from before. Any idea why this happened? What should I do wo be able to post the bigger files?

SGL.

batman1983 02-28-2008 06:30 PM

Is there a RSS Feed for the newest downloads?

maidos 02-28-2008 07:45 PM

when i deleted the category the subcategory still exist...
yeah i would love for a rss feed

exportforce 02-29-2008 02:25 PM

Jelle?
Any news about the new update?

ArticleRus 03-01-2008 12:17 AM

Quote:

Originally Posted by ArticleRus (Post 1452890)
Is there anyway to make a member only accessible to use download once they've reach certain no of post?


Anyone can help?

econobarn 03-01-2008 12:43 AM

I ran into an issue...one of my users is trying to upload a .cfg file...I have 'cfg' listed in the allowed file types but they keep getting this error:

Quote:

Upload Errors
Default Metric.cfg:
Invalid File
All my settings are correct, I can duplicate the issue...I'm curious to why that file type won't upload...

Warcaptain 03-03-2008 01:33 AM

It would be nice if there was a mod of this that used the existing attachment system too.

for example:
-the filetype permissions are the same for attachments as they are for downloads
-when uploading an attachment for a thread or post you can select which catagory the attachment should be (would go in default catagory otherwise)

itd be a cool way of being able to search and browse through all the files on the forums.

either way, nice.. keep it up and i enjoy it!

please keep me updated because as soon as this functionality is added I WANT IT!

ezurick 03-03-2008 10:14 AM

Hi, great MOD. I see there is a setting in the Usergroups to allow access to categories... it wants 1,2,3,4 etc. But how am I suppose to know which is 1 or 2 or whatever? I go to the categories and edit them, but there is no number associated with the category. When I list out the categories to edit, a drop down shows them, but no number. Is that what I am suppose to go by? I have a couple of categories in the middle of this list that I only want certain Usergroups access, but not everyone... and I can't establish what their category number is...

glennybee 03-03-2008 10:21 AM

Hover your cursor over the link to the category and look at the status bar at the bottom of your browser, it should show you the category number there.

Or click on 'Category Tree'.

iettafune 03-03-2008 03:27 PM

sorry for my english but i'm italian.

spiders google yahoo .... see the file upload in this mod???

glennybee 03-03-2008 07:23 PM

Hi,

I have a problem and I was wondering if anyone knows a way round it. :)

I'm on a shared hosting and my upload limit is 10MB. But I have unlimited ftp upload.

Is there anyway that I could upload a large fine via ftp and still have it showing in the downloads section?

For example,

Could I upload a 1MB file.
FTP to my server, replace the rar file in /downloads with the larger file but keep the same filename.

Would the new file be downloadable on the forum?

Any suggestions would be appreciated.

Thanks
Glen

Black Tiger 03-03-2008 10:04 PM

Quote:

Originally Posted by triff
I'm getting an "Internal Server Error" on my forum when implementing that code in my .htaccess files.

In that case your host does not allow you to make these entry's in .htaccess files. You have to contact your host to increase the upload filesize.

@Iettafune: Yes, if you allow guests viewing the files it will. You can also use the vbSEO Google/Yahoo sitemap generator, it has a downloads.php addon in there. This sitegenerator mod can be used stand-alone so you don't need vbSEO installed.

Quote:

Originally Posted by glennybee
FTP to my server, replace the rar file in /downloads with the larger file but keep the same filename.

Probably you can but there is a better solution. Create a separate directory on your webserver, for example http://www.yoursite.com/large/ or something like that.
FTP the 10mb file into that directory.
Then go to your "add file" option in Downloads II and use the "link to file" option.
The only thing you have to do is to add the filesize in bytes yourself, but that's easy.
Suppose your file is 10,2mb then do 10,2x1024x1024 and you should have the size in bytes, but leave of the numbers after the komma, so if the output is 10695475,2 just put 10695475 as the filesize. It works great.
When you have to delete the file, remember to delete them from downloads II and also from that directory because linked files are not deleted automatically (ofcourse).

iettafune 03-04-2008 12:05 PM

Quote:

Originally Posted by Black Tiger (Post 1456291)
@Iettafune: Yes, if you allow guests viewing the files it will. You can also use the vbSEO Google/Yahoo sitemap generator, it has a downloads.php addon in there. This sitegenerator mod can be used stand-alone so you don't need vbSEO installed..


where is this addon???


ps: this mod run on 3.7.0??

econobarn 03-04-2008 01:35 PM

so...no one has any ideas on the issue I am having?


All times are GMT. The time now is 10:42 AM.

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.05156 seconds
  • Memory Usage 1,848KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (20)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