Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 3,976 through 4,000 (of 6,783 total)
  • Author
    Search Results
  • #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 😀

    Halo Diehard
    Participant

    Hello, thank you for creating this theme! I am trying to install it and have copied the “default” file into my theme’s root. Was I supposed to only copy the files inside the default file? I don’t see any difference in my bbPress look.

    Or is there somewhere on my dashboard I have to activate it?

    Thanks 🙂

    Shashank Shekhar
    Participant

    Hello,
    As per bbpress doc I found by default it uses page.php in wordpress theme to render all its contents. But since I have to use different template with a different sidebar and widgets I created forum.php copied from page.php in my wp-theme and luckily it worked. Dont know why its not mentioned in bbpress docs. Also, forums.php working fine, so I am in more doubt which file naming conventions is correct. Is it something missed to mention in bbpress docs? Please let me know.

    Further, for the bbpress user pages, like profile, edit profile, topic started etc. I need to use a custom template file in my theme. In bbpress templates as per documentation, I have checked all user templates inside are just contains the content part only not including header, footer, sidebar etc. And by default it also renders by page.php.

    How can I make a custom user template file other than page.php or forum.php which control all user related contents, so that I can have different template for forum or other pages?

    Suggestion:
    BBpress should have capability to use different template files for different kind of pages, or their should be settings in bbpress admin to select which template to use for what kind of pages.
    This is somewhat, wp-members, woocommerce and other plugins do for better integration in wordpress. These plugins have the ability to create different pages in admin editor having selected particular template to render and putting inside their shortcodes to render various types of contents. And also have the settings in their admin to set different pages/template for different stuff.

    Please let me know if this possible with bbpress 2.2.4 with wp 3.5.1 currently.
    If not possible please let me know how I can achieve the effect, with some sample custom code hints. Currently I dont need help to create bbpress admin side settings dropdown etc., becoz these are the thing I mentioned as suggestions to make bbpress better theme compatible.
    Right now, just need help how to use different template for user pages than other forum pages.


    Thanks
    Shashank

    #126023
    poorgeek
    Participant

    WP: 3.5.1, bbPress: 2.2.4

    From the documentation I can tell that the ‘Auto Role’ applies the default user role to new user accounts. However since ‘Auto Role’ is not turned on by default I’m curious what the default behavior is? Or more importantly, why isn’t ‘Auto Role’ enabled by default?

    Thanks,
    -j

    #125978
    Shashank Shekhar
    Participant

    Thanks for replying Shane! Me replying as per your points below:
    1) Yes I know manipulating sidebar is out of bbpress, but the templating of bbpress pages is within the scope. And so for the same, I already stated that I have used forum.php (just by luck it worked, where I used a different sidebar, and it accepted it instead of page.php). I just needed to know am I did the right template (forum.php, forums.php), since no where its documented to use a custom template for bbpress pages.

    2) I have stated that I have used twenty-twelve with very little customization. BBpress user pages should work as forum pages accomodating in it. Its not possible to easily do it, just one trick that I already explained is to forciby display:none the sidebar, and make primary area wider with !important. But this is not good in the case if I need sidebar on this page, or in the case to remove sidebar rather than just hiding it from visibility.
    This issue is not exactly theme specific as I already posted a link where other users facing it too. The thing is just little incompatibility of bbpress user pages with several themes.

    3) Yes I can use the template, but I didn’t find any template which wrapping up all the user pages like profile, edit-profile, topic started, replies created, etc. There are several files inside bbpress templates, but none are there which include header, footer, sidebar tags in them; they just have the inside-content portion. For templating user pages I need a custom template which it is by default taking page.php and now forum.php which I luckily made. So, let me know which file should I create inside my theme which wrap all user pages and other pages already working with custom forum.php made. I asked for the possibility of using two or templates for bbpress forum and user pages, rather than all falling on page.php, as per bbpress documentation.

    Further surely I asking for the help from bbpress authors and users, and just expecting to fix the things if they are the issue, or let me know the solution if exists which can help other users too.
    Also, I am also acting as a little volunteer, done some research and so stated how I was trying to fix and what ways solved my problem somewhat. And also posted some deficiencies of bbpress which if solved, make it more better. And I will surely post fixes if I get myself.

    So I hope my issues are more clear now, hope I will get better answer from someone.

    Thanks.

    #125968
    unimatrix
    Participant

    This is with bbpress 2.2.4. If I switch to default settings under permalinks, all is well. I want to use Day and Name option, but when I do this I notice that attempting to go to a sub forum under a category would return a file not found error.

    So I looked at the URL’s and I am getting:

    http://mysite.com/site-forums/site-forum/support/bug-reports/

    However when I delete the /support from the URL string and use this:

    http://mysite.com/site-forums/site-forum/bug-reports/

    Everything works and the correct forum is displayed. Is there somewhere I can edit that will take the forum parent topic out of the sub-forum’s URL?

    #125967
    Erlend
    Participant

    I’m not asking for something that’ll work out of the box. Some pointers on what pieces of code to look at to have a go at this ourselves would go a really long way. Same goes for excluding forums and topics from default index.

    Unsal Korkmaz
    Participant

    FirmaSite Social

    How to download:

    http://wordpress.org/extend/themes/firmasite

    Theme Features:

    • Its GPL and free :)
    • Based on Twitter Bootstrap  and all WordPress, BuddyPress and bbPress files using only bootstrap css. That means you can use custom bootstrap styles and all of your site will use same theme style. There is already 13 custom bootstrap theme is included in theme from Bootswatch. In future, i will explain how you can add custom bootstrap styles
    • Using Bootstrap Responsive so all your site will be mobile ready. BuddyPress and bbPRess too!
    • Using Theme Customization API for theme options. It means you can see changes on live edit and you can easily extend options with wordpress functions directly. A video on action: http://youtu.be/F95TngS9er8  (Its a bit old version of theme but a good example for main theme options)
    • Google Fonts! lots of! You can choose google fonts from theme options ( watch example video from above)
    • 4 different layout:
    1. Content – Sidebar
    2. Sidebar – Content
    3. Only Content (Long)
    4. Only Content (Short)
    • Unique 2 feature: ShowCase and PromotionBar. ShowCase letting you show your special post in home page header like: http://twitter.github.com/bootstrap/examples/carousel.html and PromotionBar is letting you promote your posts in content header, footer or sidebar. You just marking your posts from your post panel. Both feature is using Bootstrap’s carousel component so there is no extra  javascript. An example post panel screenshot:
    • You can upload logo,disable comments, activate facebook comments, activate sharing buttons (facebook,twitter and google+1), upload custom background and option to remove responsive for fixed width if you want.
    • Supporting Post Formats! Formats have special template parts with get_template_part  and video,audio formats calling necessary js that need to play video or audios. System supporting oEmbed links too.
    • Ready for translation. Theme’s default language is English and Turkish translation is included. ( You can send me your translations if you have). You can use Codestyling Localization for translating theme.
    • I will add lots of filter and action (already have lots of) so you can use it as starter theme for your projects. I will explain how you can keep your customization while keeping theme up-to-date.

    Themes are in review for publishing on WordPress.Org Theme  Directory but in meantime, you can download and try it from links above. Please share your opinions on theme in this topic.

    #125901
    aberglas
    Participant

    You say “Capabilities are saved in the database, per user, per site”. That is clearly NOT the (normal) case. The wp_usermeta table wp_2_capabilities row stores ROLES, not capabilities. Those roles appear to index into the wp_2_options tble row wp_2_user_roles row which contains a list of capabilities.

    I have no idea what “Dynamic” roles are nor why bbpress contains a vast amount of capability fidling code, including no less than three files called capability.php. If someone could explain it in terms of actual table rows and colums that might help.

    I want a simple setup where Authors can access Private forums but only in the site which they are an Author. The simple coupled set up that JJJ says is too simplistic. But now it cannot be done at all?

    By default private sites are hidden to users. There is a weird “Auto Role” option that can adds bbp_participant to all users. But that means that users get access to all forums on all sites. Is that the “Dynamic role” feature?

    So turn that off. Try to add bbp_participant role explicitly using action ‘add_user_to_blog’
    $user->add_role(“bbp_participant”);
    However, that failed to add the user. WordPress really only supports one role per user, certainly set_role() only accepts a single role and purges any others. So I think something is resetting it.

    Then I try simply
    get_role( ‘author’ )->add_cap( ‘read_private_topics’ ); // for bbpress.
    That successfully updates the database (wp_2_user_roles), but has no effect on bbpress. I suspect because one of the capability.php files in bbpress has
    case bbp_get_spectator_role() … ‘read_hidden_forums’ => false,
    rather than just leaving it out. So capabilities do not merge properly between roles.

    I am new to WordPress/bbPress, and having spent many hours in this mess am getting very frustrated. How hard can it be? Users/Roles/Capabilities.

    Anthony

    #125893
    aberglas
    Participant

    The title says it. I have mutliple sites, and I need users that are registered to a site to be able to participate in the private forums of just that site. The problem seems to be bbPress’s totally confused capability model.

    By default private sites are hidden to users. There is a weird “Auto Role” option that can adds bbp_participant to all users. But that means that users get access to all forums on all sites.

    So turn that off. Try to add bbp_participant role explicitly using action ‘add_user_to_blog’
    $user->add_role(“bbp_participant”);
    However, that failed to add the user. WordPress really only supports one role per user, certainly set_role only accepts a single role and purges any others. So I think something is resetting it.

    Then I try simply
    get_role( ‘author’ )->add_cap( ‘read_private_topics’ ); // for bbpress.
    That successfully updates the database, but has no effect on bbpress. I suspect because one of the three(!) capability.php files in bbpress has
    case bbp_get_spectator_role() … ‘read_hidden_forums’ => false,
    rather than just leaving it out. So capabilities do not merge properly between roles.

    There is something called Dynamic roles whatever they might be.

    Maybe I need to abandon capabilities altogether and hook somewhere else? Maybe one of the numerous plugins works multisite?

    Regards,

    Anthony

    #125877
    matrixd
    Participant

    Thanks JJJ that was it! The most common mistake!

    I was already update wordpress, buddypress, bbpress and my plugins, and then I follow these steps:

    1. I deactivate every plugin, except Buddypress and BBpress,

    2. I change my theme to the default buddypress theme, (without 082net’s fix on my function.php),

    3. I run the Tools > Forums > Remap existing users to default forum roles

    4. I change moderator users to moderator role, and then everything works! The moderator has his privileges and everyone can see my forums!

    5. Then  I change back to my child theme (still working without 082net’s fix on my function.php),

    6. and starting activate my plugins one by one, while I was checking if everything works.

    At the end, my upgrade forums works fine and the moderators too has there privileges.

    My installation is now:

    WP Multisite 3.5.1 (was 3.4.2)

    Buddypress 1.6.4 (was 1.6.1)

    BBpress 2.2.4 (was 2.1.2)

    +420k posts, 11k members

    Thanks for your help and for your time!

     

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