This post was last edited by Wzh_xwjh on 2013-04-07 13:12:33
Search the Forum on the discovery of a oxwall on the post are not, I do not know to this familiar friend, or to PHP and smarty familiar with, ask a question. I want to put oxwall inside "video Add" this part to upload video, because paste embed code not everyone will, embed code did not make on the video link to, change to local upload operation will be convenient point. But fiddling with a few days are not ready, do not know how to change, I halfway decent learn php, Smarty also know not much. My idea is that the "Add video" page of the "Embed Code" column to select the video file edit box Plus button, and then click on the "Add" button below the file upload to the server, the original page 1, I want to make Figure 2 look, the interface is made so that, do not know where to change the button response event. I tried to add another button to do the upload, but it was strange that two buttons responded to the "Add" event.
Figure 1-The original interface
Figure 2-New interface
Reply to discussion (solution)
Has anyone changed this? In the Oxwall official forum did not see people to discuss this issue, the issue of uploading files no one back,
Button response events should be controlled in the foreground JS
Button response events should be controlled in the foreground JS
Kazakhstan, can specifically say is which JS file Ah, I saw a few changes have no effect, is the Ow_smarty directory of temporary files deleted also did not work
No solution.
This means that your system does not provide the video upload function.
It's not a little bit of work to add.
Involve at least 2 program files, large file upload itself is a problem
This means that your system does not provide the video upload function.
It's not a little bit of work to add.
Involve at least 2 program files, large file upload itself is a problem
The original design of the program is this, but I want to change it to support video upload, so there is this. I went from C to PHP, only for a few months, PHP is not familiar, but also a bunch of JS and HTML
That is why I said that.
You have to learn how to write a file upload program, and then read the program. And think about how to put your program into it.
That is why I said that.
You have to learn how to write a file upload program, and then read the program. And think about how to put your program into it.
Excuse me! Spent a long time not to understand other people's procedures, on the official website to see people asked this question has been a year no one answered, think of csdn try to see if there are peers in the country to deal with this problem. Ah, or fill in the code to go ~ ~