Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 16,801 through 16,825 (of 32,503 total)
  • Author
    Search Results
  • #42049
    monkey28
    Member

    im using the latest bbpress plugin for wordpress.. and the table borders is making my forum look not so pretty.. any help/suggestions?

    Thanks!

    screenshot20120131at104.png

    #110884

    Something custom will need to be coded up. Nothing exists for bbPress that I’m aware of.

    If you can point me to a more specific problem, a plugin, a specific issue, I’m happy to help. :)

    #111613
    murrayac
    Participant

    When I open it in my css editor I get this

    <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
    <html><head>
    <title>403 Forbidden</title>
    </head><body>
    <h1>Forbidden</h1>
    <p>You don't have permission to access /wp-content/plugins/bbpress/bbp-themes/bbp-twentyten/css/bbpress.css
    on this server.</p>
    <hr>
    <address>Apache/2.0.54 Server at rockymtb.org Port 80</address>
    </body></html>

    #111616

    I felt the same way at first when I found WordPress, but check out how the functions work and what you can pass into them. Most of them accept a before and after attribute so you can customize the output.

    Ph0eniX2018
    Member

    I would like the Tweet button to display on the bottom of submitted topics. I’ve tried several methods, but I can’t seem to place any code inside of topic content.

    How do I expand on the topic hook to automatically place code into any submitted topic?

    I would even be ok with placing the button outside of the topic, like the container, but I have been unable to do this. I am using the plugin, as well as a BBPress ready theme, so I have been hacking both trying to figure out how to get the desired code into topics.

    #111618

    In reply to: Forums page empty

    If you absolutely must have a page there, you’ll want to use Shortcodes or a custom page template of your coding to customize it.

    You’ll probably need to hook a custom function ithat you create nto one of the actions in the template files, depending on where you want the code to appear.

    #111620

    Don’t use the Shortcodes, just use the widget already supplied by bbPress.

    Ph0eniX2018
    Member

    I am trying to get a twitter button to display inside each post at the bottom.

    I am using the 2.0 plugin with WP 3x. I have been through both the template and plugin. I am using the Elbee Elgee 1.3.5 BBPress ready theme.

    The Twitter plugin I am using has both a shortcode and a JS I can reference to display the “Tweet Me” button. I can get it to display anywhere I want, but I am unable to find where to place the code so it shows up within the actual topic posts.

    Day 3 of trying to figure this out, so thought I would lick my wounds and ask for help.

    WP 3.3.1

    BBPress: 2.0.2 Plugin

    Theme: Elbee Elgee 1.3.5

    PHP: 5

    #111619
    itryit
    Member

    following

    itryit
    Member

    I’m trying to display a list of all topics under a forum, and I’ve tried [bbp-single-forum id=$forum_id] – to show a single forums topics, however it displays the full page view (grid) instead of a simple list of the topics subject lines. Can anyone advise how the topics headlines can be displayed (as links).

    Thanks

    #110882
    danufra
    Participant

    I saw such a button on one of the forums and wrote to admin if he can share the code. Waiting for a reply…

    Satish
    Participant

    :-(

    #42038
    ben_allison
    Member

    When using template tags, I notice a lot of inconsistencies… some things use span tags, others divs, and still other p tags.

    When someone simply wants to return data, (a list of tags or the subscribe link) it would be nice to have the bare minimum returned (text with at most, an <a> tag). Minimal markup will just make for cleaner, easier to assemble themes.

    #42034
    phishor
    Member

    Hello everyone. I have a couple of alignments problems with my website, and would love to know which file I would edit to adjust the width of various tables etc. I am totally new to BBPress and any help is greatly appreciated :)

    Many Thanks

    Paul.

    Paul
    Participant

    Ben, I’ve had more success with the 2.1 development version, available as a zip at the bottom of https://bbpress.trac.wordpress.org/browser/branches/plugin.

    All I have done is create a bbpress directory within my theme folder and in there copied in any files from pluginsbbpressbbp-themesbbp-twentytenbbpress that I wanted to modify. I have not moved any files out of the plugins directory.

    I haven’t had much success with setting the css for bbpress from within my theme. In the end I ended up renaming pluginsbbpressbbp-themesbbp-twentytencssbbpress.css to bbpress_master.css and creating a new bbpress.css in the same folder. Within this new file I have my modifications with the following as the first lines

    /**

    * bbPress specific CSS

    *

    * @package bbPress

    * @subpackage Theme

    */

    /* =bbPress Style


    */

    @import url(“bbpress_master.css”);

    I will need to be careful updating bbpress as I will lose my bbpress.css. Until I work out how to have css working through my theme it will do.

    ben_allison
    Member

    Here’s what I tried:

    1) Copy bbpress theme folder into my theme

    2) add “add_theme_support( ‘bbpress’ );” to my functions file

    Nothing. I think I misunderstand how the bbpress theming system works. I thought it was more or less a “child theme” that bolts on to twentyten.

    Are there files or snippets of code I need to grab from the bbp-twentyten theme?

    FWIW, the site is running Buddypress, along side bbpress. I’m using the stock Buddypress theme, and my own Buddypress child theme.

    Everything is working perfectly (forum is up and running, etc). All I’m trying to do is used a customized bbpress template so I have complete control over the forum markup.

    Thanks!

    #42024
    phishor
    Member

    Hello everyone,

    I must be the biggest newbie as I have only just downloaded wordpress and installed the BBforums etc..

    I am having just one small problem in displaying replies properly. I would love to know if this a CSS related problem. See image below.

    http://www.tiny.bz/6qz2q4

    I am using a custom theme. Any suggestions! Many Thanks! :)

    #42021
    testuserfay
    Member

    Hi. I am using BBpress to add a community component to my mostly informational site. What I want is for my forums to:

    1) be hidden from nonlogged in members;

    2) require members to be able to login and check the 1 forum that I assign to them for updates, WITHOUT having access to someone elses forum.

    Is this at all possible through an existing plugin or through some code modification?

    I am using wp-members for registration/login stuff. That plugin does have the ability to lock access to pages and posts, but currently, I don’t use those features.

    I am also using latest BBpress and WordPress software.

    Thank you.

    #111575
    Raziel_LOK
    Member

    I made it, using the same code above, you can add your own class if you want. And including more loops you can list depeer forums.

    Here is the code:

    Code:

    <?php

    $before = ‘<ul class=”bbp-forums”>’;
    $after = ”;
    $link_before = ‘<li class=”bbp-forum”>’;
    $link_after = ”;

    if ($sublist = bbp_forum_get_subforums($forum_id)) {
    echo $before;
    foreach ( $sublist as $sub_forum ) {
    // Get forum details
    $permalink = bbp_get_forum_permalink( $sub_forum->ID );
    $title = bbp_get_forum_title( $sub_forum->ID );

    echo $link_before . ‘‘ . $title . ‘‘ . $link_after;

    if ($sublist2 = bbp_forum_get_subforums($sub_forum->ID)) {
    echo $before;
    foreach ( $sublist2 as $sub_forum ) {
    // Get forum details
    $permalink2 = bbp_get_forum_permalink( $sub_forum->ID );
    $title2 = bbp_get_forum_title( $sub_forum->ID );

    // Build this sub forums link
    echo $link_before . ‘‘ . $title2 . ‘‘ . $link_after;

    }

    echo $after;

    }

    }
    }

    echo $after;

    ?>

    #42019

    Topic: New Post funcion

    in forum Showcase

    I’m working on a custom WP & bbPress theme for a client and I’d like to highlight what forums have had new posts added since the user last logged in. Is there a function that I can call that allows me to get this info?

    I’m thinking something along the lines of this:

    <?php if(new_forum_posts()) : ?>

    highlight icon

    <?php else : ?>

    don't highlight icon

    <?php endif; ?>

    Any help is appreciated!

    #111567
    ben_allison
    Member

    It’s returning “This user has not created any topics.”

    Is there anything I can do in the mean time to get those functions to work (apart from a manual query)?

    :)

    Thanks!

    #107401
    mohammadg
    Member

    Thanks for this! Really helped me out.

    #42016
    Raziel_LOK
    Member

    After finding a lot I have not found a solution for showing more than 1 depth sub forums. So I made some coding.

    I changed “<?php bbp_list_forums(); ?>” on file loop-single-forum.php to:

    <?php

    $before = ‘<ul class=”bbp-forums”>’;

    $after = ”;

    $link_before = ‘<li class=”bbp-forum”>’;

    $link_after = ”;

    if ($sublist = bbp_forum_get_subforums($forum_id)) {

    echo $before;

    foreach ( $sublist as $sub_forum ) {

    // Get forum details

    $permalink = bbp_get_forum_permalink( $sub_forum->ID );

    $title = bbp_get_forum_title( $sub_forum->ID );

    echo $link_before . ‘‘ . $title . ‘‘ . $link_after;

    if ($sublist2 = bbp_forum_get_subforums($sub_forum->ID)) {

    echo $before;

    foreach ( $sublist2 as $sub_forum ) {

    // Get forum details

    $permalink2 = bbp_get_forum_permalink( $sub_forum->ID );

    $title2 = bbp_get_forum_title( $sub_forum->ID );

    // Build this sub forums link

    echo $link_before . ‘‘ . $title2 . ‘‘ . $link_after;

    }

    }

    echo $after;

    }

    }

    echo $after;

    ?>

    So my question is, Is there any way to do that little easier ? Or someone who is looking in the same issue and want give a hand to clean up this code.

    A example of the struture I’m looking:

    TEST

    -TEST_CHILD_1

    -TEST_CHILD_2

    –TEST_CHILD_CH1

    –TEST_CHILD_CH2

    -TEST_CHILD_3

    Any help will be aprecieted. Thank you.

Viewing 25 results - 16,801 through 16,825 (of 32,503 total)
Skip to toolbar