R_J
AdminR_J Admin
-
Re: Any example of using the new sort & filter module?
Although that can be used like that, I guess I'm on the wrong track. I found this in the source code: /** * @var array The sorts that are accessible via GET. Each sort corresponds with an order … (View Post)1 -
Re: Any example of using the new sort & filter module?
What I think is meant is that there are now some sort of "sort keys" available. Look at this: // Show the available sort keys and their definition.decho(DiscussionModel::getAllowedSorts());… (View Post)1 -
Re: Any example of using the new sort & filter module?
Oh yes, it is already working here: https://vanillaforums.org/discussions?sort=new (View Post)2 -
Re: I need the reddit style plugin. up topic / down topic.
@Shadowdare: I have written down some lines of code and it looks quite promising. It needs styling and testing for permissions, though. But I have a big concern with it. I use the "Score" c… (View Post)1 -
Re: How to track the count/name of people following a category
Well, sure. This one would be a start (look at it, it reads very similar to plain SQL) $prefs = Gdn::sql() ->select('Name') ->select('Name', 'count', 'Prefere… (View Post)6
