Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,051 through 16,075 (of 32,581 total)
  • Author
    Search Results
  • #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?

    #113776
    Stephen Edgar
    Keymaster

    bbPress by design explicitly blocks ALL short codes from functioning (except built in bbPress short codes) thus I presume why someone decided to create whitelist plugin.

    I have nothing to do with any of the plugins I mentioned above, it was the only option I could think of to help you out after looking at your site, sorry it doesn’t work for you.

    #112564

    In reply to: 2.1 release date

    SK
    Participant

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

    is really the only major ticket for 2.1 for over 5 months now.

    Seems BuddyPress integration is proving to be more complex than anticipated :-)

    #113949
    echoman
    Participant

    lol thanks for the bbpress update bbpress didn’t think you’d let me down haha :)

    Andrew check your plugin updates 2.0.3 available for download :)

    just sad i have to redo my whole site again but i have a clearer mind and can control this I’m going to do all my test updates etc on a test install on my site.

    #45335

    Topic: bbPress Smilies

    in forum Plugins
    rmmorley
    Member

    I’ve whipped up a little bbPress 2 plugin for my site that lets my users embed smiley shortcodes in forum posts.

    You can customize the shortcode delimiters (defaults are ”) so your smiley codes could look like [happy] or :happy: or {*happy*} etc.

    The shortcode list is built dynamically based on the contents of the smilies directory. You just need to place any number of GIF, PNG, or JPG images into that directory, so adding the file “happy.gif” will allow [happy] to be used in posts. It caches the list though, so it’s not scanning the directory all the time.

    Anyway, this is the first plugin I’m publishing for others to use, and I’ve just started the process of putting it on wordpress.org’s plugin directory, which takes a while to get approved it seems.

    Until it shows up there, I’d be happy to email it to anyone who wants to take it for a spin.

    I have it running on http://christian.net, and you can see the smilies that I have available at http://christian.net/forum-smilies

    #110608
    enderandrew
    Participant

    I’ve copied the contents of wp-content/plugins/bbpress/bbp-themes/bbp-twentyten into my Suffusion child theme which resides at wp-content/themes/bsig

    It is still however pulling the bbpress.css from wp-content/plugins/bbpress/bbp-theme-compat/css

    It also doesn’t appear to be using my customized templates. I’ve tried most every step I can find online to try and resolve this, but it hasn’t worked so far.

    http://blindscribblings.com/forum – The forums are squished to the right and my sidebar on the bottom and empty space to the right.

    If I use a shortcode then the index looks fine, but the sub-forums and threads have the same problem. Here is an example with a shortcode.

    http://blindscribblings.com/test/

Viewing 25 results - 16,051 through 16,075 (of 32,581 total)
Skip to toolbar