Social Login?
This topic contains 14 replies, has 4 voices, and was last updated by Hefin Dsouza 9 years, 3 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
December 31, 2015 at 7:12 am #66015
So If I want users to login using social account what is the best plugin which would be compatible with GD?
I checked this plugin on wordpress “WordPress Social Login” will this be compatible?
December 31, 2015 at 8:31 am #66019That one will work well.
December 31, 2015 at 8:58 am #66026Thank you!!
You may mark this resolved!! and close this
I tried using “WordPress Social Login” By Miled and it works like a charm!!
I still need to figure out how to make those icons display on the Home Page under “My Dashboard” though im using the “directory-starter” theme…if anyone can tell me where to do that it would be great!!
So far only a few more questions to be answered and this would definitely be the product im looking for!!!
December 31, 2015 at 9:33 am #66031They will only display on your registration page: /gd-login
December 31, 2015 at 3:12 pm #66060So there is no way I could customize the Home Template to display the Login Icons? may be use a shortcode or something?
December 31, 2015 at 5:20 pm #66081Hi,
the only way would be by customizing the GD loginbox widget.
Or if the social plugin provides a shortcode, you could add a text widget right below the login widget and add the shortcode there.
Let us know if this helped,
Thanks
January 1, 2016 at 12:48 pm #66136Ok..So to should I directly modify the GD loginbox from the lib/widgets/ folder would that have any effect when the plugin gets updated or something?
Is there an other way to customize it which would be update safe?
January 1, 2016 at 5:45 pm #66144if you don’t mind, please post your solution, i’d like to use a social login system too
thanks 🙂
January 1, 2016 at 6:19 pm #66149@step8601 For the Login as of now I have used “WordPress Social Login” By Miled and just activate the plugin and follow the instructions there and your Login integration with Facebook would be activated…but the default functionality of the plugin just Adds the Login and other Social Logins just to the Register/Login page not to the Home Page Widget and as per the above reply from “paolo” we can do that if we edit the GD Loginbox Widget… 😉 still waiting for the reply from “paolo” about how to do it in such a way that it would not be affected when we update the plugin!!
January 2, 2016 at 4:22 pm #66294Hi,
you can copy the entire class of the loginbox widget in your theme functions.php, rename the class and the function, plus add the snippet to add your social login. Now register the new widget.
You will have a 2nd login box widget to use and updates will not cause any troubles.
Let us know if this helped,
Thanks
January 3, 2016 at 11:04 am #66358@paolo I tried creating a copy of the Loginbox Widget which was a code snippet in “/plugins/geodirectory/geodirectory_widgets.php” to create a new widget out of it…but the Loginbox widget output is a call to the geodir_loginwidget_output function in “plugins/geodirectory/geodirectory-functions/general_functions.php”
so I thought it would be too complex to create everything again…so I just added the WordPress Login Code do_action shortcode directly to the “geodir_loginwidget_output” function and it works now..
But i have to be careful when updating the plugin..
January 3, 2016 at 5:22 pm #66381Just FYI, if you copy and rename the widget in your fucntions.php file, you can also rename the function geodir_loginwidget_output to my_geodir_loginwidget_output.
Copy geodir_loginwidget_output as well in functions.php, rename it my_geodir_loginwidget_output and add your social login.
This way you won’t have to worry about updates and it really will take you 2 minutes to achieve this.
Let me know if this helped,
Thanks
January 3, 2016 at 5:32 pm #66382Yeah…Thanks i was actually thinking it was too much to handle…if I make a new PHP file for it…can u guide me how and where should I register the Widget?
I was thinking of making it a new file and then use it…but then I was unable to register the widget… ;(
January 3, 2016 at 5:49 pm #66390Hi,
this must be done via function.php. If you want to do it in a new file, than you will have to inlucde that file from functions.php.
I’d just do it in functions.php directly.
Thanks
January 3, 2016 at 6:12 pm #66395@paolo did as per your suggestions!!
Thanks 😉
Attached the screenshot of how the end result looks!!! Thanks @paolo could u please look at some of my other topics too would really appreciate ur help there too!!! Im slow with PHP since im a hardcore ASP.NET developer and ive worked with customizing wordpress themes and plugins before but I must say WpGeoDirectory is completely different and its quite a challenge to get things done if guys like you and Gusst are not around “Hats off to you guys!!!” keep up the great work..
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket