PDA

View Full Version : The correct code for ignoring a specific forum when checkng for # of images


bluesteel
11-13-2006, 02:57 PM
Hi all.
Just a very simple question for any helpful coder really.

When vB checks posts for the number of images contained in it, (the ACP setting) I need it to miss out on one particular forum where more images must be allowed.

I have searched for a hack that might do this for me, but can't find one.

So, I figure that as much as I don't want to start editing any php files it is the only solution for me.

I have figured that I need to edit "class_dm_threadpost.php" and have a conditional around the "check max images" code regarding the forumid.

First, am I right, and second, can somebody please give me the correct code i.e. if forumid is not "20" ?

Thank you in adsvance, and much appreciated.

Alan