vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Add-On Releases - BFC-Download (https://vborg.vbsupport.ru/showthread.php?t=212379)

Trek 10-07-2009 09:48 PM

Some more bugs:

Uploading Category Images:

If file system is on, the files write correctly to the file system.
The category images show correctly in the Admin CP.
The category images DO NOT show to end users.

If the file system is off, the files write correctly to the database.
The category images DO NOT show correctly in the AdminCP.
The category images show correctly to end users.

Editing a file already uploaded:

The category is not selected, it defaults to the "----" category and you have to reset it.

Trek 10-07-2009 10:19 PM

Here's a fix for the category images not appearing. This will make them display correctly depending on the switch you have set for the filesystem/database file saving.

Open \download.php

Find:
Code:

    $caticon        = $row['cat_icon'];
Add After:
Code:

    $caturl            = $row['cat_icon_url'];

        if ($caticon){
            $cicon = '<a href="cat.php?img=' . $catid . '"><img src="cat.php?img=' . $catid . '" height="50" border="0"></a>';
        } else {
            $cicon = '<img src="/icat/'.$caturl.'" border="0" height="50">';
        }

Edit Template: bfc_download_cat_bit

Find:

Code:

        <div align="center"><img src="cat.php?img=$cid" height="50"></div>
Replace with:

Code:

        <div align="center">$cicon</div>

Trek 10-07-2009 10:21 PM

\admincp\cat.php and \admincp\img.php both also are missing the DB prefix.

New Joe 10-08-2009 06:02 AM

Looks like there are a lot of bugs with this, I've clicked Uninstalled.

Trek 10-08-2009 04:46 PM

Quote:

Originally Posted by New Joe (Post 1896445)
Looks like there are a lot of bugs with this, I've clicked Uninstalled.

If you make the changes I mentioned, it works pretty good. Mostly just needs and update from the author. In all fairness, he does list it as BETA. Also, if you don't use a DB prefix for your table names, half of the changes are not necessary.

The only thing really is, all uploading files are going to be in your database, not the file system. I'll look into that when I have some time, but hopefully the author responds and gets all of it fixed before then as I'm just digging around in his code, he knows it better than I do.

jkcerda 10-19-2009 04:09 PM

tagged

Welshy2008 10-19-2009 07:06 PM

Tagged, and watching with interested.

reddyink 11-01-2009 09:29 PM

what's the difference between this and popular dowloadsII mod (3000+installed).

thanks

LCN2007 11-02-2009 03:59 PM

Any Updates on this?

I have DownloadsII but interested in comparing the 2

NTMID8 11-02-2009 06:41 PM

Still waiting on an update here as I really want to use BFC.


All times are GMT. The time now is 03:41 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.04285 seconds
  • Memory Usage 1,736KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)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