Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 18,151 through 18,175 (of 32,573 total)
  • Author
    Search Results
  • #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.

    #100680

    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.

    #105779

    In reply to: bbPress 2.0 – FAQ

    pimarts
    Participant

    If you ask when bbPress 2.0 will be released, your post will be deleted. The answer will always be the same with every version: As soon as it’s ready. :)

    From https://bbpress.org/forums/topic/bbpress-plugin-updates

    #100679

    In reply to: bbPress 2.0 – FAQ

    pimarts
    Participant

    If you ask when bbPress 2.0 will be released, your post will be deleted. The answer will always be the same with every version: As soon as it’s ready. :)

    From https://bbpress.org/forums/topic/bbpress-plugin-updates

    #107164
    Linesh Jose
    Member

    oh. that’s so sad :(

    Pimarts, thanks for the information.

    #39092
    Linesh Jose
    Member

    Hi,

    I’m not expert in BBPress. I like to build my new forum in BBPrss 2.0. In BBPrees 2.0, the functions are different from BBPrees 1X. Where I can find the function references like http://codex.wordpress.org/

    Please give me the link.

    #39090
    elizku
    Member

    New here!

    I got all the way through installation last week and testing of bbpress within a protected WordPress site, and love the forum – I so appreciate the simplicity and ease of the thing, esp. for someone who has little experience with this sort of thing.

    My only issue at this point is that once anyone is logged in and posts a reply or new topic, the updated reply/topic displays fine UNTIL returning to the main forum page at which point it is necessary to log out and then log back in to actually see the updates. Again, I’m so pleased with the forum itself, but this may be the thing that keeps my boss from letting the forum go live :-(

    WP version is 3.1.4 and I’m using the forum as my home page of the blog. Anyone have any ideas on how to fix this?

    Thanks so much!

    #107117
    Andre
    Participant

    I’d suggest looking at using bbPress 2.0 within WordPress. bbPress 2.0 is pre-release now, but was expected to be gold when WP 3.2 came out. WP 3.2 was released on Monday, but I haven’t seen an update for bbPress 2.0. The standalone version (1.x) of bbPress is expected the same time bbPress 2.0 is released, but I haven’t followed the progress of that version.

    A phpbb3 to bbPress 2.0 converter is in the works. The ticket for it is https://bbpress.trac.wordpress.org/ticket/1547. I’m guessing work on it will pick up once bbPress 2.0 goes gold. My understanding is the converter will keep usernames, passwords, and threads, but I don’t know about mail.

    You will be able to fully customize the theme using either version of bbPress. Since I’d recommend using bbPress 2.0 inside WordPress, the relevant instructions are for creating WP themes (https://codex.wordpress.org/Theme_Development) and adding bbPress compatibility (https://bbpress.org/forums/topic/bbpress-20-theme-compatibility).

    The Akismet antispam plugin is not running here. I’d suggest installing it as you develop your own solution because you may find it meets your needs.

    #107156
    pimarts
    Participant

    There’s another fix, but it’s not preferred if you ask me:

    Put this in your CSS:

    <br />
    .bbPress #sidebar {<br />
    display:none;<br />
    }<br />

    This hides the sidebar from view in the browser, the code will be loaded anyway though (that’s why I don’t prefer it).

    Edit/update:

    Oh and then you ofcourse need to make the left area wider too, I think it will be something like this according to your code:

    .bbPress #left-area {

    width: 875px; /* change that 875 to whatever width you want/need */

    }

Viewing 25 results - 18,151 through 18,175 (of 32,573 total)
Skip to toolbar