Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 3,126 through 3,150 (of 14,246 total)
  • @robin-w

    Moderator

    FORUMS

    \templates\default\bbpress\content-archive-forum.php
    lists forums

    calls
    loop forums or feedback-no-forums

    \templates\default\bbpress\loop-forums.php
    does forum list headers

    calls
    loop-single-forum

    \templates\default\bbpress\loop-single-forum.php
    lists each forum, last post and freshness

    _____________________________________
    SINGLE FORUM

    \templates\default\bbpress\content-single-forum.php
    lists sub forums if needed using loop-forums
    calls
    loop-topics
    calls
    form topic

    \templates\default\bbpress\loop-topics.php
    does topic list headers

    calls loop-single-topic

    \templates\default\bbpress\loop-single-topic.php
    lists each topic in the forum, last post and freshness

    lists topic content

    ___________________________________________
    SINGLE TOPIC

    \templates\default\bbpress\content-single-topic.php
    if show lead topic set, calls content-single-topic-lead

    calls
    loop-replies
    form-reply

    \templates\default\bbpress\loop-replies.php
    does reply list headers

    calls loop-single-reply

    \templates\default\bbpress\loop-single-reply.php

    lists reply content

    @robin-w

    Moderator

    1. if you set up a new test user and subscribe them, do you see this?
    2. suggest you get one user to unsubscribe and subscribe again to a forum, and see if that fixes for them

    @robin-w

    Moderator

    This plugin still works

    bbPress – Moderation Tools

    on the ‘security settings’ – these are as set in

    dashboard>settings>disucussion>comment moderation where you can increase the no. links allowed

    @robin-w

    Moderator

    found this on googling ‘wp cli bbpress’

    https://github.com/bbpress/wp-cli-bbpress

    @robin-w

    Moderator

    so is this just one user?

    @robin-w

    Moderator

    Sorry, I am not a bbpress author, just someone who tries to help out here – I don’t always succeed.

    I’ve never tried or used CLI

    Hope you find a solution

    @robin-w

    Moderator

    from your example, you haven’t said what you want the cli to output

    eg

    $ wp post list –post_type=topic –fields=post_title,post_status

    or

    $ wp post list –post_type=topic,post –format=ids

    see examples in

    wp post list

    @robin-w

    Moderator

    I’d start with

    Recalculate engagements in each topic for each user

    @robin-w

    Moderator

    The way subscriptions worked changed between 2.5.x and 2.6.x

    So if you have run the actions in

    dashboard>tools>upgrade forums

    then I’d suggest you try

    dashboard>tools>repair forums> and run one at a time

    @robin-w

    Moderator

    🙂

    @robin-w

    Moderator

    ‘recommended’ just comes out worpdress caution of making sure urls don’t clash – I’ve not seen an occasion when they did, so it is a recommendation – you decide 🙂

    of slugs must be unique, so no you can’t have the same

    @robin-w

    Moderator

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>forum templates

    @robin-w

    Moderator

    if you are after styling the forums, then

    bbp style pack

    @robin-w

    Moderator

    dashboard>settings>forums and switch off the forum prefix

    In reply to: Forum layout

    @robin-w

    Moderator

    the theme used on this site is in

    https://meta.trac.wordpress.org/browser/sites/trunk/buddypress.org/public_html/wp-content/themes/bb-base

    but I suspect your site already has a theme and other plugins.

    I would suggest you look at

    bbp style pack

    which will let you amend many things, and let you add single topic and single forum widgets to your sidebar

    @robin-w

    Moderator

    that post was a spam post, so I deleted it.

    @robin-w

    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, 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.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    @robin-w

    Moderator

    spectators should not be able to create topics.
    Participants by default can.

    you will either need to

    change participant permissions -see this

    Custom Capabilities

    or add

    Private groups

    and set up topic permissions which will then let you set up a group with permission to reply only

    @robin-w

    Moderator

    forums are displayed using wordpress wpquery and post parent. you could add postmeta and add this to the query, but as I say lots of work to make this happen

    @robin-w

    Moderator

    you can make a topic ‘super sticky’ which will make it appear at the top of all forums.

    I know of nothing that will do a couple of forums, and indeed the code to do so would need to catch lots of areas, such as subscriptions, freshness etc. which at the moment rely on the ‘post parent’ table element of WordPress, so lots of code might be needed to get it to work.

    @robin-w

    Moderator

    I would switch debug on – and see what errors you are getting

    https://wpforms.com/developers/how-to-enable-debugging-in-wordpress/

    and see what error is occuring

    @robin-w

    Moderator

    ok, so when it occurs it is site wide and to all users including yourself? and casual (non logged in) visitors?

    @robin-w

    Moderator

    hmmm….

    ok so the function bbp_get_user_topic_count_raw definately exists, so it is possibly a load order issue, but you would expect that to be consistent – or it is something else 🙂

    intermittent issues are always hard to trace, can you recreate this, or how often is it happening, or it is happening to particular users (eg participant, subscriber) etc.

    @robin-w

    Moderator
    add_filter( 'bbp_get_forum_freshness_link', 'rew_show_forum_freshness' , 10 , 6) ;
    
    function rew_show_forum_freshness ($anchor, $forum_id, $time_since, $link_url, $title, $active_id ){
    	return $time_since ;
    }
    
    add_filter( 'bbp_get_topic_freshness_link', 'rew_show_topic_freshness' , 10 , 6) ;
    
    function rew_show_topic_freshness ($anchor, $topic_id, $time_since, $link_url, $title){
    	return $time_since ;
    }

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

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

    or use

    Code Snippets

    @robin-w

    Moderator

    I am nit a bbpress author, just someine who tries to help out here.

    bbpress has never worked well with threaded replies, sorry that’s just the way it is.

    it is really hard to do pagination with nested replies and make the display work intelligibly.

    If you know js well, then you could do some hide/show in css maybe, not my strong point.

Viewing 25 replies - 3,126 through 3,150 (of 14,246 total)