![]() |
where do attachments go
IS there some sort of DIR that attachments go ? If not where do they go??
|
They're stored as binary within the forum database :)
|
How do we get to them exactly in order to clean some up or remove them?
|
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 :D). 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 |
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? |
Attachments should be removed with their posts during pruning.
|
Quote:
|
All times are GMT. The time now is 12:39 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:
|