Components friends add automatically

Jonathan Sosa Posted in Component Development 7 years ago

good afternoon, I would like to make a component that upon entering a new user, automatically be friends with all the others, with the possibility that they can not be eliminated, some did?
On the other hand I would like to clear a new module where you can access the user's data such as the id and first and last name.

Thank you so much

Replies
German Michael Zülsdorff Replied 7 years ago

I would appreciate getting some more details about what's behind your ideas, Jonathan.
1. What are you trying to achieve with "everyone is a friend of everyone"?
2. For what reason are you interested in displaying ids? They're handled internally by MySQL, no one needs to care about them from the outside.

pk Malik Umer Farooq Replied 7 years ago

Not good idea