Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 3,151 through 3,175 (of 14,235 total)
  • In reply to: Thumbs up and down

    @robin-w

    Moderator

    sorry, this one

    bbp-valoration

    @robin-w

    Moderator

    ps – I presume you have a function

    groups_join_group but have not shown it for simplicity ?

    @robin-w

    Moderator

    just looked at this – sorry, as you say I don’t get to every item, and this is bespoke code which means something to someone, but without a heavy investment of time, it is hard to debug why it is not working 🙂

    the function bbp_add_user_forum_subscription is still valid, and should work fine, so the actual change to the way bbpress works should not affect it.

    I have little knowledge of buddypress, so I cannot say whether that code is still valid.

    Have you turned debugging on ? and is it showing anything ?

    @robin-w

    Moderator

    there is the ‘unread posts’ part of my style pack plugin, that will advise users on the website of new unread topics, and new unread replies to topics.

    bbp style pack

    once activated go to

    dashboard>settings>bbp style pack>Unread Posts

    @robin-w

    Moderator

    you’re welcome 🙂

    @robin-w

    Moderator

    link to a live example please

    In reply to: Thumbs up and down

    @robin-w

    Moderator

    this add-on plugin to bbpress does that. Whilst old, it still works

    @robin-w

    Moderator

    Just had a thought and dug in the code further, the duplicate check doesn’t apply to those roles/users that can ‘throttle’

    // No duplicate checks for those who can throttle
    	if ( user_can( (int) $r['post_author'], 'throttle' ) ) {
    		return true;
    	}

    bbPress User Roles and Capabilities

    so default Keymaster and Moderator can post duplicates

    @robin-w

    Moderator

    most 10 year olds can fake a photo ID – there is no real way to verify someone on line 🙂

    But if you find or create a mechanism, in the spirit of open software, do come back and let us know

    @robin-w

    Moderator

    I am not a bbpress author, just someone who helps out here.

    Every website is unique, and this doesn’t happen on my test site – I have not seen this reported elsewhere as an issue, and the code has a duplicate function check in it.

    line 307 of includes/replies/functions

    /** Reply Duplicate *******************************************************/
    
    	if ( ! bbp_check_for_duplicate( array( 'post_type' => bbp_get_reply_post_type(), 'post_author' => $reply_author, 'post_content' => $reply_content, 'post_parent' => $topic_id, 'anonymous_data' => $anonymous_data ) ) ) {
    		bbp_add_error( 'bbp_reply_duplicate', __( '<strong>Error</strong>: Duplicate reply detected; it looks as though you’ve already said that.', 'bbpress' ) );
    	}

    I am not able to say why you are getting this.

    @robin-w

    Moderator

    bbpress just uses wordpress registration and login, so you can use any wordpress plugin that would do that.

    I googled and got this list

    8 Best Age Verification Plugins for WordPress

    @robin-w

    Moderator

    nothing I know of

    @robin-w

    Moderator

    you can switch to a text editor, which looks way better

    bbp style pack

    once activated go to

    Styling
    dashboard>settings>bbp style pack>Topic/Reply Form

    item 9

    @robin-w

    Moderator

    this is the ‘tiny mce’ editor that comes bundled with WordPress which bbpress just uses.

    from a quick google it doesn’t look that easy to change what is there.

    @robin-w

    Moderator

    I’d be tempted to use the conditional widgets plugin to achieve this, but bear in mind that wordpress’s move to block widgets may limit the lifespan.

    It would also be worth asking the theme author since this is a paid theme.

    Beyond that, it would be custom development work I suspect

    @robin-w

    Moderator

    ok, so

    I understand from this threat that the layout of search results or topic-tag pages can be customized based on the template files stored in the bbpress/templates/default/bbpress folder.

    In order to retain the customization during updates of the bbpress plugin, I have created the same folder structure inside the directory of my child theme (see screenshot).

    yes that is correct and should work, BUT you would do better to only copy those templates you are changing/altering – bbpress will then use those you have changed from your child theme directory and use the unchanged from the plugin directory..

    so what are users clicking to get the topic tags page ?

    In reply to: Embedded images

    @robin-w

    Moderator

    so you’re fixed – ish ???

    In reply to: Embedded images

    @robin-w

    Moderator

    But now they show a warning and it has to be viewed by clicking a link.

    Given that bbpress hasn’t changed, then something else is presumably now adding that warning ?

    @robin-w

    Moderator

    🙂

    @robin-w

    Moderator

    ok, without knowing what is determining the order, it is hard to give you code to correct.

    I’d suggest you play with publish dates of the stickies and ant replies to them to see if you can work out the issue, then come back and I’ll see if I can help further

    @robin-w

    Moderator

    line 322 of \includes\topics\template.php has the function I think

    you’d use a filter to add an ‘order by’ probably using the parse args on line 330

    so

    add_filter ('bbp_before_add_sticky_topics_parse_args' , 'your_function') ;
    
    function your_function ($r) {
    //add the order you want to sort
    $r['order_by'] = etc......
    
    }
    

    Sorry don’t have time to look at this evening, but come back if you need further help

    @robin-w

    Moderator

    🙂

    @robin-w

    Moderator

    part of the new topic check is for duplicates , not sure why your site isn’t.

    you get an error message of

    ‘Duplicate topic detected; it looks as though you’ve already said that.’

    @robin-w

    Moderator

    so do the stickies have any replies to them ?

    that might alter the order, eg most recent reply determines order

    @robin-w

    Moderator

    sorry, forget that, in wrong place

Viewing 25 replies - 3,151 through 3,175 (of 14,235 total)