Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 15,376 through 15,400 (of 32,519 total)
  • Author
    Search Results
  • #118752
    wolfie-79
    Participant

    What would those shortcodes be Jare Datch? I’m to interesting on making sure they never see the backend.

    Garindan
    Participant

    Ok simple question… What file/s do I need to add code to so it affects every bbpress page?

    style type = ‘text/css’>#breadcrumbs { display: none !important; }/style>

    Sorry, couldn’t work out how to display code without it hiding style tags

    • This reply was modified 13 years, 9 months ago by Garindan.
    • This reply was modified 13 years, 9 months ago by Garindan.
    #118741

    In reply to: Ask for a plugin

    smiga
    Participant

    There is one “must have” plugin missing on 2.x, what worked well on 1.x -> unread post plugin. Its already discussed under this topic https://bbpress.org/forums/topic/adding-view-unread-posts-plugin/

    In 3 words describing – when users logs in it sees unread topics in different color (new topics and topics with new replies counting from last user visit). When he enters topic its automaticaly redirected to last unread post inside topic.
    Old 1.x source code you can see here -> http://paste.php.lv/720a5c85e7a31f117a104d2a14ce368f?lang=php its just one file.

    #118728

    In reply to: Adsense Plugin

    ntmedia
    Participant

    Yes, that`s the right plugin, but i insert the code manuelly at loop-single-reply.php of bbpress right after the reply-content is called.

    Thanks for your help

    #118727
    renai42
    Participant

    hey mate,

    this is precisely the kind of overly simplistic response which turns people off using bbPress. Your suggestion is pretty much contained in the bbPress documentation already and is less than useful.

    Sure, you need to copy bbpress.css to the right directory and edit it. But what you fail to mention, and what is mentioned nowhere in the bbPress documentation, is that many of the font specifications are not actually listed in that CSS file — you need to puzzle out the CSS entry yourself and add a new CSS entry, not edit an old one, to change the font size.

    I spent three hours working this out last night. The correct entry is:

    bbpress-forums .bbp-topic-content p,

    bbpress-forums .bbp-reply-content p {

        font-size: 12px;
    

    }

    I have seen this same response from the moderators on the bbPress forum dozens of times as I searched it last night. This same arrogance — ‘just copy the CSS file and edit it’. Technically you’re right, but without any detail or documentation around bbPress, this suggestion comes across as the contempt of an experienced web developer for someone who is, in their eyes, a ‘n00b’.

    I operate a major WordPress site and edit its CSS files daily. And yet, the CSS for bbPress is hideously complex and hard to understand. I suggest that you guys modify your attitude and start looking for actual solutions to people’s problems … especially around making default themes easier to customise. Otherwise, bbPress, which is an awesome solution to a long-held problem for WordPress site owners, will remain the little-used forum software that it is.

    Cheers,

    Renai LeMay
    Publisher, Delimiter.com.au

    #118722

    In reply to: Adsense Plugin

    jezza101
    Participant

    I think it would be a case of changing the order of the two filters? So when you apply a filter you have to set the priority:

    https://codex.wordpress.org/Function_Reference/add_filter

    If you change the priority of the filter on that plugin to be less than the filter on mine it might then work in the right order.

    Which plugin are you using? Is it this: https://wordpress.org/extend/plugins/kk-i-like-it/

    I can have a look if I can get the right plugin to test…

    #118720

    Copy the bbpress.css from the bbpress plugin directory to yourtheme/bbpress/bbpress.css and then edit the CSS/font size from there 🙂

    #118718

    I believe bbPress uses wp_mail() and does not explicitly set a “from”, so wordpress@domain.com is used by default.

    https://codex.wordpress.org/Function_Reference/wp_mail

    #118697
    aussi
    Participant

    Hi all,

    When email notifications are sent from our bbPress deployment, the ‘From’ address is being set to ‘wordpress@[domain]’. Looking into the WordPress core code (v3.4.2) in pluggable.php, this is done on line 336 when no ‘From’ header is passed in to the wp_mail() function. We’ve reviewed the bbPress configuration and can’t find anywhere that this can be set, have we missed a setting somewhere?

    Note our site is using WordPress 3.4.2 Multisite with bbPress 2.1.2.

    #118688
    emike09
    Participant

    Looks like I’m getting the following error:

    PHP Warning: require_once(bbp-converter.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /home1/mojaveun/public_html/blog/wp-content/plugins/bbpress/bbp-includes/bbp-user-functions.php on line 1466
    
    #118682

    This should do the trick. Just drop it in your theme’s functions.php file.

    https://gist.github.com/3868835

    #118679

    The body classes are applied dynamically using the WordPress body_class() function (https://codex.wordpress.org/Function_Reference/body_class)

    You can use a little trickery to hook into it and remove classes, but if possible I probably won’t do that.

    Why are you wanting to remove that body class?

    #118671

    There is no way to simply just stick the entire forum in a specific page.

    You can use the bbPress shortcodes (https://codex.bbpress.org/shortcodes/) to create a page that houses a forum index, but that doesn’t stick everything in that page.

    Even if you restrict a page that you create with a shortcode, bbPress generates all its own pages such as the forum/topic/reply index pages, user pages, etc.

    You can certainly restrict the forum to certain memberships, but it’s going to require some custom code and a little elbow grease. It’s not something that you will be able to do by just marking a checkbox in the WishList settings.

    #118666

    In reply to: Adsense Plugin

    ntmedia
    Participant

    Hey jezza, great Plugin – just what im looking for and it works perfect.

    But I have an little issue especially with my theme, because i also added the KKLike-Button at the end of every reply so user can like each of them. This button is added after the content and as you manipulate the content to insert the adsense-code the Like-Button is now shown after the adsense-code. Hope you understand my bad english! 🙂 Any ideas to fix it?

    #118664

    In reply to: Problem with shortcode

    nirzol
    Participant

    I try with the default buddypress theme and the same.
    shortcode don’t work -> [bbp-single-forum id=44] http://rplayers.com/forums/
    but this shortcode works : [bbp-topic-index]

    if I make an other page http://rplayers.com/forums2/ all shortcode works

    So I go to settings > forums > Archives slug > forums base :: change forums by forums2
    but http://rplayers.com/forums2/ shortcode don’t work

    Need help … :-/

    #118662

    In reply to: Forum Root Page Issues

    nirzol
    Participant

    I have the same problems I think…
    on http://rplayers.com/forums/ –> [bbp-single-forum id=44] don’t work
    but [bbp-topic-index] this shortcode works

    And when I do the same things there http://rplayers.com/forums2/ all shortcode works

    I posted a message there but no reply https://bbpress.org/forums/topic/problem-with-shortcode/

    #118661
    goddess_dix
    Participant

    And I’ve gathered the script would go something like this?

    $("body").removeClass("reply");
    

    Any clues as to what template or how I might add that to remove the reply class from the body would be great. This is my first foray with bbPress and it’s been a learning curve…

    #118653

    add_filter( 'bbp_before_get_reply_author_link_parse_args', 'ja_reply_avatar_title' );
    function ja_reply_avatar_title( $args ) {
    $args['link_title'] = 'Avatar';
    return $args;
    }

    This only takes care of the replies, you will likely need to apply this same concept to other places in the theme.

    #118628

    In reply to: Forum Root Page Issues

    I suspect It’s your theme and there’s no simple way to fix it short of diving into the code 🙁

    /forums (the auto generated page) is an CPT archive page and your theme is likely modifying the query or auto formatting its archives (this is common in frameworks). Normally this isn’t a problem, until you use a plugin like bbPress which excepts archive pages to not be “highjacked”.

    The /forum works because I assume this is the page you created with the shortcode which isnt using the same template as mentioned previously.

    Forwarding forums to `forum’ might work, but make sure that the root of the problem isn’t affecting other archive areas of your site (topic listings etc).

    Copy

    plugins/bbpress/bbp-themes/bbp-default/bbpress/loops-single-reply.php

    to

    [your_theme_directory]/bbpress/loops-single-reply.php

    Edit line 27 to your liking.

    You will need to create a counter. Something like http://pastie.org/5021188 would be a start. Though it will not take pagination into play, which will be something you must write.

    #118623

    In reply to: Blank Page Problems

    RobMackay
    Participant

    The shortcodes work fine.

    Just so people know – I have forms set up I am trying to post in a form that I have set up. I have the “new topic” box but when I submit the new topic it takes me to a blank page. Everything else is in the OP

    More help needed please 🙂

    #118616

    In reply to: Problem with shortcode

    nirzol
    Participant

    Sorry, someone have a solution plz ? thx

    #118614
    Arturo
    Participant

    Hi, i need the code to put in my template to have the pagination for the latest topics, i’ve a list with the last topics but not the pagination to go on page 2 etc anyone can help me?

    thanks

    #118610
    cgomez21
    Participant

    Hi, Is there any plugin for flag inappropriate content???? I cant find any. PLSSSS HELP! I\m using bbpress Version 2.1.2

    • This topic was modified 13 years, 9 months ago by cgomez21.
    Erlend
    Participant

    This is the problem: http://i.imgur.com/TWMBl.png

    (I’m going to put in a separate feature request with Crayon Syntax Highlighter, which we are using to highlight code on bbPress, asking if it’d be possible to ignore HTML tags inside code tags (both square brackets and the more future proof pre tags), but that wouldn’t be the cleanest solution.)

    The better solution would be if the importer could prevent this from happening in the first place. If not for square code brackets (although this is a standard set by an Automattic plugin) then at least for pre tags.

    In my tests, I embedded code in pre tags in a BuddyPress forum, imported it to bbPress and the embedded code was now populated with HTML tags, mainly br tags for the newlines. Funny thing is if I have the rich editor turned on, I can go into edit mode with a post that has code embedded, then I’ll go to the “Visual” mode and back to “HTML” mode, and everything has been cleaned up. I basically want the importer to do that step for me.

Viewing 25 results - 15,376 through 15,400 (of 32,519 total)
Skip to toolbar