![]() |
Is there a hook for accepted friends?
Hello,
If a user accepts a friendship request is there a hook for this action? Thank you! |
I guess this goes through Ajax. the nearest hook is profile_contactlist_listtype but it's not what you want... what are you trying to do anyway?
|
When a friendship relation is created between 2 users (they must both accept) then I will award them some points.
This is why I need to know when they have both accepted. |
Wouldn't you have to do that via database records anyways, including keeping some kind of track, since it would be a great way to gain points by just befriending/unfriending all day long?
|
Quote:
Now I need to know when 2 people become friends - that's it, nothing more, nothing less. I will take care of ALL other details whatever they may be. |
Well, if there's no hook, there's no hook. You always can just go through the database once a day/once per hour/whatever and check who's friend with whom. I know, that does not answer your question yet again. Or you can go through the code and find a suitable spot and request a hook.
|
Quote:
About requesting a hook - I already requested a hook (for some other issue) 2 months ago. Since then 2 minor VB versions were out without the new hook. Looks like asking for something is just lost time. |
Quote:
|
All times are GMT. The time now is 01:01 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|