HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: How to create custom Smarty functions
I haven't found a way to show the users avatar alone, so I've created that function: <?php defined('APPLICATION') or die();/** * Encapsulates UserPhoto function. * * Returns the users avatar. * Valid params are "userid" to manually choose a user and "wrap" to * specify a tag that the output should be surrounded with. * *… -
Re: How to create custom Smarty functions
Thks @r_j I have read the documentation 1000 times but it does not work, I really do not understand what I do wrong I add the error and the function maybe I am doing something wrong and I do not see it. /theme/bootstrap/SmartyPlugins/function.custom_discussions_link.php <?php/** * @copyright 2009-2017 Vanilla Forums Inc. *…
2 results