Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 7,251 through 7,275 (of 14,288 total)
  • @robin-w

    Moderator

    the templates are in

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

    start with content-archive-forum which is the main forums list, and then you’ll see how the other templates are called

    @robin-w

    Moderator

    bbp style pack


    lets you do this

    once activated go to

    dashboard>settings>bbp style pack>Buttons

    @robin-w

    Moderator

    nothing I know of does that

    In reply to: bbpress Slow

    @robin-w

    Moderator

    I can only suggest as a test remove the notification plugin and see if this is making the difference

    @robin-w

    Moderator

    great – thanks for posting the solution

    In reply to: Links in new topic

    @robin-w

    Moderator

    ok

    @robin-w

    Moderator

    sorry, but can you explain what is not working ? what is the issue you are facing ?

    In reply to: Links in new topic

    @robin-w

    Moderator
    function custom_bbp_has_replies($args) {
     $args[‘order’] = ‘DESC’; // 'ASC' (Ascending, Default), 'DESC' (Descending)
    
    return $args;
     }

    needs the apostrophies sorting on it !!

    In reply to: Links in new topic

    @robin-w

    Moderator

    can you post the code you are now using

    @robin-w

    Moderator

    no problem, – glad you are fixed !

    @robin-w

    Moderator

    if the forum is set as private, then you will not see topics or replies in the profile for that forum unless logged in.

    what theme and other bbpress related plugins are you running?

    @robin-w

    Moderator

    @poonasor

    function rew_check_forum_root () {
    $forum_slug = '/'.bbp_get_root_slug().'/' ;
    $page_slug = $_SERVER['REQUEST_URI'] ;
    if ($page_slug == $forum_slug) return true ;
    else return false ;
    }
    
    if (rew_check_forum_root() ) echo 'we are at the forum root!'  ;

    @robin-w

    Moderator

    this should do it

    function rew_check_forum_root () {
    $forum_slug = '/'.bbp_get_root_slug().'/' ;
    $page_slug = $_SERVER['REQUEST_URI'] ;
    if ($page_slug == $forum_slug) return true ;
    else return false ;
    }
    
    if (rew_check_forum_root() ) echo 'we are at the forum root!'  ;

    @robin-w

    Moderator
    In reply to: Links in new topic

    @robin-w

    Moderator

    I’m pretty sue that you code is suffering from apostrophe differences.

    When you copy code differ3ent editors change the ‘ !

    so your code has for instance

    (‘bbp_before_has_replies_parse_args’,

    suggest you remove the start and end apostrophies and replace eg

    ('bbp_before_has_replies_parse_args',

    @robin-w

    Moderator

    That looks like an issue with the bbp-messages plugin, which is not part of bbpress, you’ll need to post on their forum

    https://wordpress.org/support/plugin/bbp-messages/

    In reply to: Links in new topic

    @robin-w

    Moderator

    hmmm…

    1. did you leave in the code, from what you say that is needed as well

    
    function custom_bbp_show_lead_topic( $show_lead ) {
    $show_lead[] = ‘true’;
    return $show_lead;
    }
    add_filter(‘bbp_show_lead_topic’, ‘custom_bbp_show_lead_topic’ );

    on your other errors, can you post lines from say 615-630 from your functions file

    In reply to: Links in new topic

    @robin-w

    Moderator

    your first bit of code should be

    function custom_bbp_has_replies($args) {
     $args[‘order’] = ‘DESC’; // ‘ASC’ (Ascending, Default), ‘DESC’ (Descending)
    
    return $args;
     }
    
    add_filter(‘bbp_before_has_replies_parse_args’, ‘custom_bbp_has_replies’ );
    

    The ($args) brings in all the existing args and then your next line modifies just the ‘order’ arg. Otherwise the only argument passed to the query is the ‘order’ arg, so there is nothing to display.

    @robin-w

    Moderator

    Great – glad you are fixed, and for anyone reading this later the code should be

    add_filter ('bbp_get_do_not_reply_address', 'rew_no_reply') ;
    
    function rew_no_reply ($no_reply) {
    	$no_reply = 'abc@def.com' ;
    return $no_reply ;
    }

    @robin-w

    Moderator

    yes

    @robin-w

    Moderator

    by default bbpress send one email to the noreply address and bcc’s in the subscibers, so only one email sent.

    code to change

    add_filter ('bbp_get_do_not_reply_address', 'rew_no_reply') ;
    
    function rew_no_reply ($no_reply) {
    	$no_reply = abc@def.com ;
    return $no_reply ;
    }

    You’d think the bbpress coders would have created setting for this by now

    the bbpress coders are busy people who can code what they wish to. Not up to us to criticise free software

    @robin-w

    Moderator

    too longer a list for free help from me I’m afraid, but you will probably need my private groups plugin

    Private groups

    briefly – for master think category, then forums as ‘sub forums’ , threads (nested) are in the bbpress plugin, email per forum post – yes the rest is a mixture of easily doable and a some custom work.

    contact me via

    http://www.rewweb.co.uk/contact-me/ if you want further help

    @robin-w

    Moderator

    bbpress sends an email to the noreply address and bcc’s in the intended recipients.

    2 solutions

    1. my style pack plugin lets you amend the ‘to’ address (see email subscriptions tab), or you can do this with code, and amend it to a real address on your website.

    bbp style pack


    2.switch to individual emails – this plugin does that https://wordpress.org/plugins/asyncronous-bbpress-subscriptions

    In reply to: All Forums not showing

    @robin-w

    Moderator

    put this in your functions file, or code snippets

    Code Snippets

    //Number of forums per page
    add_filter (‘bbp_before_has_forums_parse_args’, ‘rew_number_of_forums’) ;#

    function rew_number_of_forums ($args) {
    $args[‘posts_per_page’] = 100 ;
    return $args ;
    }

    In reply to: All Forums not showing

    @robin-w

    Moderator

    forums per page uses one of these settings

Viewing 25 replies - 7,251 through 7,275 (of 14,288 total)