The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Where is the Hook Location for Article Save
Does anyone know the hook location of the initial article save?
|
#2
|
||||
|
||||
did you try looking at vbcms_article_save_start or vbcms_article_save_end?
|
#3
|
|||
|
|||
Yes, I have tried both of these but they don't seem to perform the code, I know it works because it works If I run it at global_complete.
|
#4
|
||||
|
||||
Sometimes the variables you use are named differently depending on what hook you use. It could be that your variables are incorrectly named. Find the hook location in the code and look around to see what variables they are using there.
|
#5
|
|||
|
|||
Well even if the php is just
PHP Code:
PHP Code:
I have tried having the product set to cms and just vBulletin but no change? |
#6
|
||||
|
||||
Usually you cannot use echo or print. The templates want a variable, like $output or similar... you'd have to look in the template to see what it is expecting as the variable.
|
#7
|
||||
|
||||
I created a hook plugin to add a variable to "vbcms_content_article_preview" template. What hook location can I choose?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|