Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 12,051 through 12,075 (of 14,232 total)
  • In reply to: 404 on Edit my post

    @robin-w

    Moderator

    Since you paid for a theme (and it has so much “we are great” on it’s website), suggest you raise this with them first to see if they can give you amended code

    @robin-w

    Moderator

    great – glad you’re fixed !

    In reply to: 404 on Edit my post

    @robin-w

    Moderator

    what theme are you using?

    @robin-w

    Moderator

    can you post a link to a page on your site showing this plesae

    @robin-w

    Moderator

    great – glad you’re fixed

    @robin-w

    Moderator

    Presuming you have default permalinks (don’t worry if you have no idea what this means) then it is a known issue with wordpress 4.0 and is in the queue for a fix on the next release.

    in the meantime you can either

    move you child themes up a level

    or (better) change your permalinks to ‘pretty’ ones.

    see https://codex.wordpress.org/Using_Permalinks for explanation of what a permalink is

    go to

    Dashboard>settings>permalinks and set them to ‘postname’

    In reply to: 404 on Edit my post

    @robin-w

    Moderator

    @creator2000

    ok, if you haven’t already try

    dashboard>tools>forums>repair forums run all of them but only one at a time
    the run the permalink reset again.


    @solosails

    Presume you have tried resetting permalinks, have disabled all the plugins and switched to default theme as above?

    @robin-w

    Moderator

    can you post a url to an example of a page you would like this on, and say wherabouts would be ideal

    In reply to: bbp_setup_current_user

    @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 twentytwelve, and see if this fixes.

    @robin-w

    Moderator

    Great – glad you’re fixed !

    In reply to: Hiding closed subject

    @robin-w

    Moderator

    Not an easy one.

    I presume that you mean automatically do this ? Manually you can of course ‘trash’ a topic and it will cease to appear on the forum

    Also what would you like to happen to ‘closed’ topics, presume you would like to keep these, but in being hidden, presume you mean that they never show up in any forums/searches etc. but still show in the backend, or are you happy to actually delete them permanently?

    @robin-w

    Moderator

    in the widget php file, but i couldn’t figure out how to remove the avatar. is there a simple way to do it?

    Yes, line 807 says

    $author_link = bbp_get_topic_author_link( array( ‘post_id’ => $topic_id, ‘type’ => ‘both’, ‘size’ => 14 ) );

    The type can be ‘avatar’ for avatar or ‘name’ for just name, or ‘both’ to display both

    So change this to ‘name’

    Remember to make a not of changes to this file, as they may well be lost on bbpress upgrades, so you would need to go back in and reply them.

    In reply to: Size font bbpress

    @robin-w

    Moderator

    you should change it as per the previous post

    bbPress Styling Crib

    No. 5 is what you need to change, and the guide link at the top of the link above tells you how to do it.

    @robin-w

    Moderator

    great – glad you’re fixed

    @robin-w

    Moderator

    my plugin should allow you to only see the required forums

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

    In reply to: Size font bbpress

    @robin-w

    Moderator

    @robin-w

    Moderator

    you should see

    (bbpress) Forum serach Form
    (bbpress) Forums List
    (bbpress) Login Widget
    (bbpress) recent replies
    (bbpress) Recent topics
    (bbpress) Statistics
    (bbpress) topics views list

    do you not see all these?

    @robin-w

    Moderator

    No, you’re right that’s as far as my plugin goes.

    I don’t know of anything that would go further.

    I don’t plan outside of bespoke work to add this functionality.

    In reply to: "Reply" button

    @robin-w

    Moderator

    If I have understood you correctly you want to change the reply form you’ll be looking at

    wp-content/plugins/bbpress/templates/default/bbpress/form-reply.php which sets up the forum and on line 57 calls

    bbp_the_content
    

    this function is in

    wp-content/plugins/bbpress\includes\common\template.php

    line 1706

    you’d probably want to write a filter fro that function

    if you’re familiar with wordpress args parsing, bbpress does it in the same way

    apply_filter (‘xx’ , ‘bbp_before_get_the_content_parse_args’)

    and then write a function xx that adds you initial text to $args[‘before’] should do it

    Don’t; have time to write and test it at the mo, but come back if you need further help

    @robin-w

    Moderator

    yes my plugin

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

    lets you show that forums exist, but not content

    @robin-w

    Moderator

    I think you have used the ‘topic views’ widget, you need to use the ‘recent topics’ widget

    In reply to: Two forum index pages?

    @robin-w

    Moderator

    bbpress has two ways to display the forums – see

    Step by step guide to setting up a bbPress forum – Part 1

    You just have a page called chat, whilst the slug is still set to forum, so the latter is what the breadcrumb shows.

    so you need to do two things

    1. change the slug to chat
    2. get bbpress to use your template with a sidebar

    I was trying to fix no. 2 first

    Suggest you refer the issue to you theme provider

    @robin-w

    Moderator

    so if you wanted to change ‘Create New Topic’ to ‘hello mother’ you would do

    //This function changes the text wherever it is quoted
    function change_translate_text( $translated_text ) {
    	if ( $translated_text == 'Create New Topic' ) {
    	$translated_text = 'hello mother';
    	}
    	return $translated_text;
    }
    add_filter( 'gettext', 'change_translate_text', 20 );
    
    In reply to: Two forum index pages?

    @robin-w

    Moderator

    ok, make a copy of this file and rename it bbpress.php

    put this file in the root of your theme

    ie

    wp-content/themes/%yourthemename%/bbpress.php

    where %yourthemename% is the name of your theme!

    Then amend as follows

    change

    // Sidebar
     /////////////////////////////////////////////
     if ($themify->layout != “sidebar-none”): get_sidebar(); endif; ?>
    

    to

    // Sidebar
     /////////////////////////////////////////////
     get_sidebar();  ?>
    

    This will then force bbpress to use a forum with a sidebar

    @robin-w

    Moderator

    Great – and thanks for posting the solution !

Viewing 25 replies - 12,051 through 12,075 (of 14,232 total)