Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,001 through 16,025 (of 32,519 total)
  • Author
    Search Results
  • #45446
    ccolotti
    Participant

    I had BBpress installed with another theme. The forums were showing using the default templates. Now this page is fine:

    http://www.v-fit.us/forums/

    But click on any forums and they are blank pages. Yet the topics work if you can get to one of those.

    http://www.v-fit.us/forums/topic/shakeology-receipes/

    So I am a little confused. :/

    Any help would be great. I have not moved any template files or anything I just changed Themes from one to another and these stopped working.

    #112577

    In reply to: 2.1 release date

    NickMackz
    Participant

    Beta means try it, hope for the best, and sob quietly if it all goes horribly wrong :)

    I’ve been using the development versions for a couple of months now on a release site without any major issues so it should be more or less fine. Not sure whether to risk the BuddyPress beta though and I probably should update both at the same time…

    #112576

    In reply to: 2.1 release date

    Martin
    Participant

    hahaha I can tell you’re excited :)

    #112575

    In reply to: 2.1 release date

    SK
    Participant

    It means 1 month till release ;-)

    #112574

    In reply to: 2.1 release date

    Martin
    Participant

    Remember what ‘beta’ means :)

    #45410

    I’ve been using the 2.1 releases for a week or so now without much trouble. I upgraded to 2.1-r3967, and I started noticing some design issues. My CSS was no longer being completely recognized; some things were, others weren’t. It seems similar to another issue someone else was having with some template files not being recognized.

    I waited a day or two and upgraded to the latest version and was still having this happen. Tried switching between the Twenty Ten and theme compatibility theme packages, and neither really changed the situation. No matter what, the CSS of the theme-compat was being used. Went in and deleted bbpress.css from bbp-theme-compat/css, and it’s fixed the problem entirely. So, something may be up with that, I think.

    #114034

    Updating

    Found it :)

    #113149
    richardpd
    Member

    Nice-thanks for sharing.

    For myself I have had major issues trying to run BuddyPress/bbPress on my blog and yet still I want to try bbPress forum plugin on another WordPress site of mine. Viewing yours is a help-I may have to look at your css styling & I certainly will want to look at what plugins will help run bbPress forum.

    Thanks & best wishes (enjoy your minecrafting!!it’ll never beat chess :-) lol!)

    Patricia BT
    Participant

    Hi again,

    that issue is solved as one of the WPMUdev staff developer solved the issue on their plugin, they added

    global $wp_query;

    to a function

    and replaced :

    get_queried_object_id()

    with :

    $wp_query->queried_object_id

    in the same function

    (WPMUdev is going to release an update of the Pro Sites plugin I guess, for details, see this topic’s comment http://premium.wpmudev.org/forums/topic/pro-sites-incompatibility-with-bbpress?replies=15#post-234125)

    I come back here to inform about it, in case someone else encounter the same issue (I saw a lot of “page not found” issues while searching BBPress forums), then it would maybe help to see which kind of code made conflict?

    (I don’t know, I’m not a coder)

    of course I still do not understand purely on BBPress how is it possible to have 2 possible permalinks for 1 subforum

    either : example.com/forums/forum/level1/level2

    or : example.com/forums/forum/level2

    both url work, and this is not standard I think, anyway…

    in any case, this issue is solved for me

    #114033
    dshalgishira
    Member

    BTW this is how the code of loop looks like:

    query_posts("paged=$paged");

    while (have_posts()) : the_post();
    ?>
    <div <?php post_class(); ?>>
    <!--h2><?php bbp_forum_title(); ?></h2>-->
    <div class="txtContent">
    <div id="forum-<?php bbp_forum_id(); ?>" class="bbp-forum-content">
    <?php bbp_get_template_part( 'bbpress/content', 'single-forum' ); ?>
    </div><!-- #forum-<?php bbp_forum_id(); ?> -->
    <?php
    endwhile;
    ?>
    <?php bbp_get_template_part( 'bbpress/pagination', 'topics' ); ?>

    #112936
    alienelliz
    Member

    agree with TSCADFX,

    just hide using css :)

    .bbp-reply-revision-log {

    display: none;

    }

    #112935
    Todd – WireFlare
    Participant

    This is true and I should have mentioned that when I posted the code just as a precautionary measure but for me it’s not about looks it’s about database efficiency. Therefore, removing any and all revisions is good once you know that it’s safe to do so.

    Unfortunately BBPress stores it’s revisions without anything different from that of a post. Here’s a revised version of the code should you only want to delete one forum topic revision as that’s really the only other way beside hiding the code.

    And for those that just want to hide the code edit your theme css and use this:

    .bbp-reply-revision-log {
    display: none !important;
    }

    If you’d like to just remove revisions from a single forum topic use this in the same manner as my previous post and modify {post title} to reflect your topic title exactly how it’s shown, with spaces.

    <?php
    require_once('wp-load.php');
    $posts = get_posts('post_type=revision&post_status=any&post_title={post title}&numberposts=-1');
    foreach($posts as $post)
    {
    echo "{$post->post_title}n";
    wp_delete_post($post->ID,true);
    }
    ?>

    Hope this helps clarify and remember to always make a backup as the script does modify your database.

    #113927
    enderandrew
    Participant

    Putting wp-poll shortcodes into posts works well enough. But most users on the forums don’t have access to the Dashboard to make polls that way. This almost would be an entirely new plugin to expose poll creation in the forums.

    #113940

    Look harder. Plenty of examples in the forums here and the codex.

    What your site looks like is not the intention. Your theme is not compatible with bbPress, since it’s doing something o override the WordPress template loader.

    #114025

    In reply to: Unable to find forum

    Rob is right.

    First go to Settings > Permalinks to make sure those are triggered, then try again :)

    #112932
    Todd – WireFlare
    Participant

    I would suggest creating a backup of your database before performing this. Once you have a backup create a PHP file and paste the below code in it:

    <?php

    require_once('wp-load.php');

    $posts = get_posts(‘post_type=revision&post_status=any&numberposts=-1’);

    foreach($posts as $post)

    {

    echo “{$post->post_title}n”;

    wp_delete_post($post->ID,true);

    }

    ?>

    Place the file in your WordPress root folder and load the file in your web browser by typing {domain}/{filename}.php

    It should output a list of revisions that were removed.

    #114016
    TFUME
    Member

    Adding the following to the child theme’s functions.php or bbpress-functions.php seems to fix this so all template files are used as expected:

    remove_filter( 'bbp_template_include', 'bbp_template_include_theme_compat', 4, 2 );

    Not sure if this is supposed to be required though.

    #114024

    In reply to: Unable to find forum

    Lynq
    Participant

    You might need to do some of the following to troubleshoot your issue.

    A) Update your permalinks

    B) Disable Plugins 1 by 1 to see if one is conflicting

    C) Check the theme is appearing correctly.

    Best Regards

    Rob.

    #114015
    TFUME
    Member

    I originally noticed this on my own theme which has some homemade plugins and such which I thought might be causing this so to be sure I downloaded 3967 from Trac and put it in a fresh WP3.3 install.

    I then copied /bbp-themes/bbp-twentyten into the themes folder and made it a child theme of twentyeleven called bbp-child-test, after activating bbp-child-test the same happened. So to answer your question bbp-child-test is the current active theme.

    archive-forum.php
    archive-topic.php
    ALL the page-whatever.php files
    single-forum.php

    These are all called by bbp as expected

    single-topic-whatever.php
    single-reply-whatever.php
    single-user-whatever.php

    These are all ignored in favor of page.php

    #113926

    This has been a popular request, however so far I don’t think anyones attempted it.

    Hopefully someone will soon :)

    #113951

    If anyone has any other 3.4 issues feel free to post in https://bbpress.org/forums/topic/bbpress-203-and-wordpress-34 :)

    #112566

    In reply to: 2.1 release date

    Just a note, should be fixed now https://bbpress.trac.wordpress.org/ticket/1849 :)

    #113934
    SK
    Participant

    In the plugin you need not worry about WP integration.

    Just go on and create your forums! You will see the options added as a separate group in the left menu…look for a bee icon :-)

    #113956
    Satish
    Participant

    I’m getting this error after updating Wp and BBPress :-(

    Fatal error: Class ‘BBP_Theme_Compat’ not found in /home/technoti/public_html/technotip.com/wp-content/themes/NewsDen-child/functions.php on line 31

    #45364
    TFUME
    Member

    Is it just me or is 2.1 ignoring certain template files when using bbPress as a child theme?

    To illustrate I added a backtrace to the top of form-topic.php.

    When viewing a forum, template file single-forum.php is used as expected (Bottom up #8):

    #7  bbp_get_template_part(content, single-forum) called at [C:xampphtdocsdomain.comwp-contentthemesbbp-child-testsingle-forum.php:25]
    #8 include(C:xampphtdocsdomain.comwp-contentthemesbbp-child-testsingle-forum.php) called at [C:xampphtdocsdomain.comwp-includestemplate-loader.php:43]
    #9 require_once(C:xampphtdocsdomain.comwp-includestemplate-loader.php) called at [C:xampphtdocsdomain.comwp-blog-header.php:16]
    #10 require(C:xampphtdocsdomain.comwp-blog-header.php) called at [C:xampphtdocsdomain.comindex.php:17]

    But then if you go into a topic and click EDIT, page.php is used to display form-topic.php even though template files single-topic.php and single-topic-edit.php both exist (Bottom up #13):

    #12 get_template_part(content, page) called at [C:xampphtdocsdomain.comwp-contentthemestwentyelevenpage.php:22]
    #13 include(C:xampphtdocsdomain.comwp-contentthemestwentyelevenpage.php) called at [C:xampphtdocsdomain.comwp-includestemplate-loader.php:43]
    #14 require_once(C:xampphtdocsdomain.comwp-includestemplate-loader.php) called at [C:xampphtdocsdomain.comwp-blog-header.php:16]
    #15 require(C:xampphtdocsdomain.comwp-blog-header.php) called at [C:xampphtdocsdomain.comindex.php:17]

    Or am I missing something?

Viewing 25 results - 16,001 through 16,025 (of 32,519 total)
Skip to toolbar