The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello,
If a user accepts a friendship request is there a hook for this action? Thank you! |
#2
|
||||
|
||||
![]()
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?
|
#3
|
|||
|
|||
![]()
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. |
#4
|
||||
|
||||
![]()
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?
|
#5
|
|||
|
|||
![]() 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. |
#6
|
||||
|
||||
![]()
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.
|
#7
|
|||
|
|||
![]() 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. |
#8
|
||||
|
||||
![]()
Asking for something doesnt mean it will appear in the next release. Different releases focus on different things. Im only just adding one or two hooks in to 4.1.5 that were requested last year. If the request is in Jira, it will get looked at at some point. However, thats not a promise it will be added.
|
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|