Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 11,501 through 11,525 (of 14,141 total)
  • @robin-w

    Moderator

    No problem, glad to help and the plugin is improved !

    @robin-w

    Moderator

    ok, suggest https://wordpress.org/support/ is the pace to go

    @robin-w

    Moderator

    hmm, not sure quite the best way to proceed.

    So did bbpress change when the theme changed?, or why did you deactivate it? and did you deactivate because of THIS problem? or has this problem only occurred since you deactivated/recativated?

    @robin-w

    Moderator

    as far as I know it is a minimum of four

    see

    https://wordpress.org/plugins/network-username-restrictions-override/

    Whilst this hasn’t been updated it probably still works !

    Otherwise this is a wordpress thing rather than bbpress, so post in

    Support Forums

    @robin-w

    Moderator

    Presume you have also asked this in the buddypress forums, as that would be a better place to post.

    https://buddypress.org/support/

    @robin-w

    Moderator

    ok, lets break this down

    A)

    I was having trouble with a theme so I deactivated and reactivated bb press, since then all my “private” forums take me to a 404 page

    and

    However all the pages which I embedded the private forums via shortcode are still working

    Can you explain further where you can and cannot see forums?

    1. Are they visible from the backend

    Dashboard>forums>all Forums and then ‘view’ a forum

    2. On the ‘the pages which I embedded the private forums via shortcode are still working ‘ – so you can view here – yes?

    3. when is the 404 page occurring – is it just the forum root page, and if so are these being listed but going to 404 when you click.

    B) I presume you are logged on, at what level and can you try different levels eg participant, moderator and keymaster and tell us if this is different or the same.

    c) You don’ tell us what trouble you were having with the theme, so it would be good to eliminate this and plugins so

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

    @robin-w

    Moderator

    ok,

    It could be a theme or plugin issue

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

    In reply to: Multiple forum titles

    @robin-w

    Moderator

    I’ve just added a shortcode to one of my plugins that lets you custom list forums

    bbp additional shortcodes

    [display-forum-index forum= ‘2932, 2921′ breadcrumb=’no’ search=’no’] Displays the selected forum indexes – see the site for details

    @robin-w

    Moderator

    As you no doubt already know, this is just a warning message, and bbpress say it is an issue with wordpress, and are waiting for wordpress to fix. Also as you know (but for others reading this), turning off debug fixes this.

    If you want it to disappear whilst you are developing (and so need debug on), then go to

    wp-content/plugins/bbpress/includes/core/sub-actions.php

    and comment out/change line 147

    _doing_it_wrong( __FUNCTION__, __( 'The current user is being initialized without using $wp->init().', 'bbpress' ), '2.3' );
    
    

    to

    //_doing_it_wrong( __FUNCTION__, __( 'The current user is being initialized without using $wp->init().', 'bbpress' ), '2.3' );
    
    

    and change back after developing as well as turning debug off for the production environment

    @robin-w

    Moderator

    thanks for posting this

    @robin-w

    Moderator

    @2cats

    I often find when you leave a problem alone, the brain mulls it over in the background, so awoke in the middle of last night knowing what the issue was, so I have now fixed the problem with speedy searches !

    Can you try a new version of 2.5.3 beta, as before delete current plugin, download and add new

    http://www.rewweb.co.uk/private-groups-2-5-3/

    And let me know that this does what is expected !

    @robin-w

    Moderator

    The template you’ll want to alter is

    loop-single-reply

    Would take a lot of altering

    create a directory on your theme called ‘bbpress’
    ie wp-content/%your-theme-name%/bbpress
    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.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/%your-theme-name%/bbpress/loop-single-reply.php
    bbPress will now use this template instead of the original

    @robin-w

    Moderator

    This is an error in wordpress and awaiting their fix

    https://bbpress.trac.wordpress.org/ticket/2412

    Switching off debug fixes it, but appreciate that it is annoying !

    @robin-w

    Moderator

    Forums are stored in the database, so you will not find them using ftp

    It could be a theme or plugin issue

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

    In reply to: No topics to convert?

    @robin-w

    Moderator

    Hey sorry that we didn’t get round to you – it is all volunteers that support this forum, and thanks for posting the solution to help others in future

    @robin-w

    Moderator

    great – glad it’s working.

    I did have an alternate faster solution which worked fine on my large test site UNLESS you hit the breadcrumb search after doing a search, when it ran out of memory! Go back to search via any other route and it was fine ! I’m still seeing if I can crack the issue with that (lots of resets) so I might come up with a faster solution.

    Let us know how you get on.

    If I don’t find a better solution in a few days, I’ll take that one live so that you get further updates via the usual route.

    @robin-w

    Moderator

    @cbsy lots of ways to achieve this – two below

    1. Look in

    Dashboard>settings>forums>Forum Root slug, and see what ‘forum root’ is set to

    The create a page with this name on it – so title the page this

    The in that page write whatever intro you want, and then put

    [bbp-forum-index] at the bottom of the content

    bbpress will then use this page as your forum root.

    2.

    Add the following to your functions file

    add_action ('bbp_template_before_forums_index' , 'my_intro' ) ;
    
    Function my_intro () {
    Echo '<div class="entry-content"> Here is my intro text. This is lots of writing to introduce the forums and make people read this stuff </div>' ;
    }
    
    

    Functions files and child themes – explained !

    If you hit prolems or need further help, just come back !

    @robin-w

    Moderator

    Try the following

    //adds login/logout to menu
    //filter to add login/logout to menu
    add_filter( 'wp_nav_menu_items', 'my_nav_menu_login_link' );
    function my_nav_menu_login_link($menu) {
        //uncomment the next line if you only want login on bbpress pages
        //if(is_bbpress()) {
        if (is_user_logged_in()) {
            //set the $url on the next line to the page you want users to go back to when they logout
            $url = 'http://www.mysite.com/forums' ;
            $url2=wp_logout_url($url) ;
            $loginlink = '<li><a title="Logout" href="'.$url2.'">Logout</a></li>';
            }
        else {
            $current_user = wp_get_current_user();
            $user=$current_user->user_login ;
            //set $page on the next line = the permalink for your login page
            $page='login' ;
            $loginlink = '<li><a href="/'.$page.'/">Login</a></li>';
                    }
        //uncomment out the next lines if you only want login on bbpress pages
        //      }
        //  else {
        //  $loginlink="" ;
        //      }
            $menu = $menu . $loginlink;
            return $menu;
    }

    @robin-w

    Moderator

    Just had a look at your site, and you seem to have ‘fixed’ this – correct, and if so how did you do it?

    If by altering core file, let me know, and I’ll give you a better solution.

    @robin-w

    Moderator

    ok, presume you’ll progress with the theme author

    @robin-w

    Moderator

    try changing ‘logout’ to “logout”

    @robin-w

    Moderator

    Several plugins that will do this for you, bbpress stores the entries as 3 custom post types, Forums, Topics, and Replies

    I googled ‘wordpress export custom post to excel’ and got several inc.

    https://wordpress.org/plugins/wp-ultimate-csv-importer/

    https://wordpress.org/plugins/custom-csv-exporter/

    @robin-w

    Moderator

    easiest way would be to uncode my shortcode

    bbp additional shortcodes

    or just use the do_shortcode function within your code

    https://codex.wordpress.org/Function_Reference/do_shortcode

    @robin-w

    Moderator

    I’m sorry but I don’t understand what you mean.

    What shortcodes – where?

    You will need to either provide examples or explain further.

    Sorry, but I am trying to help you, but there are hundreds of ways to set up wordpress/bbpress so need clear issues to resolve eg it looks like this, it needs to look like this

    @robin-w

    Moderator

    it should be :

    Dashboard>settings>forums>forum root slug and set to forums

Viewing 25 replies - 11,501 through 11,525 (of 14,141 total)