Bleistivt
ModeratorBleistivt Moderator
Reactions
-
Re: vBulletin Attachments
To import avatars and attachments you have to append ?avatars=1&files=1filepath=/path/to/attachments to the porter URL. See http://docs.vanillaforums.com/developers/importing/porter/#attachments (View Post)2 -
Re: Recommended way to add allowed style classes?
Something like this should work: public function BeforeCommentBody($sender, &$args) { $CodeBlocks = []; $args['Object']->Body = preg_replace( "/\s*<pre(?:lang=[\"']([\w-]+)[\"… (View Post)1 -
Re: YAGA calling undefined method - Couldn't add badges
Yes, that method has been removed. I wouldn't copy over random classes from 2.1. If you want to use Yaga on 2.2, check out the dev version on github: https://github.com/hgtonight/Application-Yaga/tre… (View Post)1 -
Re: Reduce number of pagination buttons
@media (max-width: 640px) { .Pager a, .Pager span { display:none; } .Pager .Highlight, .Pager .Previous, .Pager .Next, .Pager .FirstPage, .Pager .LastPage { display:inline; }} (View Post)4 -
Re: What is the best workflow to report bugfixes?
See http://vanillaforums.org/discussion/27971/pull-requests-you Yes, if you have a bugfix, ypu can opwn a PR on github for each one right away. (View Post)1