Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 4,301 through 4,325 (of 6,788 total)
  • Author
    Search Results
  • #117487
    synergywp1
    Member

    Hi, I can help you with this. I am doing the same and needed to figure it out as well. Hopefully they’ll add this in updated versions… Seems like a basic feature that can add awesome visual option via CSS. Anyways, I will assume you know a bit of CSS. For the PHP, I recommend that you create a folder “bbpress” inside your WP theme folder, i.e. wp-content/themes/yourtheme/bbpress Then go to /plugins/bbpress/bbp-theme-compat/bbpress and copy/paste the file “loop-single-reply.php” to your newly created bbpress folder from above. What this does is now make bbPress use that file instead of the default one. Now you can make changes to it and not worry about updates to bbPress overwriting your changes. On line ~ 30, you’ll see an opening DIV with id=”post-*some php”…

    On the next line, enter this:

    $reply_id = bbp_get_reply_id( $reply_id );
    $abc_role = bbp_get_user_display_role( bbp_get_reply_author_id( $reply_id ) );

    Then the next line that’s already there should be:

    div class="bbp-reply-author"

    Turn it into this:

    div class="bbp-reply-author ?php echo $abc_role ?>"

    Add the bracket < before the first ?php in that above statment… I dont know why its not letting me show it.

    And there you have it. The CSS class name will now contain the verbatim user role… This means that "Key Master" will actually be in the class.. No problem, just use:

    div.Key { color: #abc }

    to target the admin. Sure, “Master” will be in there but, but it’ll be taken as 2 different classes, “Key” and “Master”. With additional pvp, you could turn it into “keymaster” but its not necessary for 99.9% of applications and would just run more PHP. I’m literally doing this right now, so i havent checked other template files, but it’s the same thing.. So for instance, if you want to change the css in the index for only admins, to have lets say a special color link, find the template file that displays the index, add that same snippet in, and it will work the same. have fun. 🙂

    #117479
    Garindan
    Participant

    Hi, please forgive me if I’m being stupid. I’m a bbpress newbie and just set up my first forum.

    All is looking good. Except when I log out it takes me to the default wordpress login page. Is this default behaviour?

    It’s a commercial site so I don’t want users to see the wordpress login at all if possible. Can I have it redirect to a page when logging out? e.g. back to the page they came from, or the site/forum home page?

    Many thanks for any help!

    #117466
    Garindan
    Participant

    I have the same problem. The forums base slug is ‘forums’ as default and so is my page, but my custom WP page is not taking precedence. The bbpress one is, which is causing problems as I can’t set page options, sidebar etc etc. Any idea’s?

    #117437
    maf2874
    Participant

    hi – using wp 3.3.1 BBP – 2.0.2 i’m running into problems when editing replies. when i save it loses it’s parent association as the content of the TOPIC pulldown field usually says (no topic) –

    enter image description here

    we have many many topics but they dont default when in the edit screen.
    is this a BBPress bug and/or has this been fixed in the newer releases?

    (i believe we lose the original author reference also.)

    thanks!

    #117390
    Alex
    Participant

    Hi,

    I now this discussion is existing already in a lot of other topics.
    Unfortunately all of the topics are 2-5 years old, most of the pastebin-links are not working anymore and besides this even the structure and the names like front-page.php are not the same anymore like in the old topics.

    I don’t want to show on the frontpage the whole tree of forums, sub-forums and sub-sub-forums.
    Just one level at the same time and when going one level deeper then also only one level.
    I have read already nearly all topics about this on bbpress.org and on Google but as I said there is nothing up to date.

    So: I am using WordPress 3.4.1 with the Skeleton theme and bbPress 2.1.2 and the default theme bbp-theme-compat.

    In which file or files do I have to change what to hide the sub-forums at least from the frontpage or even better at every hierarchy-level?

    Thanks!

    #117381
    Roger Coathup
    Participant

    How can I distinguish between the original post and replies, when viewing a topic?

    The default template setup (single-topic.php) displays both the original post and the replies using a single loop (loop-replies.php).

    Is there an alternative template part / function that allows us to isolate the original post from the replies to that post?

    [aside: it’s somewhat confusing that bbPress treats the original post on a topic as a reply. What’s the logic behind that?]

    #117352
    #117350
    Alex
    Participant

    Hi,

    I have the same problem that I don’t want to show on the frontpage the whole tree of forums, sub-forums and sub-sub-forums.
    Just one level at the same time and when going one level deeper then also only one level.
    I have read already nearly all topics about this on bbpress.org and on Google.

    Unfortunately all of the topics are 2-5 years old, most of the pastebin-links are not working anymore and besides this even the structure and the names like front-page.php are not the same anymore like in the old topics.

    So: I am using WordPress 3.4.1 with the Skeleton theme and bbPress 2.1.2 and the default theme bbp-theme-compat.

    In which file or files do I have to change what to hide the sub-forums at least from the frontpage or even better at every hierarchy-level?

    Thanks!

    #117148
    amunds
    Member

    I`m not sure how familiar you are with WordPress and PHP, I consider myself a novice in PHP but well-versed in WordPress. It might be a bit technical and it might be the wrong way to do things, but here is how I quickly put it together.

    Open functions.php in your theme.
    Add the following function to the file (within the PHP tags):

    function bbp_get_user_replies( $user_id = 0 ) {
    
    // Validate user
    $user_id = bbp_get_user_id( $user_id );
    if ( empty( $user_id ) )
        return false;
    
    // Query defaults
    $default_query = array(
        'author'         =&gt; $user_id,
        'show_stickies'  =&gt; false,
        'order'          =&gt; 'DESC',
    );
    
    // Try to get the topics
    $query = bbp_has_replies( $default_query );
    if ( empty( $query ) )
        return false;
    
    return apply_filters( 'bbp_get_user_replies', $query, $user_id );
    }
    

    Then to list the replies just add to whatever page you want to list them:

    As you can see this is basically the same code as the bbp_get_user_topics_started function, just modified to get the replies instead.

    If anyone have a better solution I`d love to hear it.

    aaclayton
    Participant

    Well…it seems like you want a working solution more than an ideal one, so here goes. You could replace archive-forum.php with:

    http://pastebin.com/NktqDANZ

    Plus anything else you explicitly want in the page.

    DISCLAIMER: I don’t actually advise doing this. I feel like there are probably better ways to achieve the categorical forum listing that you describe. I implemented a categorical forum listing on my own site (http://tamrielfoundry.com), using the general method outlined by Lynq in this thread:

    https://bbpress.org/forums/topic/customising-bbp_list_forums-last-poster-block/

    What you are asking for is outside the default scope of bbpress functionality. It can definitely be modded in using some custom php functions and templates.

    #117118
    folgerj
    Participant

    I tried a couple ways to put a comment form shortcode in my topic post (works outside of BBpress) but not inside. I also would like to have my topic/replies show in reverse order. Instead of default of newest to oldest I would like the most current reply on top… I don’t see an easy way to do this. I’m not using a totally compliant theme (weaver pro) since I’m about the blog more than the forum but it seems to work well enough… http://jeff-foliage.com/forums/topic/2012-fall-foliage-reports/ is my site and most recent post. Jeff Foliage

    • This topic was modified 13 years, 2 months ago by folgerj.
    #117113
    amunds
    Member

    Wordpress: 3.4.1.
    BBPress: 2.1.2.
    Site: http://www.prototype-gw2.com/forums/
    Happens with default themes as well: Yes.

    Hi, I`ve set up a BBPress install without much trouble, however there is some odd behaviour with private forums, namely they keep disappearing when I make changes to the forum. I use the recent topics widget, and the forums and posts are listed there as they should.

    My setup is the following: 1 private category with 2 private forums. If I make 1 forum public I still can not see any forums. If I make 2 forums public I can see both forums.

    Now if I make the category public and each of the forums private I can see the forums, however this time it says 0 topics and 0 replies and Freshness is “No topics” in the header. The topics and replies for the forum name is still correct though.

    Am I doing something wrong or is there a bug in the permission system? If so, is there anything I can do to help resolve it?

    #117104
    witwolf
    Member

    I just started creating a site. installed bbpress. added some categories and forums…not done yet. There is one category with around 64 subforums. when looking at the page i can only see 50 with nowhere to move to the next page or to view more.

    Everything should be the latest versions. Only downloaded and installed 3 days ago. Still using default twenty eleven theme.

    Any help would be appreciated.

    Thanks.

    #117094

    In reply to: Forum Non-existent?

    Lynq
    Participant

    You can try resetting your permalinks, that tends to fix some strange 404 errors for me.

    If you try that and it still doesn’t work then try switching to a default theme or then disabling plugins one by one.

    #117081
    Paul
    Participant

    Profile pictures are a WordPress setting, not specifically bbpress. WordPress calls profile pictures ‘Avatars’ and you will find the settings for Avatars under the ‘Discussion’ link under ‘Settings’ on the Admin Dashboard.

    By default WordPress does not allow users to upload their own Avatars to your WordPress website but instead uses a third party host called Gravatar. If you want your uses to upload directly to wordpress then you will need to install a plugin that allows them to do this. Search in the plugin directory on wordpress.org for ‘avatar’. I am currently evaluating Add Local Avatar for the the site I manage, seems to work OK.

    #117057
    pranaya
    Member

    Hi I am using wp 3.4.1 and using bbpress plugin for the forum. However I am trying to install a new theme but dunno how to start. I have already downloaded a new theme [derleth-bright] , just need a little bit of nudge on my head how to implement this.

    And also as I am using the wordpress plugin for the bbpress forum , can someone tell me how to make it full-width page. Its by default coming as a post which includes also the author name, creation time etc. which I also dont want.

    Can someone help me?

    my website: atCampus

    #117029
    miguelcortereal
    Participant

    @Andre
    Tried to deactivate all plugins, then tried to switch for buddypress default theme and the result is the same. No forums updates at activity stream.

    By the way, are you using group forums or site wideforums, or eventually both enabled but using only one of them?

    #117028
    Webby
    Participant

    I have the bbpress forum on my website, all up to date and working well.

    However, the first paragraph on every thread, reply has a smaller default text than the rest of the thread/reply.

    Please can you help me correct this.

    Here is a link example: http://yorkshirechess.org/forums/topic/just-what-happened-here/

    #117003

    The default theme will go this route eventually.

    #116979
    Adam
    Participant

    Sorry for the double post. I don’t see the edit button. I guess its disabled after a certain amount of time? any ways essentially I want to theme BBPress. The problem is that the theme needs to be apart of the WordPress theme (I created) so that if you install the theme, and you have bbpress installed it will be able to use that theme instead of default which I think is a theme compatible … theme

    • This reply was modified 13 years, 3 months ago by Adam.
    #116977
    Adam
    Participant

    think of it this way: WordPress comes with two themes when you install it. 2010 and 2011. you can go out and get new ones or modify this one. what if you want your own. You write it from the ground up.

    This is what I wan’t to do with bbpress – a “theme” so to speak. So that when you install bppress you can “use as default” or “click to enable this look” (which in my case would be on by default) how would I achieve this? pure css?

    what if I wanted to create a new “display forums” template or a new “login” template? is there documentation on “themeing bbpress?” and making that theme the default? Hope that makes better sense….

    • This reply was modified 13 years, 3 months ago by Adam.
    MTPrower
    Member

    The first thing you said, as the fix to the problem, is correct. I’ve been mucking around with PHP files for a week. I’ve studied loop-forums.php, which seems to be the page I need to change, and loop-single-forum, which seems to be the page I’m trying to replicate the style of, but no matter what I try, I don’t know PHP well enough to find the fix. I use the default bbPress theme.

    #116933
    MTPrower
    Member

    I want the option for it to go to a page of my choosing. People often don’t like the default forums-archive page (which ends up being the root/home page), so they create a WordPress page with bbPress shortcodes in it to be the forums’ home page. The problem is, when they do that, the breadcrumbs root link, which says “forums”, doesn’t go to that page. it goes to the archive page, or forums-index– which is the page they were trying to avoid.

    • This reply was modified 13 years, 3 months ago by MTPrower.

    In the receiving end, bumping topics here is really annoying, so I’d recommend not doing it. 🙂 These forums don’t move quickly enough to necessitate it, and we’re all volunteers that will help you whenever we have the opportunity to do so. A bump, even with friendly intentions, just ends up making us feel bad because we took a few days off, and making us look like we’re lazy to everyone else.

    Also, cryptidwolf is incorrect, and offers nothing to this conversation that helps you with your issue(s) of which it seems like there are 2; the first being you can’t get the forum index sorted, and that once you do, you want it to look differently than the default templates look.

    The way I suggest fixing it, is to create your own custom page template with the look and feel that you want your index to have. It’s no different than a WordPress theme; if you want it to be different than it is, you sometimes have to do it yourself.

    The forum/category sections are a layout that a few people are working on, and certainly could be a bbPress core feature. Since bbPress has always been topic and content focused, the forum layout isn’t something that gets a lot of attention. Sorting out the forum/category hierarchy and layout is actually a pretty complex set of loops to automate, as it involves checking depth and walking a tree of forums that could potentially be outside of the current scope.

    I haven’t bothered looking too far into it since it’s something that will take concentrated time and effort, and there are other things bbPress needs before that becomes the top priority to put time towards. If you, or anyone else wants to put the time in because it’s important to you, I’d happily review and commit a patch to make sure it’s included in future versions.

    I know this isn’t the best set of answers you were looking for, but it’s all I have for now.

    #116915
    c-smile
    Member

    While creating new topics from list of topics I am getting this error (red outlined box):”ERROR: Are you sure you wanted to do that?”and no topic is added. I am able to add topics through Dashboard/Topics interface (admin console) WordPress: Version 3.4.1bbPress: Version 2.1.2 I am using custom theme but tried with default “twenty ten” theme. Result is the same – no topic is created and error is shown. Have no idea where it comes from. I suspect this started happening after WP 3.4.1 installation. Any ideas?

    • This topic was modified 13 years, 3 months ago by c-smile.
Viewing 25 results - 4,301 through 4,325 (of 6,788 total)
Skip to toolbar