The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hi
I need to reset all attachments, the DB links to a file path where nothing exists. Is there a MySQL command? |
|
#2
|
||||
|
||||
|
Do you mean remove all of them, or point them to a different path?
|
|
#3
|
|||
|
|||
|
Remove all known entries (avatars/profile pics/attachments) etc
|
|
#4
|
|||
|
|||
|
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. |
|
#5
|
||||
|
||||
|
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 |
|
#6
|
|||
|
|||
|
I wouldnt do that, use the built in tool provided for vb, as it will reset all the tables that hold attachment info.
|
|
#7
|
|||
|
|||
|
Is there a way to reset sigs?
|
|
#8
|
||||
|
||||
|
To what?
|
|
#9
|
|||
|
|||
|
blank
|
|
#10
|
|||
|
|||
|
anyone?
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|