Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '\"wordpress\'

Viewing 25 results - 14,276 through 14,300 (of 26,846 total)
  • Author
    Search Results
  • #43297
    #43296
    cookiebear
    Member

    I am working on a wordpress template page.

    i am trying to retrieve a list of topic threads and filtering by tag.

    I can get topics without tag filtering by using something like this

    $forumargs = array(    'post_type' => 'topic', 'numberposts' => 15 );
    $mytopics = new WP_Query( $forumargs );

    while ( $mytopics->have_posts() ) : $mytopics->the_post();
    the_title();
    echo '<div class="entry-content">';
    the_content();
    echo '</div>';
    endwhile;

    but when i try to filter by tag , it returns nothing.

    $forumargs = array( 'tag'=>'mytagname', 'post_type' => 'topic', 'numberposts' => 15 );

    i have seen that there is something called tax_query, but i cannot figure out if i can use that, or how to use it.

    how should this work?

    #112287

    There isn’t really an “easy” way to do it. What I would do:

    1. Register new sidebar for this, named bbPress widget area or something similar.

    2. Use bbPress hooks to place widget area in bbPress template places you desire

    3. Place bbPress widget into the new widget area.

    4. Enjoy.

    You’ll need to have a the basic understanding of WordPress to do something like this probably, not sure how familiar you are with it.

    #112369

    In reply to: Forums not showing up?

    That sucks. If theme was done properly to begin with it wouldn’t have these issues – instead theme authors junk them up with function that change how the WordPress output is expected.

    Depending on what theme you are using, sadly the best way is going to be to start going through you theme and temporarily commenting out functions that filter and/or change how the content outputs.

    it’s not ideal but its just the way it goes when you are dealing with themes like this.

    #112285

    Removing the sidebar on for bbPress pages is going to likely come down to editing whatever WordPress theme you are using, there’s really no way for bbPress to handle that since there are so many themes out there and they all do things differently.

    #112401

    No, there is not – at least not at the moment.

    You can go through the bbPress plugins on the .org repo https://wordpress.org/extend/plugins/search.php?q=bbpress

    #112399

    It can certainly be done but requires a moderate level of PHP and WordPress knowledge. It won’t be easy to do if you are not familiar with WordPress and PHP.

    #112362

    In reply to: Forums not showing up?

    raphaelsuzuki
    Participant

    Ok.

    In the forum page you created, try adding this shortcode: [bbp-forum-index]

    It’s not the natural thing to do, but will force WordPress to display bbPress.

    #112345

    If you edit the topic in the WordPress admin dashboard, you will see the topic ID in the URL.

    For example http://wptrunk/wp-admin/post.php?post=6&action=edit where the topic ID would be 6,

    #112293

    Dear Jaredatch,

    Please read my first post, i would like to fetch RSS feeds to display in the sidebar of my BBPress forum and not the WordPress sidebar.

    I’m using version 1.0.3

    #112290

    There is no need to bump your thread the within the same day of posting it.

    There is an RSS widget built into WordPress, so I’m not sure I understand the problem – you should be able to just use it.

    #43055
    Rambomst
    Member

    I have added a custom field to user profiles in bbPress however I am unsure how to do form validation other than javascript. I would like to do some PHP validation however the few things I have tried didn’t work.

    If you fail to enter an email it will say “ERROR: Please enter an e-mail address.” after you have submitted the form. I want something like that.

    I have tried:

    $myErrors = new WP_Error();

    $myErrors->add(‘id_error’, __(‘Test error.’,””));

    bbp_add_error( ‘bbp_steamid_invalid’, __( ‘ERROR: The ID you entered is invalid.’, ‘bbpress’ ) );

    I am not at all familiar with error handling in both WordPress and bbPress however I feel it is a must.

    Any help would be must appreciated.

    #112322

    In reply to: I can't see my forum!!

    bloggingsfe
    Member

    I just activated the bbpress plugin for my wordpress blog (i’m using latest version of wp and the twenty-ten theme).

    I created a “test” forum with two topics.

    I then created a new Page and titled it Forum.

    I tried to get my test forum with two topics to show up on the new Page, but can’t get it to work.

    I can see the Forum with two topics that I created when I click on View Forum button.

    So, I guess my question is: How do I get a navlink titled Forum in my navbar and/or sidebar on my WordPress site?

    What am I missing? I’ve searched all over with Google on this problem and can’t find the solution to my problem.

    Here’s a little more info:

    When I click on View Forum, and it looks great with the site’s theme here, the url is:

    http://www.mydomain.com/forums/forum/test-forum/

    When I click on the Page that I created called Forum, the url is:

    http://www.mydomain.com/forums/

    Thanks in advance for any help!

    #112348

    In reply to: Forum specific sidebar

    SK
    Participant
    SK
    Participant

    In WordPress, there is an opportunity to select the template for each page (dropdown on Edit Page and Edit Post pages).

    bbPress forum root, forums, topics and replies are custom post types.

    It would be good to see in bbPress the ability to set the default layout (wrapper) for each of these.

    Dropdown (like the one on Edit Page page), wherein the admin can select the layouts from among the active theme’s layouts shall be ideal.

    (I understand that if after this the admin decides to change the theme, (s)he will need to select the default layouts for bbPress custom posts again – just like (s)he needs to do so for normal pages and posts)

    So, for instance, while the rest of my site may use 3-column (2-sidebar) layout, for forums, I may decide to go with a single-column layout.

    http://bbpress.trac.wordpress.org/ticket/1784

    deanso
    Member

    hey Jon & Jim & JJJ & Jaredatch

    did u manage to get something like https://bbpress.org/forums/ ?

    what was shortcode or php code I can use to create it? My problem is that I can use it in the new page, but on custom homepage of my site – so I need php code (or wrapup php code with shortcode) that will display something like https://bbpress.org/forums/

    your help is greatly appreciated!

    – – – – – – – – – – – –

    otherwise bbPress looks great and i’m looking forward to learn more about it and build some big website. previously i build websites with 750,000 visitors in drupal. but now trying to figure out myself how to use wordpress :)

    Right – I rolled back the version on http://www.webay.me.uk where I’m moving the site from.

    Then started doing all the updates to WordPress, themes and plugins one by one and checking if each update screwed it up.

    Turns out it was the update to the theme (Desk Mess Mirrored) upon which I’ve created a child theme – totally messes over the forum base.

    Any ideas why?

    Hi there,

    I’m just moving a site from standalone WordPress over to Multisite (not that I think that’s the issue)

    Anyway the page generated by bbPress at my forum base is a bit messed up, see:

    http://webay.hostingbydavid.co.uk/forums/

    Also the page that you get to when you click on an author name is similarly messed up, see:

    http://webay.hostingbydavid.co.uk/forums/users/david/

    Any ideas why?

    If I create a WordPress page with the shortcode to show the bbPress home, it that page will display nicely, but the bbPress breadcrumb will link to the Forum Base rather than my WordPress page.

    Any clues how I can sort this out are greatly appreciated

    This is all created and viewed whilst logged in as the Network Super Admin.

    Cheers

    David

    dorsetjon
    Member

    Jim,

    What I mainly wanted was a web page where the layout was similar to the bbpress.org forum and I wasn’t looking for the colours, etc, to look the same. I have found that a new theme isn’t required and instead I did the following:

    1. Create a new page in wordpress

    2. Create a layout using <DIV> tags and use bbPress shortcodes to specify where the forum components should sit

    3. I then added CSS to the style.css of my WordPress child theme to control how the forum looked. For example, I didn’t want the forum navigation text or the text saying how many posts there are, etc, so I turned them off via CSS.

    I’m not sure if that’s the best way to do what I wanted but once I “discovered” shortcodes this was all very simple and didn’t require a new theme or PHP changes, etc, so was fairly easy.

    Let me know if you want any more details about what I did and I post them here.

    Jon

    pepeng
    Member
    <div id="sub_header">
    <?php
    /***
    * This conditional determines where exactly what page you are one.!
    **/
    if(is_home()){
    /* Blog Page */
    echo '<h1 class="page_title">';
    echo 'Welcome to my Blog';
    echo '</h1>';
    echo '<h2 class="page_blurb">';
    echo ' just another wordpress site';
    echo '</h2>';
    }else if(is_front_page()){
    /* Landing Page */
    echo get_post_meta($post->ID, "Landing Header", true);
    }else{
    echo '<h1 class="page_title">';
    echo get_post_meta($post->ID, "page title", true);
    echo '</h1>';
    echo '<h2 class="page_blurb">';
    echo get_post_meta($post->ID, "page blurb", true);
    echo '</h2>';
    }
    ?>
    </div>

    This the default site of my bbpress forums:

    http://localhost/mysite/forums/

    And I try to make page for forum using the short code [bbp-topic-index] :

    this is the link:

    http://localhost/mysite/forum/

    and I try to edit this code above:

    }else if(is_page('forum')){
    /* Forum Page */
    echo '<h1 class="page_title">';
    echo 'Forum Support';
    echo '</h1>';
    echo '<h2 class="page_blurb">';
    echo 'Press community';
    echo '</h2>';

    and it works fine only in page (forum) http://localhost/mysite/forum/

    but when I click all the the content in the forums my Title and Blurb has gone.

    WHat I want to do is my sub header page title and page blurb will appear in any page in forums.

    ANYONE knows how to fix this or how to add code?

    I’m just a beginners in wordpress

    your reply is much appreciated,

    Thank’s

    mccawphoto2
    Member

    Is there a way to allow my forum users to flag inappropriate posts and notify the admin? I am using WordPress 3.3.1 and the bbpress 2.0 plugin for WordPress.

    Thanks!

    #112309
    jamieskella
    Member

    I just can’t grasp why it’s working in WordPress and not bbPress. I’ve disabled the fancy editor and it still doesn’t work.

    Any further ideas, jjj?

    #42697
    tilly2012
    Member

    I installed bbpress as a plugin to my wordpress site. I can see that it’s there on my dashboard. I can create topics from my dashboard. I can even view a “PREVIEW” and it shows me the thread on my site with a certain url. ex: http://www.website/?forums

    But that’s it!

    I can’t access my forums from my website! I can’t see them! I don’t even know where they are!!!

    HELP PLEASE!

    #112183
    thetalltree
    Member

    Thanks John for the heads up. This is what I did:

    1.) Open Wp-includes > kses.php

    2.) Find the following:

    $allowedtags = array(

    ‘a’ => array(

    ‘href’ => array (),

    ‘title’ => array ()),

    ‘abbr’ => array(

    ‘title’ => array ()),

    3.) Remove:

    ‘a’ => array(

    ‘href’ => array (),

    ‘title’ => array ()),

    I tried adding // but it does not work, so I removed the tag.

    Not sure if what I have done is the right method, but it seems to work.

    Some more info here:

    https://codex.wordpress.org/Answers-Configuration#Stopping_HTML_in_Comments

    #112272

    Yes. If you want to have tons of private and hidden forums, you’ll want to look into optimizing the core queries to not rely on meta queries. If you’re using public forums, you should be just fine.

    If you’re currently using a caching plugin on the WordPress side, or thinking of doing it, some people have reported cache invalidation issues, namely that it’s not happening correctly. I need more eyes and input on that, or need to sit down and really experiment with what’s going on, to say for sure if it’s a bug or not.

Viewing 25 results - 14,276 through 14,300 (of 26,846 total)
Skip to toolbar