Hello.
Am trying to create a trigger for fb authentication and i need to capture the domain that the user is current using as the domain address. how do i go about this?

Comments

shushu’s picture

From what I understand what you need is a token for the domain address to be used in your "trigger" (in Rules modules I guess you mean event).
Is this what you mean ?

patoh’s picture

thanks for the quick reply shushu.. i am using domain access and when users register the domain url they are on is recorded for use with domain access. so i was trying to create a trigger that is setup like this:

when a user registers using facebook connect. the trigger is activated, it captures the domain url and assigns that user that domain.

so the event is registering through facebook connect.

the action is Set user defaults for a domain which is the domain or subdomain he/she is on currently.

shushu’s picture

Status: Active » Postponed (maintainer needs more info)

Sorry for the delay.
Did you manage to do this with the current capabilities ?
As far as I can see, the trigger of new registered user will be triggered, and then you can set its domain.
I don't think there is anything else to do with it.
Please let me know, and I will try to help.

patoh’s picture

Hi Shushu. Well i just set the domain access user defaults to assign domains to new users.. its not working as i would have wanted but its something. i also stopped using facebook connect am using gigya now to do the social network sign up.

shushu’s picture

1st, the fact that you moved from one signup method (fb connect) to another (gigya) actually points to the fact that the trigger should not be related to the signup method but to the "internal" drupal registration trigger.
2nd, what does not work as you wanted ? Do you see anything can be done to make it better (for you and for the rest of the users ?)

patoh’s picture

well thing is i am using domain access as one of my main modules so the internal drupal trigger won't do much. what i had hoped for would be in the rules when setting the domain user defaults. perhaps a list of the domains for selecting would make it easier for people when entering the value to use as domain default lets say am setting user defaults for 6 out of 10 domains a select box would be awesome and easier to use. my views

eswiderski’s picture

Issue summary: View changes

Was there ever a solution for this? Really would like this functionality.