Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

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

    I too miss the ability to search across the entire WordPress installation. Any news on this? A forum without search capability isn’t much use. Unless you would want users to keep making new threads to already answered questions :-)

    #107242
    master5o1
    Participant

    anointed will enjoy 0.4.1 in that it has the option to have manual bar insertion.

    It also means that the deletion JavaScript isn’t necessary to show as there any place it is at should be the desired place, so manual insertion doesn’t insert that JavaScript.

    I had a minor derp moment on the subversion in that I made a mistake with 0.4.0, so made it 0.4.1 really quickly -_-

    Should be good.

    https://wordpress.org/extend/plugins/bbpress-post-toolbar/

    Now i’m going to have a small break and give some attention to my girlfriend :)

    #95623

    I thought that by using the short code to put it into different posts I can get some traction there… Right now I have no real visitors for the most part… I would just like to get Fall foliage questions from visitors there since I’ve seen those questions come up in google searches alread!

    #95621
    folgerj
    Participant

    do we have any examples of registration forms that others are using.. I just saw the short codes this after noon and I am incorporating one into my next blog article. Right now I have the forum listing on the left side of my sidebar to let people know that it’s there..

    I thought that by using the short code to put it into different posts I can get some traction there… Right now I have no real visitors for the most part… I would just like to get Fall foliage questions from visitors there since I’ve seen those questions come up in google searches already…

    I’m not sure what it can do and If anyone wants to strut their stuff and post their forum, I’ll come take a look…

    If I look at yours maybe you’ll come take a look at mine… :-)

    #95617
    Anonymous User 5853594
    Inactive

    @folgerj

    There aren’t any plugins which interact directly with bbPress 2.0 as of yet, but they’ll probably pop up as soon as 2.0 goes gold.

    What kind of added functions are you looking for anyway?

    You can use a shortcode on a separate page to create a proper registration form. You can find all the current shortcodes on https://bbpress.org/forums/topic/bbpress-20-shortcodes.

    For theme support, you should take a look at https://bbpress.org/forums/topic/bbpress-20-theme-compatibility.

    Currently, only the bundled Twenty Ten child theme natively supports bbPress 2.0, but in compatibility mode, it should work with most themes.

    #95612
    tofugu
    Member

    Beta 3: bbPress 2.0-beta-3b

    Should I be using RC1? If so, is upgrading as easy as replacing plugin folder (i hope i hope i hope!) :D

    #39152
    Travis Smith
    Member

    Seeing the filters in bbpress.php:

    // Post type identifiers
    $this->forum_post_type = apply_filters( 'bbp_forum_post_type', 'forum' );
    $this->topic_post_type = apply_filters( 'bbp_topic_post_type', 'topic' );
    $this->reply_post_type = apply_filters( 'bbp_reply_post_type', 'reply' );

    I thought this could be easily modified; however, I am struggling to get my filters to work from functions.php. I’ve tried the following solutions:

    add_filter( 'bbp_forum_post_type' , function($post_type) { return 'wps_' . $post_type; } );
    add_filter( 'bbp_topic_post_type' , function($post_type) { return 'wps_' . $post_type; } );
    add_filter( 'bbp_reply_post_type' , function($post_type) { return 'wps_' . $post_type; } );

    And,

    add_filter( 'bbp_forum_post_type' , 'wps_my_custom_post_type' , 1, 1 );
    add_filter( 'bbp_topic_post_type' , 'wps_my_custom_post_type' , 1, 1 );
    add_filter( 'bbp_reply_post_type' , 'wps_my_custom_post_type' , 1, 1 );
    function wps_my_custom_post_type( $post_type ) {
    //just add prefix
    $prefix = 'wps_';
    return $prefix . $post_type;
    }

    Neither seem to work, and I am not sure what I am missing.

    #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.

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