Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 6,301 through 6,325 (of 14,288 total)
  • @robin-w

    Moderator

    just tested it – seems fine.

    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.

    Then come back

    @robin-w

    Moderator

    if your site is visible, please post link

    @robin-w

    Moderator

    it exists in both.

    Then original exists in the bbpress folder, and is updated by bbpress updates

    The amended sits in your child theme folder

    In reply to: Default image topic

    @robin-w

    Moderator

    hmm….I took a look at that theme, but it is complicated and beyond free help – sorry !

    @robin-w

    Moderator

    Put this in the custom css tab of style pack or your theme’s custom css area

    .forum-archive div.bbp-breadcrumb {
    display : none ;
    }

    @robin-w

    Moderator

    @robin-w

    Moderator

    Beyond free help, but start with

    templates/default/bbpress/loop-forums.php and loop-single-forum.php

    In reply to: bbpress control bar

    @robin-w

    Moderator

    great – thanks for posting the final solution 🙂

    @robin-w

    Moderator

    probably because it is not a bug in version 6.x!!!

    it will be theme or plugin related

    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.

    In reply to: bbpress control bar

    @robin-w

    Moderator

    should do !!

    In reply to: bbpress control bar

    @robin-w

    Moderator

    great – come back if you need further help !!

    In reply to: EXCESSIVE SPAM

    @robin-w

    Moderator

    once your forum gets known to spammers, then it is passed around in lists as an easy target, and you may well get bombarded.

    because you allow anonymous posting, there is not much a spam filter can do to differentiate between a real post and spam, as it doesn’t know what your website is about.

    @robin-w

    Moderator

    maybe post on the buddypress support forum?

    https://buddypress.org/support/

    @robin-w

    Moderator

    the code is for a previous version of bbpress.

    try this :

    #wp-link p.howto {
    	display: none;
    }
    
    #search-panel {
    display : none ;
    }
    In reply to: bbpress control bar

    @robin-w

    Moderator

    ok, so the first bbpress file (there will be another for replies) that we need to filter is :

    incudes/topics/templates.php

    if you open and look at the file on line 2425 you’ll find the function that does the edit topic link.

    Within this is a function that bbpress uses to let us filter parameters (called bbp_parse_args)

    it looks like this

    // Parse arguments against default values
    		$r = bbp_parse_args( $args, array(
    			'id'           => 0,
    			'link_before'  => '',
    			'link_after'   => '',
    			'edit_text'    => esc_html__( 'Edit', 'bbpress' )
    		), 'get_topic_edit_link' );

    you’ll see the word ‘Edit’ is contained in the ‘edit_text’ parameter, so it is this that we need to amend.

    we can use a filter to change what this says, so we don’t need to amend that file- so this code put in your child theme functions file

    add_filter ('bbp_before_get_topic_edit_link_parse_args' , 'my_edit_topic_filter', 10 , 1 ) ;
    
    function my_edit_topic_filter ($args) {
    	$args['edit_text'] = 'this' ;
    
    return $args ;
    
    }

    will change ‘EDIT’ to ‘THIS’

    The parameter is effectively output on line 2455 in

    $retval = $r['link_before'] . '<a href="' . esc_url( $uri ) . '">' . $r['edit_text'] . '</a>' . $r['link_after'];

    so if $r[‘edit_text’] outputs the icon, then you are on the way. If the icon is an image, then using html img etc. in the function above should be good.

    let me know that you make progress with this approach – or come back.

    If you fix that one, I’ll help you work out the rest 🙂

    In reply to: bbpress control bar

    @robin-w

    Moderator

    ok, I’m hoping you are quite good at editing files, and some php?

    do you have a child theme?

    do you know how to add stuff to a child theme functions file?

    @robin-w

    Moderator

    how is this related to bbpress ?

    @robin-w

    Moderator

    so have you tried that ?

    In reply to: Default image topic

    @robin-w

    Moderator

    not as easy as it might sound.

    I suspect your blog is using the featured image of the post for other blog items – yes ?

    If so, the easiest would be to change the blog.php file for your theme

    what theme are you using? do you have a child theme? do you know how to edit files? do you know how to ftp files ?

    @robin-w

    Moderator

    link to your site please ?

    @robin-w

    Moderator

    also look in

    dashboard>topics to see if the topic is held as pending

    also check how many links are in a topic that is not posting – the number is set in dashboard>settings>discussion>comment moderation, or that you don’t have blacklisted words in the text.

    also check if you are using a spam plugin that that is not filtering.

    @robin-w

    Moderator

    great

    @robin-w

    Moderator

    great – glad you are fixed, but you would do better to pout the amended version I your theme, else it will be overwritten by bbpress updates

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    Then transfer the file you changed above and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-anonymous.php

    bbPress will now use this template instead of the original

    @robin-w

    Moderator

    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.

    Then come back

    @robin-w

    Moderator

    just one user – several users ?

    have you looked at the post in the backend to see it’s status?

Viewing 25 replies - 6,301 through 6,325 (of 14,288 total)