The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Where is $bbuserinfo[attachmentextensions] created?
I need to use a hook to modify the extensions listed in $bbuserinfo[attachmentextensions] found in the newpost_attachment template.
Maybe I'm blind, but I haven't been able to find where $bbuserinfo[attachmentextensions] is set. Any help would be appreciated. Thanks, James |
#2
|
|||
|
|||
I found it in functions.php in function cache_permissions
Unfortunately, I don't think I can use a hook to change how the string is first set. I guess I'll have to use a hook to remove extensions from the string afterwards. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|