The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
userdata_postsave hook query
PHP Code:
|
#2
|
|||
|
|||
Any help on this? I have posted this twice now with no reply and it seems to be a simple fix. I just don't know the variabled to use for this hook.
|
#3
|
||||
|
||||
Try checking the variable $type, I think that should be set to 'thread' or 'post'.
|
#4
|
|||
|
|||
i updated the hook from (which works)
PHP Code:
PHP Code:
|
#5
|
|||
|
|||
Can someone at least tell me which php document contains this hook so I can find the answer myself?
|
#6
|
|||
|
|||
Sorry but i don't know the hook called 'userpost_datasave'.
|
#7
|
|||
|
|||
Sorry it's userdata_postsave.
|
#8
|
||||
|
||||
A Hook "userpost_datasave" does not exist, at least not in standard vBulletin 3.5.1 code.
|
#9
|
|||
|
|||
Well I found class_dm_user.hp thanks to Andreas, but after taking a look I couldn't find anything relevant to defining whether or not the post is a new thread or just a post. While functions_newpost.php does contain the variable $type which seems to store thread or reply it allways adds 10 (does the else) if I change:
PHP Code:
PHP Code:
|
#10
|
|||
|
|||
Can anyone help me with this? I can't get it.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|