![]() |
Remove all attachments?
Hi
I need to reset all attachments, the DB links to a file path where nothing exists. Is there a MySQL command? |
Do you mean remove all of them, or point them to a different path?
|
Remove all known entries (avatars/profile pics/attachments) etc
|
Avatars are seperate from the others, but vb has always had the remove option for attchments built into the attachment manager section.
The others would require some queries. |
As always, make sure to back up your database before running queries!
For attachments: Try running this query: Code:
UPDATE post SET attach = 0; If both types of the following images are stored in the database, try these 2 queries... For avatars: Try running this query: Code:
DELETE FROM customavatar USING customavatar LEFT JOIN user ON user.userid = customavatar.userid Try running this query: Code:
DELETE FROM customprofilepic USING customprofilepic LEFT JOIN user ON user.userid = customprofilepic.userid |
Quote:
|
Is there a way to reset sigs?
|
To what?
|
blank
|
anyone?
|
All times are GMT. The time now is 05:57 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:
|