There were some threads that were soft deleted from my forum and I undeleted them but the attachments remained deleted. Is there any way to retrieve the attachments?
Announcement
Collapse
No announcement yet.
Recover hard deleted attachments in soft deleted threads?
Collapse
X
-
Hello there,
There were some threads that were soft deleted from my forum and I undeleted them but the attachments remained deleted. Is there any way to retrieve the attachments?Tags: None
-
Not that I know of. I think you'll just have to ask the OPs to re-attach the files.
Sorry!
Dustinhttp://quikmsg.net/strtoupper/ - Convert lowercase text and code to all uppercase!
http://quikmsg.net/strtolower/ - Convert uppercase text and code to all lowercase!
-
Originally posted by Dustin L. View PostNot that I know of. I think you'll just have to ask the OPs to re-attach the files.
Sorry!
Dustin
http://forum.bodybuildingpro.com/att...1&d=1332875838
Comment
-
I don't believe so. Unused attachments are deleted from the server after an hour if I remember correctly. However, this is not something I am 100% sure on as I rarely use attachments.
Dustinhttp://quikmsg.net/strtoupper/ - Convert lowercase text and code to all uppercase!
http://quikmsg.net/strtolower/ - Convert uppercase text and code to all lowercase!
Comment
-
Originally posted by Dustin L. View PostI don't believe so. Unused attachments are deleted from the server after an hour if I remember correctly. However, this is not something I am 100% sure on as I rarely use attachments.
Dustin
Originally posted by Andy View PostWhat version vB you running?
Are attachments stored in the database or file system?
Do you have any backups?
How can I give any of my moderators permission to delete threads if attachments are hard-deleted? I think that defeats the purpose of restricted mod privileges.
Comment
-
Chance you won't be able to recover them unless you have a backup that you can restore to another db temp and recover the attachments.
As for giving permission to hard delete, I wouldn't give that to anyone
But you can modify the code and make the Keep Attachments box chekced by default, that way your mods won't forget to check the box.. if they manualy uncheck the box then it's best to shoot them
You can also hide the box if you choose to, but I wouldn't do that
Templates to modify the code in:
threadadmin_deleteposts
threadadmin_deletethread
threadadmin_deletethreads
Look for this code:
PHP Code:type="checkbox" name="keepattachments" value="1" id="cb_keepattachments" tabindex="1" /> {vb:rawphrase keep_attachments}
Replace it with this code:
PHP Code:<input type="checkbox" name="keepattachments" value="1" id="cb_keepattachments" {vb:raw checked.delete} tabindex="1" /> {vb:rawphrase keep_attachments}
To be or not to be... Where the hell is the question????My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too
Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16
Comment
-
Originally posted by Merjawy View PostChance you won't be able to recover them unless you have a backup that you can restore to another db temp and recover the attachments.
As for giving permission to hard delete, I wouldn't give that to anyone
But you can modify the code and make the Keep Attachments box chekced by default, that way your mods won't forget to check the box.. if they manualy uncheck the box then it's best to shoot them
You can also hide the box if you choose to, but I wouldn't do that
Templates to modify the code in:
threadadmin_deleteposts
threadadmin_deletethread
threadadmin_deletethreads
Look for this code:
PHP Code:type="checkbox" name="keepattachments" value="1" id="cb_keepattachments" tabindex="1" /> {vb:rawphrase keep_attachments}
Replace it with this code:
PHP Code:<input type="checkbox" name="keepattachments" value="1" id="cb_keepattachments" {vb:raw checked.delete} tabindex="1" /> {vb:rawphrase keep_attachments}
Is there a reason why VB allows attachments to get hard-deleted? That defeats the purpose of restricted moderator privileges.
Comment
-
You're welcome
Originally posted by Matt C View PostIs there a reason why VB allows attachments to get hard-deleted? That defeats the purpose of restricted moderator privileges.To be or not to be... Where the hell is the question????My psychiatrist told me I was crazy and I said I want a second opinion. He said okay, you're ugly too
Live vBulletin 4.2.0 Multilingual * Alpha/Beta vB 4 - vB 5 Tier 1A
CentOS 6.2 - Apache:2.2.15(Apache2Handler) - PHP:5.3.3 - MySQL:5.1.61
Xampp/Win-XP - Apache v2.2.21(Apache2Handler) - PHP:5.3.8 - MySQL:5.5.16
Comment
-
Originally posted by Merjawy View PostI agree with you on that one...
Comment
-
I don't know what your current status with deleted thread, but whenever you try to delete a thread using moderation tools you have the option to 'Keep Attachments'. If you did not tick that box, you definitely will lose them. Possible retrieve with a backup.Please feel free to contact me if you have any questions or concerns
Links: vBulletin Manual - Code Documentation - FAQ - Bug Tracker - Lemon Juice
vBulletin 5 Connect: Extensions - Articles - Features - Purchases
Comment
-
Originally posted by Matt C View PostThis will be a big help for the future. Thanks! Since I have some very popular photo threads on my forum I may just have to not allow any moderators. I can't take the chance.
Originally posted by Matt C View PostIs there a reason why VB allows attachments to get hard-deleted? That defeats the purpose of restricted moderator privileges.
Comment
Related Topics
Collapse
-
by LemonMiaoHello, I'm back to talk about my problem, after opening a ticket to the support, no one was able to find the problem, even with access to the dedicated server.
I paid a system administrator and...-
Channel: Support Issues & Questions
Tue 23rd Oct '18, 12:13pm -
Comment