Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 13,026 through 13,050 (of 14,313 total)
  • In reply to: Help build forum

    @robin-w

    Moderator

    There are probably lots of changes that have been made to get those sites, and sorry but it is unlikely that anyone will offer to design your site for you without payment.

    If you want a specific project then put it on wordpress jobs

    http://jobs.wordpress.net/

    If you want specific help on elements, then give us a link to your url, and say what exactly you would like to change, and we’ll see if we can help you.

    In reply to: Hide role in the forum

    @robin-w

    Moderator

    yes, put this in your functions file

    function hide_role ($args) {
    $args['show_role'] = false ;
    Return $args ;
    }
    add_filter ('bbp_before_get_reply_author_link_parse_args', 'hide_role') ;
    
    

    come back if you need any further help !

    @robin-w

    Moderator

    I’d be fairly sure that it’s because a topic and replies are shown using loop-single-reply.php which uses the reply class throughout.

    I suspect that the topic class is used in /topics display

    http://www.mysite.com/topics

    you could prove this by typing the above (with your site name!) into your url box.

    If so, then you could put a conditional into loop-single reply using the $countr we out there earlier, ie if it’s the first use topic class.

    Is it possible to remove topic-author, but keep reply-authors

    I’m just on my way out, or I’d do a bit more research – come back if you need more help !

    @robin-w

    Moderator

    great, glad you are fixed !!

    In reply to: Newby a little lost

    @robin-w

    Moderator

    It will almost certainly be your theme.

    I had a quick look but couldn’t work out quite what it was doing at that point.

    Since I think you have the scope theme, maybe check on their support forum, as have paid for support and access.

    http://www.themezilla.com/support/forum/wordpress-themes/scope/

    and search for bbpress as a start – there may well be a simple solution.

    If not then put a support topic on their site, and come back and tell us what they said

    In reply to: Newby a little lost

    @robin-w

    Moderator

    ok, so we’re back to setting the default template that bbpress uses, but this time to one with a sidebar

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

    @robin-w

    Moderator

    ok, let me know how you get on.

    If you’d like specific coding done, then try wordpress jobs

    http://jobs.wordpress.net/

    @robin-w

    Moderator

    I presume they used to be ok? or have they never worked?

    Since they are images, almost anything in wordpress could have affected.

    have you added any plugins, or updated/changed themes?

    @robin-w

    Moderator

    possibly a conflict

    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, switch to a default theme such as twentytwelve, and see if this fixes.

    @robin-w

    Moderator

    You were very close !

    function change_reply_post_date($output) {
    $day= '('.get_post_time('D').')';
    $output = preg_replace( '/at/' , $day , $output );
    return $output;
    }
    add_filter( 'bbp_get_reply_post_date' , 'change_reply_post_date');
    

    the line $day…etc. sets $day equal to an ‘open bracket’, followed by the day, followed by a ‘close bracket’ – the full stops are a concatenate in php.

    your original "<?php echo get_post_time('D'); ?>" does the following
    <?php = switch on php – we’re already in php, so not needed
    echo = send to screen – but we don’t want that, we want the result to be sent, which will be done by other code
    get_post_time= that’s the key part that you had figured
    ?> = ends php, which we don’t want to do as the rest of the line is php

    @robin-w

    Moderator

    ok, no problem !

    @robin-w

    Moderator

    sorry, but recent replies doesn’t have a category part – which widget exactly do you mean?

    @robin-w

    Moderator

    you could try adding the following to your functions file

    add_filter( 'd4p_is_bbpress', '__return_true' );
    

    or seeing if your theme or other plugins are affecting

    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, switch to a default theme such as twentytwelve, and see if this fixes.

    @robin-w

    Moderator

    Can you just eliminate theem or plugin issues, this should show descriptions (content) on the category pages.

    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, switch to a default theme such as twentytwelve, and see if this fixes.

    @robin-w

    Moderator

    @robin-w

    Moderator

    I don’t know, I’ve never used it !

    @robin-w

    Moderator

    yes that’s the way it is supposed to work – try the plugin

    https://wordpress.org/plugins/gd-bbpress-attachments/

    @robin-w

    Moderator

    ‘Why is there no way to control this with shortcodes and nobody has found a solution 🙁 ‘

    Solutions require problems, and clearly not enough think this a problem. 🙂

    There are probably several hundred things that the developers are working on or could work on (I’m not a developer, just a volunteer helping here).

    I’m not actually sure what you are saying isn’t there – is this just controlling the numbers, or are you after more functionality.

    If you could write a detailed problem definition, I’ll take a look !

    @robin-w

    Moderator

    since I don’t know courseware, I can’t directly say.

    You could always put in a link

    eg http://www.mysite.com/forums/forum1

    from somewhere within courseware

    @robin-w

    Moderator

    great – glad you’re fixed !

    @robin-w

    Moderator

    ok, then install the plugin

    https://wordpress.org/support/plugin/bbp-private-groups

    then each course would have a group, and you would add users to that forum group.

    @robin-w

    Moderator

    so you’ve put

    <?php if ($countr !=0) bbp_reply_author_link( array( ‘sep’ => ‘<br />’, ‘show_role’ => true ) ); ?>
    

    on the loop single reply – yes?

    Try adding a line before that

    <?php echo ‘countr is ‘ . $countr ; ?>

    that should then show what the value is somewhere on the page (bottom left of each topic/reply would be my bet), so you can see what’s happening !

    If it’s not coming through you might need to declare it before using it in replies

    eg new line before line 45 saying

    <?php global $countr ; ?>

    @robin-w

    Moderator

    Do you have a donation link?

    I do, but it’s probably not etiquete to put it on this forum !

    But when you do find the solution, PLEASE post it back here, so that others searching later can find it !

    @robin-w

    Moderator

    ok, so

    //function to remove the comma
    function change_comma_time($output) {
    $output = preg_replace( ‘/[,]/’ , ‘ ‘ , $output );
    return $output;
    }
    add_filter( ‘bbp_get_time_since’, ‘change_comma_time’ );
    add_filter(‘bp_core_time_since’, ‘change_comma_time’);

    will take out the commas. You need to add this to your functions file and

    ‘function custom_get_forum_freshness_link() {
    $time_since = bbp_get_forum_last_active_time( $forum_id );
    $anchor = $time_since ;
    return $anchor ;
    }

    add_filter( ‘bbp_get_forum_freshness_link’, ‘custom_get_forum_freshness_link’ );’

    will take out the link

    You will need to add these to your functions file.

    Come back if you need further help

    @robin-w

    Moderator

    ‘course are posts for “courses” custom post type.’

    That is the part that confuses me.

    Bbpress uses three custom post types – forum, topic and reply – none of which would concern you.

    If you just want forums for each course, that is out of the box, but a course participant would be able to see other course’s forums – is this an issue?

    Otherwise if you want separate private group forums then try adding the following plugin on top of bbpress.

    https://wordpress.org/support/plugin/bbp-private-groups

    Since I have never used courseware I can’t say how well bbpress would integrate with it

    I think you best option is to install bbpress and see how it works for you.

Viewing 25 replies - 13,026 through 13,050 (of 14,313 total)