![]() |
Delete attachment one command
What variables need to be substituted in string, what to delete the attachment one command?
http://fool.capellan.ru/sm/umn.gif Quote:
http://fool.capellan.ru/sm/val.gif https://vborg.vbsupport.ru/external/2002/06/1.gif |
You can't do that, but you can delete the attachment with an SQL query:
[sql]DELETE FROM attachment WHERE attachmentid = XXX;[/sql] |
It would be desirable to use possibilities of moduls of a forum. If to use SQL - there is a necessity of creation of all authentications...
in editpost.php unit there is a section PHP Code:
|
That section includes many other functions, and to use it as-is you will need to POST data to that page, and that data will need to include the post's message, title, icon, and everything else that the code updates.
You must rewrite it. |
Quote:
I have all attributes of the message, and also a thread and forum. Prompt as to generate string(command) - that not calling the web-form "editing post" to delete attachmen... Not forcing the user to press "Save Changes" button. |
All times are GMT. The time now is 01:41 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:
|