php callback

  1. celebrir

    XF 2.1 BB Code to return value of custom user field

    I want to create a BB Code which returns the value of a certain simple custom user field. I have a staff list as a thread on my internal Forum and I want to include the telephone number of the staff members. (Field ID "user_tel"). I figured I need to use the PHP Callback function on the BBcode...
  2. adnanbcn

    XF 2.1 Get custom field (Star rating) vía BB code and PHP callback

    Hi, There is any way to print thread custom field (Star rating) with BB code? I have a custom field called "rating" in a forum thread and i want to print it in the thread, any body help me with PHP callback. Thanks.
  3. Drakeus

    XF 2.0 Custom User Field callbacks

    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...
  4. hutch2323

    XF 2.0 Simple "Hello World" Xenforo 2.0 Problem

    Hello, 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: <?php namespace...
  5. CMTV

    Unmaintained PHP Criteria 1.0.0

    This addon is no longer supported! Use Criteria Builder instead! 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...
  6. Soul Fighters Academy

    XF 1.5 Edit Display of Tags (template?) the right way

    Hello, 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...
  7. v8td

    Custom BB Code

    Hi! 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...
Top Bottom