Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 10,276 through 10,300 (of 32,504 total)
  • Author
    Search Results
  • #153873

    In reply to: Allow HTML from users

    richkraetsch
    Participant

    Is there anyone else who hasn’t gotten this code to work for them? I have tried everything and am still getting the issue of HTML showing up in quotes with quotes in them. I’ve copied this code to my includes/common/formatting.php and have seen zero change.

    (I’m using GD BBPress Tools for my quote functionality)

    #153860

    In reply to: Troubleshooting topics

    atfpodcast
    Participant

    Fixed I commented the bbpress css code in the theme out. it was included in the theme.

    #153859
    atfpodcast
    Participant

    but did you have bbcode under the bbpress menu? its not there. notice the picture I will include another picture with another theme:
    This is the other theme where it works.

    #153857
    atfpodcast
    Participant

    Its my theme Im using. raindrops and it has bbpres css code in it. so it works now. yay

    #153853
    Stephen Edgar
    Keymaster

    The bbPress project along with BuddyPress and WordPress is testing out Slack as our main real-time communication platform, replacing IRC chats for developer related discussions.

    If you are a current contributor to bbPress or would like to start contributing and help with the development of bbPress then this is the place to come and have a chat.

    A brief summary is here: https://codex.bbpress.org/participate-and-contribute/

    Full setup details and how to request an invite to link your WordPress.org account with a Slack.com account are here:
    https://chat.wordpress.org/ https://wordpress.slack.com/apps

    Note: This is a not a new support channel or forum for bbPress support.

    #153845

    In reply to: unregistered users

    Robin W
    Moderator

    Nothing I know of will do that.

    it could be coded.

    #153832
    janfeng
    Participant

    the forum’s slug is test

    and i want to know the topics in this forum or not ,

    so i use bbp_is_forum('test') is not work , how can i check this topics in this forum or not ?!

    #153831
    janfeng
    Participant

    the forum’s slug is test

    and i want to know the post in this forum or not ,

    so i use bbp_is_forum('test') is not work , how can i check this post in this forum or not ?!

    #153823
    atfpodcast
    Participant

    That’s odd. At first I thought it was a firefox issue but it works on another site. So it has to be the theme.
    Screencap of issue

    #153817
    Robkk
    Moderator

    your theme already has some bbpress styling in the main theme stylesheet.

    it has background:none!important;

    its kind of messy just adding !important again but it did work on my end

    #bbpress-forums li.bbp-header {
    background: purple!important;
    }
    #153815
    Robkk
    Moderator

    use robins plugin.

    bbp additional shortcodes

    remember to read on how to use the plugin on that page too.

    #153812

    In reply to: Help Css & Layout

    Robkk
    Moderator

    @atfpodcast deactivate the new ui plugin, if you still have a problem reply back.


    @mnhfile

    just post the css code in just one thing, dont put it into two places.And if you also have bbpress new ui deactivate that.

    to make categorized forums, first go to the forums section in the backend click the menu link with the beehive.

    whatever forum you want to make a category change the type in the sidebar in the right. change from forum to category.

    to add forums to this category, click any forum you want to be a child of the category and make the parent the certain category.

    change the order number to customize the positioning, top category starts at zero then the children forums go off that.

    you should end up with something like this.

    first category 0
    -first forum 1
    -second forum 2
    -third forum 3
    second category 4
    -fourth forum 5
    -fifth forum 6
    third category 7
    -sixth forum 8

    #153798
    galiulinr
    Participant

    Thank you Robin!
    This code works for me.

    function bbp_single_replies_show($args) {
    if(is_singular( 'download' )) {
    $args['posts_per_page'] = 3 ;
    $args['max_num_pages'] = 1;
    }
    return $args;
    }
    add_filter('bbp_before_has_replies_parse_args','bbp_single_replies_show');

    Now I have a custom page type post comments remove, and set the theme forum with the number of responses 3. Thank you very much.

    #153796
    Robin W
    Moderator

    Then the changes have not reverted !!

    Are you running any caching software?

    Otherwise re-install bbpress (you’ll not lose ant data) and start again.

    This time don’t alter core files, use a child theme

    Functions files and child themes – explained !

    #153795

    In reply to: Help Css & Layout

    mnhfile
    Participant

    https://codex.bbpress.org/bbpress-styling-crib/ I past the codes to bbpress.css and child theme css … nothing happens … I alter the codes and add another one with !important tag but all in vain…

    One more question bbshowcase.org/forums/view/available-themes how to install these themes only in bbpress forums. please give me some illustration ..
    I try a lot of methods like
    -copy bb theme files to child main theme directory
    -rename bb theme style.css to bbpress.css and paste to child theme directory ..I past in main folder as well as in css folder of child theme..

    I shall be thankful to you if you help me in installing premade custom layouts of bbpress theme

    Timo_F
    Participant

    Hi guys,
    I’m using [bbp-topic-index] shortcode to display a list of topics in my home page. That shortcode displays a list of 15 topics and I’d need to limit that number. Can I add some instruction to the shortcode or I need to modify the php function?
    Thank you

    #153791

    In reply to: Help Css & Layout

    Robin W
    Moderator
    #153786
    Robin W
    Moderator

    yes,

    Your ‘experts’ will be participants, or even moderators.

    Then for your ‘normal’ you’ll need to set up a custom role

    see

    Custom Capabilities


    https://codex.bbpress.org/bbpress-user-roles-and-capabilities/

    you just need to set up a role where the user can not do any of the reply capabilities

    If you are then allowing some form of automatic registration, then set the default bbpress role to this custom one in dashboard>settings>forums auto role

    #153785
    Robin W
    Moderator
    #153780
    Robin W
    Moderator

    try

    function bbp_single_replies_show($args) {
    $args['posts_per_page'] = 3 ;
    $args['max_num_pages'] = 1;
     return $args;
     }
     add_filter('bbp_before_has_replies_parse_args','bbp_single_replies_show');
    

    I have not tested – I am quite busy at the moment – but keep trying !

    #153775
    jessy
    Participant

    1, Install plugin: WPFront User Role Editor
    2, Go to Roles => Settings and check “Override Edit Permissions” Save it.
    2, Go to Roles => All roles => and choose Participant, it has 8 or more capabilities
    3, You need uncheck publish_topics and edit_topics and assign_topic_tags and delete_topic_tags
    4, Save it.

    You do not need to change php code as above 🙂

    If you need my own participation, send me your e-mail address.

    #153754

    In reply to: Help Css & Layout

    mnhfile
    Participant

    I also try this code nothing right happen.. I am using DIVI theme of elegant themes
    #bbpress-forums li.bbp-header,
    #bbpress-forums li.bbp-footer {
    background: #9099B5;
    border-top: 1px solid #eee;
    font-weight: bold;
    padding: 8px;
    text-align: center;

    #153753

    In reply to: Help Css & Layout

    mnhfile
    Participant

    Still out of luck
    I past/replace this code in bbpress.css in css folder child theme but whole forum page turns into one background colur
    #bbpress-forums li.bbp-header {
    background: #8398C1;
    }

    I also post this into my child theme style.css and results in very awkward graphics

    I don’t know how to make categories with loop-forums.php … how to put forums under different catergories4

    [url=http://postimg.org/image/yk55k902l/][img]http://s30.postimg.org/yk55k902l/bbpress_css_issue.jpg[/img][/url]

    #153745

    In reply to: Help Css & Layout

    Robkk
    Moderator

    1. follow this link look at number 1 to see if you have the right css , copy that into whatever place you can put custom css

    jetpack custom css module
    custom css plugin
    bbpress.css

    bbPress Styling Crib

    2. Follow this link and follow these instructions

    To use this template:

    1. Download the file below to your PC, and unzip it.
    2. Using FTP go into your theme, and create a bbpress folder
    wp-content/your-theme-name/bbpress

    where your-theme-name is the name of your theme
    3. Copy the file you downloaded to this folder, so that you end up with
    wp-content/your-theme-name/bbpress/loop-forums.php

    Alternate bbpress index page

    here are some more links in the codex that might be useful

    Step by step guide to setting up a bbPress forum – part 2

    if you still dont see any changes in css after you have followed all the information correctly.

    the last thing i could think could cause the problem is either clearing cache
    and also bbpress- new ui plugin , if you have this installed it might cause some issues in styling

    #153744
    galiulinr
    Participant

    Unfortunately I learn php 10 months, and did not know too much. I add this code:

    function bbp_single_replies_show($args) {
    $args['posts_per_page'] = 3 ;
    return $args;
    }
    add_filter('bbp_before_has_replies_parse_args','bbp_single_replies_show');

    it does not work for me. I looked at your plugin, but highlight the desired fragment, I could not. I thought it would be easy, you can help me?

Viewing 25 results - 10,276 through 10,300 (of 32,504 total)
Skip to toolbar