The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
where do attachments go
IS there some sort of DIR that attachments go ? If not where do they go??
|
#2
|
|||
|
|||
They're stored as binary within the forum database
|
#3
|
|||
|
|||
How do we get to them exactly in order to clean some up or remove them?
|
#4
|
|||
|
|||
do you have phpmyadmin?
Open up the database then run the following queries Back up your database, just incase you lose all of your attachments, or my queries have a mistake in them (they're simple, so they shouldn't ). Disclaimer: I take no responsibilty for any bad things that might happen Code:
DELETE FROM attachments WHERE dateline < somedate Code:
UPDATE post SET attachmentid=0 WHERE dateline < somedate |
#5
|
|||
|
|||
How would you break down the date in that code? For example let's say you wanted to remove everyone attachment before may 15, 2003.
How would you code that exactly? |
#6
|
|||
|
|||
Attachments should be removed with their posts during pruning.
|
#7
|
|||
|
|||
Quote:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|