![]() |
Is this fully compatible with 2.0.3, or does it need new instructions, or what?
|
Cool hack, now if you could add an optimizer that optimizes all pics with 100% no lossy compressions that would be the end of the world. Are there any functions for this?
|
can this hack be modified to display a gallery like page (similar to the admin view of smilies/avatars) for attachments specific to a forum?
i.e. gallery.php?s=&forumid=1 ? |
Quote:
|
Quote:
Threads with no attachment have set the attachmentid to 0. The actual delete is done in the line above Code:
$DB_site->query("DELETE FROM attachment WHERE attachmentid='$attachmentid'"); |
Tubedog
How difficult would it be to add an option to save attachments to the file system on the server? Ethan |
To answer my own question:
Not too difficult at all! I hacked in code that allows me to search for threads with attachments in a certain folder, then save all attachments with extension X to the file system, in a directory like this THREADID_threadttitle Works like a charm. I extracted 2 gigs of MP3s out of the database. The next step is to redo it so it also creates an index file with the contents of the posts. EThan |
Quote:
Quote:
Quote:
|
Fatal error: Call to undefined function: getrowbg() in /home/dlrarmy/public_html/forums/admin/browseatt.php on line 25
This script does not work for me When I search for attachments by user or by forums it just gives me the above error message. Whats up with that? I did it exactly like in the instructions! |
You'll need to upgrade to 2.0.3 to run it...plus 2.0.3 has an important security fix.
|
All times are GMT. The time now is 11:03 PM. |
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:
|