Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 10,051 through 10,075 (of 14,333 total)
  • @robin-w

    Moderator

    1. create a page
    2. put one of these two shortcodes in it

    [bbp-topic-form] – Display the ‘New Topic’ form where you can choose from a drop down menu the forum that this topic is to be associated with.
     [bbp-topic-form forum_id=$forum_id] – Display the ‘New Topic Form’ for a specific forum ID.

    3. add the page to your menu

    @robin-w

    Moderator

    I’ve been mulling this over…

    I don’t think the following will work, but it’s worth an initial try – add this to your functions file

    function bsp_breadcrumbs ($args) {
    	$pre_current_text = $args['current_text'] ;
    	$args['current_text'] = '[glossary_exclude]'.$pre_current_text.'[/glossary_exclude]' ;
    	return $args ;
    }
    
    //add the filter 
    add_filter('bbp_before_get_breadcrumb_parse_args', 'bsp_breadcrumbs');
    
    

    Let me know either way !

    In reply to: Prefix Recommendation

    @robin-w

    Moderator

    I would like to suggest for a future update that either the word ‘recommended’ should be removed from there or an additional line should be added explaining why is that recommended.

    agree it would be good to know !

    @robin-w

    Moderator

    only admins get those options, particiapants don’t get these

    @robin-w

    Moderator

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    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

    @robin-w

    Moderator

    from what and why?

    @robin-w

    Moderator

    but this issue was present before activating bbPress.

    uh? not sure how you can have an issue with forum software before it is installed.

    I presume you went through

    https://bbpress.org/forums/topic/before-posting/

    and if so did it identify the theme as the issue or a plugin?

    In reply to: Prefix Recommendation

    @robin-w

    Moderator

    not sure there is an answer !

    @netweb – do you know why?

    @robin-w

    Moderator

    what bbpress role does the person have? if admin, and they see the ip address in replies, you could put the email under this using

    add_action ('bbp_theme_after_reply_author_admin_details', 'rew_show_email') ;
    
    function rew_show_email () {
    $user_id_rew = bbp_get_reply_author_id () ;
    $user_info_rew = get_userdata($user_id_rew);
    $email = $user_info_rew->user_email;
    echo 'Email: '.$email ;
    }
    

    put this in your functions file

    https://codex.bbpress.org/functions-files-and-child-themes-explained/

    @robin-w

    Moderator

    If I understand you correctly you want to amend a file in

    wp-content/plugins/bbpress/templates/default/bbpress/

    The easiest way is to copy the relevant file to your child theme

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress and copy the file there eg

    wp-content/themes/%your-theme-name%/bbpress/loop-forums.php

    bbPress will now use this template instead of the original
    and you can amend this

    You can also add a location – for instance within a plugin I use I add a location using :

    add_action( 'bbp_register_theme_packages', 'bsp_register_plugin_template1' );
    
    //get the template path
    function bsp_get_template1_path() {
    	return BSP_PLUGIN_DIR . '/templates/templates1';
    }
    
    function bsp_register_plugin_template1() {
    	bbp_register_template_stack( 'bsp_get_template1_path', 12 );
    }
    

    @robin-w

    Moderator

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    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

    @robin-w

    Moderator

    @robin-w

    Moderator

    Sorry, I still have no idea what ‘integration’ looks like to you, and without knowing what you wish to change, then I cannot help

    Template do functionality for a major part, I suspect that changes you are after are css.

    In reply to: User Self-delete?

    @robin-w

    Moderator

    ah, now I can see what you mean.

    Yes that’s buddypress not bbpress – try their support forum

    https://buddypress.org/support/

    @robin-w

    Moderator

    hmm.. The only way I can immediately think of is to modify loop-topics

    so

    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

    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-topics.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/loop-topics.php
    bbPress will now use this template instead of the original
    and you can amend this

    so in that file you will see

    <?php while ( bbp_topics() ) : bbp_the_topic(); ?>
    
    			<?php bbp_get_template_part( 'loop', 'single-topic' ); ?>
    
    		<?php endwhile; ?>
    

    you would need to check with forum the user is in and then custom display

    so something like – you’d need to write the code – this is just words !

    <?php 
    	if (forum == the one you want to change) {
    		then make an array of the ID, and then cycle through them
    		foreach ($topics as $topic) {
    		bbp_get_template_part( 'loop', 'single-topic' );
    		}
    	}
    	else { ?>
    		<?php while ( bbp_topics() ) : bbp_the_topic(); ?>
    
    			<?php bbp_get_template_part( 'loop', 'single-topic' ); ?>
    
    		<?php endwhile; ?>
    	<?php } ?>
    

    @robin-w

    Moderator

    which of the files …I should be using to customize the bbPress topic page…which file name I should rename it to

    You’ll need to say what customisation you want to do, as that will affect my answer, if you can detail what you are after, I’ll try to help, but I do need details as I said above. I’m not trying to be awkward, just trying to help !

    @robin-w

    Moderator

    Yes you can use the private groups plugin to set up different groups that can see different forums

    https://wordpress.org/plugins/bbp-private-groups/

    @robin-w

    Moderator

    @aeneas1 I don’t think that plugin should be hosted on wordpress plugins, and I’ve asked the plugin review team to see if it violates the plugin rules.

    There is an import phpbb in the bbpress software – I think you may have seen it

    Dashboard>tools>forums and you can select phpbb – did you have an issue with this?

    @robin-w

    Moderator

    so where did you find this plugin? can you give a link to it?

    @robin-w

    Moderator

    so are these forums within a forum list, or topics within a forum?

    In reply to: User Self-delete?

    @robin-w

    Moderator

    Can you provide either a link or a screenshot via say dropbox?

    @robin-w

    Moderator

    ok, thanks – now I think I understand

    so within a specific forum, you want these topics to appear in that order – can you let me know if there are other topics which also need to appear below – eg these are the first 5 and then all others appear in date order, or are these the only 5 topics?

    @robin-w

    Moderator

    ok, so that didn’t work, sorry at the limit of my knowledge in search!

    @robin-w

    Moderator

    ok, I think you have may two issues here

    1. styling
    2. functionality

    or maybe both

    using template files will not fix styling, and from the link you sent, I cannot understand what functionality is missing – I can access both forums and topics just fine.

    So I am not clear exactly what you are trying to fix? Is it just the page background and header – if so you a right they are theme related, but perhaps you could explain what is wrong and what you want to do to fix it by giving me precise examples

    For example :

    I want to not have xx
    I want yy to be green

    etc.

    @robin-w

    Moderator

    Try adding this to your functions file:

    function amend_bbpress_search ($args) {
    $args[‘post_type’] = ‘any’ ;
    return $args ;
    }

    add_filter (‘bbp_before_has_search_results_parse_args’ , ‘amend_bbpress_search’) ;

    Functions files and child themes – explained !

Viewing 25 replies - 10,051 through 10,075 (of 14,333 total)