Hi,
Is there a way to expose the 'invite friend' function as a link in a views user list? The reason is that in our site we want the users to invite other users on the site, and not have to type in their user names to invite them :p

* So if we made a views user list, and display as a table - and want to add 'invite to x group' as a link to invite each user - is this possible?

* Or better yet, using views bulk operations, it would be great to select a number of users to invite at once.

This would be an alternate method of inviting than the 'Send Invitation' form.

* Or is there a way to add the function used on that form (through a custom module even), as an action which could then be triggered by a flag? If so, we could add that flag to nodes (content profiles) or wherever else we want.

I realize we could create an action that sends an email to the user, etc... but you've already done all the work to make the invite user email configurable through the OG UI... If there's just some way we can allow users to select existing users to invite from a list rather than typing them in manually, that would be great. The above questions are just some ideas how to do that.

Thanks in advance or considering this support request :)
Scott

CommentFileSizeAuthor
#1 og_views_invite_link.patch2.87 KBstella
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

stella’s picture

Version: master » 6.x-2.x-dev
Category: support » feature
Status: Active » Needs review
FileSize
2.87 KB

The attached patch adds the ability to add an 'invite' to group link in views.

amitaibu’s picture

Status: Needs review » Fixed

Great, committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

capellic’s picture

Version: 6.x-2.x-dev » 6.x-2.1
Category: feature » support
Status: Closed (fixed) » Needs work

I am able to see the "Invite Link" after building a relationship beteween the user and "Organic groups: Group node (member)" but the Invite link field is always blank.

Some instructions on how to setup this view would be very helpful.

Grayside’s picture

Status: Needs work » Closed (fixed)

Invite handler's relationship problems were fixed in -dev. Had thought they were fixed in 2.2, will be fixed in 2.3.

Re-closing.