The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to add attachment type?
Hi,
What is the proper way to add an attachment type? At the moment I insert it manually into the table, but then the cache of types needs to be rebuild manually (for example by 'editing' the type in ACP and changing nothing. How can I do this automatically? |
#2
|
|||
|
|||
AdminCP -> Attachments -> Attachment Manager -> Add New Extension
|
#3
|
|||
|
|||
Hmm, I guess I should've said that I wanted to do it from a script.
|
#4
|
|||
|
|||
I can execute the SQL queries myself, but vB appears to cache that table and I've no idea how to flush that cache.
Anybody? |
#5
|
|||
|
|||
You will need to rebuild the datastore cache.
|
#6
|
|||
|
|||
Thanks. What's the function to call or where is that documented?
|
#7
|
|||
|
|||
PHP Code:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|