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

    thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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

    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: https://www.globalf1.net/wordpress-development/2006/04/30/gf1w-promo/ ??

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

    @ 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?

    @ 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?

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

    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:

    https://www.ads-software.com/extend/plugins/wp-facebookconnect/

    -Adam

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WP-FacebookConnect] Submit Query button’ is closed to new replies.