Attempting Easy Uploader Hack
-
Hello All,
I installed the WP Easy Uploader plugin and began poking around in the wp-easy-uploader.php to try and change a couple things about the interface.
I found where it creates the radio buttons for the destination path section here
Then I found the addRadio() function the above code is calling here.
As you can see in the first link..at first I tried to just change the text under the “manual path” radio button section, but I couldn’t make the line breaks work. Then I decided if I just knew the syntax/variables I should be able to:
1) Have the manual path radio button be the default selected
2) Have the string in the upload text box be evaluated and auto populate the manual path text box based on the file typeSo when php creates the page it sets the manual path to selected or “checked” I believe is the proper attribute name.
Then when the upload file is selected and the path is placed in the upload file texbox, that text is evaluated and something like
if right 3 characters of string is ppt, stick /wp-content/pptFiles in manual path textbox.Does that sound too ridiculous? I know in other languages it’s not, but this PHP is greek to me. I’m having a hard time getting my head around it!
The topic ‘Attempting Easy Uploader Hack’ is closed to new replies.