Forum Replies Created
-
In reply to: Custom Topic Sorting
untested by this should work
//change topic order add_filter('bbp_before_has_topics_parse_args', 'rew_topic_order_by_meta'); function rew_topic_order_by_meta ($args) { $args['meta_key'] = 'put_meta_key_here' ; $args['orderby'] = 'meta_value' ; $args['order'] = 'DESC' ; //or ASC if needed return $args ; }
just put your meta_key where it says
In reply to: Size of box for listing sub forumsIn reply to: Size of box for listing sub forumssee my response above 🙂
In reply to: Post Previewlooks like either the version I see is different, or someone has ‘improved’ yours.
Contact me via my website
http://www.rewweb.co.uk and I’ll see if I can help you further
Regards
Robin
In reply to: Post Previewok, I’ve just had a play, and for me in firefox, chrome, edge, and IE, as you type a preview box appears below the content. There is no ‘preview’ button to hit.
Is it different for you ?
In reply to: Size of box for listing sub forumsgot other question is ther some plugin to migrate mybb to bbpress that works ?
as far as I know the convertor in bbpress works
dashboard>tools>forums>import forums
In reply to: Size of box for listing sub forumsyou have total height constrained by
#bbpress-forums li.bbp-body ul.forum { border-top: 0; height: 90px; }
so
#bbpress-forums li.bbp-body ul.forum { height: auto !important; }
In reply to: Size of box for listing sub forumsLine 4255 of your theme Pixiehuge has
#bbpress-forums li.bbp-body ul.forum li { height: 100%; display: flex; display: -webkit-flex; flex-direction: column; -webkit-flex-direction: column; justify-content: center; -webkit-justify-content: center; }
The height : 100% is the issue
You need to put
#bbpress-forums li.bbp-body ul.forum li { height: auto; }
or
#bbpress-forums li.bbp-body ul.forum li { height: auto !important; }
(Try without the !important first)
into your theme’s custom css, or the custom css part of my bbp style pack plugin
In reply to: Size of box for listing sub forumstheme related
You’ll need to supply a link to an example on the site
In reply to: How to add and modify .mo filegreat – glad you’re fixed !!
In reply to: How to add and modify .mo filetry something web-based – maybe
In reply to: How to add and modify .mo file@alexwilmac no idea what you are trying to do, but you will need to use a proper tool to manipulate and change .mo files.
If you at just after a coupe of changes easier to use ‘gettext’ in a child theme functions file.
Perhaps come back with some further details
great – glad you are fixed !!
you can simply filter this in your theme’s function file.
not tested but
add_filter( 'bbp_number_format', 'rew_number_format', 10 , 5) ; function rew_number_format ($number_format, $number, $decimals, $dec_point, $thousands_sep) { $thousands_sep = '' ; return apply_filters( 'rew_number_format', number_format( $number, $decimals, $dec_point, $thousands_sep ), $number, $decimals, $dec_point, $thousands_sep ); }
In reply to: Problèmes notifications: mails envoyés aux bloquésIn reply to: Forum Index Order by FreshnessI’ve fixed that in the style pack plugin with version 3.7.2
for anyone using the function above it should read
function rew_forum_order_by_freshness ($args) { $args['meta_key'] = '_bbp_last_active_time' ; $args['orderby'] = 'meta_value' ; $args['order'] = 'DESC' ; return $args ; } add_filter('bbp_before_has_forums_parse_args', 'rew_forum_order_by_freshness');
which just changes the order, rather than the previous function which overwrites all the parameters submitted by subscriptions
In reply to: Argghh.. I can’t turn off the indentit’s caused by
#bbpress-forums .reply { margin-left: 0 !important; width: auto !important; }
which says it is inline code.
The width: auto !important needs to be width :100% !important.
Auto makes it only as wide as it needs to be, so for short sentences it truncates.
But I’m also getting an error saying that your “sydney-child-theme/style.css could not be loaded”
In reply to: Post Previewok, I’ve just loaded it to my site, but see nothing different – is there any set-up or what should I see differently on a topic/reply form?
In reply to: Forum Index Order by Freshnessok, let me take a look – but may not be until after xmas !
In reply to: Forum Width and Hide Menugreat – glad you are fixed !
In reply to: My content box textarea not have widgets.hmm… not sure I’m going to be able to help – without a theme to see it is hard to know what is causing it – the theme has turned off that feature
In reply to: My content box textarea not have widgets.ok, what theme are you using?
In reply to: My content box textarea not have widgets.ok, something is preventing this.
It could be a theme or plugin issue
Plugins
Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
Themes
If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.
Then come back
In reply to: My content box textarea not have widgets.all I see are some blank boxes – sorry but you need to post what part of the site and what you want to see
In reply to: Post Previewthanks – I’ll try and take a look shortly, but xmas may get in the way !!