Description
With this modification installed you can set minimum dimensions (width & height) for image attachments.
There are some file edits needed to make this work.
Some of the edits are optional, read the Install.txt
Yes, and i am sure (most) coders are fully aware of that, and will do whatever is possible/practical to write modifications that don't require file editing. Sometimes however there is just no other solution.
Just to asure you, even if you overwrite the files, it will not make your baord crash, it will just stop checking for minimum sizes.
Marco,
I do know that, I really didn't need to be told that.
I was just trying to explain why I like plugins over hacks. Thats all.
A reply to this really wasn't needed.
Also if it stops checking for minimum sizes then it's done exactly what I DON'T want it to do, which was what I was trying to tell you as to why I like plugins versus modifying code.
I noticed some text in the error message that Id like to change to my own wording.
One is in the error message for the minimum image size.
What phrase or template would I change this in?
Copy of DSC05823.JPG:
The Minimum Dimension limits for this filetype are 640 x 480. We were unable to resize your file so you will need to do so manually and upload it again. Your file is currently 320 x 200.
I noticed some text in the error message that Id like to change to my own wording.
One is in the error message for the minimum image size.
What phrase or template would I change this in?
Copy of DSC05823.JPG:
The Minimum Dimension limits for this filetype are 640 x 480. We were unable to resize your file so you will need to do so manually and upload it again. Your file is currently 320 x 200.
When I did my last upgrade of Vbulletin it appears to have wiped out all my code changes and I am now going around trying to figure out what got wiped out, as the hack no longer works because of this.
I noticed a change that VB made in the admincp/attachment.php file, line one is not there anymore. And if I put that line one back in as indicated in the "replace by" will this effect anything? Im not sure what changes have been made between the two versions regarding this line.
From what I can see it appears that the "newattachment.php" file at root, and the "attachment.php" file in the admincp folder were the main files that got replaced by Vbulletin during an upgrade; or possibly another hack install?
The theme style templates "new attachment" and "new attachment key bits" were not effected at all.
Also it appears that having $types = $vbulletin->db->query(" put back in doesnt seem to have any effect on Vbulletin or the hack from what I can see.
When I did my last upgrade of Vbulletin it appears to have wiped out all my code changes and I am now going around trying to figure out what got wiped out, as the hack no longer works because of this.
I noticed a change that VB made in the admincp/attachment.php file, line one is not there anymore. And if I put that line one back in as indicated in the "replace by" will this effect anything? Im not sure what changes have been made between the two versions regarding this line.