The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello,
How can I edit the hook "newthread_post_complete"? From where I can do it? Thanks, Nir |
#2
|
|||
|
|||
![]()
What do you mean "edit" it?
You can create Plugin code to execute at that hook location if thats what you mean. (AdminCP > Products & Plugins > Add New Plugin) |
#3
|
|||
|
|||
![]()
OK, look, I add to the post table one more field, and I add a place in the form of new post to fill in some data.
Now, in need to add to the query that insert the data from the form to the database. How can I do this? |
#4
|
||||
|
||||
![]()
You need to clean the data from the form, then execute a query like this:
[sql]UPDATE post SET yourfield = '$data' WHERE postid = '$postid'[/sql] |
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|