Support

  1. Madde
  2. Support
  3. Thursday, April 07 2016, 12:53 PM
Hey,

When I'm on login form, I want to edit the facebook login button, where can I found the code?

Best Regards,
Miguel
Accepted Answer
admin Accepted Answer
Admin
Hi,
sorry this is not possible, we use oauthpopup, so in mobile sites you will see another window.
Anyway this is a good feature, using redirect instead popup, I will add this in our TODO list

The code is into file /plugins/jsn/socialconnect/socialconnect.php you can search by "oauthpopup" word to find position of code.
  1. more than a month ago
  2. Support
  3. # Permalink
Madde Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 1
admin Accepted Answer
Admin
Hi,
seems easy, try to replace from line 1153 to line 1166 with this:
$script= "jQuery(document).ready(function(){jQuery('.socialconnect').append('<div><a href=\"https://www.facebook.com/dialog/oauth?" . addslashes( implode( '&', $urlParams ) ) . "\" class=\"facebook_button facebook zocial\">".$button_text."</a></div>') ; } ) ; " ;


This will works for Facebook
  1. more than a month ago
  2. Support
  3. # 2
Madde Accepted Answer
Pro
Hey,

Thanks, yeah it would be a nice feature. I will try to edit the oauthpopup "somehow".

Thanks,
Miguel Inácio
  1. more than a month ago
  2. Support
  3. # 3
Madde Accepted Answer
Pro
Content Protected
  1. more than a month ago
  2. Support
  3. # 4
admin Accepted Answer
Admin
Hi,
this stringe is defined in language constant, you can override this vale from Administration->Extensions->Languages->Overrides (left menu)

the constant is: COM_JSN_LOGINWITH
default value is: "Login with %s"

NOTE:
this string is written in JavaScript code, so if you have some char like ' then you need to quote with \'
  1. more than a month ago
  2. Support
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.