I believe that sites would see a lot more signups if the button was changed. It currently says "Connect", and I suspect that most users won't really know what that means. They would understand "Login" or "Login with Facebook" though. Even "Sign in with Facebook" would be good. I'm sure that all of those variants will be more useful than "Connect", and I guess that "Login with Facebook" will see the best login rate.

So, my request is that the "Connect" button be changed to a "Login with Facebook" button.

Comments

quicksketch’s picture

You can do this through theming. See #1319282: Allow Addition of Custom Code.

Actually on the one site I'm using this module, we're not using the default button either because we wanted to round the corners on it a bit, though it still says "Connect": http://www.grammy.com.

OneTwoTait’s picture

Regardless if it can be done through theming, I think a user-friendly login button should be used by default.

quicksketch’s picture

Title: Change Facebook Button » Change Facebook Button to "Login with Facebook" instead of "Connect"

Well I suppose Facebook itself has come to the same conclusion, see this FAQ item on What happened to Facebook Connect?

However if we take this approach we need to implement some variable display, since a user can connect their account with Facebook even after they've logged in (which allows future logins through Facebook to that particular account). So basically our current login button would use the "Login with Facebook" button for anonymous and probably "Connect" button for authenticated, unless there's a more appropriate button available.

konrad1811’s picture

Just want to say a great job - this module :)

Previuosly I used Drupal for Facebook but that one couldn't handle FB email mapping to Drupal.

This one does it well without searching for !

Regards

federico’s picture

My site is in Spanish and I would like to translate the button. I couldn't find the string using Drupal

jay.lee.bio’s picture

Version: 6.x-1.3 » 7.x-1.x-dev

I noticed that the Grammy website now uses the following: http://developers.facebook.com/docs/reference/plugins/login/

So how about change "Connect" to "Log In" for anonymous users & "Connect" for authenticated users? I think that's the best solution.

le_bodyguard’s picture

I have change my button on "fboauth.module" in

/**
* Return a link to initiate a Facebook Connect login or association.

function :
Change this for your image path :

 $src = ($GLOBALS['is_https'] ? 'https' : 'http') . '/sites/all/modules/fboauth/connect_light_medium_short.gif';
mermemladeK’s picture

I think the correct way to change the button is to do it in the developer area of FB. I've read its sized can be changed and the text customized. Do you have a hint on how to do so?

Lionsharz’s picture

subscribing

nikkwong’s picture

any news on this?

alex.petcu87’s picture

Please someone can help me to add a block with a connect with facebook buton, I tray several metods, but I'm new in drupal and I don't know how.
I enable the simple fb connect, configured, but I cannot add a facebook buton to my login form, the site is www.polux.ro

RgnYLDZ’s picture

There should be a block called "Facebook Login" in blocks. You can add it right after the lofin form and do some css to get it beside the login button.

I did this in www.dizipin.com

itqan-2010’s picture

#7 worked for me
change that line to be like this

$src = ($GLOBALS['is_https'] ? 'https' : 'http') . '://yoursite.com/sites/default/files/anyimage.jpg';

or what ever your path for the image you want.

meSte’s picture

Issue summary: View changes

Come on... #7 can't be a solution. Changing the module is never a solution.

From the module's source code:

If wanting to customize the display of the link, override the theme_fboauth_action__connect() function in your theme.

You can find theme_fboauth_action__connect() in fboauth.module

drupalfan81’s picture

Subscribing...any progress made on this?

Is anyone else out there running a multilingual site with this module? What are you doing for your NON english speaking users? Currently all my users see this "Connect" button regardless of their language, most probably know what it is, but I'm guessing a good handful don't have a clue.

I think the Login/Connect issue needs to be addressed as well as how multilingual sites will deal with this.

meSte’s picture

As mentioned in #14, I'm using theme_fboauth_action__connect() (as recommended) to choose which is the button to show and all works fine in mono and multilingual sites.

drupalfan81’s picture

Thanks MeSte! Can you provide some direction on how to do this. I'm not that good at modifying the theme? Is it explained somewhere, or if you could just copy and paste the code here and which file I need to put it in, that would be wonderful!

thanks!

meSte’s picture

In your theme's template.php add a function like

function your_theme_fboauth_action__connect($variables) {
  // DO WHATEVER YOU NEED AND RETURN A THEMED LINK
}

Just replace "your_theme" with the name of your theme (you can copy-paste the theme's directory name).
You can also take a look at theme_fboauth_action__connect($variables) in fboauth.module to better understand what value you have to return from your custom function and how to compose it.

thirdender’s picture

This can also be done using a hook_form_FORM_ID_alter.

/**
 * Implement hook_form_FORM_ID_alter for the form ID connector_button_form
 */
function MY_MODULE_form_connector_button_form_alter(&$form, &$form_state) {
  // Change text of the 'Connect with Facebook' and 'Connect with Google'
  // buttons
  if (isset($form['oauthconnector_facebook'])) {
    $form['oauthconnector_facebook']['#value'] = t('Sign in with Facebook');
  }
  if (isset($form['oauthconnector_google'])) {
    $form['oauthconnector_google']['#value'] = t('Sign in with Google');
  }
}