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)

Ron1n 06-20-2005 11:40 PM

to fix the problem with users not being able to download files even though guests are allowed to ...

go to dl_files.php, search for
Code:

if ($bbuserinfo['userid']) {
        if ($file['approved'])
                $download = '<a href="./downloads.php?do=file&id='.$file['id'].'&act=down">Download Here</a>';
        else
                $download = 'This file must be approved before it can be downloaded';
}
else {
        $download = 'You must be logged in to download files';
}

replace with
Code:

        if ($file['approved'])
                $download = '<a href="./downloads.php?do=file&id='.$file['id'].'&act=down">Download Here</a>';
        else
                $download = 'This file must be approved before it can be downloaded';


bspiller82 06-21-2005 12:11 AM

Quote:

Originally Posted by Ron1n
to fix the problem with users not being able to download files even though guests are allowed to ...

go to dl_files.php, search for
Code:

if ($bbuserinfo['userid']) {
        if ($file['approved'])
                $download = '<a href="./downloads.php?do=file&id='.$file['id'].'&act=down">Download Here</a>';
        else
                $download = 'This file must be approved before it can be downloaded';
}
else {
        $download = 'You must be logged in to download files';
}

replace with
Code:

        if ($file['approved'])
                $download = '<a href="./downloads.php?do=file&id='.$file['id'].'&act=down">Download Here</a>';
        else
                $download = 'This file must be approved before it can be downloaded';


Added that but now it shows the Download File link but when you click it nothin happens. It however downloads just fine if your logged in. When not logged in the download does nothing...
http://www.247xtreme.com/forums/down...?do=file&id=13

cosmin 06-21-2005 11:38 AM

Quote:

Originally Posted by d2sector
How do you get it to update the File numbers when you have sub categories.. If I have 13 files for example in the subs it still shows 0... instead of 13

One Files 0
> Sub 1 File 3
> Sub 2 Files 10

:ermm:

--
i am still having this problem along with others... what is the solution for this? noone else having this problem?

Ron1n 06-21-2005 01:30 PM

Quote:

Originally Posted by cosmin
--
i am still having this problem along with others... what is the solution for this? noone else having this problem?

this has been brought up several times... there is no fix for that this version. I should be done with the version for 3.5 within 1 week. Then someone can get it working again on 3.0.x

Ron1n 06-21-2005 01:40 PM

Also do the following:

Change:
Code:

if (($_GET['act'] == 'down') && ($bbuserinfo['userid'] > 0)) {
To:
Code:

if (($_GET['act'] == 'down') && ($bbuserinfo['userid'] > 0)) {
If that doesnt fix it, I'm not going to bother. Just wait until the next version is released. I'm seriously almost 90% done with the upgrade to 3.5. It shouldnt be hard to move it back again.

c0d3x 06-22-2005 08:38 PM

i can't wait anymore ^^

Ron1n 06-22-2005 08:45 PM

3.0 will be released tonight

Blue Steel 06-23-2005 03:37 PM

waiting ;) with an.... tisipation... LOL

c0d3x 06-23-2005 04:24 PM

you're the best Ron1n :D ;)

Ron1n 06-23-2005 09:10 PM

i decided to make the best installer ever seen, so it will take me a day or two more...

trust me, this installer will kick ass.


All times are GMT. The time now is 01:58 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.02278 seconds
  • Memory Usage 1,744KB
  • 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
  • (3)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