HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
DuckDuckGo Smarty Template Function to replace {searchbox}
I've come up with a PHP Smarty template function to display a DuckDuckGo search function. I put this in my template, where it's used. To make this modular and share-able with other forum admins, where would y'all suggest I put this? It's a bit too little to warrant a plugin IMHO. The code: function… -
Re: Some tips I learned during plugin development
Custom smarty tags from a plugin, an application or a theme Define your custom tag(s) like this (vanilla searchbox) in a file called function.mytags.php function smarty_function_supersearch($Params, &$Smarty) { $Placeholder = array_key_exists('placeholder', $Params) ? GetValue('placeholder', $Params, '', TRUE) :… -
Re: FilterForumSearch plugin
Version 2.2.0: Added Gdn_Theme::Section to class.filteredforumsearch.plugin.php to make the plugin work with other plugins, Smarty code, and CSS. Thanks @donshakespeare for the feedback and suggestion! Removed the search label and replaced it with a placeholder text to better match Vanilla's default search page. Thanks… -
Re: How to parse smarty tags from a plugin?
I also think Twig will be the future. But I do not think Smarty will get ditched soon. You've said: if I was not so ambitious as to want to allow all possible vanilla smarty tags and that you wanted to convert strings like "Hello this is the id {$BodyID}, and some other cool stuff custom {$myPlugin.cssUrl}" There are no… -
Re: How to decide what to show in {asset name="Panel"}
In the standard layout there are four "assets" i.e. areas/containers/placeholders/whatever: 1. Head - the header 2. Foot - the footer 3. Panel - sidebar 4. Content - main content container -----------------------------------| Head |-----------------------------------| Panel | Content Content Content Content || Panel |… -
Vanilla 2.8 release notes
@Linc announced the 2.8 release over a month ago. We had some some summary release notes, but the full notes had not yet been accumulated. I will be providing that here. First a couple notes: Vanilla 2.6 is no longer supported and has unpatched security vulnerabilities. It is recommended to upgrade as soon as possible. The…
6 results