Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 20,626 through 20,650 (of 64,517 total)
  • Author
    Search Results
  • #146195
    Robin W
    Moderator

    May be as simple as the order that the plugins are loading.

    see

    Layout and functionality – Examples you can use

    No. 6

    you could also put the word !important after the change to prevent bbpress overriding it eg

    /* Remove nav bar and search form */
    .page #nav-bar {
    display: none !important;
    }
    
    .page #s {
    display: none !important;
    }
    
    #146194
    Stephen Edgar
    Keymaster

    I just had a quick look at the attachment migration script and you would need to change Line 28 and rename the table name j25_kunena_attachments to the same name as your attachments table name of your original Kunena database.

    #146192
    christicehurst
    Participant

    FINALLY – Someone has has been able to turn bbpress into something with clean look goods. Top marks to you sir. This MUST be added to bbpress in it’s core

    Robkk
    Moderator

    im trying to put buddypress x-profile fields in bbpress on loop-single-reply.php after the author role and avatar

    I have created one called Location

    my function to display it is

    <div class="bbp-usr-location"><?php
    if ( bbp_is_topic_anonymous() ) {
    		echo "<br>Guest Post"; }
    		elseif ( bbp_is_reply_anonymous() ) {
    		echo "<br>Guest Post"; }
    		else {
      $user_location = xprofile_get_field_data( 'Location', ( bbp_get_reply_author_id ( bbp_get_reply_id() ) ) );
       echo 'Location: ' . $user_location; }
    ?></div>

    I just want to not display it if its not filled in on buddypress

    Any Help?

    #146177
    tavOu
    Participant

    Hello All !
    I need to list the last 8 topics in this widgets, and have a link to the next page of 8 topics, and so on.It would be like a pagination for every 8 topics.
    I think the file is widgets.php in lines :

    case 'newness' :
    default :
    $topics_query = array(
    'post_type' => bbp_get_topic_post_type(),
    'post_parent' => $settings['parent_forum'],
    'posts_per_page' => (int) $settings['max_shown'],
    'post_status' => array( bbp_get_public_status_id(), bbp_get_closed_status_id() ),
    'ignore_sticky_posts' => true,
    'no_found_rows' => true,
    'order' => 'DESC'
    );

    I know that ‘posts_per_page’ show the last topics, in my case 8, but i dont know how to access to 8 before.

    Any help or idea please?

    #146168
    sicky_brazz
    Participant

    Hi, I am using the latest versions of both WP and BBPress.

    My problems are that when I try to add stuff to my style.css, my BBPress pages just don’t seem to follow them…

    Here is an example:
    >> Remove menu/nav bar and search form from all pages (style.css)

    /* Remove nav bar and search form */
    .page #nav-bar {
    display: none;
    }
    
    .page #s {
    display: none;
    }

    The code works on all other pages (BuddyPress ones included), just not any BBPress pages..
    Does anyone have any ideas as to why?

    I am no coder or expert so this has totally thrown me lol.

    Asynaptic
    Participant

    @tieptoep No problem. I’m glad it is clear now.

    It is way beyond ‘inelegant’. It is beyond baffling why it hasn’t been fixed yet. And beyond frustrating that the devs strongly push back instead of simply acknowledging the issue and working on fixing it.

    Unfortunately I’m not a coder and have no idea how to even open a ticket or word it properly in this context. But as a user, it is self-evident that the way bbPress uses permalinks needs fixing.

    Also, through this thread and many others, it is also very obvious that this is a very important and irritating issue that has been brought up going back as far back as 7 years!

    As I mentioned, there is or was a plugin which claimed to fix the issue. I don’t have access to the code and even if I did, there is a chance that the code is now out of date with bbPress’ core development since the plugin would be a few years old.

    All I can do is to clearly state the case for permalinks, their importance and request that it be placed at the highest priority. I hope you and other bbPress users add their voice so that the devs take this seriously.

    Unfortunately, there is no way to prioritize issues in bbPress development. Other projects have a way to measure the community’s voice in terms of what needs to be fixed first. For example, here’s symposium’s page:

    http://www.wpsymposium.com/voting/

    Both buddypress and bbpress need this functionality. Like yesterday. That way issues like this do not fall through the cracks.

    Of course, this is assuming that the dev team is serious about creating a 2 way communication channel with the wider community rather than a 1 way.

    As Matt M. mentioned in a recent video, he measures the success of wordpress in general by how well and fast it reacts to the needs of its community. I would suggest the same applies to bbpress and buddypress.

    Robin W
    Moderator

    you were pretty much there

    the following, which is just two lines nicked from elsewhere and joined by a ‘by’ text should do what you want

    <span class="bbp-last-post-by-author"><?php printf( __( 'Last Post: %1$s', 'bbpress' ),bbp_get_topic_freshness_link( array() ) ); ?></span>
    <?php _e(' by ', 'bbp'); ?>
    <span class="bbp-topic-freshness-author"><?php bbp_author_link( array( 'post_id' => bbp_get_topic_last_active_id(), 'size' => 14 ) ); ?></span>
    

    Come back if that’s not what you wanted !

    #146147

    In reply to: Multiple revisions log

    Robin W
    Moderator

    could be plugin or theme related

    try

    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 havent put every file from bbpress in my child theme ”

    yes that’s fine, you only need to put in files that you have changed.

    I’ll look at the rest of your comments shortly !

    Asynaptic
    Participant

    @tieptoep thanks but I think you’re totally misunderstanding what I and others are suggesting as a solution. Please stay with me and I’ll explain why.

    To clarify:

    Existing permalinks structure for forum:

    mydomain.com/forums/forum/forum-name/

    and if a sub-forum is created, it would be this:

    mydomain.com/forums/forum/”forum-name”/”sub-forum-name”

    Now, compare this to the proper way to do the permalinks:

    mydomain.com/forums/”forum-name”

    and if a sub-forum is created:

    mydomain.com/forums/”forum-name”/”sub-forum-name”

    And for each thread permalink, this is the way it is right now:

    mydomain.com/forums/topic/”thread-permalink-slug”

    But this puts every single forum outside the universe of their respective forum. That is, every thread exists, as a permalink, without any relevance to the forum that contains it! This is both intuitively wrong and just plain wrong for many many reasons. Threads are link “things” which belong in “boxes” (forums), which then may or may not belong in “bigger boxes” (main forums, if there are sub-forums created).

    Instead, this is the proper way to do thread permalinks:

    mydomain.com/forums/”forum-name”/”thread-permalink-slug”

    and if the thread is created inside a sub-forum:

    mydomain.com/forums/”forum-name”/”sub-forum”/”thread-permalink-slug”

    Of course, the slug forums used above can be changed to “discussions” or any other word. But the main point I’m trying to make here is the relative structure of threads and forums to each other, as well as the excision of the unnecessary …/forums/forum/… double.

    This is wrong, again, for many reasons. Among them, it is inelegant, unnecessary, and it introduces a very deep branch unnecessarily which makes for poor SEO.

    So let’s say you have a forum about social media, under what I and others here are proposing, you would have this permalink structure:

    mydomain.com/forums/social-media/

    and let’s say you had sub-forums for facebook, twitter and linkedin:

    mydomain.com/forums/social-media/facebook

    mydomain.com/forums/social-media/twitter

    mydomain.com/forums/social-media/linkedin

    That makes perfect sense, right? But under the current permalinks structure, it currently is:

    mydomain.com/forums/forum/social-media/

    mydomain.com/forums/forum/social-media/facebook

    mydomain.com/forums/forum/social-media/twitter

    mydomain.com/forums/forum/social-media/linkedin

    See the difference? Now that’s nothing. Wait. Let’s start some threads. Here’s where you will really see even a bigger difference that leaves you scratching your head in befuddlement.

    Let’s say I write a thread in the facebook sub-forum with the heading, “I love facebook!”. In the current permalink structure, it would look like this:

    mydomain.com/forums/topic/i-love-facebook

    Notice that looking at this permalink, you or a search engine, has no idea that it is a topic “inside” the facebook sub-forum, which is itself inside the “social media” forum!

    Instead, for some strange reason only clear to the early developers, the topic is just floating by itself in “topic land” and has no relation whatsoever to “forum land”

    But it should look like this:

    mydomain.com/forums/social-media/facebook/i-love-facebook

    Now this permalink makes sense. For one, it follows the progressive location of the thread. First, it is on the site, second, it is within forums, third, it is in the social-media forum, and fourth, it is within the facebook sub-forum which is inside the social-media forum. And finally, the thread is called “i-love-facebook”.

    Hope that makes things clear why your suggestion of simply removing the /forum/ slug does nothing to actually address what is wrong with the permalink structure of bbPress.

    Robkk
    Moderator

    Yeah i have been using a child theme,

    I havent put every file from bbpress in my child theme

    Im just making small changes to the template files and only throw in the ones that i changed into my theme.

    And i use my themes custom css plugin for css changes.

    I really dont have anything to debug, i just have bits of php to try to make my desired function

    Like i know bbp_get_topic_freshness_link , shows the time ago of the last post

    And that <?php bbp_author_link( array( 'post_id' =>bbp_get_topic_last_active_id() gets ahold of the author of the last post in a topic

    <?php printf( __( 'Last Post: %1$s' lets me have my custom text with the attributes from the function

    I just dont know how to put that all together to get the function that i want

    Right now all in my function is

    <?php do_action( 'bbp_theme_before_topic_started_by' ); ?>
    
    <span class="bbp-last-post-by-author"><?php printf( __( 'Last Post: %1$s', 'bbpress' ),bbp_get_topic_freshness_link( array() ) ); ?></span>
    
    			<?php do_action( 'bbp_theme_after_topic_started_by' ); ?>
    Robin W
    Moderator

    Sounds like you’re further through hacking the code than most people get !

    ok, just in case you haven’t already seen it, if you’re changing the template files, you should create a bbpress directory in the root of your (child)theme, and copy the files there. bbPress will then use these instead, and they won’t get overwritten by upgrades to bbpress. You should also have a child theme, and put them in there rather than someone else’s theme, and then theme updates won’t overwrite them either!

    see

    Step by step guide to setting up a bbPress forum – part 2

    and

    https://codex.bbpress.org/step-by-step-guide-to-setting-up-a-bbpress-forum-part-3/ section 3

    I presume you’ve tried the code? That’s the other great thing about using the bbpress folder in your child theme, you can just delete the server version and it goes back to the default one.

    If so where is it falling over?

    can you copy the lines between

    <?php do_action( 'bbp_theme_before_topic_started_by' ); ?>
    

    and

    `<?php do_action( ‘bbp_theme_after_topic_started_by’ ); ?>

    and paste them into here, and I’ll take a look

    I’m out today, but if I get a chance later I’ll then run it and debug for you.

    Robkk
    Moderator

    im trying to put a function in loop-single-topic.php right after

    <?php do_action( ‘bbp_theme_before_topic_started_by’ ); ?>

    Replacing the whole (Started By: “user” in “forum” function)

    Im trying to make the new function display as (Last Post “freshness time ago” By “User”)

    I dont know anything about php and how to use it , right now im basically just looking at each function and see how it works.

    The best i got right now is pretty much copy and pasted from the freshness column functions.

    This is the best i have

    <span class=”bbp-last-post-by-author”><?php printf( __( ‘Last Post %1$s’, ‘bbpress’ ), bbp_get_topic_freshness_link( array() ) ); ?></span>

    I still need to display this

    <?php bbp_author_link( array( ‘post_id’ =>bbp_get_topic_last_active_id()

    but i dont know how to hook it all together, please help.

    #146132

    In reply to: bbpress editor

    Stephen Edgar
    Keymaster

    I’m not sure of the exact issue you are having a problem with!

    The snippet of code you have looks correct via https://codex.bbpress.org/enable-visual-editor/

    I have done a fair bit of testing of WordPress v3.9/v3.9.1 and bbPress v2.5.3 compatability with the above snippet to ensure things are not broken with the new TinyMCE v4.0.x in WordPress v3.9.

    I have also used this plugin to test the above also https://wordpress.org/plugins/tinymce-advanced/

    #146131
    Stephen Edgar
    Keymaster

    The repair tools will do each and every forum, so it should be an all of nothing scenario here.

    That said this could be a theme issue also, make a copy of your themes page.php and rename it to bbpress.php (You could use page-sidebar.php or whatever template you’d prefer)

    Let me know how that works for you and we can go from there.

    #146130
    Stephen Edgar
    Keymaster

    I dug around and per my previous comment this is the current expected behaviour and design.

    That said I think we can improve this ‘user experience’ but we can’t do it directly in bbPress at this stage, you see the same experience when using the ‘text’ editor to create new post with WordPress.

    I have created a ticket upstream for WordPress to improve this here, once WordPress has this then bbPress will also have this improved UI/UX 🙂

    #146126

    In reply to: Profile redirect

    BeethovenWC
    Participant

    No, I don’t think that in toolbar. I have toolbar already turned off.

    I mean (for example) authors of blog posts. When I click on author’s name, it will redirect me to WP profile.

    When I also click on user’s name somewhere in administration, it will redirect me to WP profile, too.

    I would like to redirect all these WP profile links to BBPress profile. 🙂

    #146122
    MediaSVI
    Participant

    I imported VBulletin 4+ in bbPress and when I goto Forums I can see all the the threads but when I click on one of them this is what shows.. see picture.

    Thread after VB Import problem

    #146121
    Stephen Edgar
    Keymaster

    If you want the topics on the front page you can change this in bbPress settings.
    (Not entirely sure this is what you are after but here it is anyway)

    #146120
    orionghf
    Participant

    Hello
    I have a problem with the editor in bbpress .. the content is displayed with the html code ..
    I am using Ultimate TinyMCE editor with the option of wpautop set off and I put this code in the functions.php of the theme to enable mce editor :


    function bbp_enable_visual_editor( $args = array() ) {
    $args['tinymce'] = true;
    return $args;
    }
    add_filter( 'bbp_after_get_the_content_parse_args', 'bbp_enable_visual_editor' );

    What could be the problem, I tried using Tiny MCE Advanced but the same problem occurred
    is this a theme problem?

    Im using :
    Wordpress version 3.8.3
    bbpress version 2.5.3
    Ultimate TinyMCE version 5.3

    Thanks

    #146113
    Robin W
    Moderator

    ok, lets start with eliminating plugin and theme conflicts

    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.

    #146112
    ozziecoin
    Participant

    I created a forum with WP 3.8.1 and bbPress 2.5.3. Here: http://ozziecoin.com/index.php/forums

    When I press edit, I get a 404 error. When I press on username, I also get a 404 error.

    Topics seem to work ok. Can anyone offer any hints where I should start looking?

    I’ve tried modifying .htaccess to include: Options FollowSymlinks and AllowOverride All

    Also, tried resetting permalinks to default and back to current setting of /index.php/%postname%

    Thanks in advance for your further suggestions.

    #146107
    Primus Palus
    Participant

    I changed my website URL and brought the existing database and all files over (basically used the same hosting account and database). I did export all databases, ran it through a site that changes the URL in all databases, and then re-imported the changed database SQL file.

    Everything seems to work fine… except the bbpress forums. They wont load. I’m not able to find a file or setting to see if the url is set right. Where do I look and what must I change?

    dbongi22
    Participant

    I’m running bbPress on my site and it is currently integrated with both BuddyPress and OptimizePress. Right now, only Admins can view Voices. If a non-admin tries to view a voice, it’s just a blank page essentially with the ability to reply.

    I’ve test all the bbPress roles and even Keymasters can’t view topics. Only if I change their account role to Admin.

    Any ideas?

Viewing 25 results - 20,626 through 20,650 (of 64,517 total)
Skip to toolbar