vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   ecDownloads 3.2 Legacy (https://vborg.vbsupport.ru/showthread.php?t=75198)

TheCaver 05-15-2005 07:10 AM

Any plans in making a "minimum" post count in order to download from downloads section?

Marco van Herwaarden 05-15-2005 10:17 AM

Quote:

Originally Posted by JimpsEd
^ Bump!

Maybe it would help if you posted the exact error message you are getting, or at least what you where doing (which script).

If you already posted this somewhere before in the thread, please repeat.

j_86 05-15-2005 11:12 AM

Quote:

Originally Posted by MarcoH64
Maybe it would help if you posted the exact error message you are getting, or at least what you where doing (which script).

If you already posted this somewhere before in the thread, please repeat.

Thank you :)

https://vborg.vbsupport.ru/showthrea...apn#post642132

Marco van Herwaarden 05-15-2005 12:00 PM

Ok, try the following:

In file ./includes/dl_functions.php find:
PHP Code:

        $sqlstring .= " `latest[".($i+1)."]` = '".$array['name'][$i]."', `latestid[".($i+1)."]` = '".$array['id'][$i]."', `latestval[".($i+1)."]` = '".$array['value'][$i]."'"

and replace by:
PHP Code:

        $sqlstring .= " `latest[".($i+1)."]` = '".addslashes($array['name'][$i])."', `latestid[".($i+1)."]` = '".$array['id'][$i]."', `latestval[".($i+1)."]` = '".$array['value'][$i]."'"

Find:
PHP Code:

        $sqlstring .= " `popular[".($i+1)."]` = '".$array['name'][$i]."', `popularid[".($i+1)."]` = '".$array['id'][$i]."', `popularval[".($i+1)."]` = '".$array['value'][$i]."'"

Replace by:
PHP Code:

        $sqlstring .= " `popular[".($i+1)."]` = '".addslashes($array['name'][$i])."', `popularid[".($i+1)."]` = '".$array['id'][$i]."', `popularval[".($i+1)."]` = '".$array['value'][$i]."'"

Find:
PHP Code:

  $sqlstring .= " `contrib[".($i+1)."]` = '".$array['name'][$i]."', `contribid[".($i+1)."]` = '".$array['id'][$i]."', `contribval[".($i+1)."]` = '".$array['value'][$i]."'"

Replace by:
PHP Code:

  $sqlstring .= " `contrib[".($i+1)."]` = '".addslashes($array['name'][$i])."', `contribid[".($i+1)."]` = '".$array['id'][$i]."', `contribval[".($i+1)."]` = '".$array['value'][$i]."'"


Paul M 05-15-2005 12:04 PM

Soo many fixes to find in this topic - is the zip going to get updated.

j_86 05-15-2005 12:11 PM

Zip file updated yesterday, so I assume all fixes except for the one posted above by Marco.

Thanks MArco :)

Marco van Herwaarden 05-15-2005 01:20 PM

Did it help?

I can't test this since i don't have it installed myself.

TheCaver 05-15-2005 04:12 PM

Quote:

Originally Posted by TheCaver
Any plans in making a "minimum" post count in order to download from downloads section?

Yes, No??

Dark s.s. Trunk 05-17-2005 07:59 AM

Well I just decided to install this today and well thus far ok however I think I am missing something because after the install was done their is no links in my navbar, and when i type in ./vbforums/downloads.php their is no way to Manage files no links oh and after i added a Catagory I reloaded the downloads.php page and its their so i click on it and it just loads a blank page..

I did not have any of the other version install first time install of new version so do i need something else before this to make it work or is the install Faulty.

memobug 05-17-2005 09:43 PM

Was this fixed? Version 2.0 - if the title has single quotes in it like "Rock 'n' Roll" you get MySql errors when it tries to insert:

Quote:

Invalid SQL INSERT INTO file_files ('name',......
VALUES ('Rock 'n' Roll'...
Regards,

Matt


All times are GMT. The time now is 02:35 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.01844 seconds
  • Memory Usage 1,769KB
  • 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_php_printable
  • (4)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
  • (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