I am trying to create a callback to validate the input of a custom user field against a database. I have looked through the few discussions on here for the php callbacks for XF2 but unfortunately have not been able to make it work based on the information I have found. in the admin cp for the...
I'm new to Xenforo 2.0 and clearly there are some changes. I'm simply trying to get a "Hello World" string to be written on my node page, from a .php file. Currently, I have a Test.php file located in the \src\addons\XFP directory. This is the code used in Test.php:
This addon allows you to create complex criteria for advanced trophies or user group promotions with custom PHP code.
For example, you can use:
Count the number of threads the user has created in specific forum
Analyze users signatures
Count the number of likes on single messages
I am new to Xenforo, but have a decent development background. I'm looking to modify the display of the tag results (see screenshot below) for my site.
I am assuming that I would edit the a "tag" template or something. But is that...
Where i can define the new class and function for PHP Callback?
Please explain me this help line:
"This callback will receive these parameters: array $tag, array $rendererStates, XenForo_BbCode_Formatter_Base $formatter."
- $tag = is the tag of the custom bb code? ... So i can define a...