Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 15,251 through 15,275 (of 64,515 total)
  • Author
    Search Results
  • #162498
    Robkk
    Moderator

    Plus i basically just got this code from here

    Resizing Avatars

    #162495
    Robkk
    Moderator

    use this PHP function to resize the small avatars

    function my_bbp_change_avatar_size($author_avatar, $topic_id, $size) {
        $author_avatar = '';
        if ($size == 14) {
            $size = 24;
        }
        $topic_id = bbp_get_topic_id( $topic_id );
        if ( !empty( $topic_id ) ) {
            if ( !bbp_is_topic_anonymous( $topic_id ) ) {
                $author_avatar = get_avatar( bbp_get_topic_author_id( $topic_id ), $size );
            } else {
                $author_avatar = get_avatar( get_post_meta( $topic_id, '_bbp_anonymous_email', true ), $size );
            }
        }
        return $author_avatar;
    }
    
    /* Add priority (default=10) and number of arguments */
    add_filter('bbp_get_topic_author_avatar', 'my_bbp_change_avatar_size', 20, 3);
    add_filter('bbp_get_reply_author_avatar', 'my_bbp_change_avatar_size', 20, 3);

    The CSS you would have to use now is

    #bbpress-forums .bbp-author-avatar .avatar-24 {
      width: 24px !important;
      height: 24px !important;
      padding: 0 !important;
      border: none !important;
    }

    and you can remove the first function i gave you to test with

    Robkk
    Moderator

    Well the file you are suppose to copy and create a bbpress.php file from is index.php

    And although putting the forum index shortcode in a page is “easier” in a sense , you will still come up with issues just like you are going through. This is why I have been editing the Codex for the last few days to hopefully fix these issues that users might come across.

    As for that weird wp tweaks issue you have , I do not know how to fix that. if you are only using that plugin just for a bbPress specific sidebar there are better plugins than that one.

    And it is not hard to manually create a bbPress specific sidebar too.

    Thanks so much – although I am wondering if it is going to solve my problem (but please do!)

    it might help a little, there is a bunch of post meta that you would have to remove for it to look correct.

    You can also contact me later today through email, if you need help during the process.

    Contact

    #162491
    Robkk
    Moderator
    #bbpress-forums .bbp-author-avatar .avatar-14 {
      width: 24px;
      height: 24px;
      padding: 0;
      border: none;
    }

    if that does not work try this

    #bbpress-forums .bbp-author-avatar .avatar-14 {
      width: 24px !important;
      height: 24px !important;
      padding: 0 !important;
      border: none !important;
    }
    #162489
    Robkk
    Moderator

    try this CSS code and hopefully this fixes your issue.

    it looks too small at 14px so i bumped it up to 24px , you can change that back to 14 if you want.

    #bbpress-forums img .avatar-14 {
      height: 24px;
      width: 24px;
      padding: 0;
      border: none;
    }
    aaronos
    Participant

    Thanks so much – although I am wondering if it is going to solve my problem (but please do!)

    The reason I say that is….

    I downloaded ‘What the File plug in’ and looked at the forums page that isnt working (the default page). It ‘was’ using ‘index.php’ where as the page I built that does work uses ‘page.php’

    So then I used ‘bbPRess wp tweaks to tell it to use ‘page.php’ for the non-working forums page

    And now when I go to the non-working forums page, What That file tells me I am using ‘pages.php’ (same template that works on the other page) but as you can probably guess it still doesnt render!

    It’s like listify is telling it to ignore whatever page I choose and just ‘don’t render it correctly!’

    Another ‘not so good’ solution would be just to remove ‘forums’ from that path directory, or that entire directory (but I dont know if that can be done). While it reduce navigation for the site, at least it would remove a bogus link that doesnt work

    Robkk
    Moderator

    @aaronos

    I will edit the guide again to show how a generic template for bbPress should look later today.

    did you use the What the File plugin and just get nothing??

    aaronos
    Participant

    i did – thanks. my problem is there isn’t any page theme/template in listify that works at all. I don’t have the skill base to write a page that would work from scratch, and it’s not like there is a listify template that is ‘almost’ working that I can modify.

    Quite possibly a dumb question (apologies in advance) but is there such a thing as a dummy/generic bbpress template that I could upload that would work, and then I could modify it to look a bit more like my themes?

    #162482
    aaronos
    Participant

    I have a very similar problem and I must admit I have posted it as a seperate topic, but you guys seem so close to the problem (and solving it) that I trust it’s ok to post here as well.

    I am using the Listify Theme and there does not fundamentally seem to be a default template that will work with bbpress. No matter what template I choose and copy as the plugin-bbpress.php template for example – it won’t work. Here’s an example of the page not working – http://tattsamistake.com/forums/

    So….I built a custom page and put the shortcode in it – and the page works. BUT when I click thru to a forum, I get my navigation path which links to the forums page that doesnt work – ie the path shown is … Tattoo Removal Australia › Forums › Tattoo Removal

    and if i click on ‘forums’ it goes to the non-working page – http://tattsamistake.com/forums/

    BUT if i go and change the slug from ‘forums’ to ‘Tattoo-forum’ (the customised page that does work) it goes and applies a non-working template to that page, so in effect killing the page.

    I guess to solve it I need the following…

    1. A way to tell it where the forum short-code is without over-writing the page template
    2. This may sound very silly but is there such a think as a generic bbpress.php template that I can use and upload to my site? Sure it won’t look like my site, but it would be a starting block.
    3. Can I just get rid of ‘forums’ in that path, or at a pinch just get rid of that path from displaying completely?

    Any help much appreciated!

    Robkk
    Moderator
    aaronos
    Participant

    I am using the Listify theme at http://tattsamistake.com

    For some reason none of the page themes will work with bbpress (if I am wrong would love to know!)

    So I followed the instructions on building a new page and adding the forums short-code to it. Even then it isn’t ideal but it will just about do – you can see it at http://tattsamistake.com/tattoo-forum/

    If I click on any forum I then get presented with a directory ‘path’ to go back one page ie – Tattoo Removal Australia › Forums › Caring for Tattoos

    The problem is – if I click on ‘Forums’ I go to the ‘default’ forums page that doesn’t work, rather than the new forums page that I built (that mostly works)

    If I go to settings and change the name ‘forums’ to the same name as my custom-made forums page, it then overwrites my page template choice with the template that doesn’t work for forums – so it breaks the page

    So in short – how can I get that ‘path’ Tattoo Removal Australia › Forums › Caring for Tattoos

    to point to my working forums page, rather than a non-working forums page?

    Hope this makes sense!

    Robkk
    Moderator

    If they get the keymaster role make sure you disable registration til you get this fixed.

    can you please answer these questions so i can narrow down what the issue might be??

    has this issue always been there when you first installed bbPress?
    did you import any forums and this issues has started?
    did you install any plugins that modify s the capabilities of users?
    is your default WordPress role for registration a subscriber in settings>general?
    have you had a large amount of spam lately?
    have you had any security issues lately?

    Right now i cant tell what what causing the issue?? It is either some capability plugin settings that are messed up , or that you have been hacked??

    Robkk
    Moderator

    How do your users register through your site?? Do they use the normal WordPress login forms, or do you use the bbPress shortcodes , or something different??

    Also do you have multi-site??

    Robkk
    Moderator

    well okay did you just change a users bbPress role from something to another but in your database it keeps the original role>>

    do you have any steps for me to recreate the issue??

    caniwigirl
    Participant

    Nice to see that other people would like to see this as part of the standard set-up as @roberts-1 says… I am running the same versions using Momizat’s ‘Goodnews’ theme

    I’ve just tried @undergroundnetwork ‘s code and it works great for me as an admin… but for some reason, the other users with lower levels of access, don’t get the same result – they only get WordPress results, none from bbPress.

    Any ideas why? I’d really like to just have one search that does it all instead of one for forums and another for blogs etc.

    Cheers

    #162461
    Robkk
    Moderator

    Hi, im having this weird issue where the members of my site copy an image on their desktop and paste it on the bbpress text box.

    This is not an issue with bbPress , it is expected for it not to work since the url of the image is from the users computer.

    Just give your users a place to insert images from the users computer correctly.

    There are two plugins which you can use.

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

    and this if you have BuddyPress installed and do not mind the visual editor being activated in bbPress. this plugin also allows inline image uploading.

    https://wordpress.org/plugins/bp-forum-editor/

    #162456
    Hunniemaid
    Participant

    Where should I place this code? single-post-reply.php? Sorry, new to bbPress. Thank you for the response.

    jonotrain
    Participant

    Problem solved. These are the lines I had to add:

    #bbpress-forums #bbp-search-form #bbp_search {
    display: inline-block;
    width: auto;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    height:12px;
    line-height:12px;
    margin-top:2px;
    }

    #bbpress-forums #bbp-search-form #bbp_search_submit {
    height:10px;
    line-height: 10px;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    }
    @-moz-document url-prefix() {
    #bbpress-forums #bbp-search-form #bbp_search {
    height:14px;
    line-height:14px;
    }
    #bbpress-forums #bbp-search-form #bbp_search_submit {
    height:10px;
    line-height: 10px;
    }
    }
    #bbpress-forums div.bbp-search-form {
    height:20px;
    float: right;
    }

    jonotrain
    Participant

    Update: I figured out that I needed to be editing the bbpress.css file in my bbpress folder, and that I needed to edit the following definitions:

    #bbpress-forums #bbp-search-form #bbp_search {
    display: inline-block;
    width: auto;
    }

    #bbpress-forums #bbp-search-form #bbp_search_submit {
    }

    However, if I add “height:15px;” to both entries the result is that the boxes become smaller but the “Search” text in the button is cut-off completely, instead of re-positioning and/or resizing. If there is a way to reposition/resize the text it will work.

    #162453
    Emineminero
    Participant

    Hi, im having this weird issue where the members of my site copy an image on their desktop and paste it on the bbpress text box.
    I really dont know how to be more specific, people open a picture with the Windows Photo Viewer and do right click on the picture, then Copy it and then go to my forum and paste it.
    I tried doing it and the thing is that the image looks like its really there, but when you click “publish” that image transforms to the “url” where it was on the member computer (c:users/desktop/blabla.png).
    Is there any way so i can disable this bug(?) or whatever this is?
    I thought of disabling copy and pasting with javascript, but i prefer not to do it, i will lose more than i’ll win

    RobertL4807
    Participant

    I see the profile page of bbPress combined with BuddyPress has a “friends” tab, but is there anyway or any plugin to have a “follow” feature that shows who you follow and who follows you?
    As a feature, you would get email updates on who you follow.

    #162439
    peter-hamilton
    Participant

    Like it, at first loved the slow/lazy loading effect but find it too much for all pages, perhaps on activity and feed page remove the lazyload.

    For the rest an awesome theme

    P.H.
    http://www.onijn.com, my BBPress theme

    #162437
    Robkk
    Moderator

    Thanks @robkk, my bigger interest is having the reply-to author populate in the text box. That would be awesome so the notifications can be triggered. I am leery about posting jobs on there, I get a ton of spam when I have done so in the past.

    Yeah it would be awesome , all i can do is reccommend extending the feature of @mentions when bbPress adds its own.

    As for the spam maybe i shouldn’t reccommend that site anymore?? But you know what i meant though you can go to any freelance website you can find that has users experienced with WordPRess and bbPress.

    #162436
    Robkk
    Moderator
    #bbpress-forums .bbp-body .reply {
      background: #f5f5f5;
    }
    #162434
    Robkk
    Moderator

    @juggledad

    @robkk: Just to clarify something, the OR function_exists(‘is_bbpress’) was added (with some other code, to get around a bug that bbpress doesn’t seem to want to acknowledge or fix. see https://bbpress.trac.wordpress.org/ticket/2723

    Thanks for pointing that out, i did not know about that bug.

    Okay with this bug in bbPress you cannot use the WP conditional is_single() to affect all of the bbPress pages, since for some reason there is a bug for single user pages.Thanks for creating the trac ticket, I tested out and see that yes it does not work on user pages. Over the next few days/week i will check it out and see I can come up with a fix.

    But this bug is easily avoidable by creating a bbpress.php for your theme and just using the_content() instead of bfa_post_bodycopy() and removing OR function_exists('is_bbpress') from the bfa_post_bodycopy() function. The bbpress.php file also helps remove other post meta that might not be useful for bbPress forums instead of using CSS to hide them.

    The OR function_exists('is_bbpress') you can keep in bfa_get_options.php though as i do not see any problems with that.

    If there is something you can find on your end to fix the issue with your theme and bbPress then please drop an answer on this topic, because i haven’t looked and learned your theme 100% yet. Removing the function exists and creating a bbpress.php is the quickest solution to the problem that I could find.


    @kitfreeman

    This excerpt issue that you are seeing affects all of these areas

    category pages
    tag pages
    author pages
    archive pages
    search result pages
    and the home page

    which is where all the excerpt theme settings modify.

Viewing 25 results - 15,251 through 15,275 (of 64,515 total)
Skip to toolbar