• All,

    I downloaded WP Easy Uploader which is going to be great for what I need (selecting different destination paths for upload. I’m trying to modify the interface to
    1) Auto select the manual destination radio button
    2) Display instructions under manual destination text box for the different paths they should paste in there.

    I found the code that displays the radio buttons and attempted to change the text under it but I can’t make the line breaks show up! Also, I don’t see anything the auto-selects the first radio button to set it to the manual path radio button. The only difference I see is a “, false” at the end of the first button. I tried moving it down but it had no effect. Anyway..here’s the code as it looks currently:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    Thanks for any help you can provide!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter dlvonde

    (@dlvonde)

    ok…let’s try this..from pastebin:

    https://pastebin.com/CqYZm02Y

    lines 18 and 19 are the ones I modified here. I tried “\n”, “.PHP_EOL.” and many combinations in between.

    For automatically selecting the manual path radio button I’m not sure what to do. Line 3 is where it creates the button and the only thing different between it and the other radio buttons is the ” , false” towards the end of the add radio button function. I took it away and put it in the same place in the manual path radio button add but it still kept the uploads button selected.

    Thread Starter dlvonde

    (@dlvonde)

    Ok in addition to the code above I found the addRadio function that will probably assist in determining what to do. It’s all greek to me. I’ve coded in c++, java, etc. but i’m having a problem getting my head around this stuff.

    https://pastebin.com/duLpq4Qq

    Thread Starter dlvonde

    (@dlvonde)

    What would be even better is if when I upload a file, it checks the last 3 characters and automatically fills in the manual text box with the correct path.

    The coolest solution would be to change the radio buttons to ppt, audio, pdf, but The first solution would be MUCH easier to tack on to the existing code with minor modifications (if only I knew what they were!)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Easy Uploader Modify Interface’ is closed to new replies.