Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'code'

Viewing 25 results - 10,301 through 10,325 (of 32,519 total)
  • Author
    Search Results
  • #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?

    #153738
    Robkk
    Moderator

    you can use this plugin

    https://wordpress.org/plugins/bbpress-bbcode/

    but this also needs to be used with

    https://wordpress.org/plugins/bbpress2-shortcode-whitelist/

    and you can also this plugin which has bbcode and alot of other functions added to it.

    https://wordpress.org/plugins/gd-bbpress-tools/

    #153737
    Robkk
    Moderator

    install this code into your bp-custom.php or functions.php

    https://gist.github.com/imath/5a3c4ac645ec765863f2

    #153730
    hypnoscribe
    Participant

    I am using Thesis 2.1 theme and adding .css changes in the custom css section where all my other site customizations are.

    This is the info in the css crib :

    #bbpress-forums .submit {
    background-color: #a0668d;
    color: #FFFFFF;
    float: center;
    vertical-align: middle;
    border-radius: 10px;
    height: 35px;
    width: 80px;
    font-size: 18px;
    }

    But what i want to do is change all the submit buttons individually beacause .bbp_user_edit_submit button is not showing proprely.

    But i have yet to find the right path to change the submit buttons.

    Any help would be appreciated.

    Also, in the user edit section. When on profile, the avatar is grayed out. How can i fix this?

    And… how do i fix avatar size in topic section.

    Sorry for typo mistakes, im french canadian speaking.

    #153728
    atfpodcast
    Participant

    Is there a plugin that adds this? I would love to see this. I have the latest worpress (4.0) and bbpres(2.5.4)

    #153719
    Robin W
    Moderator

    my plugin

    bbp additional shortcodes

    creates that list

    either use the plugin, or crack the code open to see what parameters I set

    #153710

    In reply to: Problem with shortcode

    Robin W
    Moderator
    #153709

    In reply to: Problem with shortcode

    Harry1951
    Participant

    I didn’t change any code. I tried other themes but with always the same result.

    #153708

    In reply to: Problem with shortcode

    Robin W
    Moderator

    ok, by default bbpress shows this format

    La Vie En France (1, 0), Bouwen en verbouwen (1, 0),

    So you must have changed some code to get the display as per the permalink

    Can you explain what you have done so far, as it should show the same in both

    #153706
    tharsheblows
    Participant

    Hi – the 1000 posts thing is a known issue which will be fixed in 2.6.

    In the meantime do these two steps in order (but test them first! always test first):
    1. change this code: https://bbpress.trac.wordpress.org/ticket/2615
    2. run the “Recalculate the position of each reply” tool in Tools -> Forums

    Again, test it all first before doing it to your live site.

    Are you using bbPress 2.5.4? Prior to that, sending subscriptions was slowing things down, too.

    #153702

    In reply to: Problem with shortcode

    Harry1951
    Participant

    Herewith the link to the (test) website:
    http://test.chez-philipaud.nl

    In the menu choose for forum and you get the forum as it should be. This one is with the permalink.
    If you choose forum1 you get the output when using the shortcode.

    I hope that it helps to solve the problem.

Viewing 25 results - 10,301 through 10,325 (of 32,519 total)
Skip to toolbar