Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for '+.+default+.+'

Viewing 25 results - 3,976 through 4,000 (of 6,794 total)
  • Author
    Search Results
  • #126642
    moonoi
    Participant

    I’m no expert on bbpress theming, but I got it working on my site.

    The bbpress theme files are in the `bbpress/templates/default` folder.

    Whatever you copy from this core bbp theme folder into your own theme folder will override the core bbp theme files. (I think).

    Probably someone more knowing about bbpress theming should help you out further, but until then, I hope I might have gotten you going again.

    This is a nice guide to what the individual theme files actually do:
    http://perishablepress.com/bbpress-theme-template-files/

    #126603
    Pieterp
    Participant

    Hey all

    I’m running bbpress with wordpress, WPML, buddypress and the buddybosstheme. I have three fora with three subfora each, two fora and their subfora are translations of the default EN fora and subfora respectively.

    When I want to create a new topic in NL or FR, these are posted under the default langguage and do not show up in the list of topics of the subforum.
    Changing the language in the backend to the correct one does make them show up. If you view a topic you can’t see the actual content.
    Same thing for replies. Replies don’t show up, even if you change the language.

    Could anyone point me in the right direction?

    Thanks in advance

    Pieter

    #126567

    In reply to: Where to edit textarea

    moonoi
    Participant

    It is in the template files `form_reply.php` and `form_topic.php`

    The line that calls the WP_Editor class to create the textarea using the relatively new WordPress core front end editor is this one:

    `bbp_the_content( array(‘context’ => ‘reply’)`

    You can look into the `bbp_the_content` function to see how BBP does it and how you can circumvent default behaviour.

    Notice that this line only applies if the fancy editor is enabled for the current user*. Otherwise the template file falls back to display the classical textarea (which is also the one used in this forum).

    *) It seems there’s a bug in BBP 2.2.4 making the fancy editor available only to the keymaster. This can be overridden in the code of course.

    #126533
    FlipFlop
    Participant

    Thanks for this guys, fantastic stuff. Should be included by default.

    #126527
    Cask
    Participant

    I would like to be able to create custom user roles for bbpress

    We have a premium membership feature for the communities with our organisation and one of the things I would like to do is to be able to create a custom user role for the communities who have paid for premium without screwing up future upgrades as indicated in this post.

    By default, when a user creates a group you are automatically granted with powers to create forums. There is an option to turn this off but that would make my intended function redundant. I would like to have it so that by default you can’t create forums unless you have paid for premium. FYI, we do not have site-wide forums activated, only group forums.

    Is it possible to create a user role for each community, with subset permissions to be able to have a keymaster, moderator, participant etc. for their own group forums?

    On a side note, I cant seem to be able to change the group forums from fixed to liquid… any ideas how I can do this?

    #126525
    oneshortleg
    Participant

    I installed bbpress on my wordpress site. It is a new site, I have no other plugins installed. It still have the default 2012 theme.

    I can access the forum menus from the dashboard, and I’ve created a few forums. If I click “view” in the list of forums from the dashboard, I can see them.

    However, when I go to see my web page, there is no option on the navigation menu for the forums. There is just “Home”, “Blog”, and one other page I already created.

    How is one visiting the site supposed to find the forums?

    I tried Simple Press briefly and it just created it’s own page and a menu link. I also tried Mingle, and for that I needed to create a page on the navigation menu for it before I did the install. What do I need to do for bbpress?

    Thanks

    #126503
    Mitesh Patel
    Participant

    @pjtna and @sambora5150 : Lucky, you guys found me, (or viceversa :))

    I was looking to do exactly that. So here it is.

    The code should go in bbpress template file loop-single-reply.php, below the PHP code line that contains. The file is located in plugins > bbpress > templates > default > bbpress folder.

    `do_action( ‘bbp_theme_before_reply_author_admin_details’ )`
    Th actual code should be,
    `
    $user = get_userdata( bbp_get_reply_author_id() );
    if ( !empty( $user->user_nicename ) ) {
    $user_nicename = $user->user_nicename;
    echo “@”.$user_nicename;
    }
    `

    But you should never edit that file, as the changes will be lost when you upgrade bbpress plugin.

    So, copy the file and put it in your theme within a folder ‘bbpress’ (you will have to create that folder).

    You will also need to add the following line to your theme’s function.php

    add_theme_support(‘bbpress’);

    OR untested but simple method, add all of the following to the function.php of your theme.

    `function append_mention(){
    $user = get_userdata( bbp_get_reply_author_id() );
    if ( !empty( $user->user_nicename ) ) {
    $user_nicename = $user->user_nicename;
    echo “@”.$user_nicename;
    }
    }

    add_action(bbp_theme_before_reply_author_admin_details, append_mention);`

    #126479

    In reply to: Forum Categories

    Stephen Edgar
    Keymaster

    For the first part of your question this is what bbPress does for ‘forum’ parents and should work fine, maybe some more tips from here will help.

    The second part regarding ‘section titles’ this is planned for a future release but for now you can use @lynq’s solution here.

    Lastly you would have to customize the \templates\default\bbpress\form-user-register.php template: https://codex.bbpress.org/theme-compatibility/

    #126443
    Roman
    Participant

    Unfortunately looks like this is impossible in the default version.
    I need this too but I have not found any decision. And seems that the developers do not make any steps in this direction, so that hardly expect it soon. Use built-in Buddypress group forums are now the only solution.
    I will be very happy to know that I was wrong!)

    #126415
    nirzol
    Participant

    Thx Garindan šŸ˜€ ! I do it like that for the moment. But is not good to modify core :/

    Hope a nice solution will be find to that….

    or a solution for shortcode work with the default page forums ?

    thx

    #126396
    Kevin M. Schafer
    Participant

    @josefabiosanĀ @judsonlmoore

    Could you, or anyone, please give a more clear solution to this problem when you say you created a new page? I created a site within BP this morning and everything was fine, but I then enabled site-wide forums and maybe, maybe not, is when I started getting the capabilities error on line 453. I had to create a new page for “forums” because I didn’t change the default “forums” slug. I assigned my new page and that part works fine, in fact, the forums work great. I’m just getting this capabilities error when I try to create a site from within BP. Any help would be apprecaited.

    Thanks,

    Kevin

    #126384
    zilveer
    Participant

    @pantheism: you need to go to your file located at:

    http://pantheismnow.org/wp-content/plugins/bbpress/templates/default/css/bbpress.css?ver=2.2.4

    And after that change the line 28:

    background-color:Ā #FBFBFB;

    to whatever you want for the background color.

    Have you worked with CSS before?

    You can change the font family at line 14 located in the file:
    http://pantheismnow.org/wp-content/themes/autumn-almanac/style.css

    You are using “Trebuchet MS” for the moment.

    #126312

    In reply to: Only Visual editor?

    Use a filter instead of hacking bbPress core, that way you don’t lose your work when a new update comes out.

    In this case look at the `bbp_get_the_content()` function in `includes/common/template-tags.php`. You can use `bbp_parse_args()` to filter all the default values šŸ™‚

    It’s a bit more complicated than a filter toggle IĀ believe.

    Check outĀ https://codex.wordpress.org/Roles_and_Capabilities

    By default only Author roles and above have the ability to upload files, and that’s for security reasons so that’s probably a good thing.

    You can tweak your roles to change the ability to upload files, but at the moment it’s a little messy. Another issue is if you want to let all your users upload files.

    If you are just looking for images there is a bbPress attachment plugin in the .org repo that can handle that without having to mess with all the user stuff.

    #126307
    aberglas
    Participant

    I ended up getting
    $user = get_userdata( $user_id );
    $user->add_role(ā€œbbp_participantā€);
    to work. (I had been using the wrong method to get the $user.)

    But it is still messy. And @moonoi points out this will be lost whenever the UI is used, due to the set_role bug.

    get_role( ā€˜author’ )->add_cap( ā€˜read_private_topics’ );
    Still does not work, although it should. It would be a better solution for me because like 90% of sites I only actually need one role per user.

    It would be good to fix WP in this regard, and then remove the mess from bbPress. Or in the meantime just make BBPress work like everything else. Mucking about with roles is an orthogonal problem.


    @Moonoi
    I have not played with the Members Plugin, but WP by default does NOT store capabilities against users. It stores Roles agains users, and capabilities against Roles, at least by default.

    Anthony

    moonoi
    Participant

    Ok, so I fixed half of this problem. Turns out that somewhere, someone has made the bbP function that checks if the wp_editor should be used return false, if the user is not “keymaster”.

    Since I have no idea where or why this happens, I’ve overridden it by inserting this in my theme (maybe someone else has the same problem):
    `
    add_filter(‘bbp_use_wp_editor’, ‘ml_allow_wp_editor’, 1000, 2);
    function ml_allow_wp_editor($value, $default) {
    return true;
    }
    `

    The “participant” users still get an error, when they try to upload a file. I hope someone who knows the inner workings of bbP can help.

    Thanks!

    #126267

    In reply to: bbPress 2.2.4 Released

    hatherley
    Participant

    Still, my music forum is still only capable of using BBpressĀ 2.1.2 – The “Automatically assign default role to new, registered users upon visiting the site.” doesn’t seem to work for me. My newly registered users cant use the forum if I update šŸ™

    #126230
    raminkhan
    Participant

    okay guys please visit this site so you would understand what I want to talk about here. what I want to do is to add a column right next to my forum list and before the buddypress default theme sidebar. and I want to include pictures inside that column is there a way to do this? now this might sacrifice some of the width with forum list column but that is fine that’s actually what I need. because I want to add some excitement to the site instead of just a white page with a forum. basically I need web design help please any ideas is welcome.

    my site: http://schoolruled.com/

    #126222
    Darren1981
    Participant

    Hey all,

    How would one go about extending the default BBpress post editor ? I would like my users to be able to add images and links.. the current editor seems very basic (I am using the latest version of BBpress)..

    Even the editor used here on bbpress.org is much better than the default one.

    Thanks in advanced for any assistance on this matter.

    Regards, Darren

    #126210
    Anonymous User 7670885
    Inactive

    Eg: no captha, no wordpress plugin include! I think it work in different mode or with different class… Is there any way to change this? 😐

    #126191
    Lynq
    Participant

    Inside the bbPress plugin is a folder called: \wp-content\plugins\bbpress\templates\default – if you add this into your current theme then you can edit this file to customize it.

    #126158
    Shane Gowland
    Participant

    The ‘participant’ role is one of WordPress’ user roles. bbPress assigns the bbp_participant role, which makes me think there is something else going on here. Are you running any other plugins or custom functions?

    Perhaps you could use something like Multisite User Management to set ‘no role’ as the default across the network. You might need to make some code changes to it though.

    What does your add_user() function look like? It sounds like this could be resolved by wrapping your code in a !is_admin() conditional.

    #126157
    sontru
    Participant

    You misunderstand – I don’t want network users to be added as a participant! (The bug is that bbPress does this even, at installation/activation, the default option says not too!)

    The second bug is a bigger problem here, as there is no work-around except disabling bbPress!

    (I did see your plugin and article before posting, and thought the code had been absorbed into bbPress, but obviously not. If the feature is already present, why write this plugin?)

    sontru
    Participant

    If bbPress is running on a WordPress Multisite subdomain, then it seems to be adding network users who visit a sub site to the sub site’s users as participants – this includes the super-admin!

    Activate bbPress plugin on a subdomain and ths default setting is unchecked:

    `
    Auto role | Automatically assign default role to new, registered users upon visiting the site.
    `

    Visit the sub site as any network user, and they are added as a participant! Only after checking the Auto role option, saving and unchecking it and saving again, does this work as intended.

    The second bug is a major one and can only be stopped by deactivating bbPress!

    I am writing a plugin which creates users and adds them to blogs. I am using the add_user_to_blog* function and each time I call it with bbPress activated, it adds the admin user who is calling the function to ALL blogs as a participant! If I go into a subdomain as a admin user of that site, this admin user is not listed (even in subdomain who have bbPress enabled), but I as this admin can see all sites are listed in my Sites drop down. I manually look into the database and see in the wp_usermeta table that this user has capabilities and level (of 0) entries for all blogs!

    Of course if I deactivate bbPress and call up the add_user_to_blog, everything works as expected, and the user calling up the function does not get added as a participant to ALL the sub sites! I think there is some sort of filter that bbPress is applying that is causing this.

    Could someone look at this and see if they can replicate it and fix it?

    Halo Diehard
    Participant

    Copy all the files to your themes root directory and it should look something like this:

    /wp-content/themes/my-theme/bbpress-functions.php
    /wp-content/themes/my-theme/bbpress
    /wp-content/themes/my-theme/css

    (Where ā€˜my-theme’ is the name of your theme, there is nothing you need to activate.)

    Now I am *really* confused! Because the file I downloaded for this theme is called “default”, and none of those files are in it šŸ˜€

Viewing 25 results - 3,976 through 4,000 (of 6,794 total)
Skip to toolbar