How to allow admin to invite every user in a group (friends or not)?

ed m Posted in Component Development 4 years ago

Hi,
I wanted to allow admin users to be able to invite users that are members (friend or no friend) to any group of my social network ?
Is it possible to do so because the system is created based on the friend zone and i wanted to change that just for the admin part.
Thank you

Replies
German Michael Zülsdorff Replied 4 years ago

Ed,
would you mind to provide the link? ;)

gr Ed m Replied 4 years ago

I uploaded the code.

Indonesian Arsalan Shah Replied 4 years ago

Please provide the code of what you have tried so we can look what you did wrong. You can paste your code on https://gist.github.com/

gr Ed m Replied 4 years ago

I already tried that and it didn't work. Is there any other possible way? Or any kind of implementation?
Thank you

German Michael Zülsdorff Replied 4 years ago

My idea would be to derive a clone from the GroupInvite component,
and replace the 'friendspicker' function (which is part of OssnWall) by a 'memberpicker' function using searchUsers() instead of getFriends()