2

How can I know whether user has logged in through FB or through site's login section? I am giving points to user based on FB login that's why It's important to know. Thanks

  • are you using contributed module to allow users to access Drupal through facebook or custom module? – Aboodred1 May 26 '13 at 3:35
  • Contributed module, I'm studying fb_stream, hopefully this will help, If you have any suggestion, you're welcome. – rashidkhan May 26 '13 at 3:49
  • are you asking when a user logs in (each time) or when they initially register (one time) for your site? – Jimajamma May 26 '13 at 16:16
  • Each time a user logs in – rashidkhan May 26 '13 at 16:20
0

You could use Rules module together with Notification module, to achieve what you want. There is no out of the box solution for this problem.

You will have to look into Adding a new rule to react to user registrations Or to user logins. You will properly have to create a custom module depending on the deepth of what you exactly need

  • Thank you @Vic for your answer. I needed perhaps 5 months ago but I'll definitely try to implement it using rules. thank you. – rashidkhan Oct 18 '13 at 8:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.