Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Streamline Social Login Button
Gogito
New
So, I've installed vanilla and configured it to use Facebook, Twitter and Google Plus to login ( the google plus plugin is this one https://github.com/vanilla/addons/tree/master/plugins/GooglePlus ).
They're all working but the button seems really out of place. Here's the link: http://mmo4teen.com/forums/
Can anyone show me how to make all the button looks like the one from Google Plus ? If not then how to make them go together would be great also. Thanks in advance.
0
Comments
Well, the Google Plus plugin already uses the new social login buttons which will come in 2.3.
If you can't wait, you have to modify the social plugins
EntryController_SignIn_Handler
Handlers to use SocialSigninButton( )e.g. for the Facebook plugin you would replace this:
https://github.com/vanilla/vanilla/blob/2.1/plugins/Facebook/class.facebook.plugin.php#L120-L147
with this
https://github.com/vanilla/vanilla/blob/master/plugins/Facebook/class.facebook.plugin.php#L120-L135
You may also have to copy over the CSS rules for these buttons.
Not really recommended though, I'd rather just modify the Google+ button to look like the old one:
https://github.com/vanilla/vanilla/blob/2.1/plugins/GoogleSignIn/design/google-signin.png
My themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS
Thanks a lot. But guess I'll wait for it then.
@Bleistivt On second thought, can you show me how to change the button back ? I can't seems to find a way since it looks like this plugin is different from the other two. It doesn't use an image but a white font awesome icon then a colored background, int his case red for G+ so I can't replace it with an image. Any thought ?
The button has its own CSS class. So you can do pretty much whatever you want
Just replace
background: black;
withbackground: url('link-to-you-image');
, for exampleMy themes: pure | minusbaseline - My plugins: CSSedit | HTMLedit | InfiniteScroll | BirthdayModule | [all] - PM me about customizations
VanillaSkins.com - Plugins, Themes and Graphics for Vanillaforums OS