HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Search
-
Re: User stories & feature development
What I've seen a few times in my forum is users answering to old comments, when their last unread comment is not on the last page. They seem to ignore the pager,assume they got directed to the last page, see the comment form and write an answer. I tried making the pagination more obvious, but the only thing that helped was… -
Rulesets based on users PostCount
Hi everybody, 1.) I just had a nice idea some of you have probably already thought of. I'd think it would be great to have a plugin that extends or creates an own kind of announcement discussions based on the posting count users have. The discussion or the accounements would just be shown based on certain rules set in… -
Re: Cardinal sins of Vanilla plugin development
@peregrine The Attributes column exists on the user & discussion & comment tables for storing meta data about the records. Unless you need to filter or count rows based on the data you're adding (i.e. use it directly in a query), you could probably store it in Attributes rather than adding more columns. -
Re: How to include Likes in discussion json feed
Heya! I would hook into the discussion model after the calculated columns have been added and loop through the data set and add the column: public function discussionModel_afterAddColumns_handler($sender) { $data =& $sender->EventArguments['Data']; $this->LikeModel->PreloadLikes($data->Comments); // iterate over data set… -
Re: Getting number of new posts in discussion
Welcome to 2.1! Thanks for trying my addon. This could be added fairly easily since the data is already loaded. In /plugins/LatestPostList/modules/class.latestpostlistmodule.php fine the PostList() function and inside the foreach loop, find the unread comment count by using $UnreadCount = $Post->CountComments -… -
Re: Bump Discussion Plugin - Need Feedback
We talked about a plugin that does this the last time I was with the team in Montreal. Which is to say: you read our minds. :) @R_J I wondered if entering a '/me' action for the bumping user would clarify things. Eventually we'd like to have GitHub-style actions in discussions, which would make this really slick. For now,… -
If your version of the plugin causes accepted answers to rise to the top.
@Pryor74 In answer to http://vanillaforums.org/discussion/25606/question-and-answer-how-to-not-moving-accepted-answers-to-top-of-thread and you prefer to keep the accepted answers in context, as well as have accepted answers rise to the top. (the best of both worlds in my opinion) So for viewers who want to see context -… -
count number of new discussions in category list
i am trying to display the number of new discussions per category in the side panel under Category List. In the discussionlist, this function creates the number of new comments or gives a "new" for a new discussion. applications/vanilla/views/discussions/helper_functions.php if (!function_exists('NewComments')):function… -
Another way for most recent comment
Hello dear friends. Here is another way to get the plugin to display most recent comment, with minimal code changes: // get last comment body $LastCommentBody = Gdn::SQL()->Select('Body')->From('Comment')->Where('CommentID', $Sender->EventArguments['Discussion']->LastCommentID)->Get()->ResultArray(); if… -
Re: Vanilla 2.0.18 (beta 2) is now available
Found one issue with deleting multiple posts together. Got this Fatal error when I tried to do it -"Undefined variable: DiscID" LOCATION: /htdocs/forum/applications/vanilla/controllers/class.moderationcontroller.php > 245: foreach ($CheckedComments as $DiscD => $Comments) { > 246: foreach ($Comments as $Comment) { > 247:…
100 results