Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 12,451 through 12,475 (of 13,959 total)
  • @robin-w

    Moderator

    in the meantime, you can move it in your style.css

    Layout and functionality – Examples you can use

    @robin-w

    Moderator

    great, come back with your next query !

    @robin-w

    Moderator

    Yes,

    If you have a forum page ie a wordpress page that has [bbp-forum-index] in it, (ie you’ve use method 2 rather than method 1 in this link

    Step by step guide to setting up a bbPress forum – Part 1

    then go into edit on your forum page

    Switch to text from visual and put

    Create a new topic before the [bbp-forum-index] to get it at the top or after it to put it at the bottom.

    or you could use

    [bbp-topic-form] after the [bbp-forum-index]

    or

    [bbp-topic-form forum_id=$forum_id] to display a single forum topic form.

    Lots of possibilities.

    If you don’t have a set wordpress forum page, then you can create one, see method 2 in the link above

    @robin-w

    Moderator

    Great – thanks !

    @robin-w

    Moderator

    @zdev1 – yes thanks, I’ve responded to you on my plugin page.

    Any testing help you can give me to resolve would be appreciated !

    Let me know if you can help !

    @robin-w

    Moderator

    ok try

    Deactivate bbpress tweaks
    Dashboard>plugins>bbpress tweaks>deactivate

    Go into widgets
    Dashboard>appearance>widgets

    And look at the bottom of the left hand side. You’ll see an “inactive sidebar”, with your entries on
    Below this is an “inactive widgets”
    Drag all the entries from the inactive sidebar to the inactive widgets area.
    This then allows wordpress to delete the sidebar
    I normally log out and in again at this stage – probably not needed, but I’ve never bothered to check
    Then basically reverse the above
    Re-enable bbpress tweaks
    You see the bbpress sidebar returns
    Drag the entries back from the inactive widgets area to the sidebar

    As soon as you’ve got the site vaguely going again, you need to STOP !!!! YES STOP!!!!!!!!!!

    Then take a breath, and create a test site – you cannot continue to develop your site in live, and you need a child theme. So you’ll need to read.

    Functions files and child themes – explained !


    https://codex.bbpress.org/creating-a-test-site/

    Once you have a test site, you can change things there first and then when you are happy put it into live.

    In reply to: Sidebar not appearing

    @robin-w

    Moderator

    The problem is that there are so many themes out there, all of which do ‘clever’ things with layout that it is impossible to give a set of instructions.

    However you are using a paid theme with support, so you need to refer to them.

    You question should look like

    I’ve just installed bbpress forum software, and I want to use this in a page with a sidebar. To do this I need to copy and rename a theme page template that has a sidebar – basically I need to rename it bbpress.php and put it in my themes folder.

    Can you either let me know which template file in your theme has a sidebar, or where within an existing template (having copied and renamed it) I would put something like

    <?php get_sidebar(); ?>

    In reply to: How to add a @username

    @robin-w

    Moderator

    ok, put the css in your style.css.

    then maybe try this code in your functions.php file

    add_action( ‘bbp_theme_after_reply_author_details’, ‘mentionname_to_bbpress’ );
    function mentionname_to_bbpress () {
     $user = get_userdata( bbp_get_reply_author_id() );
     if ( !empty( $user->user_nicename ) ) {
     $user_nicename = $user->user_nicename;
    echo '<ul><li><font class=bbp-user-nicename>' ; 
    echo “@”.$user_nicename.’</font></li></ul>’ ;
     }
     }

    @robin-w

    Moderator

    ummm, yes it doesn’t make a difference.

    So now I’m not sure if running my bit is causing the blank screen, or running a wp-query that large with any ‘post__in’ or ‘post__not_in’ causes an issue. I could prove that by breakimng the execution at that point, but am struggling to see how it breaks it. Another think time I feel ! I’ll come back when I’ve done that.

    Or we could return to limiting the number displayed. ok so your pagination will be out, ie it’ll say ‘1-20 of 1550’ topics not ‘1-20 of 155000 topics’, but who does a topic list and goes beyond the first say 4 pages???

    what do you think?

    @robin-w

    Moderator

    no problem in deleting, but de-activate for a while first, then clean out when you’re sure you don’t need !

    @robin-w

    Moderator

    I somehow suspect that what you’re calling the admin bar may well have been what login/logout was displaying.

    was this admin bar at the top or bottom of you screen, and what did/does it display ?

    Try adding them back one at a time and see if it comes back.

    and next time don’t delete, just deactivate, then you can go back if needed 🙂

    or note down exactly what you have taken away so that you can add it back !

    @robin-w

    Moderator

    so is your admin bar missing for all users or just you?

    was the admin bar present when the plugins were there, and was it present for all users or just you?

    do you know the exact names of the plugins you were using?

    In reply to: bbPress Mods Wishlist

    @robin-w

    Moderator

    yes there’s lots to learn, my css is probably at your php level !

    I found a way to have a search box that is persistent on every level of the bbPress forums. Now I have to get rid of the second search box that is at the top of the forums. I can’t find where that is in the code to remove it.

    You could try just turning off the forum search

    dashboard>settings>forums and look for allow forum wide search

    Is there anyone that comes around regularly that would either donate the time for these couple of tweaks or let me pay them over time?

    you can put an ad on wordpress jobs

    http://jobs.wordpress.net/

    just post it as a project and detail what you want

    But I’d play with the css first, as I think much of what you want is stylable.

    @robin-w

    Moderator

    no problem, using the wordpress editor will not work, you’ll need to use ftp or cpanel

    see the following

    Functions files and child themes – explained !

    on FTP and notepad++ which will get you the tools.

    then you want to
    ftp the file to your pc
    open it using notepad++
    then save it to your pc as the new filename
    the edit it for the sidebar
    then save it on your pc
    the ftp the file back to your host

    lots to learn, but you’ll find this useful for future as you customise you site

    @robin-w

    Moderator

    It’s at the end of the forum, unless your theme is having an issue (sometimes they do)

    I add it to a forum sidebar – if you’re using a sidebar then come back and I’ll post how

    In reply to: How to add a @username

    @robin-w

    Moderator

    basically you’d use the same css as @robkk into your stylsheet, and then the code would be

    
    /**
    * Add @mentionname after bbpress forum author details
    */
    
    add_action( 'bbp_theme_after_reply_author_details', 'mentionname_to_bbpress' );
    function mentionname_to_bbpress () {
    $user = get_userdata( bbp_get_reply_author_id() );
    if ( !empty( $user->user_nicename ) ) {
    $user_nicename = $user->user_nicename;
    echo '<p class=bbp-user-nicename>' ;
    echo "@".$user_nicename.'</p>' ;
    }
    }
    
    In reply to: How to add a @username

    @robin-w

    Moderator

    to do the second you need to put the following in your functions file:

    //take away the role display
    function hide_role ($args) {
    $args['show_role'] = false ;
    Return $args ;
    }
    add_filter ('bbp_before_get_reply_author_link_parse_args', 'hide_role') ;

    this removes the existing text,

    then you’d need to add some image depending on role, so something like

    add_action( 'bbp_theme_after_reply_author_details', 'add_image' );
    function add_image () {
    $role = bbp_get_user_display_role( bbp_get_reply_author_id( $reply_id ) );
    if ($role == 'keymaster') {
    echo "<img src='/snippet_theme/img/error.gif' title='Error' alt='Error' />"; 
    }
    if ($role == 'participant') {
    etc.
    }
    
    

    This is not tested – sorry but limited time !!

    In reply to: How to add a @username

    @robin-w

    Moderator

    or put

    /**
    * Add @mentionname after bbpress forum author details
    */
    
    add_action( 'bbp_theme_after_reply_author_details', 'mentionname_to_bbpress' );
    function mentionname_to_bbpress () {
    $user = get_userdata( bbp_get_reply_author_id() );
    if ( !empty( $user->user_nicename ) ) {
    $user_nicename = $user->user_nicename;
    echo "@".$user_nicename;
    }
    }
    

    in your functions file.

    Functions files and child themes – explained !

    both methods are valid, if you use @robkk’s method, remember to create this as a separate file within your theme
    https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-3/ section 3

    @robin-w

    Moderator

    ok, use this template, but follow the instructions in https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum/#8-make-sure-bbpress-uses-the-page-template-we-want

    in the copy that you have renamed bbpress then remove

    <?php
     if ( ! is_active_sidebar( ‘sidebar-2′ ) && ! is_active_sidebar( ‘sidebar-3′ ) && ! is_active_sidebar( ‘sidebar-4′ ) && ! is_active_sidebar( ‘sidebar-5′ ) )
     return;
     ?>

    and replace it with

    <?php get_sidebar(); ?>
    

    and then ensure that bbpress tweaks is saying to use bbpress.php

    @robin-w

    Moderator

    @jesspetrohoy it is highly likely that the cause of your issues is different (different plugin conflict or different theme) , and you need to take the same action above to find out which plugins or whether your theme is affecting.

    @robin-w

    Moderator

    probably a theme or plugin problem

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

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

    @robin-w

    Moderator

    I believe this is an issue for anyone since even non-logged-in users would be able to see this topic if they had the URL for it, which could be generated from a sitemap or something – yet to be confirmed.

    just re-tested this, and no they get a 404 error or whatever page you send then to in the settings

    @robin-w

    Moderator

    wordpress is post software and has posts and comments

    bbpress is forum software, so it has forums, topics and replies

    so people will reply to topics, not comment on them !

    so I would

    1. deactivate buddypress
    2. switch to a default theme such as twentytwelve and see if people can now reply to topics, you are only doing this to see if your theme has an issue with replies.
    3. let us know whether you are allowing anonymous posting, or whether you onlt want topics/replies from registered users?

    Also, how do I just let people see the topics and not the forum?

    umm, not sure what you mean, either you have a forum or your have posts and comments, you can’t have forum topics with post comments 🙂

    @robin-w

    Moderator

    @trymedo – ok try this version, it should determine if it is the resultant list being queried, or the process of getting to the list that is causing issues. Basically it does your suggested post__not_in.

    private groups tom test

    This is only for Tom, and is just a testing version

    latest live version is here

    https://wordpress.org/plugins/bbp-private-groups/

    @robin-w

    Moderator

    Tom, what version are you currently on, V1.9.1 fixes a bug for people with moderator privilege that was causing display issues. Just need to check that your issue with what people are seeing is still current with this version.

    The white screen of death – I’m not sure if the memory issue is with the post__in result being big, or the need to process each one, so yes I’ll work on a post not in to see if this makes a difference, or if I can reduce the check. Can you remind me if this was just with http://www.mysite.com/topics, or whether it cropped up elsewhere, eg searches, or seleting forums etc.

Viewing 25 replies - 12,451 through 12,475 (of 13,959 total)