The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I managed to temporarily fix this by using different hooks and code, but now I have 3 different hooks for what could be done with one (I think).
- ajax_complete - newreply_post_complete - newthread_post_complete Can anyone fix the code below to work with userdata_postsave (or another 1 hook solution): PHP Code:
|
#2
|
|||
|
|||
![]()
userdata_postsave is called whenever member/user information is changed, like when changing a profile.
The 'post' means that it is called after the new data is saved to the database. The 'presave' versions are called before data is written to the database. This hook has nothing to do with posting. |
#3
|
|||
|
|||
![]()
Andreas suggested that I use userdata_postsave instead of newpost_complete.
Edit: I changed the hook to newpost_complete and modified the variables in the query to make it work. Thread solved. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|