Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 4,776 through 4,800 (of 6,794 total)
  • Author
    Search Results
  • #40107
    Razva
    Participant

    Hi folks,

    I’ve just installed BBpress 2 on our website – http://www.gadget.ro/forums/

    As you can see it looks horrible!

    Isn’t there a default style or something that would make BBpress…usable?

    Thanks!

    #40106
    Jaja..
    Member

    I was searching for an option to set the max topic length to 70 instead of default 80.

    Now I think I’ve found the code inside the (Core files) bbp-core-options.php but I can’t change the core files because it will be overwritten when bbPRess updates.

    So how could I place a filter? inside my functions.php to do this?

    Just like this? (copy-/paste)

    function bbp_title_max_length( $default = '70' ) {

    echo bbp_get_title_max_length( $default );

    }

    lckitchen
    Member

    Hi there, first I want to say thanks for creating this, seems like a great forum plugin once you get it working.

    To start, I have read the entire thread on the forum on theme compatibility; http://bbpress.org/forums/topic/bbpress-20-theme-compatibility and a few other treads and topics relating, unfortunately I am still having some problems.

    I am including screen-shot links to be as clear as possible in hope for great support.

    What I have done so far;

    A.) I decided to go with the child theme option since I am using a custom theme that I am not the author of and prefer not to clutter that folder.

    I copied all the files (except functions.php) that were inside “bbp-twentyten” (/bbpress/bbp-themes/bbp-twentyten) and put them in my “gridlocked-child” folder that I placed inside /wp-content/themes/ (next to my custom “gridlocked” theme folder)

    I added the “theme name” and “template” name to the empty “style.css” in folder “gridlocked-child”. screenshot: http://grab.by/cJ7R

    I put the ” add_theme_support( ‘gridlocked-child’ ); ” code in my “gridlocked” (not child) functions.php file. screenshot: http://grab.by/cJ7S

    B) At this point, after just test creating a few forums and topics, it looks like the plugin is “functioning” like it should. I can tell that it’s using some of the styles from my main theme style.css (colors, fonts etc), the MAIN PROBLEMS that I have now is the fact that it’s not taking to my page template widths in my main theme (gridlocked), it wont use a full-page-width template (or let me pick) and the default that it is probably using, is also supposed to be full width, plus something is wrong with the padding and it snugs too tight to the page edges.

    Here are some screenshots to show you what I mean;

    Forum home page: http://grab.by/cJ7I

    Forum named MINGLE page and test topics: http://grab.by/cJ7J

    I would like the forum to look like this; http://grab.by/cJ7H

    and fill up the entire width of a full page, with nice padding. I achieved that preview by adding shortcode [bbp-forum-index] in the html section of a “page” picking the “full-width-template” option in my theme.

    Ok, here comes the questions:

    1. Did I set everything up correctly in the directories and files?

    2. What files do I need to modify to tell the bbPress forum to use a full page width template? Can I copy code from my main theme “template-full-width.php” into one or more template files inside my new child theme?

    2. Do I need to add code/functions into my main theme “template-full-width.php”? and if so, what kind of code? and on a scale, how easy should these edits be? (I have asked, but I am not getting any support with this from my theme support forum, otherwise great forum but they wont help with plugins, understandable)

    3. How does shortcodes work? Are those simply just for placing certain parts of your forum on different pages as previews/links but not for use throughout the FULL forum?

    Do you have ANY ideas on how I can solve this issue, I feel pretty lost and I am not a developer or programmer, just a stubborn, enthusiastic designer that loosing her hair about this.

    I HIGHLY APPRECIATE ANY HELP WITH THIS!

    Thank you!

    #108904
    ineken
    Member

    thank you for help.

    I found the right file, I found the good part, I think it was leave I should use.

    function widget( $args, $instance ) {

    extract( $args );

    $title = apply_filters( ‘bbp_replies_widget_title’, $instance );

    $max_shown = !empty( $instance ) ? $instance : ‘5’;

    $show_date = !empty( $instance ) ? ‘on’ : false;

    // Query defaults

    $replies_query = array(

    ‘post_status’ => join( ‘,’, array( bbp_get_public_status_id(), bbp_get_closed_status_id() ) ),

    ‘posts_per_page’ => $max_shown,

    ‘order’ => ‘DESC’

    );

    // Set the query name

    bbp_set_query_name( ‘bbp_widget’ );

    // Get replies and display them

    if ( bbp_has_replies( $replies_query ) ) :

    echo $before_widget;

    echo $before_title . $title . $after_title; ?>

      <?php while ( bbp_replies() ) : bbp_the_reply(); ?>

    • <?php

      $author_link = bbp_get_reply_author_link( array( ‘type’ => ‘both’, ‘size’ => 14 ) );

      $reply_link = ‘‘ . bbp_get_reply_topic_title() . ‘‘;

      /* translators: bbpress replies widget: 1: reply author, 2: reply link, 3: reply date, 4: reply time */

      printf( _x( $show_date == ‘on’ ? ‘%1$s on %2$s, %3$s, %4$s’ : ‘%1$s on %2$s’, ‘widgets’, ‘bbpress’ ), $author_link, $reply_link, get_the_date(), get_the_time() );

      ?>

    • <?php endwhile; ?>

    <?php echo $after_widget;

    endif;

    bbp_reset_query_name();

    }

    I miss it more than learning how to change it: D

    thank you I go little by little.

    #108074
    Niekje
    Member

    I need this translation but the problem is that I am unable to login there with my WordPress account. I can login here no problem but as soon as I go to https://translate.wordpress.org/projects/bbpress/plugin/nl/default I am unable to login :s

    #109144
    Ravi
    Participant

    BJ, Thanks for the help.

    I do not want to create a new WP page.

    Instead, I want to change the default forums Index that comes at the page /forums like http://ravidreams.in/offgrid/forums/ . This page is also linked in the breadcrumbs through out the forums.

    #109067
    Anointed
    Participant

    If it were me, I’d ask Ormon to write a quick function for your theme to switch the body class to

    page-template-template-full-width-php

    for post_type forums/topics/replies/users/.

    *Basically run that last in the chain as to override the default setting only for the forums.

    That would probably be the quickest and best approach to take for this particular theme.

    That will give you full width forums. There are lots of ways to approach this and he may even have better ideas.

    #109160
    Anointed
    Participant

    NO, not bothered at all, was just saying that I didn’t understand what you were asking is all.

    If I understand you basically want to take the code from the topics widget and use it as a standalone loop instead of a widget?

    Keep in mind I’m not a great coder: If it were me, I would simply copy the code from the bbp-core-widget.php file that I needed for the topics widget. I would then strip out the widget portion of the code and hard code in the default arguments.

    This basically would give me the same loop used by the widget.

    // Query defaults
    $topics_query = array(
    'author' => 0,
    'post_parent' => any,
    'posts_per_page' => 10,
    'show_stickies' => false,
    'order' => 'DESC',
    );

    Probably better ways out there, but that’s how I would try it

    #109095
    Anointed
    Participant

    So far I have only installed bbpress on a subdomain install. I have not had that particular issue you are mentioning but then again I am not using sub-directories.

    If you can replicate this in the default theme setup, then I would create a trac ticket for JJ to confirm.

    #109175
    demonboy
    Participant

    Thanks for that, I’m following the procedure now. Cheers.

    #109174
    Anointed
    Participant

    I think those are the directions for the 1x system, not the 2x plugin.

    Follow these instructions:

    https://bbpress.org/forums/topic/bbpress-20-theme-compatibility

    You don’t create subdirectories in the plugin folder etc.. It is now a totally compliant wordpress way of doing things now. Basically, you don’t ‘have to’ copy any files to your theme, but you can if you want to make changes to bbpress.

    #109173
    demonboy
    Participant

    Hi anointed. I’m using 2.0.

    #109127

    In reply to: Seperate Forums

    Anointed
    Participant

    I’m confused. Is that not the default way bbpress displays forums on the homepage?

    My forum homepage displays all of my forums, top-level, sub-category, sub-sub-category, etc..

    #109172
    Anointed
    Participant

    Are you using the new plugin 2x vs. or the old vs?

    #109151
    Anointed
    Participant

    Just taking a shot at this:

    I am guessing that you are talking about the single-topic page which displays the first topic followed by all the replies.

    If this is the case:

    Add the following line to your functions.php file

    add_filter( 'bbp_show_lead_topic', '__return_true' );

    What this is going to do is separate out the lead topic from all the replies. It creates a great separation where you can then style the first topic completely different than the replies. Pretty cool actually.

    *Make sure to use the default theme to see this in action. You don’t have any of the needed logic in your code above, so your code wont output the separation. You can find the needed logic in the template files.

    This is a lot more elegant than counters and it’s built in.

    Hope it helps. (there are tons of cool hidden ‘secrets’ like this within the code, thnx JJ!)

    demonboy
    Participant

    I understand that I have to create a sub-directory in plugins/bbpress/my-templates/, which will contain my template files. Also I understand that I only have to create specific custom pages where I need them, so on the very first page of my forums (i.e. http://www.followtheboat.com/forums/) I need to create a page called front-page.php. For example, I don’t want my page title to be ‘Forums’, I want it to be ‘Followtheboat Forums’.

    Presumably before uploading any themes the forum is using a default theme and must be calling up a default page called front-page.php. I want to use that default front-page.php file so I can use it as a base and tweak it, but where is it? I thought it should be in bbp-themes/bbp-twentyten but it isn’t there.

    Finally, the instructions say ‘Activating a theme is even easier. Just select it from you bbPress install’s Presentation Admin Panel’. What? Where? Do you mean ‘http://www.myblog.com/wp-admin/options-general.php?page=bbpress&#8217;, because it is not there.

    #106099

    Template files prefixed with ‘page-‘ are for WordPress pages, and also reserved for actual Page Template designs. It’s a bit confusing, but you quickly adapt. :)

    WordPress custom post types use the ‘archive-‘ prefix to denote the default fallback template file if you have not created a WordPress page using the page template in its place.

    You could also create a WordPress page with the slug ‘forums’ and make a template called ‘page-forums.php’ and bbPress would default to that too. There are several ways to skin this cat, and bbPress comes with the ones that are tho most flexible.

    #109103

    In reply to: Forums Home URL

    Erlend
    Participant

    I think you misunderstand. Just search for ‘bbpress’ in plugins. You should find bbPress 2.0 there, the brand new bbPress plugin. It’s a straight forward install and should work straight out of the box with your default 2010/2011 theme, or with minimal tweaks in any other theme.

    Erlend
    Participant

    I run a fairly large site with a standard integrated bbPress forum, categorized by groups. I’ve been able to successfully update to version 1.5. However my attempts at migrating to bbPress 2.0 have so far been unsuccessful.

    All I’ve tried so far is the default process:

    Tools -> Import -> bbPress Standalone

    I’m given a path to bb-config.php, at the root of my WordPress install, which seems to be correct. Going by these default settings has worked just fine on a much smaller test site. On this big one however, no such luck.

    We have ~20’000 threads and ~15’000 users. If you’ve attempted to migrate a fairly large website to bbPress 2.0 from the legacy BuddyPress forum, kindly share your findings.

    Clicknathan
    Participant

    My topics are showing up oldest first…I don’t believe this is the default setting, but I’m not sure where I can change this. Anyone know how this is controlled?

    #109038
    Anointed
    Participant

    At the moment searching the forums is turned off while it is being reworked. It is easy to turn it back on via the theme functions file, but the output results will look odd as mixing forum topics/replies together on a search results page doesn’t work to well with default templates.

    #39985
    Re-Defiler
    Member

    I have a bbpress (classic) install with WP deep integration, and figured I’d get a head start on formatting my test install for the eventual release of the plug in. So far I’ve got almost everything styled nicely just using CSS, but I’m stuck on removing a few things that seem to clutter up the presentation of the forum.

    1. Does anyone know how to remove the “This forum contains X topics and X replies, and was last updated…” from the main Forum and topic pages?

    2. How about how to remove the modification history section and the post # display from posts.

    3. Remove the extraneous breadcrumbing, right now it’s Site>Forums>Forum as the default ‘Forum” page. Seems like one level too deep for default bbpress forum starting point. SInce my site will only have 1 forum, is there a way to clean up the sloppiness or at least hide the useless ‘Forums’ link in the breadcrumb?

    #108882
    Anointed
    Participant

    Users are not actually logging in through the dashboard, but rather the default wordpress login/logout page.

    In order to change that, you would probably need to use a custom plugin.

    There are plugins available that will allow you to style that page differently.

    Anointed
    Participant

    You are correct, do not bring over the functions.php and style.css files when using your own custom theme.

    To handle this issue simply copy the information from the bbpress functions file and add it to your theme functions file. You can do the same for buddypress.

    *It is actually better to simply rename the bbpress functions file and then use an include in your theme functions file. Helps to keep things clean

    For the css, I would rename the file and enqueue it in your functions file.

    johnnyboi
    Member

    phew, i meant functions.php :)

Viewing 25 results - 4,776 through 4,800 (of 6,794 total)
Skip to toolbar