The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
defining functions inside datamanagers
I have tried to define a new function inside the attachment datamanager
PHP Code:
Am i doing something wrong? this is how it is described in the vBulletin manual. |
#2
|
||||
|
||||
Can you give the exact location where this is stated in the manual?
As it seems to be wrong You cannot create methods for objects at runtime; this is a PHP limitation. What you can do is using a lamda function that calls your custom verification function: PHP Code:
|
#3
|
|||
|
|||
Sorry, my mistake, the code in the manual shows what you've pasted, i was trying to use VF_METHOD where it should have been just a string.
Got it working now, thanks |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|