Log in

View Full Version : Attachments per Forum 2.0...


Chris M
09-14-2002, 10:00 PM
Hi there!:)

This is the Attachments per Forum hack, Version 2.0...

You can find the working Version 1.0, here (https://vborg.vbsupport.ru/showthread.php?s=&threadid=43241)...

Whats new?

Well...Version 2.0, as requested by Smoothie, has the ability to set attachment sizes per forum, rather than globally...This means that you can increase the size of the attachments allowed for certain forums, and disable attachments in other forums...

THIS HACK IS A BETA! - I am telling you this, so that you are responsible for any damage to your database or forum. Please backup all your data, and follow the instructions carefully. There is also a Reminder in the .txt file...

Enjoy:)

Satan

Chris M
09-15-2002, 10:12 AM
<i>Reserved for a Screenshot</i> - If you have installed this, and it works, please can you provide a Screenshot of the following :

1.) Admin CP (Forum editing)
2.) A Post (New Thread or New Reply)
3.) An Attachment Error (Too Big)

Thanks...

Satan

Chris M
09-15-2002, 10:12 AM
<i>Reserved for a second Screenshot</i> - If you have installed this, and it works, please can you provide a Screenshot of the following :

1.) Admin CP (Forum editing)
2.) A Post (New Thread or New Reply)
3.) An Attachment Error (Too Big)

Thanks...

Satan

Chris M
09-15-2002, 10:13 AM
<i>Reserved for third Screenshot</i> - If you have installed this, and it works, please can you provide a Screenshot of the following :

1.) Admin CP (Forum editing)
2.) A Post (New Thread or New Reply)
3.) An Attachment Error (Too Big)

Thanks...

Satan

DrkFusion
09-15-2002, 01:58 PM
Nice work Satan :)

-Arunan

Chris M
09-15-2002, 02:00 PM
Thanks:)

I think it all works, but better to be safe than sorry eh?:D

Satan

Smoothie
09-15-2002, 05:39 PM
How does this work with the QRB and the attachments box below?

Smoothie
09-15-2002, 05:41 PM
BTW, what if we have installed the other version?

Chris M
09-15-2002, 06:51 PM
Smoothie :

If you have the other version installed, just leave out anything relating to "forumallowattach"...Or you can use your backed up forum.php file from Version 1.0, and make all the changes to forum.php, not run the first Query again, and leave out the first modifications to newthread.php and newreply.php...

Quick Reply Box - You should just edit the attachment code, and change $maxattachsize to $forumattachsize...

Satan

Smoothie
09-15-2002, 07:26 PM
So, what will happen when they try to attach an image with the QRB attachment box?

Dark Blaze
05-21-2003, 09:36 AM
Can you allow people to post threads with attachments, but do not allow any users to download, except certain people?

Boofo
05-21-2003, 10:57 AM
Chris, is this ready to come out of beta yet? I have version 1 installed and need to know what has changed.

Smoothie
05-21-2003, 05:00 PM
Ya, what Bofoo asked.