Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 18,101 through 18,125 (of 32,519 total)
  • Author
    Search Results
  • #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

    #107190

    In reply to: User registration

    pimarts
    Participant

    The plugin is not finished yet, documentation will be made (available) when the plugin is done. For now you’ll have to look into the files and search this forum. Because this question has been answered already.

    See https://bbpress.org/forums/topic/bbpress-and-studiopress-genesis-can-someone-please-tell-me-if-this-works for instance.

    In short: bbPress uses WordPress users, your users can register like they would normally for the WordPress installation. There are shortcodes for login / register pages though.

    #107182

    In reply to: Breadacrumbs

    grt
    Member

    Thanks both,

    I am using the plugin version 2.0.

    The phrase “Cheap Benidorm hotels and apartments” is the title of the home page, but not the menu title, which is of course ‘home’.

    Successfully disable with the code above… that will do for now!

    many thanks,

    Glyn

    #107180

    In reply to: Breadacrumbs

    pimarts
    Participant

    Strange, it doesn’t do that for me.

    Which version are you using? The plugin (if so, which version), the stand-alone version?

    A quick (& dirty) fix to hide the breadcrumbs would be:

    .bbp-breadcrumb {

    display:none;

    }

    pimarts
    Participant

    domain/wp-login.php?action=register should do the trick.

    There are shortcodes for the following though, so you might be able to make your own register page (I’m running bbPress in combination with BuddyPress so I don’t need it):

    [bbp-login]

    [bbp-register]

    [bbp-lost-pass]

    #105780

    In reply to: bbPress 2.0 – FAQ

    Erlend
    Participant

    Making a subdomain is the exact same process. It has nothing to do with bbPress and everything to do with your WordPress Network configuration. It’s all neatly laid out in the codex. This is for advanced users though.

    If you just want the sub-domain for cosmetic reasons (i.e. it just looks tidier) that’s not really good enough reason to set up a network site. You have to realize that enabling Network comes with a lot of implications on how you can use and extend your WordPress site. For example, only a small percentage of the plugins in the WordPress repository have been tested and made to work in a Network environment.

Viewing 25 results - 18,101 through 18,125 (of 32,519 total)
Skip to toolbar