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)

kalisekj 06-26-2009 03:43 PM

Great Mod! WooHoo! I would Love to see in a future release the ability for multiple links to be added to a single download. Especially in today's age we have anywhere from 2 - 50 links for a single file. Is this possible?

chris82 06-26-2009 07:04 PM

Where would u edit the color of text in the Download section, my background is black and so is the text.. cant see! lol Thanks!

Konstantinos 06-26-2009 07:11 PM

Quote:

Originally Posted by chris82 (Post 1838021)
Where would u edit the color of text in the Download section, my background is black and so is the text.. cant see! lol Thanks!

in style manager

chris82 06-29-2009 02:20 PM

Could u explain little more detail? Have not being able to find.

BozzaJos 06-30-2009 02:51 PM

Hey guys!

Been using the Downloads mod since the very beginning but unfortunately, I just encountered a huge database error. When someone tries to download a file, a new browser page opens and the following error is displayed:

Code:

Database error in vBulletin 3.8.1:

Invalid SQL:

SELECT time
FROM dl_downloads
WHERE (`userid`=1
OR `clientip`='xxx.xxx.xxx.xx')
ORDER BY `time` DESC LIMIT 0,1;

MySQL Error  : Table 'dl_downloads' is marked as crashed and should be repaired
Error Number  : 1194
Request Date  : Tuesday, June 30th 2009 @ 05:47:32 PM
Error Date    : Tuesday, June 30th 2009 @ 05:47:33 PM
Script        : http://url/downloads.php?do=file&id=2032&act=down
Referrer      : http://url/downloads.php?do=file&id=2032
IP Address    : not important
Username      : not important
Classname    : vB_Database
MySQL Version : 5.0.77-community

Can anyone please tell me what the error is about and how to solve it? Please note that I already followed the advise of the MySQL Error but repairing the table didn't solve it. MyPHPAdmin said that the table is already uptodate.

Thank you in advance for your reply. Please consider this message urgent because this mod is by far the most important feature of my site and being without it really cripples the site.

Regards,

Bozza

paul41598 06-30-2009 05:34 PM

One other question. How secure is the file based version of this? My files are being stored on the host itself and not on the database. I can access my file and open it if I put in the path manually. I have classified information, and I'm thinking I should utilize the DB for this. Right?

rangana1 07-01-2009 10:50 AM

thx bro

SSG.D 07-01-2009 11:39 AM

Hi! Thanks for the mod and your work.

I have a issue with adding to my .htaccess file: When I put
Code:

php_value upload_max_filesize 40M
php_value post_max_size 40M

in the file, my web site will not display, I get a server config error page.

This is what my .htaccess file looks like now
Code:

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
#The next line modified by DenyIP
order allow,deny
#The next line modified by DenyIP
#deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName mysite.net
AuthUserFile /home/mysite/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/mysite/public_html/_vti_pvt/service.grp

 
<Files 403.shtml>
order allow,deny
allow from all
</Files>

Can someone give me a hand? or give me a better example of a .htaccess file used in the forum root?
Thanks for any help:o

RS_Jelle 07-01-2009 12:39 PM

Quote:

Originally Posted by chris82 (Post 1839593)
Could u explain little more detail? Have not being able to find.

AdminCP -> Styles & Templates -> Style Manager -> Style dropdown menu of your style -> Main CSS

Quote:

Originally Posted by BozzaJos (Post 1840214)
Hey guys!

Been using the Downloads mod since the very beginning but unfortunately, I just encountered a huge database error. When someone tries to download a file, a new browser page opens and the following error is displayed:

Code:

Database error in vBulletin 3.8.1:

Invalid SQL:

SELECT time
FROM dl_downloads
WHERE (`userid`=1
OR `clientip`='xxx.xxx.xxx.xx')
ORDER BY `time` DESC LIMIT 0,1;

MySQL Error  : Table 'dl_downloads' is marked as crashed and should be repaired
Error Number  : 1194
Request Date  : Tuesday, June 30th 2009 @ 05:47:32 PM
Error Date    : Tuesday, June 30th 2009 @ 05:47:33 PM
Script        : http://url/downloads.php?do=file&id=2032&act=down
Referrer      : http://url/downloads.php?do=file&id=2032
IP Address    : not important
Username      : not important
Classname    : vB_Database
MySQL Version : 5.0.77-community

Can anyone please tell me what the error is about and how to solve it? Please note that I already followed the advise of the MySQL Error but repairing the table didn't solve it. MyPHPAdmin said that the table is already uptodate.

Thank you in advance for your reply. Please consider this message urgent because this mod is by far the most important feature of my site and being without it really cripples the site.

Regards,

Bozza

I can't tell you a lot more than the error says. If the table is crashed, you need to try repairing it. Try doing this with phpMyAdmin.

As the dl_downloads table is only a log table, you could drop it and recreate it (with all its fields).

Quote:

Originally Posted by paul41598 (Post 1840275)
One other question. How secure is the file based version of this? My files are being stored on the host itself and not on the database. I can access my file and open it if I put in the path manually. I have classified information, and I'm thinking I should utilize the DB for this. Right?

DownloadsII isn't meant for classified information. It's just a community mod, not something for NASA :D
You could guess indeed the file url's.

Quote:

Originally Posted by SSG.D (Post 1840685)
Hi! Thanks for the mod and your work.

I have a issue with adding to my .htaccess file: When I put
Code:

php_value upload_max_filesize 40M
php_value post_max_size 40M

in the file, my web site will not display, I get a server config error page.

This is what my .htaccess file looks like now
Code:

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
#The next line modified by DenyIP
order allow,deny
#The next line modified by DenyIP
#deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName mysite.net
AuthUserFile /home/mysite/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/mysite/public_html/_vti_pvt/service.grp

 
<Files 403.shtml>
order allow,deny
allow from all
</Files>

Can someone give me a hand? or give me a better example of a .htaccess file used in the forum root?
Thanks for any help:o

This could be due to your hosting configuration, so ask your webhosting company ;)

maidos 07-01-2009 12:51 PM

Quote:

DownloadsII isn't meant for classified information. It's just a community mod, not something for NASA :D
You could guess indeed the file url's.

but theres anti hotlinking scripts on the net for a reason. also agree but if your server got compromised by say /tmp exploit the hacker can easily go to /downloads directory and copy all file links and hotlink to the internet and that would be a disaster not to mention webmaster that use your mod with over 500 000 files. so i also beg you to implement a good antihotlinking solution


All times are GMT. The time now is 02:22 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.04686 seconds
  • Memory Usage 1,758KB
  • 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
  • (6)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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