Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 15,801 through 15,825 (of 32,519 total)
  • Author
    Search Results
  • #115287
    crazy-nomce
    Participant

    Bump, anyone?

    Btw, I fixed half of the hooks (I added the corresponding hooks into the bbpress theme on my own, and it works), but I have problem with the remaining three hooks which I didn’t fixed, and they are:

    add_filter( 'bp_get_the_topic_post_content', 'rfp_filter_rating_link', 3 ); 
    
    add_filter( 'bp_get_the_topic_post_css_class', 'rfp_alter_post_based_on_rating', 1, 1 );
    
    add_filter( 'bp_get_the_topic_post_poster_name', 'rfp_filter_poster_karma', 3 );
    

    Also, I cannot find anything for the variable $bbp,and the corresponding variables in bbpress which exist in buddypress: $topic_template and $forum_template.

    Thanks in advance!

    Edit: I forgot to mention that bbpress is updated to version 2.1. 🙂

    • This reply was modified 13 years, 12 months ago by crazy-nomce.
    #115282

    In reply to: Forum Title

    Superhearing
    Member

    oo nice, thanks, I got around it but creating a page named forum and adding the shortcode [bbp-forum-index]

    Modifying Page Title in Forums Archive

    Will look into your fix when when I have time, thanks 🙂

    #115280

    In reply to: Forum Title

    Lynq
    Participant

    This is probably because you have something like: the_title() inside your title tag in your theme?

    I had to have conditional title tags based on what post type I was looking at, check this out:

    http://pastebin.com/CW8WZDJH

    I am still having an issue with the code syntax highlighter, so I used pastebin.

    Good luck!

    #115277
    chuseestn
    Participant

    Les professionnels de formation adizero tissus intelligents ClimAdapt et accessoires très légers à créer de la lumière ou pas d’expérience d’équipements sportifs. Coupe Formotion CP et un design ergonomique, les vêtements et plus de confort. adizero miCoach système intelligent peut aussi être compatible avec l’usage commun peut être accélérée afin d’améliorer la performance sportive [url=http://www.addidasjeremyscottwings.com/chaussures-femme-adidas-adicolor-c-2_26.html]adicolor superstar[/url].

    Spinning produits de classe en tenant compte des changements climatiques extérieures, veste coupe-vent, chemise, pantalons et shorts et diverses avec des Adidas CLIMAPROOF veste coupe-vent du vent et de tissus a une protection UV + UPF50 fonction manches courtes T-shirt en tissu double, utilisez le maillage 3D et l'intérieur, la perméabilité serré, mais excellente. Deux utilisation de la couleur audacieuse de couleurs vives et appuyez sur la conception de la couleur et l'attention à un détail, la conception la poitrine unique de fermetures à glissière de ventilation, le dos des vêtements au fond de la conception de bord paquet avec une bande élastique spéciale, élastique interne contenant les détails du silicium de haute technologie . La conception collants à proximité de l'ajout de la qualité appropriée de la charge à protéger. 2 en 1 short en utilisant les principes de conception d'ingénierie, c?té amovible de la commodité de la multi-sport besoins [url=http://www.addidasjeremyscottwings.com/chaussures-femme-adidas-adicolor-c-2_26.html]adicolor adidas[/url].
    
    Produits d'entra?nement fitness de Escalade coupé les manches du traitement spécial con?u pour prévenir le soulèvement du bras sur l'ascenseur alors que le reste des plis du corps. L'utilisation des matériaux et CLIMALITE FlowMapping du corps aérodynamique de la lumière et a une perméabilité à l'air à 360 °. Tous doublée de polyester recyclé à 100%, et à travers le maillage 3D pour augmenter les performances de respirabilité. Série sur la formation Adidas, y compris une série de formation des hommes, des séries de formation des femmes, série pour enfants, et le adidas by Stella McCartney. Adidas s'est engagé à l'intérieur de remise en forme, de la danse, le yoga et une variété de vêtements de sport, chaussures et accessoires, non seulement l'intégration de nombreux éléments de la mode et Adidas pour améliorer la performance athlétique spécialement développé une technologie de pointe [url=http://www.addidasjeremyscottwings.com/chaussures-femme-adidas-adicolor-c-2_26.html]adidas superstar skate[/url].
    

    [url=http://www.addidasjeremyscottwings.com/basket-adidas-gazelle-2-034581-p-186.html][img]http://www.addidasjeremyscottwings.com/images/20120702191035/Basket-adidas-gazelle-2-034581_a_3_1.jpg[/img][/url]

    #115267
    Stephen Edgar
    Keymaster

    The theme you are using ‘Nexus’ thinks that /forums is a WordPress page when in fact it is not and is reading the ‘subheader’ in this case ‘Suggestions’ from the last custom post type.

    If you create a new WordPress page called ‘Forum’ and add the shortcode [bbp-forum-index] to this page and replace ‘Forums’ on your nav menu with the newly created ‘Forum’ page you should see the title now as ‘Forum’

    You could also ask for help over at the Nexus support forum http://wpadaptive.com/forum/categories/nexus

    #115259

    In reply to: 2.1 questions

    Stephen Edgar
    Keymaster

    — ‘Topics Replied To’ User Profile Empty?

    I don’t have or see a ‘Topics Replied To’ section under eg. /users/username, only ‘Subscribed Forum Topics’, ‘Favorite Forum Topics’ & ‘Forum Topics Created’…

    — The ‘recent replies’ widget indeed in the old version did include recent topics in its output. Much of the widget query code has been rewritten so I would say now that the widget works as per design 🙂

    I have created a ticket to enhance some of the widget options, if you have anything to add, please do.

    https://bbpress.trac.wordpress.org/ticket/1903

    #115245
    pimarts
    Participant

    Ok, a litle more info:

    I run a bbPress + BuddyPress installation. And I put that function in the functions.php file of my WordPress theme.

    It would remove the widgets inside. If needed you could remove the rest of the / entire sidebar with CSS. The advantage over a simple CSS hide is the fact that less code gets written to the browser / less code to download for the user.

    Aside from that I use it to put the login widget at the top of the forums (with CSS) and remove all the other widgets.

    #115206
    Bookkus
    Member

    Does anyone have any ideas?

    #115192
    pimarts
    Participant

    I posted this in another topic, this works for me:

    function disable_all_widgets( $sidebars_widgets ) {       
        if ( function_exists('is_bbpress') ) {
            if (is_bbpress()) {
                $sidebars_widgets = array(false);
                remove_all_actions('bp_register_widgets');
                unregister_sidebar( 'bp_core_widgets' );
            }
        }
        return $sidebars_widgets;
    }
    
    add_filter('sidebars_widgets', 'disable_all_widgets', 1, 1);
    

    But that’s because I haven’t looked into custom themes yet. Did everything with functions and CSS at the moment.

    #115168
    Parker
    Member

    Oh! I was able to figure out what was wrong. All I needed to do was move:

    ?>

    to the bottom of the bbPress settings.

    • This reply was modified 13 years, 12 months ago by Parker.
    • This reply was modified 13 years, 12 months ago by Parker.
    • This reply was modified 13 years, 12 months ago by Parker.
    • This reply was modified 13 years, 12 months ago by Parker.
    #115152
    Bookkus
    Member

    It’s just the shortcode forum when I post it into a page: http://www.bookkus.com/test-forum/

    If I use the other forum it looks like this: http://www.bookkus.com/forums-2/

    #115150
    Lynq
    Participant

    Oh wow umm,

    It looks as though there isn’t a lot of styling going on for your forum.

    Where did you get your bbpress.css file from? It looks really short compared the one I got originally.

    #115149
    Lynq
    Participant

    Hi there,

    I actually had this issue with my custom plugin, it turned out that a recent version of wordpress has tightened the security on plugins I believe, so if the plugins are not coded correctly then it will cause the issue you are describing.

    Have you updated all the plugins aswell?

    #115146
    Martin
    Participant

    Hi all,

    To help promote anonymous posters to post questions, I’d like to put up some sort of permanent notice information box above the forums to display said message.
    Any ideas what file/code I need to be playing with, as a start?

    #115139
    Bookkus
    Member

    I am having some trouble with the layout of my forum. Once I add the shortcode to a new page the layout goes very strange. I have tried going to full-width with no result.
    I am using custom community theme. My buddypress, wordpress, and bbpress are fully updated.

    http://www.bookkus.com/test-forum/

    Thanks in advance for your help.

    #115135
    DNBrawler
    Participant

    It’s calling JQuery scripts–the only one I could find is this one:wp_enqueue_script( 'bp-js', BP_PLUGIN_URL . '/bp-themes/bp-default/_inc/global.js', array( 'jquery' ) );
    I tried to implement the topic.js many times It’s just not working :/

    #115113
    DNBrawler
    Participant

    I’m stumped. lol

    Do I have to call the script? :L I have no idea.. what to do.

    I found this:

        if ( bbp_is_single_topic() )
            wp_enqueue_script( 'bbp_topic', $this->url . 'js/topic.js', array( 'wp-lists' ), $this->version, true );
    

    Am I close ? :/
    Okay now I do believe that my theme is causing the problem since I switched themes and it started to work. I have more work to do.

    • This reply was modified 13 years, 12 months ago by DNBrawler.
    • This reply was modified 13 years, 12 months ago by DNBrawler.
    • This reply was modified 13 years, 12 months ago by DNBrawler.
    #115112
    Lynq
    Participant

    It did the same again, I have had a couple of issues with the code button too!

    It is kind of a tricky to pick out a specific forum, you would need to do a little bit of coding to try and change the way your loop-topics loop works.

    You would need to be able to pass in an argument of something like $limit and then set the limit based on the forum id. Feels like a lot of work to me, but someone else might have a better idea.

    Sorry!

    #115109
    DNBrawler
    Participant

    Sorry must not have worked. Here it is again:

                             '_bbp_reply_count', 'meta_value' => '1', 'meta_compare' => ' 'date', 'show_stickies' => false ) ) ) : ?>
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
                    <!-- #topics-front -->
    

    “ EDIT: Now it’s deleting the content of the code sample. Here’s the link from pastebin. http://pastebin.com/3TLgVni2

    • This reply was modified 13 years, 12 months ago by DNBrawler.
    • This reply was modified 13 years, 12 months ago by DNBrawler.
    #115102
    Lynq
    Participant

    Hey DNBrawler,

    Your code got cut off 🙁 can you try posting it again and using the code button?

    #115100
    DNBrawler
    Participant

    I’m using a template to customize the number of posts on one of my pages. My default number of forum posts on one single page is 6. I want 15 to appear on a page so after noticing in the statistics template that the popular topics can show more than than the default setting I ventured to apply it to a single forum called from the forum id. Here’s the code:

    15, ‘post_parent’ => bbp_get_forum_id(568), ‘show_stickies’ => false ) ) ) : ?>

    My problem: The forums are only showing 16 unfortunately. My question: How do I limit the number of posts on individual pages?

    #115097

    In reply to: Reply Truncation

    Lynq
    Participant

    You have the following CSS on your site which is restricting the height of the replies.

    div.reply {
        height: 32px;
    }
    

    I didn’t search heavily, but it looks like it is coming directly from the page, I can’t find the stylesheet where that is coming from, good luck hunting!

    #115069
    Lynq
    Participant

    By the way this code snippet works for me:

    function custom_bbp_breadcrumb() {
        $args['sep'] = ' | ';
        return $args;
    }
    
    add_filter('bbp_before_get_breadcrumb_parse_args', 'custom_bbp_breadcrumb' );
    
    • This reply was modified 13 years, 12 months ago by Lynq.
    #115065
    Clay
    Member

    So, using the code example several posts above, from manuelmasia — let’s say that I wrap that in php tags and drop it into a functions.php file in my child theme directory. Is there anything else that I would need to do in order to get the breadcrumbs to display differently?

    • This reply was modified 13 years, 12 months ago by Clay.
    #114999
    Erlend
    Participant

    Yesterday I offered to help write some copy for bbPress.org, so this is the first of many such posts in a series of sorts as I work my way through the pages and contents in question.

    Today I’ve been looking at the examples page. This page is not linked to yet, but we’ll sort that out once we’re happy with the page itself.

    Also, down the line bbPress should simply have its own “flavor” on the WordPress Showcase site, coupled with a custom page on bbpress.org that pulls information from there, much like how the BuddyPress showcase probably already works. But since that might take a while (all I know is it’s beyond my capabilities) I figured a static page would serve as a good substitute in the meantime.

    Styling

    I realized that a common question that’s going to be popping up as I work on these pages is “Changes to bbpress.org vs Changes to my article formatting“. So when I give this feedback, know that I probably have a reasonable workaround for it in mind already if you don’t agree with the proposed changes.

    • Page headers – Either make them take charge of the page (more prominent than h1) or don’t show them at all. One of my favorite examples of a beautifully dominant page title is WooThemes’ Optimize.
    • On my test site (also where my images are currently loaded from because I don’t have that privilege here yet) I used captions to achieve some simple compartmentalization. It seems the bbpress.org theme doesn’t have any styling for captions yet. Furthermore, on hover they expand slightly instead of highlighting in some other way (e.g. a shadow overlay), making the content below shift downwards slightly, which looks weird.
    • The showcase codex page should be retired.

    Your input is most welcome, including my choice of “featured” items.

    • This reply was modified 13 years, 12 months ago by Erlend.
    • This reply was modified 13 years, 12 months ago by Erlend.
    • This reply was modified 13 years, 12 months ago by Erlend.
Viewing 25 results - 15,801 through 15,825 (of 32,519 total)
Skip to toolbar