Results 1 to 3 of 3

Thread: No Option for FTP Attachment Uploads

  1. #1

    Default No Option for FTP Attachment Uploads

    1. after upgrading, I now have 2 navtabs showing my File area.
    2. I used to be able to upload a file using my ftp program for larger files, now that is not an option? If I try to upload a file from a website, nothing happens.
    I can upload small files though.

  2. #2
    Join Date
    Jan 2004
    Georgia, USA


    1). Once a fix is determined it will be posted in this thread:

    2). Thank you for pointing this out. You should be able to resolve this issue by looking in your dynamics/newattachment.php file for this code:
    PHP Code:
    // FTP
    if ((defined('CAN_FTP_ATTACH') OR $vba_dyna->check_cat_perms('canftpattach')) AND $vba_options['dyna_attachmax'] > $totallimit)
    $ftppath $vba_options['dyna_attach_ftppath'] . '/' $vbulletin->userinfo['userid'];

    $vbulletin->templatecache[ADV_DYNA_PREFIX '_newattachment_ftpbit'] . '".(($show[\'attachmentlist\'])'

    Replace with this:
    PHP Code:
    // FTP
    if ((defined('CAN_FTP_ATTACH') OR $vba_dyna->check_cat_perms('canftpattach')) AND $vba_options['dyna_attachmax'] > $totallimit)
    $ftppath $vba_options['dyna_attach_ftppath'] . '/' $vbulletin->userinfo['userid'];
    $templater vB_Template::create(ADV_DYNA_PREFIX '_newattachment_ftpbit');
    $ftp_bit $templater->render();

    'if ($show[\'attachmentlist\']) {',
    '$final_rendered .= \'' $ftp_bit '\'; if ($show[\'attachmentlist\']) {',

    And then replace the contents of your 'adv_dyna_newattachment_ftpbit' template with the following:
    <div class="blockbody formcontrols">
    	<h3 class="blocksubhead">{vb:rawphrase upload_files_via_ftp}</h3>
    	<div class="blockrow">
    		<input type="checkbox" name="ftpupload" id="ftpupload" value="1" />
    		{vb:rawphrase upload_files_via_ftp_desc}
    		<div style="padding-top: {vb:math {vb:stylevar padding}/2}"><i>{vb:raw ftppath}</i></div>
    <div class="blockfoot actionbuttons">
    	<div class="group">
    		<input type="submit" class="button" name="upload" value="{vb:rawphrase upload}" />
    Frequently Asked Questions
    CMPS Users Manual

    For vBadvanced software assistance, please use the support forums.
    Unsolicted PMs, IMs, and email will not be responded to.
    If you have a non-software related question or problem with your account, please submit a support ticket.

  3. #3


    Works like a charm!

    Thanks Brian

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Latest Uploads like ProvB Index has...
    By Theater in forum Module & Modification Discussion & Requests
    Replies: 5
    Last Post: 03-30-2009, 05:13 AM
  2. i need this option
    By deathemperor in forum Troubleshooting & Problems
    Replies: 2
    Last Post: 10-06-2007, 08:20 PM
  3. vBgarage "Latest Uploads" on CMPS Page?
    By JoeyAnderson in forum Module & Modification Discussion & Requests
    Replies: 5
    Last Post: 11-26-2005, 04:07 PM
  4. Where is this option?
    By in forum Troubleshooting & Problems
    Replies: 1
    Last Post: 07-19-2005, 03:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts