Robkk (@robkk)

Forum Replies Created

Viewing 25 replies - 676 through 700 (of 3,784 total)
  • @robkk

    Moderator

    This forum is really funny… As I went thorugh it, lot of users asked a question and after several days they answered for their own question, because nobody replied….

    I have also seen this before, especially on topics more than 2 years old, but less than 5-6 years old. There was some users that have had moved on from helping out in the support forum. If it happens now usually it is when, I or someone else may not know how to help on some questions (happens on something I am not familiar with like app development or other custom development), we are busy, we could be sleeping and someone figured it out overnight. .

    As for this topic, I may have over-thought it a little.

    If you do want this kind of layout across your entire forums on your site, I do not have the time to do that right now. Here is what you wanted in this single-topic.php file that should be placed in your child themes root.

    https://gist.github.com/robkk/d0682447a3cbdf9807a1

    Here is what it looks like. IF you need to modify something in content-single-topic.php just edit this template since I just copied it over.

    @robkk

    Moderator

    @tkserver

    Well I think @jovito just put shortcodes in a regular WordPress static page and just wants how it looks to be across all bbPress pages, and that is where the bbpress.php would help.

    with a custom file bbpress.php in my theme, would it be directed to that page when I hit submit for a new topic or new reply, instead of the topic page mentioned above?

    The bbpress templates using theme compatibility will use a template like page.php or bbpress.php in your theme, but the topic page content will be inside of the loop of that template. Instead of using a bbpress.php file, you can put single-topic.php from the extras folder and customize it and place it in your child theme root for a template specific to a single topic page.

    Is there sth like a template for the display of topics?

    These are all the templates that are being used in a single topic. Using single-topic.php in the root of your child theme will be the main template being used instead of a bbpress.php template or a page.php template.

    Also @jovito what kind of options for shortcodes are you talking about??

    @robkk

    Moderator

    @argema

    Run the repair tools one at a time in Tools > Forums to see if this fixes the issue.

    Edit: If it doesn’t work, there might be a bug in the bbPress trac somewhere about this.

    @robkk

    Moderator

    It works for me if I passed the reply/topic post author’s ID, it doesn’t update immediately though. Running the repair tools for calculating each users counts one by one in Tools > Forums fixed that.

    I think auto-updating the count is part of the latest dev version though.

    Here is the code I used to test it very quick. I just placed this in loop-single-reply.php.

    <?php print bbp_get_user_reply_count( bbp_get_reply_author_id() ) ?>

    @robkk

    Moderator

    I am not entirely sure group forums made with BuddyPress have feeds specific for the forums.

    Any regular forum without a group all you had to do is add /feed to the end of the url to see the feed, but that does not work for the group forum page.

    The group does have an activity feed though.

    There is usually an RSS link on the main page of the group that leads to the RSS feed.

    In reply to: Delete “Header”

    @robkk

    Moderator

    You can use this custom CSS to hide it.

    #bbpress-forums li.bbp-header {
        display: none;
    }

    Or you can copy loop-topics.php to your child theme in a folder called bbpress. And remove these lines.

    <li class="bbp-header">
    
    		<ul class="forum-titles">
    			<li class="bbp-topic-title"><?php _e( 'Topic', 'bbpress' ); ?></li>
    			<li class="bbp-topic-voice-count"><?php _e( 'Voices', 'bbpress' ); ?></li>
    			<li class="bbp-topic-reply-count"><?php bbp_show_lead_topic() ? _e( 'Replies', 'bbpress' ) : _e( 'Posts', 'bbpress' ); ?></li>
    			<li class="bbp-topic-freshness"><?php _e( 'Freshness', 'bbpress' ); ?></li>
    		</ul>
    
    	</li>

    @robkk

    Moderator

    Its the only plugin I can find with this feature that works great with bbPress.

    Hope it works well for you though! 🙂

    In reply to: Forum avatar

    @robkk

    Moderator

    Glad you resolved your own issue! 🙂

    @robkk

    Moderator

    The “Forums” page lists all the topics – not the Forums, is that normal?

    It is if you set in Settings > FOrums for the forum root to display topics by freshness.

    Using that shortcode can work too I guess.

    @robkk

    Moderator

    BbPress post hierarchy does not allow categories to contain topics, only forums can.

    Start with a category that contains forums, with that containing topics.

    @robkk

    Moderator

    It might be better to create a bbpress.php instead of a regular static WordPress page, because that 1 static page will not work for all of the bbPress pages. If you create a bbpress.php, all your bbPress pages will use that template instead.

    See if this guide helps you any.

    Getting Started in Modifying the Main bbPress Template

    Since you using shortcodes you can echo the shortcodes in the bbPRess template like this.

    <?php echo do_shortcode("[shortcode]"); ?>

    @robkk

    Moderator

    @dustywhite

    Make sure to create a topic and test in a default theme from WordPress to see if the issue persists there too

    In reply to: Delete “Header”

    @robkk

    Moderator

    Closing in favor of your other topic.

    Delete “Header”

    In reply to: Author avatar issue

    @robkk

    Moderator

    @leirof

    Add this anywhere you can put custom css like in your themes style.css file or in a custom css plugin.

    #bbpress-forums div.bbp-the-content-wrapper input{
      color: #000;
    }
    In reply to: 404 error

    @robkk

    Moderator

    Can you see the forums on the frontend of your site??
    Are you saying you cannot see it in the backend in Forums > All FOrums??

    While testing your theme everything works fine for me.

    You can try some troubleshooting to see if this is hopefully not a cache issue, or see if a plugin is causing the conflict, or if running the repair tools in Tools > Forums helps.

    Troubleshooting

    @robkk

    Moderator

    Try this php code snippet. Add it to your child themes functions.php file or in a functionality plugin that can hold custom php code snipppets.

    add_filter ('bbp_get_title_max_length','rkk_change_title') ;
    
    Function rkk_change_title ($default) {
    $default=90 ;
    return $default ;
    }

    @robkk

    Moderator

    Yeah this could be bbPress subscriptions having the issue.

    See if installing and using this plugin will help you out.

    https://wordpress.org/plugins/asyncronous-bbpress-subscriptions/

    @robkk

    Moderator

    @gene-stevo

    1 of your topics I see had 3 links and was caught by the link limit, the others I am not entirely sure really because they do have 2 links, they were just pending moderation for some reason.

    I did just approve this topic though.

    Help end this Mail Del System nightmare. Please!

    @robkk

    Moderator

    Closest thing there is.

    Pushover Notifications for bbPress

    @robkk

    Moderator

    Are you talking about where it says something similar to this in the body class. Most themes add this not really bbPress itself. If you are missing this <?php body_class(); ?> in your theme you not be able to see the post id.

    postid-652

    Or for the topic list of the forum where it shows this.

    bbp-forum-652

    If you have been heavily editing bbPress templates in your child theme you may not have this in correctly in loop-single-forum.

    <ul id="bbp-forum-<?php bbp_forum_id(); ?>" <?php bbp_forum_class(); ?>>

    In reply to: Delete “Header”

    @robkk

    Moderator

    @lpmma

    The actual label in the header? The header entirely?? Or do you just need help changing the word to something else??

    In reply to: Forum avatar

    @robkk

    Moderator

    i can’t see and option in buddypress to upload anything.

    See if this guide helps.

    Profile → Change Profile Photo

    On this post is a simple way to add a ranking based on post count.

    User ranking system?

    Where it says
    echo '<div class="all-stars"><i class="svg-icon one-star"></i></div>'

    That is where you can add your images like this.

    echo '<div class="all-stars"><img src="image source"/></div>'

    Make sure they are different for each post count specified in the snippet.

    You may need different CSS than what was mentioned in the post though.

    @robkk

    Moderator

    Hmm that is weird adding the breadcrumb like this worked for me. Either function you use is fine though.

    function rkk_breadcrumb_text() {
        $args['before']  = '<div class="bbp-breadcrumb"><p><span class="bbp-breadcrumb-text">You Are Here: </span>';
        $args['sep'] = ' / ';
        return $args;
    }
    add_filter('bbp_before_get_breadcrumb_parse_args', 'rkk_breadcrumb_text');

    @robkk

    Moderator

    Something like this might work.

    Add this php code snippet to your child themes functions.php or add it in a functionality plugin.

    function rkk_display_moderator_label() {
        $reply_id    = bbp_get_reply_id();
        $role        = bbp_get_user_display_role( bbp_get_reply_author_id( $reply_id ) );
    	
        if( $role == 'Moderator') {
            echo'<div class="bbp-mod-label">Forum Moderator</div>';
        }
    }
    
    add_action( 'bbp_theme_before_reply_content', 'rkk_display_moderator_label' );

    @robkk

    Moderator

    This is a known bug. This might be resolved in the next release of bbPress though.

    There is a workaround listed in the ticket also.

    A workaround is to select the topic(s) to restore and use Bulk Action to restore.

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

Viewing 25 replies - 676 through 700 (of 3,784 total)