HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: Everything is wrong with this theme
-
Re: Older plugins/applications/themes in the directory
To elaborate more. There's no "vanilla 2.1" tag for the addon directory. There are lots of addons that are clearly depreciated (please bury them so that they aren't easily found when searching/browsing) , lots of addons that don't work for 2.1. If 2.1 isn't fully backwards compatible with 2.0, (and it isn't) it needs its… -
Custom Email Footer not rendering HTML
I have enabled HTML emails and they work perfectly but the footer is not rendering HTML. I am using the setFooter() function. Example code: public function gdn_email_beforeSendMail_handler($sender) { $emailTemplate = $sender->getEmailTemplate(); $link = url('/link', true); $text = sprintf( t('press <a href="%s">here</a>… -
Explaining how custom handlers work
So i was reading this documentation here https://docs.vanillaforums.com/developer/addons/events-and-handlers/ and I understand how a handler works.. I can have my plugin code alter/add/remove/read date based on the fireEvent trigger.. I was looking at the following code form another plugin and saw this function that is… -
RemoveGroup() method of Gdn_MenuModule class is not working!!
Hi, I tried to remove one of the group of menumodule using RemoveGroup() method. The RemoveGroup() implementation is as follows: public function RemoveGroup($Group) { if (array_key_exists($Group, $this->Groups)) unset($this->Groups[$Group]); } Here we are accessing Groups property of class Gdn_MenuModule, which does not… -
Re: Vanilla Porter Version 2.4 with PHP 7.X ?
-
Re: Whats the deal with $Sender->InformMessage( "my message" , "AutoDismiss"); to get it to display.
Different question relating to inform question. @hgtonight, @lifeisfoo What I was trying to do was send a message from inside a function inside my model in a plugin (just a kind of disappearing echo of variables as it steps through routine.) I thought I might be able to use. Gdn::Controller()-> , since Sender and this is… -
possible changes to make in work in vanilla 2.1 and 2.0.18.x and does NOT require php 5.4
FirstRow(DATASET_TYPE_ARRAY)['Gender']; // will only work in php 5.4 as far as I can guess change from function DiscussionController_BeforeCommentMeta_Handler($Sender) { $UserID = $Sender->EventArguments['Author']->UserID; $Gender = Gdn::SQL() ->Select('Gender') ->From('User') ->Where('UserID', $UserID) ->Get()… -
Plural forms problems
Plural function receives 3 arguments: number, single and plural form. There are 2 problems: 1. Some languages have more than 2 forms. 2. Some phrases with numerals are the same in english ("1 new" and "10 new"). 2.1. And because of that Vanilla authors did not pluralize such phrases :) (quick tip: search for "%s new",… -
Re: How to show a Discussion has read or unread posts in it?
this deprecated function public function getUnread() is BROKEN... the table structures seem like they have changed. So if its 100% broken why is it still in the code? We have a small forum and i get it does not scale but if you can get the fact that there are unread message for a category that is doing the same leg work…
163 results