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)

ManX72 08-09-2008 11:49 PM

After spend a few hrs with this,im having a few issues with this,
heres were im at now:
http://www.conflict-2142.com/ (top left)

what am i missing?

RS_Jelle 08-10-2008 11:20 AM

The link you have put there is wrong. Your downloads section is located at http://www.conflict-2142.com/forums/downloads.php

http://www.conflict-2142.com/forums/...ads/index.html is just a plain white page to keep the downloads folder unlistable, necessary for some servers. That folder is only for storing the uploaded files, you don't need to link to it in any ways.

Daky 08-10-2008 11:48 PM

Quote:

Originally Posted by RS_Jelle (Post 1593870)
That's a problem with the DownloadsII Create New Thread Add-On ;)


can u help me with this problem or should i post a question there?
tnx

mehrdad220 08-11-2008 03:46 PM

is there any way to add a CMPS latest added block which shows the latest added file from a specific category only??

Daky 08-12-2008 01:01 PM

Quote:

Originally Posted by Daky (Post 1595850)
can u help me with this problem or should i post a question there?
tnx

solved,... tnx!!!!!!!!!!!

RS_Jelle 08-13-2008 12:17 PM

Quote:

Originally Posted by mehrdad220 (Post 1596317)
is there any way to add a CMPS latest added block which shows the latest added file from a specific category only??

No, that's not possible at the moment. Only the latest files of alle categories can be displayed. Although it's easy to make.

Module dl2categorylatest.php PHP code (change the $categoryid):
PHP Code:

require_once('./includes/class_downloads.php');
$dl = new vB_Downloads();

$categoryid 5// Set this yourself

$statslatestfiles_q $db->query_read("SELECT name, id FROM " TABLE_PREFIX "dl_files WHERE `purgatory`= 0 AND category = $categoryid ORDER BY `date` DESC LIMIT " $dl->statslatestfiles);

while (
$latest $db->fetch_array($statslatestfiles_q))
{
    
$name htmlspecialchars_uni($latest['name']);
    
$id $latest['id'];
    
$url $vbulletin->options['bburl'] . '/downloads.php?' $vbulletin->session->vars['sessionurl'] . "do=file&id=$id";

    if (
$id 0)
    {
        eval(
'$dpanel_latest_bits .= "' fetch_template('downloads_panel_bit') . '";');
    }
}

$db->free_result($statslatestfiles_q);

eval(
'$home[$mods[\'modid\']][\'content\'] .= "' fetch_template('adv_portal_dl2categorylatest') . '";'); 

adv_portal_dl2categorylatest template:
HTML Code:

<tr>
        <td class="thead">Latest Files</td>
</tr>
<tr>
        <td class="alt1">
                <table cellpadding="2" cellspacing="$stylevar[cellspacing]" border="0" width="100%">
                $dpanel_latest_bits
                </table>
        </td>
</tr>

(Installation goes the same as the default vBa CMPS add-on, except the above changes.

Saint_ago 08-13-2008 02:36 PM

My host use 4 servers in the forum structure:

1 DB server
1 File server
2 Web servers with load balance

When we use this config, the large downloads stops at 25% or less, and never completes correctly. When we switch to a single web server, the error doesn't occurs or occurs less often. What i can do to use this hack with a load balance config?

And when (or if) a download manager support will be implemented?

Thanks in advance

JohnChapman 08-15-2008 05:59 PM

When I try to upload a file, I get the following error:
Warning: move_uploaded_file(./downloads/26325-ReportWritersSurvivalGuide.pdf): failed to open stream: Permission denied in [path]\downloads.php on line 1302

Warning: move_uploaded_file(): Unable to move 'C:\PHP\uploadtemp\php10E7.tmp' to './downloads/26325-ReportWritersSurvivalGuide.pdf' in [path]\downloads.php on line 1302

Should I be contacting my site host, or checking my setup/security settings?

drpeppper 08-15-2008 08:11 PM

hi, ive tried endlessly to arrange the thumbs to be inline.
having them vertical wastes an awful lot of space. is there a way i can have them side by side?

[_] [_] [_] [_]

thanks you

se_p800 08-16-2008 01:06 PM

This may sound a little strange, but I have installed this mod and its great! But how would I add another downloads section? Example I currently have www.example.ex/forums/downloads.php but I want another one at maybe example.ex/forums/downloads2.php with completely different files.

Is there any way to do this?


All times are GMT. The time now is 07:33 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.04533 seconds
  • Memory Usage 1,756KB
  • 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
  • (1)bbcode_html_printable
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (6)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