HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Images bug with safari
-
Re: Latest premium theme for Vanilla forums: Nexus!
-
Re: SQL fetching advice needed.
From this point, all that I can do is guessing. Please drop me a note if you want me to stop philosophing in your thread... ;) If your customer really think they are working with a thousand rows, then give them the result. If somebody has to work with the result, he will have to switch back and forth and so I think it will… -
Re: Ckeditor for latest vanilla 3 is much needed
Ah, whatever... I see I added a complexitiy layer to it. $usersApiController = GDN::getContainer()->get(UsersApiController::class); $search = 'r*'; $result = $usersApiController->index_byNames(['name' => $search]); echo $result->render(); return; That works, I just have to find out how to work with the Data object, but I… -
How to set the default user timezone in a timestamp
Is there a way to set the timezone in the query result? Example 'DateInserted' needs to be in a user timezone. $query = Gdn::sql(); $query->select('u.*,ur.*,r.Name as Role')->from("User u"); $query->join('UserRole ur', 'u.UserID = ur.UserID', 'inner'); $query->join('Role r', 'ur.RoleID = r.RoleID', 'inner');… -
Some politics: upcoming article 13, resulting in a need for upload filters for forums
TLDR The EU is trying to regulate parts of the internet which will only be able to achieved by forcing forum admins to install upload filters. Propabilities are high that such upload filters will be provided as a service by some big players which will run every content through their own filters - filters which mechanics… -
How to add a parameter to every URL Vanilla generates
I'm creating a plugin similar to Multilingual, but instead of having the locale chosen by user preference, I'm having it go only based on a request parameter. To make this work right, I need to add the locale parameter to every URL generated by Vanilla so that when users click around, they will always stick with the same… -
Re: Tutorial: How to Enable a debug log and collect debugging information.
I often have to dump $Sender to screen in order to understand what's going on and I use decho($Sender) so that I see the values inside this object. But it is not always possible to see the results (when inside of an ajax call, even decho($Sender);die; doesn't help). Thanks to that logging I can now always and everywhere… -
Re: This plugin is Fixed and works
-
Re: pockets into php files
Look at the function.pocket.php Smarty plugin, it contains the following code: function smarty_function_pocket($params, $smarty) { if (!class_exists('PocketsPlugin')) { return ''; } $name = val('name', $params); unset($params['name']); $result = PocketsPlugin::pocketString($name, $params); return $result; } Therefore, if…
559 results