Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 31,051 through 31,075 (of 64,744 total)
  • Author
    Search Results
  • #115289
    Lynq
    Participant

    Hey guys, I have been debugging a few issues with these functions so I am going to link to each of the functions below in pastebin, should be pretty good to go for copying across I believe.

    Custom bbp_list_forums function. http://pastebin.com/GLhCHYze

    Custom last poster block for forums. http://pastebin.com/8K0pkKs5

    Custom last poster block for topics. http://pastebin.com/FGptZmiQ

    Hope this helps, it is a little clearer on pastebin currently, the code block on bbpress.org likes to change my code for me! :p If you find any issues let me know and I will try and update this topic, also I will get the updates onto my own site.

    Good luck!

    • This reply was modified 14 years, 4 months ago by Lynq.
    • This reply was modified 14 years, 4 months ago by Lynq.
    #115287
    crazy-nomce
    Participant

    Bump, anyone?

    Btw, I fixed half of the hooks (I added the corresponding hooks into the bbpress theme on my own, and it works), but I have problem with the remaining three hooks which I didn’t fixed, and they are:

    add_filter( 'bp_get_the_topic_post_content', 'rfp_filter_rating_link', 3 ); 
    
    add_filter( 'bp_get_the_topic_post_css_class', 'rfp_alter_post_based_on_rating', 1, 1 );
    
    add_filter( 'bp_get_the_topic_post_poster_name', 'rfp_filter_poster_karma', 3 );
    

    Also, I cannot find anything for the variable $bbp,and the corresponding variables in bbpress which exist in buddypress: $topic_template and $forum_template.

    Thanks in advance!

    Edit: I forgot to mention that bbpress is updated to version 2.1. 🙂

    • This reply was modified 14 years, 4 months ago by crazy-nomce.
    #115285
    Anonymous User 5853594
    Inactive

    There have been some changes in the repository to shift the “latest” to the plugin branche, so the links probably got broken there.

    You can find the 1.1 branche here: https://bbpress.trac.wordpress.org/browser/branches/1.1.

    wvanderzee
    Participant

    Hi there,

    Like to download the stand alone version 1.1 as listed on: http://bbpress.org/download/legacy/. But the link doesn’t seem to exist.

    FYI: At the moment, I have a forum running using the stand alone version. I’ve planned migrating it to WordPress/bbPress, but for now like a copy of the stand alone installation package.

    Thanks!

    Wouter

    #115283
    Erlend
    Participant

    Thanks for including SWNK in the examples list!

    ’twas my pleasure. Your forum does a very good job of being clean and readable, and you’ve clearly built a very active community around it.

    NB bbPress site owners: You’ll want to follow this trac ticket to know when you can submit your bbPress-powered site to the official WordPress showcase.

    #115282

    In reply to: Forum Title

    Superhearing
    Member

    oo nice, thanks, I got around it but creating a page named forum and adding the shortcode [bbp-forum-index]

    Modifying Page Title in Forums Archive

    Will look into your fix when when I have time, thanks 🙂

    #115265
    AAShepAA
    Participant

    Yes I do and just on those links mentioned above – the bbpress links in the admin sidebar.

    kraigg
    Participant

    Good morning,

    I’m using bbPress 2.1 and Buddypress 1.6 to create groups and group forums within.

    My problem is the ‘Edit’ link in the group forum posts don’t seem to work.
    http://imageshack.us/photo/my-images/7/editlinkingroupforumtop.png/

    When I click the edit link for a post, it goes to http://www.example.com/groups/mygroup/forums/topic/reply-to-mytopic/edit/, which is a ‘create new topic’ page. There is no reply form, with the text for that post, that appears.

    I also have the same problem with the ‘Split’ link not working either. ‘Trash’ and ‘Spam’ work fine. The only bbPress plugin I’m using is the bbPressModeration plugin.

    #115262
    Stephen Edgar
    Keymaster

    The correct links indeed are /wp-admin/edit.hp?post_type=forum etc, do you see the same behavior with all other plugins disabled except bbPress?

    #115259

    In reply to: 2.1 questions

    Stephen Edgar
    Keymaster

    — ‘Topics Replied To’ User Profile Empty?

    I don’t have or see a ‘Topics Replied To’ section under eg. /users/username, only ‘Subscribed Forum Topics’, ‘Favorite Forum Topics’ & ‘Forum Topics Created’…

    — The ‘recent replies’ widget indeed in the old version did include recent topics in its output. Much of the widget query code has been rewritten so I would say now that the widget works as per design 🙂

    I have created a ticket to enhance some of the widget options, if you have anything to add, please do.

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

    #115255
    Superhearing
    Member

    Me and the guys here also have the same problem, did you get it working? https://bbpress.org/forums/topic/forum-title/#post-115254

    #115253
    AAShepAA
    Participant

    John – you are a prince among men 🙂 !

    That solved “almost” everything. I still have a “Forums”, “Topics” and “Replies on the admin bar that tell me I don’t have the correct permissions and the have me going here respectively: http://www.stratoliner.me/wp-admin/admin.php?page=edit.php?post_type=forum – http://www.stratoliner.me/wp-admin/admin.php?page=edit.php?post_type=topic – and http://www.stratoliner.me/wp-admin/admin.php?page=edit.php?post_type=reply.

    However I have a plugin called “bbPress Admin Bar Addition” that works and it send me to these links:
    http://www.stratoliner.me/wp-admin/edit.php?post_type=forum –
    http://www.stratoliner.me/wp-admin/edit.php?post_type=topic – and
    http://www.stratoliner.me/wp-admin/edit.php?post_type=reply

    I am almost there 🙂 – BTW if you know the tables I can delete from the old stand-alone install that would be cool also.

    #115252
    Stephen Edgar
    Keymaster

    You should be good to go by removing ‘clear: both;’ on line 15 of the bbPress CSS file

    http://www.wvko1580.com/wp-content/plugins/bbpress/bbp-theme-compat/css/bbpress.css

    #115246

    Possible your server time is set incorrectly? That might cause the calculation between current_time() and the users last_active time to have a gap? Though, it probably is a deeper issue than this – could even be a bbPress GMT bug.

    #115245
    pimarts
    Participant

    Ok, a litle more info:

    I run a bbPress + BuddyPress installation. And I put that function in the functions.php file of my WordPress theme.

    It would remove the widgets inside. If needed you could remove the rest of the / entire sidebar with CSS. The advantage over a simple CSS hide is the fact that less code gets written to the browser / less code to download for the user.

    Aside from that I use it to put the login widget at the top of the forums (with CSS) and remove all the other widgets.

    #115229
    Lynq
    Participant

    Hey guys,

    I am putting up a topic to show how I have created the layout on http://teamoverpowered.com/forums/

    My aim when creating the theme was to try and create a last poster block that would work throughout the forums and sub forums list.

    custom_bbp_list_forums – this function creates the sub forums under the main forum

    public function custom_bbp_list_forums( $args = '' ) {
    
        // Define used variables
        $output = $sub_forums = $topic_count = $reply_count = $counts = '';
        $i = 0;
        $count = array();
    
        // Defaults and arguments
        $defaults = array (
            'before'            => '',
            'after'             => '',
            'link_before'       => '',
            'link_after'        => '',
            'count_before'      => ' (',
            'count_after'       => ')',
            'count_sep'         => ', ',
            'separator'         => ', ',
            'forum_id'          => '',
            'show_topic_count'  => true,
            'show_reply_count'  => true,
            'show_freshness_link'  => true,
        );
        $r = bbp_parse_args( $args, $defaults, 'list_forums' );
        extract( $r, EXTR_SKIP );
    
        // Bail if there are no subforums
        if ( !bbp_get_forum_subforum_count( $forum_id ) )
            return;
    
        // Loop through forums and create a list
        $sub_forums = bbp_forum_get_subforums( $forum_id );
        if ( !empty( $sub_forums ) ) {
    
            // Total count (for separator)
            $total_subs = count( $sub_forums );
            foreach ( $sub_forums as $sub_forum ) {
                $i++; // Separator count
    
                // Get forum details
                $count     = array();
                $show_sep  = $total_subs > $i ? $separator : '';
                $permalink = bbp_get_forum_permalink( $sub_forum->ID );
                $title     = bbp_get_forum_title( $sub_forum->ID );
    
                // Show topic count
                if ( !empty( $show_topic_count ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
                    $count['topic'] = bbp_get_forum_topic_count( $sub_forum->ID );
                }
    
                // Show reply count
                if ( !empty( $show_reply_count ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
                    $count['reply'] = bbp_get_forum_reply_count( $sub_forum->ID );
                }
    
                // Counts to show
                if ( !empty( $count ) ) {
                    $counts = $count_before . implode( $count_sep, $count ) . $count_after;
                }
    
                if ( !empty( $show_freshness_link ) ) {
                    $freshness_link = "" . BBP_Default::teamop_get_last_poster_block( $sub_forum->ID ) . "";
                }
    
                // Build this sub forums link
                if ($i % 2) { $class = "odd-forum-row"; } else { $class = "even-forum-row"; }
                $output .= "" . $link_before . '<a href="' . $permalink . '">' . $title . '</a>' . $counts . $freshness_link . $link_after . "";
            }
    
            // Output the list
            echo apply_filters( 'bbp_list_forums', $before . $output . $after, $args );
        }
    }
    

    I then call that function inside loop-single-forum.php like so:

    BBP_Default::custom_bbp_list_forums( array (
            'before'            => '',
            'after'             => '',
            'link_before'       => '',
            'link_after'        => '',
            'count_before'      => 'Topics: ',
            'count_after'       => '',
            'count_sep'         => 'Posts: ',
            'separator'         => '',
            'forum_id'          => '',
            'show_topic_count'  => true,
            'show_reply_count'  => true,
            'show_freshness_link' => true,
            ));
    

    Inside the first function I am also calling a second custom function called custom_get_last_poster_block

    function custom_get_last_poster_block( $subforum_id = "" ) {
    
                if ( !empty( $subforum_id ) ) {
                    $output = "";
                    $output .= "<a href='". bbp_get_forum_last_topic_permalink( $subforum_id ) ."'>" . bbp_get_topic_last_reply_title( bbp_get_forum_last_active_id( $subforum_id ) ) . "</a>";
                    $output .= "";
                    $output .= "by ";
                    $output .= bbp_get_author_link( array( "post_id" => $subforum_id, "size" => 14 ) );
                    $output .= "";
                    $output .= "";
                    $output .= bbp_get_forum_last_active_time( $subforum_id );
                    $output .= "";
                } else {
                    $output = "";
                    $output .= "<a href='". bbp_get_forum_last_topic_permalink() ."'>" . bbp_get_topic_last_reply_title( bbp_get_forum_last_active_id() ) . "</a>";
                    $output .= "";
                    $output .= "by ";
                    $output .= bbp_get_author_link( array( "post_id" => bbp_get_forum_last_active_id(), "size" => 14 ) );
                    $output .= "";
                    $output .= "";
                    $output .= bbp_get_forum_last_active_time( bbp_get_forum_last_active_id() );
                    $output .= "";
                }
    
                return $output;
    
            }
    

    This then creates my sub forum list, I added some extra classes in I can hook onto and display:none if need. I decided when creating me theme that I would get as much information showing as possible, then just use CSS to customise it.

    The final functions is one I call inside loop-single-topic.php.

        public function custom_get_last_poster_block_topics() {
    
                $output .= "";
                $output .= bbp_get_author_link( array( "post_id" => bbp_get_forum_last_active_id(), "size" => 14 ) );
                $output .= "";
                $output .= "";
                $output .= bbp_get_topic_last_active_time( bbp_get_topic_last_active_id() );
                $output .= "";
    
            return $output;
    
        }
    

    This is my final function and it just adds the last poster block inside the topics list.

    If you need any more help then let me know.

    UPDATE: Please see the following topic for updated code

    I have created a bbPress starter theme with a phpBB look and feel

    #115243
    roddaut
    Participant

    BTW I have disabled all plugins except for the bbpress plugin and our membership software so we can rule out most possible plugin conflicts as well.

    #115242
    roddaut
    Participant

    Hi,

    Ever since updating to the latest bbpress plugin when users or admins try to post a new topic or reply to a topic we get the error “Slow down; you move too fast.” I’ve looked at other posts on this forum having the same issue but did not find anything that helped me.

    Also this problem happens any time anyone posts. It is not the result of someone trying to post too much too quickly. Throttle time is set for 10 seconds. And when I try to change the throttle time it reverts back to 10 seconds. Maybe that’s a clue as to what the problem is?

    Just to sum up:
    The issue exists for all users and admins.
    The issue happens for all posts – a person cannot be throttled because they haven’t succeeded in making one post.
    The problem happened only after updating bbpress but not before.

    Thanks in advance for your help.

    Rodney

    echoman
    Participant

    Thanks yes i noticed and i answered my own question with text editor for comments lol. Disqus worked fine but the text for comments editor was also in the bbpress forums when i activated it. Thanks i really am looking forward to it.:)

    BuddyPress Group Forums will eventually be migrated to use bbPress 2, which means they will inherit all of the goodies your site wide forums have, including the fancy editor.

    Disqus commenting in your blog should not be affected.

    echoman
    Participant

    How can i get the same editor to work in Buddypress 1.5.6 group forums? I know about an editor for text comments. But I’m using Disqus for comments. Would the text for comments editor interfere with the fancy text editor in bbpress forums and disqus comments? It’s not really a big deal,but it would be nice to know and absolutely make my day. Hopefully this can become a new feature in the future.

    • This topic was modified 14 years, 4 months ago by echoman.
    • This topic was modified 14 years, 4 months ago by echoman.
    #115227
    Lynq
    Participant

    @pimarts
    If you have a sidebar container does that function remove that aswell or just the widgets inside it?

    Yes, many people have done this successfully.

    bbp-theme-compat isn’t a complete theme; it says so in the files and in the documentation. I’d recommend trying the instructions again. If you’ve tried them enough times and still can’t figure it out, I’d love to know which points we can clarify for you further. The general “it’s broke and ugly and help” isn’t indicative to us where you need our help.

    #115225
    Nate
    Participant

    pimarts,

    if that’s the case, that must be the easiest solution yet — but where does it go, exactly? I’ve placed it in the bbpress childtheme with no luck. is it in the core?

    thanks!

    PaulieP
    Participant

    Havent found definitive answers anywhere since most everyone who has tried to install a bbPress theme to a current version of the bbPress plugin for WP has discovered that the stock instructions on the bbPress.org wiki and elsewhere are outdated/wrong. If you are not using stock TwentyTen as your parent theme, bbPress theming is broken out of the box – you get a theme broken/not installed message from your admin panel.

    When bbPress thusly reverts to its stock look it’s ugly, unusable, and broken. Currently my forums at txmma.com/forum do not work properly as a result. when you drill down and actually try to read a topic you cannot. no content comes up. That’s outside of the fact that aesthetically there’s nothing there you would want to use.

    I was wondering if anyone has successfully installed a third party bbPress theme or rolled their own, with the plugin version of bbPress, when using a custom WordPress theme (i.e. not TwentyTen).

    Copying the theme files as directed in the bbPress.org instructions is useless as many have discovered.

    Any advice appreciated. Thanks.

Viewing 25 results - 31,051 through 31,075 (of 64,744 total)
Skip to toolbar