Forum Replies Created
-
the code should work – try form a PC/phone that has never accessed the site
I suspect the css on your browser is not clearing. Try shutting it down and opening up again.
In reply to: How to hide the author of posts for unlogged users.this should hide it, but test to make sure you don’t find any exceptions !
add_filter ('bbp_get_author_link' , 'rew_hide_author', 30 , 3 ) ; add_filter ('bbp_get_reply_author_link' , 'rew_hide_author', 30 , 3 ) ; add_filter ('bbp_get_topic_author_link' , 'rew_hide_author', 30 , 3 ) ; function rew_hide_author($author_link, $r, $args) { if (!is_user_logged_in()) $author_link='' ; return $author_link ; }
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
I suspect that it could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
Then come back
In reply to: Topic editor turn shortcode in HTMLfrom your image, it is because you have not use the CODE in your post.
so you show
[model_viewer...etc]
when if you do not want wordpress to translate this you should have
`[model_viewer…etc] with a second tick at the end, then when you edit it will stay as the code
no need to edit files, you can do all that with css
so
.bbp-forum-freshness { display : none !important ; width : 0px ; } li.bbp-forum-reply-count, li.bbp-forum-topic-count, li.bbp-topic-reply-count, li.bbp-topic-voice-count { width: 20%; } li.bbp-forum-info, li.bbp-topic-title { float: left; text-align: left; width: 55%; }
will fill the freshness space up.
you can play with the percentages, above is 20% + 20% + 55%
just make sure they don’t go over 95% totalif you want a more technical solution, you need to have a child theme, and know how to ftp files.
If so come back and I’ll tell you how to do it
put this is the custom css section of your theme
.bbp-forum-freshness { display : none !important ; }
In reply to: Topic editor turn shortcode in HTMLum…that’s what shortcodes are for ???
if you just want the shortcode displayed without bbpress interpreting it, then use the ‘code’
eg
[model_viewer ID'...']
In reply to: bbpress show first post from each topic via popupbetter version will come next week
In reply to: Trying to get nested replies and pagination to workI appreciate that you are trying to use levers to get a resolution, but you are assuming that someone who has developed a free piece of software has some need to not have any negative feedback.
I am not a bbppress author, I just help out here, but having written several plugins including the style pack, there are what they are – you hope that others find them useful, but it makes no financial difference to you if no-one uses them.
Berating the authors for not offering a one to one response service on a product that has 300,000 users is perhaps asking too much.
I sincerely hope that you get to a resolution, but nested replies has never been a great feature within bbpress, and if that makes you choose another free product, then I will be sorry, but understand.
In reply to: Forum directory display problemit could be a theme or plugin issue
Themes
As a test switch to a default theme such as twentyfifteen, and see if this fixes.
Plugins
If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.
If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users
In reply to: how to increase to topic writing form size(height)ok, it works in my test site, so I cannot explain why it is not working for you
In reply to: how to increase to topic writing form size(height)sorry, I had misunderstood your question – this code will do that :
add_filter ('bbp_before_get_the_content_parse_args' , 'rew_rows') ; function rew_rows ($args) { $args['textarea_rows'] = 20 ; return $args ; }
and adjust the 20 to what you want
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
In reply to: Topic editor turn shortcode in HTMLhtml is not allowed for security purposes, but if you want to enable all or some then
add_filter( 'bbp_kses_allowed_tags', 'ntwb_bbpress_custom_kses_allowed_tags' ); function ntwb_bbpress_custom_kses_allowed_tags() { return array( // Links 'a' => array( 'class' => true, 'href' => true, 'title' => true, 'rel' => true, 'class' => true, 'target' => true, ), // Quotes 'blockquote' => array( 'cite' => true, ), // Div 'div' => array( 'class' => true, ), // Span 'span' => array( 'class' => true, ), // Code 'code' => array(), 'pre' => array( 'class' => true, ), // Formatting 'em' => array(), 'strong' => array(), 'del' => array( 'datetime' => true, ), // Lists 'ul' => array(), 'ol' => array( 'start' => true, ), 'li' => array(), // Images 'img' => array( 'class' => true, 'src' => true, 'border' => true, 'alt' => true, 'height' => true, 'width' => true, ), // Tables 'table' => array( 'align' => true, 'bgcolor' => true, 'border' => true, ), 'tbody' => array( 'align' => true, 'valign' => true, ), 'td' => array( 'align' => true, 'valign' => true, ), 'tfoot' => array( 'align' => true, 'valign' => true, ), 'th' => array( 'align' => true, 'valign' => true, ), 'thead' => array( 'align' => true, 'valign' => true, ), 'tr' => array( 'align' => true, 'valign' => true, ) ); }
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
In reply to: how to increase to topic writing form size(height)In reply to: Edit post redirect to Root Forumsgreat – thanks for posting the solution which will help others
In reply to: Exclude the replies from search resultsgreat – glad you are fixed !
In reply to: Documented import from snitz access databaseok, not sure what to suggest next
In reply to: Documented import from snitz access databasehave you followed step 1 in the first thread on changing date format ?
In reply to: Exclude the replies from search resultsadd_filter ('bbp_before_has_search_results_parse_args' , 'rew_topics_only') ; function rew_topics_only ($args) { $args['post_type'] = array (bbp_get_topic_post_type(), bbp_get_forum_post_type()) ; return $args ; }
In reply to: Exclude the replies from search resultsthis code should do that
add_filter ('bbp_before_has_search_results_parse_args' , 'rew_topics_only') ; function rew_topics_only ($args) { $args['post_type'] = bbp_get_topic_post_type() ; return $args ; }
Put this in your child theme’s function file –
ie wp-content/themes/%your-theme-name%/functions.php
where %your-theme-name% is the name of your theme
or use
In reply to: bbpress show first post from each topic via popupcontact me via
In reply to: bbpress show first post from each topic via popuphmm….let me have a think…I’ll come back
In reply to: Freshness is way offgreat !