![]() |
Edit hook
Hello,
How can I edit the hook "newthread_post_complete"? From where I can do it? Thanks, Nir |
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) |
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? |
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] |
All times are GMT. The time now is 06:02 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|