Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 18,076 through 18,100 (of 32,499 total)
  • Author
    Search Results
  • #95609

    @tofugu – Are you using Beta 3 or RC1 from the plugin branch?

    @folgerj – The only donations I’m looking for are testers and contributors. :) For launch, there will probably be some auto-page creation to get the most common ones up and running right away.

    #39143

    Closed and unstickied. See the codex page for details.

    * Forums

    [bbp-forum-index] – Show the forum index/archive

    [bbp-single-forum id=$forum_id] – Show a single forums topics

    * Topics

    [bbp-topic-index] – Show the topics index/archive

    [bbp-topic-form] – Show the new topic form

    [bbp-single-topic id=$topic_id] – Show a single topic

    * Topic Tags

    [bbp-topic-tags] – Show a tag cloud of all topic tags

    [bbp-single-topic-tag] – Show the topics within a specific tag

    * Replies

    [bbp-reply-form] – Show the topic reply form

    * Views

    [bbp-single-view] – Show topics associated with a specific view

    * Account

    [bbp-login] – Show the login screen

    [bbp-register] – Show the register screen

    [bbp-lost-pass] – Show the lost password screen

    #106047

    Also, is there an easy way from within a theme (say in functions.php or via style.css) to change the default size of gravatars in the topic reply dialog? I’m assuming it would require a function as bbPress is setting it via a function, from what I was able to glean peeking at the bbPress code. Thanks.

    #106457
    alsur
    Member

    We have done a bit of testing with this as it’s a major issue for us.

    We’ve got the translators to work on beta1 and understand the logic as follows (based on function load_textdomain()):

    1.- translated po (mo) files have to be named bbpress-xx_XX.mo with the xx being the language/country combination as on standart WordPress Codex (ie es_ES) for spanish / Spain

    2.- function will look for the file under the plugin directory//bbp-languages and if it’s not there will look for it at the standart WP language dir, normally wp-include/languages but this may vary.

    Hope this helps anyone with this issue. Perhaps a TXT file with this info could be included under the bbp-languages folder of the plugin.

    alsur
    Member

    Justa a comment but I feel it would make sense to split the “old” forums regarding bbPress with the plugin related ones having so many differences in the code.

    #107237
    master5o1
    Participant

    Good ideas anointed. I’ll make the auto-insertion optional.

    m-jay: The code button just adds the HTML <code> tag. I haven’t done anything to prevent HTML inside the code block from being parsed or from being blocked by WordPress/bbPress. I also don’t really have any intention to do so.

    Allowing <iframe> to be posted would pose a potential security risk, and the safest would perhaps use a shortcode. See if there are any plugins that give a bandcamp shortcode, there is bound to be one.

    #107304
    Anointed
    Participant

    I use the SEO plugin via Yoast which also supports sitemaps for custom post-types.

    This is one of those MUST HAVE plugins on every site :)

    http://yoast.com/wordpress/seo/

    Anointed
    Participant

    Add the following code to your theme functions.php file

    function wptumble_feed_request($vars) {
    if (isset($vars['feed']) && !isset($vars['post_type']))
    $vars['post_type'] = array('post', 'topic', 'reply');
    return $vars;
    }
    add_filter('request', 'wptumble_feed_request');

    #95606
    tofugu
    Member

    page in question → http://textfugu.com/bb/

    On my forum page index, the pages for the next topics page aren’t going to the right page for the next page.

    They go to http://www.textfugu.com/page/2/ instead of http://www.textfugu.com/bb/page/2/

    I saw something about this that I think is fixed by changing forums → forum, or vice versa, but looks like my code for this was right, plus I have the most updated version (actually, this stopped working after I updated, it seems).

    Anything else I should check / change?

    Thanks much!

    #106046

    Does [bbp-forum-index] take a parameter or is there a variation of this shortcode that displays all forums and not just the root ones?

    #107235
    m-jay
    Member

    What is the purpose of the CODE button ?

    I’m asking this beacause,

    I need to allow people to post their Bandcamp players in our forums … Bandcamp offers iframe AND shortcode for wordpress.com … but those shortcodes are not compatible with my wordpress install …

    Here you can see an example (clic on SHARE then WORDPRESS):

    http://beatmakit.bandcamp.com/track/amnezic-demande-de-featuring

    or here http://beatmakit.bandcamp.com/album/hip-hop-beatz

    Is there a way I could use your toolbar to get bandcamp players work in bbpress Forums ?

    PS. I tried to install the WP Bandcamp plugin, but it handles yet another shortcode ; not compatible with the SHARE option of the players …

    #106045
    dobralog
    Member

    @JJJ

    I want to use this shortcode: [bbp-single-forum id="A forum ID"]

    Where I can find ID?

    #95604
    pimarts
    Participant

    https://bbpress.org/forums/topic/bbpress-20-theme-compatibility

    And there’s more in the bbp-core-shortcodes.php file.

    #95603
    dobralog
    Member

    @Andre

    Where I can find list of shortcodes like for example “[bbp-forum-index]“???

    #106658

    It’s a concern for sure, and bbPress will scale no differently than WordPress does with that many entries.

    Comparatively, bbPress 1.0’s schema was purpose built for exactly what it was designed to do, and using the WordPress posts table is a bit of square peg in a round hole. bbPress 2.0 is the compromise of maximum efficiency for ease of integration. If you must have maximum efficiency and are not using deep integration already, then bbPress 1.0 is the safest bet for now. bbPress 2.0 is only going to get better as more devs use it and more people interact with the code.

    Ideally I’ll get it running on a few of our sites in the .org sphere and we’ll be able to stress test it a bit more. That will be happening in the next few weeks, but isn’t as much of a priority as releasing the first 2.0 version and getting BuddyPress 1.3 out as well.

    #75145
    jonich0n
    Member

    The function you’re looking for is bb_allowed_tags in functions.bb-formatting.php, and the allowed tags are stored in an array called $tags.

    Create your own plugin file in /my-plugins/, activate it, and apply code to remove (unset) the desired HTML tags from the array. Or just empty the array completely (although I haven’t tested this). Below is an example where I removed anchor/hyperlink functionality in posts:

    function remove_a_in_allowed_tags( $tags ) {

    unset($tags);

    return $tags;

    }

    add_filter( 'bb_allowed_tags', 'remove_a_in_allowed_tags' );

    You can quickly test this by inspecting the $tags array with the following code:

    // test allowed tags

    $tags = bb_allowed_tags();

    print_r($tags);

    #107211
    pimarts
    Participant

    Yes the plugin can handle that.

    I have this for example:

    Source URL:

    /forums/users/(.*)/

    Target URL:

    domain/members/$1/

    Works great for me.

    #107232
    master5o1
    Participant

    I’m not sure. But it’s really just a collection of images, and a PHP array that binds a particular smiley code (e.g. ‘:)‘) to a specific image file, (e.g. ‘smile.png’).

    So it’s really quite easy to piece together your own smiley package. I might be interested in hosting some on my website as a central and related place for distribution.

    The array is practically an overwrite of the array that handles the WordPress’ default smilies.

    PS. I’m about to update the plugin to allow this fallback to plugin’s smiley dir, among a few other things that I’ve thought of over the last hour.

    #107229
    master5o1
    Participant

    Hi. In the plugin directory I have included a folder named smilies. Copy this directory and its contents into the ./wp-content/ directory.

    Essentially:

    mv ./wp-content/plugins/bbpress-post-toolbar/smilies ./wp-content/ -r

    If you want to change the smilies, take a look at the package-config.php file inside the smilies directory mentioned above and you can probably work out how to switch the files, or add more to the set.

    —-

    I think I’ll update my plugin so that instead of defaulting to WordPress’ smilies, it’ll defaults to the smilies folder in the plugin dir.

    ie: Order of preference will become:

    if option allows custom smilies:

    ./wp-content/smilies/

    ./wp-content/plugins/bbpress-post-toolbar/smilies/

    else:

    WordPress’ default set.

    #107200
    pimarts
    Participant

    Try this:

    .bbPress .hentry table td, .bbPress .hentry table th, .bbp-forum-info {

    text-align: left;

    }

    #107198
    pimarts
    Participant

    Try this:

    .bbPress .hentry table td, .bbPress .hentry table th {

    text-align: left;

    }

    Maybe you’ll need an !important there, but try that first.

    #107202
    pimarts
    Participant

    CSS is your friend :)

    #39109
    freque.unce
    Member

    Hi, I’m using a theme which has 2 widget sidebars, and my forum is looking mighty squished. Is there a way I can lessen the gap between the columns in the forum? I could use all the extra space I can get.

    Any advice would be greatly appreciated. :)

    #107195
    pimarts
    Participant

    Without seeing the actual site / code I’m afraid I can’t help you. (not promising I can help you (or have the time) when I see it either by the way)

    You can target bbPress with

    .bbPress

    for instance

    .bbPress #content {

    width:903px;

    }

    #107194
    grt
    Member

    Hi Pimarts,

    I have found that code in one of my plugins and deactivated it but without luck.

    I have also tried adding “body {text-align:left!important}” to my Custom CSS, but also without any joy.

    Do you know of any CSS that I might be able to add to directly affect the bbPress pages?

    Something along the lines of “.bbp-content {text-align:left}”

    many thanks,

    Glyn

Viewing 25 results - 18,076 through 18,100 (of 32,499 total)
Skip to toolbar