Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 15,976 through 16,000 (of 32,508 total)
  • Author
    Search Results
  • You figuring it out doesn’t usually involve others handing you an answer. ;)

    I think you might be over-thinking things. Rather than trying to overload the WordPress template loader with a new archive-forum.php and trying to run something through a shortcode, why not just use a WordPress page, set the slug to /forums, and put the shortcodes and div’s in there instead?

    #45630
    icandygraphics
    Participant

    I am using a customized child theme, which has a default layout with a sidebar. My activity, members, and register pages are all using the default template of my child theme, and the sidebar is showing. I am having trouble with the forums page, though. If I add a page called “Forums”, select the default template, insert the shortcode [bbp-forum-index], and add the page to my menu, it looks great and has the sidebar. However, if I put “forums” as the Forums Base slug, then the page goes to full-width content with no sidebar. If I put “forum” as the slug, the page looks good, but as soon as you use the breadcrumbs to navigate, it takes you to http://www.example.com/forum, which has the full-width content. I think it might have something to do with the template hierarchy, but I don’t know enough about that to figure this out. Can anyone help?

    MTPrower
    Member

    It’s been 24 hours, and I can’t do anything with my site until I figure this out. So… “bump”.

    #114140
    zuckerbaby
    Member

    I “solved” this by using this plugin.

    It automatically reversed the reply order for me – although the topic description also gets pushed to the bottom. Whatever you do, don’t use this plugin to reorder topics, or you will get an error and will not be able to recover your topic list.

    http://www.nsp-code.com/wordpress-plugins/post-types-order/

    #45585
    Hwyatbig
    Member

    I just installed the bbpress plugin on my wordpress site but I’m dealing with a problem I don’t understand…

    When reading the codex, I see it should be very simple, and I think I’m doing what’s explained to create my forum.

    for the example I just created a forum named “exemple” (and let the attributes as they were) and then when I have a look at the address which has been created I have nothing but the name “Exemple”, and the description I gave. But no way to create a post or anything.

    (you can have access to the page in question in my profile)

    Did I miss something ?

    MTPrower
    Member

    I’m trying to make my forums’ home page display what you get when you put [bbp-single-forum id=$forum_id] in a page. I am editing “archive-forum.php” to do so, since the result will be a more fleshed out version of archive-forum.php anyway.

    “Echo do_shortcode” doesn’t seem to work in the .php file, and I’ve been screwing around with this and trying out different strings of PHP code for about six hours straight.

    In reality, I will be showing two different categories with the [bbp-single-forum-id=$forum_id] code, each with several forums in them. I’ll have to add some extra divs for the names of the categories, but I can do that myself.

    Whatever happens, I don’t care if I use a shortcode or if I use PHP; but if POSSIBLE, I’d rather not add anything to my functions.php. But I’ll do what I must.

    Thanks in advance.

    #45541
    zuckerbaby
    Member

    I’d like to have the topics have the newest replies at the top, rather than the oldest as it is by default.

    Fixes I’ve found here say to edit the topic.php file, but I don’t have a topic.php file.

    I also search for the code and can’t find it in any of my files.

    Which file in Twentyten do I edit, and what lines?

    Thanks!

    ____________

    BTW, This did not work for me.

    “Find get_thread( $topic_id, $page ) in /topic.php and change it to get_thread( $topic_id, $page, true ).”

    Should I be editing page-create-topic.php, form-topic.php, single-topic.php… or what?

    #45527
    zuckerbaby
    Member

    I’ve found 3 different fixes here for hiding the topic tags input field, but nothing works for me.

    ____________________________

    Here is the input on the page:

    <p>

    <label for=”bbp_topic_tags”>Topic Tags:</label>

    <input type=”text” value=”” tabindex=”103″ size=”40″ name=”bbp_topic_tags” id=”bbp_topic_tags” />

    </p>

    ____________________________

    Is this the CSS file I edit?

    wp-content > plugins > bbpress > bbp-twentyten > css > bbpress.css

    ____________________________

    Here is the tags area there:

    div.bbp-breadcrumb,

    div.bbp-topic-tags {

    font-size: 12px;

    }

    #content div.bbp-breadcrumb p,

    #content div.bbp-topic-tags p {

    margin-bottom: 10px;

    }

    div.bbp-topic-tags {

    float: right;

    }

    ____________________________

    Although on the web page, as you can see, there are underscores, not hyphens.

    I’ve tried div.bbp_topic_tags {display: none;} etc. to no avail.

    Please explain clearly for this non-coder how to hide the input.

    Thanks!

    #110062
    TFUME
    Member

    Ah topic views, that points me in the right direction thanks. For reference then if anyone needs it that means you can do stuff like this:

    add_action('bbp_register_views', 'view_popular_topics');
    function view_popular_topics() {
    bbp_register_view('popular-topics', __('Popular Topics'), array('meta_key' => '_bbp_reply_count', 'orderby' => 'meta_value_num'), false );
    }

    Then link to the view with:

    <a href="<?php bbp_view_url('popular-topics'); ?>"><?php bbp_view_title('popular-topics'); ?></a>

    There’s a couple of informative posts re this here:

    http://internet-alacarte.com/adding-custom-fields-to-bbpress-topics-then-filtering-topics-by-custom-fields-using-views/

    http://bbpep.com/blog/2011/04/01/creating-custom-views-in-bbpress/

    katmmad
    Participant

    I’m sure there’s some simple shortcode for this — but is there a way to add a simple phrase like “You must either register or log in to reply.” to topic pages? I’d like that to ONLY be viewable to people who are not logged in.

    Thank you!

    #45473
    Se3ker
    Member

    How do you set up bbPress to show forum list when accessing url like:

    http://localhost:11111/forums/ at my end this is not working, or am I missing something, do I need to create a page and put a shortcode in it??

    Lynq
    Participant

    You could add a new role for your site: https://codex.wordpress.org/Function_Reference/add_role

    #114032
    Lynq
    Participant

    You need to try and customize your theme a little further.

    bbp-reply-author { width: 150px; }

    This will sort out the author box being to large.

    #45448
    ccolotti
    Participant

    I moved the theme files into my theme folder, but for some reason the sidebar is on the bottom of the pages instead of well…..on the side. I can remove it easily enough but do I just need to move the code for it to a new place in the templates?

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

    #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;

    }

Viewing 25 results - 15,976 through 16,000 (of 32,508 total)
Skip to toolbar