vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Products & Extensions (https://vborg.vbsupport.ru/forumdisplay.php?f=258)
-   -   End-User Options - Social Login - Login/Register with 35+ Social Networks (https://vborg.vbsupport.ru/showthread.php?t=319606)

vorinandy 09-22-2016 08:23 PM

Am having the exact same issues I made in my post from 9/19 after updating to your newest version.

SpaceStar 09-23-2016 10:49 AM

Quote:

Originally Posted by ClaudeS (Post 2576120)
I have now uploaded version 1.2.0.

It is fully tested with vBulletin 5.3.x and includes the following bugfixes:

- The API autodetection will no longer stop working when PHP errors are enabled
- The user login will no longer fail when PHP errors are enabled
- Social Login now works correctly with social network that don't provide the user's email address (eg. Twitter, Steam ...)
- HTML error fixed (Self-closing syntax (/>) used on a non-void HTML)

5.3.x versions? Boy your are fast :D (of course you mean 5.2.x)

mdawg 09-23-2016 02:05 PM

For me, on vb 5.2.4, even with version 1.2.1 logins work only with Facebook and PayPal that's it. But I am working closely with Claude who is kind enough to keep plodding along to figure out what needs to be done to make this software work.

ClaudeS 09-27-2016 07:22 AM

Many thanks (especially to mdawg) for helping me find the issue.

The problem occurs when the username retrieved from the social network account corresponds to an already existing username in your vBulletin database. I have now uploaded version 1.2.2 which should address this problem. The plugin will now also display the errors in case the user creation fails.

Please keep me updated if you see any errors!

mdawg 10-03-2016 01:07 PM

Yes it seems to be working well now. Thanks!

Since you have PayPal there, how about adding integration for eBay?

ClaudeS 10-03-2016 01:44 PM

Thank you very much for confirmation!

I have now uploaded the new version which I send you for testing.
Thank you also for all the tests that you have done ;)

eBay is a great idea. I will have a look at their documentation.

Best Regards,

mdawg 10-11-2016 12:19 PM

I just moved to a new VPS server, and ever since, while OneAll works fine, the Facebook login from vbulletin (at the bottom) does not work. Just gets stuck when I try to login to Facebook via vbulletin. Tried turning OneAll off temporarily at the vbulletin CP, but still the vbulletin Facebook login did not work, which makes me think this issue has nothing to do with OneAll.

http://www.vbulletin.com/forum/forum...in-not-working

I am running pHp 7.0.11 and mySQL 5.6

So, just a question for you all out there: ARE YOU ABLE to use OneAll (set for Facebook login of its own with its own Facebook developer app) at the same time as the Facebook integration/login from vbulletin?

VanFenix 12-28-2016 09:56 PM

This is really nice. The one thing I'd like though is to be able to link two accounts together. ie. if you register with vanilla registration, but then login through steam, you have two accounts. there's no way to merge them.

daddybird292 03-23-2017 10:48 AM

Wow, I'm going to try this..... looks amazing

mdawg 05-16-2017 03:10 AM

Quote:

Originally Posted by mdawg (Post 2576822)
I just moved to a new VPS server, and ever since, while OneAll works fine, the Facebook login from vbulletin (at the bottom) does not work. Just gets stuck when I try to login to Facebook via vbulletin. Tried turning OneAll off temporarily at the vbulletin CP, but still the vbulletin Facebook login did not work, which makes me think this issue has nothing to do with OneAll.

http://www.vbulletin.com/forum/forum...in-not-working

I am running pHp 7.0.11 and mySQL 5.6

So, just a question for you all out there: ARE YOU ABLE to use OneAll (set for Facebook login of its own with its own Facebook developer app) at the same time as the Facebook integration/login from vbulletin?

This issue resolved itself sometime after I posted the above, so this Mod has been working fine, including on 5.3.0 Would like to see an integration for eBay.

mdawg 08-14-2017 02:41 AM

I noticed in my OneAll account that you had LINE (the communication app) and Pinterest listed, so I went ahead and registered for them, but I don't see the option to enable LINE or Pinterest within the OneAll vbulletin control panel?

gsmuit 10-25-2017 07:22 PM

uninstall error mods vbulletin 5.3.3

An unexpected error was returned: 'syntax error, unexpected' DROP '(T_STRING)'

oneallsociallogin

mdawg 10-30-2017 04:24 PM

I just tested it with a gmail / oneallsocialogin , works for me. vb 5.3.3.

I'd just like to see it updated to allow logins via
LINE
Pinterest
eBay

hanm15 11-23-2017 04:57 PM

Its broken for 5.3.4.
Also, auto detection is not working, and also API checking.

mdawg 11-29-2017 01:26 AM

@ClaudeS yes I don't see the oneallsocialogin at all since 5.3.4 upgrade.

mdawg 12-06-2017 11:14 AM

Update: been working with Claude and his programmer Damien, and there is a new version that works fine in 5.3.4 they will be adding it to this thread.

With this new version Line and Pinterest now work for addition in the OneAll ACP.

Would like to see login via
eBay

ClaudeS 12-11-2017 01:53 PM

I have now uploaded the a new version that includes all providers that OneAll currently supports as well as a couple of bug fixes.

The new version includes a couple of changes to the templates. You have to upload the new files and re-import the plugin (allow overwrite when re-importing). Do not uninstall/re-install it, as otherwise users that have already logged in using Social Login will no longer be recognized as existing users.

Quote:

An unexpected error was returned: 'syntax error, unexpected' DROP '(T_STRING)'
This is an error in the previous version of the plugin. To fix it , you can do this:

Quote:

- Login to your AdminCP,
- Goto Products & Hooks -> Manage Products
- Look for OneAll Social Login and edit the plugin
- Look for Uninstall Code and replace ""DROP by "DROP

iask 02-25-2018 06:04 AM

work this for vb 5.4.0 ?

mdawg 02-28-2018 05:55 PM

Yes using on more than one vb 5.4.0 forum.

luckyline 08-27-2018 06:19 AM

I'll try.

aseapeople 01-17-2020 08:51 AM

Does this work on 5.5.6?

mdawg 05-08-2020 05:03 PM

I believe this stopped working at some point, at least, with 5.6.1 I see no trace of its login.

mdawg 05-19-2020 12:22 AM

The newest OneAll version 2.5.0 works with a code modification, in 5.6.1

WyldFyre 05-22-2020 10:32 AM

Quote:

Originally Posted by mdawg (Post 2602997)
The newest OneAll version 2.5.0 works with a code modification, in 5.6.1

What code modification?

mdawg 06-29-2020 04:14 AM

Use OneAll version 2.5.1 and apply this fix, if needed:

go into create_user() function into core/packages/oneallsociallogin/include/toolbox.php line 162, you can remove this line : $user->set ('logintype', 'fb');

(This allows the plugin to work for a NEW Google user (versus only one who has already registered for the forum via Google)).

This fix may already be applied to newer versions of OneAll.

Ashlar217 06-17-2022 01:01 AM

Installed without error on 5.6.7

mdawg 09-21-2023 02:47 PM

Still using on vb 5.7.5

One issue I do have is that whether through sign up via this mod or vbulletin's own social media registration process, the "Display Name" ends up blank which leads to the User Name not being displayed in posts.

https://i.imgur.com/nDTAfzYl.jpg

Also registration via social media doesn't seem to populate the Country / Location fields.

OneAll wrote to me as follows, I have not had a chance to check this code yet:

About lack of country / location, that is normal because Facebook is not sending them to your website so you will not be able to get them. You can use our node "loginLocation" by editing our toolbox.php plugin file into function called extract_social_network_profile line 769.
You can get the location using this :

$data['user_country'] = !empty($identity->loginLocation->country->short) ? $identity->loginLocation->country->short : '';
Then go into create_user function into same file. To add Display name, I think you could add this line at line 161.

$user->set('displayname', $vbulletin->db->escape_string($username));
I use the same value than username but feel free to use the field that you want. You can use all values saved into "$data" array from extract_social_network_profile function for example if you want to use the formatted name :

$user->set('displayname', $vbulletin->db->escape_string($data['user_formatted_name']));
And for location, I guess you can add this line still at line 161 (do not forget to add the line into extract_social_network_profile function) :

$user->set('location', $vbulletin->db->escape_string($data['user_country']));


All times are GMT. The time now is 05:19 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01381 seconds
  • Memory Usage 1,781KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (27)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete