WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: WP-FacebookConnect] Submit Query button (8 posts)

  1. brentc
    Member
    Posted 5 years ago #

    When the user is connected the submit button Changes from "Submit" to saying "Submit Query" How can I remove "Query" from the string.

    thanks

  2. ahupp
    Member
    Posted 5 years ago #

    If you search for the function "setup_feedform" in fbconnect.js you'll see where the new input button is created. It doesn't set any explict name on the button so I think "Submit Query" must be a default.

    Try adding something like

    subbutton.setAttribute('value', 'Submit')

    where the button is being setup. I'll make this change in the next version. Thanks!

    -Adam

  3. CAUK1982
    Member
    Posted 5 years ago #

    Anyone else having issues posting comments with this plugin? I'm getting the comment sent back to my Facebook profile, but the comment will not post to the blog and the Facebook Connect container for the status publication will not close. I have done a small edit to fbconnect.js as detailed above to make the form appear the same to Facebook Connect users as it does to normal logged in users by adding 'value' and 'id' setattributes.

    This page on my test installation demonstrates the issue, probably much better than how I've explained it: http://www.globalf1.net/wordpress-development/2006/04/30/gf1w-promo/ ;)

  4. CAUK1982
    Member
    Posted 5 years ago #

    Ignore my previous comment - I hadn't noticed the comment in the javascript file regarding the id attribute for the submit button. Oops!

  5. JasonCWms
    Member
    Posted 5 years ago #

    @ ahupp

    If I make that change to the .js file, how do I get it to follow the same formatting from the theme?

    Without using FB connect, it's a regular submit button with a green box background. But when a user logs in with FB connect, it seems to be a default submit button of some sort.

    Is there a way to make it follow the CSS from the theme?

  6. JasonCWms
    Member
    Posted 5 years ago #

    @ ahupp

    .... to add to my previous question, I have just noticed that it the plugin adds its version of the submit button directly below the original submit, therefore having two of them.

    Any advices on what I should do?

  7. vefritid
    Member
    Posted 5 years ago #

    I use an image instead of text in my regular commentform... would it be possible to call the image throught this feature?

  8. ahupp
    Member
    Posted 5 years ago #

    For those of you that had problems with publishing feed stories that bug is fixed in version 1.1.1.

    @jasonCWms, vefritid,
    There are some changes in the most recent version (v1.1.1) that should resolve this issue. The reason we have to modify the submit button in the first place is that the default theme (and many derived from it) has a bug that gives the submit button an attribute name="submit". This makes the .submit() function on the form become the button, and prevents the plugin from working.

    If you make sure the submit button has some other name (e.g. name="submit_button") the button won't be touched by the plugin at all.

    You can download the new version here:

    http://wordpress.org/extend/plugins/wp-facebookconnect/

    -Adam

Topic Closed

This topic has been closed to new replies.

About this Topic