How do I add button.

5 replies [Last post]
Joined: 08/19/2009
Points: 10

How do I add the button "upload video" which now appears to send comments (wordpress with all on video pack) in another form that allows users to post by refistrados?
And as I get the code to embed in it?

No way?

Thank you.

Joined: 01/05/2009
Points: 1697

Hi Daniel...

I didn't really understood your question - can you please try and elaborate or refine it?

Thanks!

Joined: 08/19/2009
Points: 10

Yes, sorry for my comments, I use the google translator.

I meant, as I add the "Add Video" in another plugin that allows you to send posts (tdo mini forms pluggin) and I take the code returned by the server.

Is it possible? is very complicated, there are some examples?

Thanks

Joined: 08/19/2009
Points: 10

Hi,
I resolved, I found the solution.

Thanks.

Joined: 03/29/2009
Points: 764

Hi,

Glad to hear that - can you share the solution with us?

Joined: 08/19/2009
Points: 10

Hello, well, as I said before, I can not express myself as I have to use the google translator.

Hello.
I think the ideal solution would be that the call button is included as parameters to the language, the name of the field and performs submit a field where inserted video (embedded code). But I do not have much experience, I could only change the js function that writes the code in the form to work with a form that is not specific to wordpress comments, changing the field name in the code, it being like this:

function addWidgetSuccessHandler(data, status)
{
//Verifico si existe el campo comentario
if (topWindow.jQuery("#comment,[name=comment]") > 0) {
var jqComments = topWindow.jQuery("#comment,[name=comment]");
} else {
// Se esta utilizando el campo de post nuevo.
var jqComments = topWindow.jQuery("#content,[name=content]");
}
var jqSubmitButton = topWindow.jQuery("#submit,[name=submit]");
....

in page page_contribution_wizard_video_comment.php

Note: You change the size by the length of jquery compatibility.

You can use it well?