Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 7,401 through 7,425 (of 14,141 total)
  • @robin-w

    Moderator

    ok, so

    your site was working – and with no changes that you are aware of, it is now not working ?
    it happens every time
    with a default theme AND just bbpress the error happens – yes?

    try

    dashboard>settings>permalinks and just click save – this just resets the permalinks

    @robin-w

    Moderator

    Users keep getting an HTTP 500 error when trying to post

    every time, mostly, sometimes?
    all users, some users, participant, keymaster?
    topics, replies, both ?

    @robin-w

    Moderator

    my free plugin

    bbp user ranking

    may be what you are after

    In reply to: Custom Fields

    @robin-w

    Moderator

    you need to alter ‘post’ to topic and reply eg (untested)

    function adding_custom_meta_boxes( $post_type, $post ) {
        add_meta_box( 
            'my-meta-box',
            __( 'My Meta Box' ),
            'render_my_meta_box',
            'topic',
            'normal',
            'default'
        );
    add_meta_box( 
            'my-meta-box2',
            __( 'My Meta Box 2' ),
            'render_my_meta_box',
            'reply',
            'normal',
            'default'
        );
    
    }
    add_action( 'add_meta_boxes', 'adding_custom_meta_boxes', 10, 2 );

    @robin-w

    Moderator

    It could be a theme or plugin issue issue, so you’ll need to test to find out which

    Themes

    As a test switch to a default theme such as twentyfifteen, and see if this fixes.

    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.

    Then come back

    @robin-w

    Moderator
    In reply to: Custom Fields

    @robin-w

    Moderator

    ok, you’d do it with a metabox in the backend topic and reply custom post types

    this should get you started

    Creating Custom Post Meta Boxes in WordPress

    @robin-w

    Moderator

    cannot see the Trash Admin Link referenced for deleting topics from the frontend.

    when you are in a topic or reply, if the admin hovers the mouse in the content part a series of admin options (admin links) appear typically edit|move|split|trash|spam| the ‘trash’ is the ‘trash admin link’ referred to

    @robin-w

    Moderator

    I can’t immediately think of any existing code.

    Option 1 is the quick answer, but more manual.

    It could be coded, a simple way would be to stop replies on the front end if a reply didn’t exist unless an admin.

    you would need to amend form-reply.php – do you

    1. have a child theme and
    2. know how to ftp files to and from your PC?

    If so contact me via my website

    http://www.rewweb.co.uk

    @robin-w

    Moderator

    lots of ways to do this, you might want to have a think about the best for you

    I have a plugin called

    Private groups

    which lets you set up groups and may be the best solution

    alternately

    if you are able to ftp and edit files the message is held in

    wp-content/plugins/bbpress/templates/default/bbpress/feedback-no-forums.php

    so

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

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

    find
    wp-content/plugins/bbpress/templates/default/bbpress/feedback-no-forums.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/feedback-no-forums.php
    bbPress will now use this template instead of the original
    and you can amend this

    so go into it and amend the message to what you desire.

    You could instead put this in your functions file or put it in a code plugin such as

    PHP code snippets (Insert PHP)

    function rew_change_text( $translated_text, $text, $domain ) {
    	if ( $text == 'Oh bother! No forums were found here!' ) {
    	$translated_text = 'whatever you want it to say in here!' ;
    	}
    	return $translated_text;
    }
    
    add_filter( 'gettext', 'rew_change_text', 20, 3 );
    
    In reply to: phpBB import (again)

    @robin-w

    Moderator

    ow !

    @robin-w

    Moderator

    yes crack that code open it is in includes/widgets, you should find a good place to filter – probably change 159-161 – set the ‘post_parent__in’ to the forum of the current buddypress group, and the settings in the widget will be ignored.

    In reply to: Custom Fields

    @robin-w

    Moderator

    are these tags the same for every reply?

    In reply to: phpBB import (again)

    @robin-w

    Moderator

    sorry, I know nothing of imports, so can’t help.

    Unfortunately open foundation software relies on either the authors or users (such as myself) to support for free. I try and help as much as I can.

    What I would ask though, is that if you fix it then

    1. post the solutions(s) here to help others
    2. Dip in once a month/quarterly/once on a blue moon to see if you can help someone else – after all it is someone else’s help you are now seeking.

    @robin-w

    Moderator

    If I understand it, my ‘recent activity widget’ does that

    you can find it in

    bbp style pack

    once activated you’ll find a new widget called

    (style pack) latest activity

    @robin-w

    Moderator

    great – glad you are fixed

    @robin-w

    Moderator

    ok, do let us know how you get on

    @robin-w

    Moderator

    not tested as going out soon, but this should work

    add_action ( 'bbp_new_topic', 'myprefix_assign_tag_to_post', 10, 4 );
    add_action ( 'bbp_edit_topic', 'myprefix_assign_tag_to_post', 10, 4 );
    
    function myprefix_assign_tag_to_post($topic_id, $forum_id, $anonymous_data, $topic_author) {
    if( $forum_id == '168'  && bbp_current_user_can_publish_topics() ) {
    	wp_set_post_terms( $topic_id, 'introductions', 'topic-tag', true );
    }
    
    elseif($forum_id == '1343' && bbp_current_user_can_publish_topics() ) {
    		wp_set_post_terms( $topic_id, 'discovery', 'topic-tag', true );
    
    }
    }

    @robin-w

    Moderator

    what is this ‘link’ ? please clarify – what link are you talking about?

    @robin-w

    Moderator

    @domeboys I have remove the error code as it looked like it contained the card details of one of your customers.

    I can only repeat that you had a working site a week or so ago, and something changed to create the issues you have now. bbpress has not changed, but something has caused an error.

    This could be down to many issues, including updates you have done, or database corruption.

    I appreciate that you are feeling very frustrated.

    In your position, I would be asking HostGator to revert my site to before the issue and see if that fixes. I would also suggest you turn on debug to see if that reveals a site error.

    bbpress runs on over 300,000 websites worldwide, but there are infinite combinations of themes, plugins and data that make it impossible to say that bbpress will work in all circumstances, but the fact that your was, should mean that it could be again.

    I wish you luck in resolving.

    @robin-w

    Moderator

    @robin-w

    Moderator

    no problem

    @robin-w

    Moderator

    @haddly I can’t see any easy way to reassign content, given that you have already assigned it to yourself

    @robin-w

    Moderator

    There is no standard

    I just set up a user called ‘deleted user’ with a fictitious email address, and assign content to that

    @robin-w

    Moderator

    @frendeliko https://bbpress.trac.wordpress.org/ticket/3198

    it is sitting waiting for 2.5.15 or 2.6

Viewing 25 replies - 7,401 through 7,425 (of 14,141 total)