![]() |
Changing Attachment Size Dynamically
I've got my boards set up to allow some users access to bigger attachments than others. I used to do this through some mods to the files, but I'm trying to do it through the hooks now, but to no success. Here's what I've got right now, where "isMember" is my own function:
Quote:
Any ideas? Shannon |
What was your 3.0 Code?
PHP Code:
|
In 3.0 I was doing in a somewhat backward way, changing the size right after it was returned:
functions_file.php: Code:
$maxattachsize = $attachtypes["$extension"]['size']; Shannon |
All times are GMT. The time now is 03:39 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:
|