Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 20,651 through 20,675 (of 64,534 total)
  • Author
    Search Results
  • #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?

    JBBoY
    Participant

    I’m reading a lot, some people say it’s possible with simple local avatars plugin and a hack. But, there is a way to make it clean? I want my users can upload their profile images from their bbpress profile area.

    Thank you in advance.

    localiseorg
    Participant

    WP 3.9.1, bbPress 2.5.3

    In WP admin, there used to be tabs for forums, topics, etc., in the sidebar – but now they are all gone. This might coincide with recent update to WP 3.9 or 3.9.1

    Also, I am unable to create topics in the frontend. Not sure if these two issues are linked, but they seem to have started happening around same time.

    I don’t know what caused this so unable to provide steps to reproduce as yet.

    Anyone seen this sort of thing happen before?

    #146097
    Robin W
    Moderator

    ok, try renaming your themes’s page file as per

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

    #146095
    Stephen Edgar
    Keymaster

    Apologies, this should be fixed for the next release of bbPress:

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

    #146090
    Neosnc
    Participant

    Solved:

    In Windows bbPress was reporting $content_dir with double slashes // (ie: c:/www/wordpres//) so the content_dir was not being properly string replaced with the content_url()

    Solution:
    Line 168 & 237 of template-functions.php added this to correct for double slashes:
    $content_dir = str_replace( ‘//’, ‘/’, $content_dir );

    #146087
    lantaarntje
    Participant

    Thx for the info but how do i get it displayed on the frontpage not as a menu link but the same as bbpress.org. Is it displayed in a widget area? or …

    #146086

    In reply to: Missing Topic Intro

    Robin W
    Moderator

    suggest its a plugin issue – seems to have been found before

    first entry missing on single topic page // visible only for admin

    and when coding a plugin recently I had exactly the same issue, but as I’m now old and brain going I cant remember how I fixed it, but I did!

    It is related to filters applied to bbpress functions – it may be in bbp_has_replies, but somewhere if you mis-filter for replies only, then the resultant wp-query doesn’t have the topic post_id to display as it’s been filtered out.

    Anyway one for the plugin author I’m afraid !

    #146085

    In reply to: Profile redirect

    Robin W
    Moderator

    I presume you mean the profile in the toolbar?

    If so, I turn the toolbar off for all users apart from admin. It is ugly and takes away from your theme.

    You can then put it as a menu item see

    Layout and functionality – Examples you can use

    for details

Viewing 25 results - 20,651 through 20,675 (of 64,534 total)
Skip to toolbar