• Resolved careb

    (@careb)


    %username% displays correctly, but the files are uploaded into the regular blog folder, not a %username% subfolder as intended.

    I have a custom upload path set:
    https://www.mysite.com/wp-content/f

    and this is a multisite install, so this blog is:
    /sites/blogid/

    I have tried to use:

    /sites/%blogid%/%username%
    /sites/blogid/%username%
    /%username%

    and have not gotten the desired result. Additionally, I have turned on “Show Detailed Admin Messages” and “Debug Mode”, but not error messages are displayed.

    The uploads are working, but it appears that the upload path shortcode is not …

    Any help would be appreciated. ??

    https://www.ads-software.com/plugins/wp-file-upload/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author nickboss

    (@nickboss)

    Hi sorry for the delay, I was releasing a new version,

    Please send me your shortcode to check…

    Nickolas

    Thread Starter careb

    (@careb)

    same here, re: delay ??

    anyway, the shortcode:

    [wordpress_file_upload singlebutton="true" uploadpath="/sites/%blogid%/%username%" uploadrole="coordinator,teacher" maxsize="10" createpath="true" showtargetfolder="true" dublicatespolicy="maintain both" uniquepattern="datetimestamp" redirectlink=" https://teambox.dongguk.ac.kr/fclb/media/" adminmessages="true" forceclassic="true" debugmode="true" placements="subfolders+filename+selectbutton/progressbar/message" uploadtitle="" waitmessage="File %filename% is being uploaded to %filepath%" widths="filename:99%" medialink="true"]

    Plugin Author nickboss

    (@nickboss)

    Hi, you have medialink=”true”. This means that uploaded files as added to Media of your website. However, media files must be saved in the standard upload folder of WordPress, that is why the plugin replaces uploadpath with the standard upload path of WordPress.

    Do you really want to add your files to Media? If not, then you can remove medialink attribute from the shortcode and then uploadpath will work fine.

    Nickolas

    Thread Starter careb

    (@careb)

    Yup, I want to add the files to Media, in username directories.

    All the media files are in the customized directory and show up in Media, in the Library, but not the uploads with the shortcode above.

    If I take the medialink attribute out, then uploads work and go into username subdirectories, but don’t show up in Media at all …

    If I put the medialink attribute back in, then uploads still work and they go into Media, but no subdirectories …

    Thread Starter careb

    (@careb)

    btw, if it’s possible, being your support page, can you edit my comment with the shortcode to remove the hyperlink? Maybe replace it with “www.mysite.com”? ??

    (That was an oversight and what I get for replying with other things on my plate.)

    Plugin Author nickboss

    (@nickboss)

    Dear careb, I don’t think I have this capability, to edit your comment or delete it.

    Nevertheless, you can edit the upload path and make it as you wish, but you need to add another plugin in your website, called Code Snippets, so that you can implements the filters and actions of WordPress File Upload plugin. If you want, I can help you set it up.

    Nickolas

    Plugin Author nickboss

    (@nickboss)

    Careb, please take a look at the last article published on iptanus.com, which rescribes how you can solve your problem.

    Nickolas

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Can't get %username% upload path to work’ is closed to new replies.