Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 4,451 through 4,475 (of 6,780 total)
  • Author
    Search Results
  • #44859

    I changed the default length of forum topics (bbp_title_max_length) in bbpress’ core-functions.php, but it seems to have no effect on the length of topic titles. What I’m wondering is if there is some function in Genesis Connect that may be overriding this change, or something else that may be conflicting? Or any other suggestions? Thanks!

    #113727
    maxe___
    Member

    Yep, it is, version 2.5.6 is installed

    maxe___
    Member

    When I enable the wordpress plugin, I get the following warning:

    Warning: Creating default object from empty value in wp-content/plugins/bbpress/bbp-includes/bbp-extend-akismet.php on line 693

    I think it might be an Issue with PHP 5.4

    I have running debian with PHP 5.4.0 an Apache Webserver

    Regards, Max

    #113715
    Lynq
    Participant

    Hi deathbybear,

    The only way I have found to make this happen is to edit the core code provided by bbpress.

    I am not sure if this is the right way to go, so if someone else can suggest another way then let me know.

    Here is what I have done. I replaced the bbp_list_forums function inside forum-template.php and then inside the loops-single-forum I changed the arguments to enable the last poster.

    function bbp_list_forums( $args = '' ) {

    // Define used variables
    $output = $sub_forums = $topic_count = $reply_count = $counts = '';
    $i = 0;
    $count = array();

    // Defaults and arguments
    $defaults = array (
    'before' => '<ul class="bbp-forums">',
    'after' => '</ul>',
    'link_before' => '<li class="bbp-forum">',
    'link_after' => '</li>',
    'count_before' => ' (',
    'count_after' => ')',
    'count_sep' => ', ',
    'separator' => ', ',
    'forum_id' => '',
    'show_topic_count' => true,
    'show_reply_count' => true,
    'freshness_before' => '<td class="last-posted-box">',
    'freshness_after' => '</td>',
    'show_freshness_link' => true,
    'freshness_author_before' => '<div class="author-box">',
    'freshness_author_after' => '</div>'
    );
    $r = wp_parse_args( $args, $defaults );
    extract( $r, EXTR_SKIP );

    // Bail if there are no subforums
    if ( !bbp_get_forum_subforum_count( $forum_id ) )
    return;

    // Loop through forums and create a list
    if ( $sub_forums = bbp_forum_get_subforums( $forum_id ) ) {

    // Total count (for separator)
    $total_subs = count( $sub_forums );
    foreach ( $sub_forums as $sub_forum ) {
    $i++; // Separator count

    // Get forum details
    $count = array();
    $show_sep = $total_subs > $i ? $separator : '';
    $permalink = bbp_get_forum_permalink( $sub_forum->ID );
    $title = bbp_get_forum_title( $sub_forum->ID );

    // Show topic count
    if ( !empty( $show_topic_count ) && !bbp_is_forum_category( $sub_forum->ID ) )
    $count['topic'] = bbp_get_forum_topic_count( $sub_forum->ID );

    // Show reply count
    if ( !empty( $show_reply_count ) && !bbp_is_forum_category( $sub_forum->ID ) )
    $count['reply'] = bbp_get_forum_reply_count( $sub_forum->ID );

    // Counts to show
    if ( !empty( $count ) )
    $counts = $count_before . implode( $count_sep, $count ) . $count_after;

    // Show topic count
    if ( !empty( $show_freshness_link ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
    $freshness_link = bbp_get_forum_freshness_link( $sub_forum->ID );
    $freshness_author = $freshness_author_before . bbp_get_author_link( array( 'post_id' => bbp_get_forum_last_active_id( $sub_forum->ID ), 'size' => 14 ) ) . $freshness_author_after;
    $freshness_link = $freshness_before . $freshness_link . $freshness_author . $freshness_after;
    }

    // Build this sub forums link
    $output .= $link_before . '<a href="' . $permalink . '" class="bbp-forum-link">' . $title . $counts . $freshness_link . '</a>' . $show_sep . $link_after;
    }

    // Output the list
    echo $before . $output . $after;
    }
    }

    Let me know how you get on, good luck!

    #113680

    acousticwebdesign, the “Fancy Editor” (which is using wordpress default editor) is only available in bbPress 2.1, which is still under development.

    You might want to take a look

    https://bbpress.trac.wordpress.org/milestone/2.1

    For bbPress 2.02 user, I recommend you to use Rich Text Editor For Comments which is using jWYSIWYG, although it’s may be a bit hard for beginners to configure it as it lack a setting page.

    You can style the editor if you hate the default styling, provided that you know some CSS stuff.

    #113438

    In reply to: User registration

    pimarts
    Participant

    bbPress uses the default WordPress registration page.

    DOMAIN/wp-login.php?action=register probably works.

    #44869
    sakthikannan
    Member

    Dear All,

    Looks like customizing messages is not working. The following are the steps that I tried:

    1. Install Buddypress

    2. From the BP Forums settings page, choose to install Sitewide Forums; BBPress is installed

    3. Installed poedit; open bbpress.pot and saved as bbpress-en_US.po; changed the entry say line num 466 from started the topic… TO started the question…

    POEDIt automatically created a .mo file.

    Moved both po and mo file to wp-content/languages

    changed WP_LANG to en_US in wp-config

    Restarted the machine

    4. Create a new topic; still the old entry started the topic is diaplyed in activity stream

    I’ve done the same steps for buddpress-en_US and customizing messages works in BP.

    Could anyone please help me troubleshoot this.

    FYI, I’m using default theme of Buddypress

    Thanks in advacnce

    #108142
    Lynq
    Participant
    function bbp_list_forums( $args = '' ) {

    // Define used variables
    $output = $sub_forums = $topic_count = $reply_count = $counts = '';
    $i = 0;
    $count = array();

    // Defaults and arguments
    $defaults = array (
    'before' => '<ul class="bbp-forums">',
    'after' => '</ul>',
    'link_before' => '<li class="bbp-forum">',
    'link_after' => '</li>',
    'count_before' => ' (',
    'count_after' => ')',
    'count_sep' => ', ',
    'separator' => ', ',
    'forum_id' => '',
    'show_topic_count' => true,
    'show_reply_count' => true,
    'freshness_before' => '<td class="last-posted-box">',
    'freshness_after' => '</td>',
    'show_freshness_link' => true,
    'freshness_author_before' => '<div class="author-box">',
    'freshness_author_after' => '</div>'
    );
    $r = wp_parse_args( $args, $defaults );
    extract( $r, EXTR_SKIP );

    // Bail if there are no subforums
    if ( !bbp_get_forum_subforum_count( $forum_id ) )
    return;

    // Loop through forums and create a list
    if ( $sub_forums = bbp_forum_get_subforums( $forum_id ) ) {

    // Total count (for separator)
    $total_subs = count( $sub_forums );
    foreach ( $sub_forums as $sub_forum ) {
    $i++; // Separator count

    // Get forum details
    $count = array();
    $show_sep = $total_subs > $i ? $separator : '';
    $permalink = bbp_get_forum_permalink( $sub_forum->ID );
    $title = bbp_get_forum_title( $sub_forum->ID );

    // Show topic count
    if ( !empty( $show_topic_count ) && !bbp_is_forum_category( $sub_forum->ID ) )
    $count['topic'] = bbp_get_forum_topic_count( $sub_forum->ID );

    // Show reply count
    if ( !empty( $show_reply_count ) && !bbp_is_forum_category( $sub_forum->ID ) )
    $count['reply'] = bbp_get_forum_reply_count( $sub_forum->ID );

    // Counts to show
    if ( !empty( $count ) )
    $counts = $count_before . implode( $count_sep, $count ) . $count_after;

    // Show topic count
    if ( !empty( $show_freshness_link ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
    $freshness_link = bbp_get_forum_freshness_link( $sub_forum->ID );
    $freshness_author = $freshness_author_before . bbp_get_author_link( array( 'post_id' => bbp_get_forum_last_active_id( $sub_forum->ID ), 'size' => 14 ) ) . $freshness_author_after;
    $freshness_link = $freshness_before . $freshness_link . $freshness_author . $freshness_after;
    }

    // Build this sub forums link
    $output .= $link_before . '<a href="' . $permalink . '" class="bbp-forum-link">' . $title . $counts . $freshness_link . '</a>' . $show_sep . $link_after;
    }

    // Output the list
    echo $before . $output . $after;
    }
    }

    This will give you more control over creating a theme which looks like Invision or PHPBB.

    You will have to customize your theme as well to make sure it is compatible.

    #108141
    Lynq
    Participant

    Hey guys,

    I have been searching for this myself aswell, but couldn’t find anything anywhere.

    If anyone is interested I modified the bbp_list_forums function to have a flag for freshness (last poster) to be displayed or not.

    function bbp_list_forums( $args = '' ) {

    // Define used variables
    $output = $sub_forums = $topic_count = $reply_count = $counts = '';
    $i = 0;
    $count = array();

    // Defaults and arguments
    $defaults = array (
    'before' => '<ul class="bbp-forums">',
    'after' => '</ul>',
    'link_before' => '<li class="bbp-forum">',
    'link_after' => '</li>',
    'count_before' => ' (',
    'count_after' => ')',
    'count_sep' => ', ',
    'separator' => ', ',
    'forum_id' => '',
    'show_topic_count' => true,
    'show_reply_count' => true,
    'freshness_before' => '<td>',
    'freshness_after' => '</td>',
    'show_freshness_link' => true
    );
    $r = wp_parse_args( $args, $defaults );
    extract( $r, EXTR_SKIP );

    // Bail if there are no subforums
    if ( !bbp_get_forum_subforum_count( $forum_id ) )
    return;

    // Loop through forums and create a list
    if ( $sub_forums = bbp_forum_get_subforums( $forum_id ) ) {

    // Total count (for separator)
    $total_subs = count( $sub_forums );
    foreach ( $sub_forums as $sub_forum ) {
    $i++; // Separator count

    // Get forum details
    $count = array();
    $show_sep = $total_subs > $i ? $separator : '';
    $permalink = bbp_get_forum_permalink( $sub_forum->ID );
    $title = bbp_get_forum_title( $sub_forum->ID );

    // Show topic count
    if ( !empty( $show_topic_count ) && !bbp_is_forum_category( $sub_forum->ID ) )
    $count['topic'] = bbp_get_forum_topic_count( $sub_forum->ID );

    // Show reply count
    if ( !empty( $show_reply_count ) && !bbp_is_forum_category( $sub_forum->ID ) )
    $count['reply'] = bbp_get_forum_reply_count( $sub_forum->ID );

    // Counts to show
    if ( !empty( $count ) )
    $counts = $count_before . implode( $count_sep, $count ) . $count_after;

    // Show topic count
    if ( !empty( $show_freshness_link ) && !bbp_is_forum_category( $sub_forum->ID ) ) {
    $freshness_link = bbp_get_forum_freshness_link( $sub_forum->ID );
    $freshness_link = $freshness_before . $freshness_link . $freshness_after;
    }

    // Build this sub forums link
    $output .= $link_before . '<a href="' . $permalink . '" class="bbp-forum-link">' . $title . $counts . $freshness_link . '</a>' . $show_sep . $link_after;
    }

    // Output the list
    echo $before . $output . $after;
    }
    }

    Let me know if you would like any help with I am currently customising my theme to work with it, you will need to add an extra th to your forum tables other you just have a blank in place.

    Hope someone finds this helpful!

    p.s. you can also specify a before and after in the arguments of bbp_list_forums.

    All the best.

    Lynq.

    #113552
    elnicole
    Member

    Me too. I want to be able to tell bbPress which layout in my theme to use. The default layout has a skinny column and 2 side columns. I don’t want this for the forum.

    Do you remember to change the forum slug in Setting > Forums in your dashboard? By default, both of them are using the page slug “forums” so there’re conflict between Group Forum & Sitewide Forum.

    Read here for more info:

    https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/

    For installing group & sitewide forums:

    https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/3/

    You can change the forums slug in your bbPress setting. Just navigate to Setting > Forums in your dashboard and change the default value in “Archive Slugs” & “Single Slugs”

    It’s recommended that you keep the “Single Slugs” enabled, since it’s what differentiate between a topic, tag, reply & user. Just change it to something different.

    spidersilk
    Member

    I’m in the process of converting a standlone BBpress 1.1 installation into the 2.02 plugin version (well, really, recreating it from scratch in the plugin version, because the importer apparently doesn’t work if your blog actually has any users or content).

    And I’ve run into a problem – the default permalink structure for the BBpress plugin is really bizarre. It adds a “forums” slug for the forums area, which is fine and to be expected, but then it also insists on adding an additional “forum” slug before the name of each forum, so that instead of a normal URL like example.com/forums/announcements, you get example.com/forums/forum/announcements, which looks weird and awkward. I tried just removing the forum slug, but that left a double slash in the URL, which my web browser then reduced to a single slash, resulting in a 404 error.

    And for posts within forums, instead of the sort of URL you would normally expect – i.e. for a post in the announcements forum, something like example.com/forums/announcements/welcome, or example.com/forums/announcements/12345 or whatever, you have example.com/forums/topic/welcome – there doesn’t appear to be any way to associate the posts with the actual forum they’re in.

    Is there any way to fix this? Obviously the “forums/forum” thing is the most important – having the completely useless “topic” slug in the post URLs is annoying and pointless, but the “forums/forum” thing makes it look like I was drunk when I set the forums up or something – I really can’t let it go live with a glitch like that in the URLs. But I’d like to fix the topic issue too if possible. Any ideas?

    #113520

    In reply to: email notification

    locomo
    Participant

    not sure if this is the best way but I’m doing this to have the checkbox checked by default:

    /* set forum subscription field checked by default */

    function my_forum_topic_subscribed_by_default() {

    echo ‘<script type=”text/javascript”>jQuery(“#bbp_topic_subscription”).prop(“checked”,”checked”);</script>’;

    }

    add_action(‘bbp_theme_after_topic_form_subscriptions’, ‘my_forum_topic_subscribed_by_default’);

    add_action(‘bbp_theme_after_reply_form_subscription’, ‘my_forum_topic_subscribed_by_default’);

    #44637
    Nate
    Participant

    Problem: Remove sidebar from bbPress

    Solution: My theme has a Full Width option

    I know that if I input my shortcode into a Page, it will display the forum in the Template of my choosing. Presto, the forum index is within Full Width.

    Yet when the user decides to choose a forum, they’re relegated to the Theme’s default Template, which includes the sidebar.

    Meeeeh.

    Is there a quick and dirty way to tell bbPress to use the Full Width template that’s already available?

    I recently noticed that when I try to start a topic or posting a reply, it’s taking about 30+ second before the topic/reply is show up. If you try to tell me there may be a “bad plugin” and try to disable all of it except bbPress, save it. I have tried the following:

    1. Using different browser.

    I find out that when I try to use Firefox 12.0 to post, it’s loading extremely slow. But this is not happening in Internet Explorer 9 or Google Chrome 18.

    Try to start Firefox in safe mode? Yes I have tried to do that but it doesn’t make a difference.

    2. Using different user/computer.

    It’s still the same.

    3. Try to post a comment in a normal post.

    I was able to comment a post without any problems, so I think it may be a “bad plugin” problem.

    4. Disable all plugin (except bbPress & BuddyPress)

    But the same thing happen. FYI I don’t edit either the bbPress or BuddyPress files.

    5. Using different theme.

    I replace my modified custom community theme with BuddyPress Default theme and see if I putting bad codes in my theme. But this doesn’t solve problem even I tried other themes.

    6. Change permalink structure.

    It doesn’t make any changes, and I don’t think it will help.

    7. Reinstall WordPress, bbPress & BuddyPress

    Still doesn’t make any changes.

    8. Create a new install in another domain.

    I use http://scirefs.com/ as my main and http://www.scirefs.org as a sandbox (with the same configuration as in SCIREFs.com) with only bbPress and BuddyPress activated. But everything works fine in SCIREFs.org with either bbPress 2.02 or 2.1 and I have no issue with Firefox 12.

    9. The Cloudflare……

    Since I have Cloudflare as my CDN for SCIREfs.com but not SCIREFs.org, I tried to remove SCIREFs.com from Cloudflare and add SCIREfs.org to it and see what happens. The result: The issue with Firefox at SCIREFs.com disappear but SCIREfs.org is now facing the old issue.

    Do anyone here have any ideas what’s wrong with it? Or someone here is facing the same problem? This seems to be the first and the only problem I can’t figure it myself.

    You can login to SCIREFs.org using the following information:

    Username: demo

    Password: demo

    URL of the forums: http://www.scirefs.org/test-forums

    And try to start a topic or post a reply using Firefox and see if it’s happening to you.

    #109942
    kennymcnett
    Member

    Thanks mattsimo and jaredatch. Worked the charm.

    Here are all of the $args and the defaults, FYI (pulled from bbPress core file: bbp-common-template.php)

    // HTML
    'before' => '<div class="bbp-breadcrumb"><p>',
    'after' => '</p></div>',
    'sep' => is_rtl() ? __( '&lsaquo;', 'bbpress' ) : __( '&rsaquo;', 'bbpress' ),
    'pad_sep' => 1,

    // Home
    'include_home' => $pre_include_home,
    'home_text' => $pre_front_text,

    // Forum root
    'include_root' => $pre_include_root,
    'root_text' => $pre_root_text,

    // Current
    'include_current' => $pre_include_current,
    'current_text' => $pre_current_text

    #44610
    earnshae
    Member

    Hello,

    I installed bbpress and I really like it.

    I found that there is an alignment issue that is caused by the return of the bbp_reply_class function for the default theme bbp-twentyten.

    I noticed that others were having the same problem.

    So I fixed it in my version and would like to submit my bug fix…

    How do I go about doing that for this project. I have never contributed a patch to an open source project before but would like to submit this bug fix.

    Thanks for your help.

    What are your hosts using as web hosting control panels? cPanel, vDeck or something else?

    Take me as an example (I’m using vDeck 4), in your control panel, navigate to “File Manager” (or similar name). If your install your website in root directory, then navigate to /wp-content/plugins/ and upload your bbPress zip file there. For sub-directory, navigate to /”sub-directory”/wp-content/plugins/ and upload it there. Uncompress the zip file.

    In your wordpress dashboard, go to Plugin section. You should see the bbPress in your plugin list. Activate it and you’re done.

    Actually there’s an easier way to do this. Navigate to Plugin > Add New. Search for bbPress and click “install now” and activate it.

    You can also refer:

    https://codex.buddypress.org/getting-started/installing-group-and-sitewide-forums/2/#bp-sitewide-forums

    #113467

    I don’t think so. The default bbPress works differently compared to BuddyPress Group Forums, (it’s not like bbPress to SimplePress or vice versa) so it would be troublesome to migrate it from one to another one, and I don’t see a reason to create a plugin for that.

    You say “hidden forums” don’t work. Can you describe it?

    And it’s unfair to say that the bbPress developers stopped updating their plugins. FYI they are currently developing bbPress 2.1 which is still under development and bbPress project is still alive.

    You can see it for yourself:

    https://bbpress.trac.wordpress.org/timeline

    https://bbpress.trac.wordpress.org/milestone/2.1

    #44581
    katmmad
    Participant

    Hi — I’m trying to add BBPress to my WordPress blog. I’m currently running Genesis, Prose theme (although that may change soon). My BBPress version is 2.21+, and I’m also trying to use Genesis Extend (I think successfully) and, at the author’s suggestion, I am trying to use the bbPress Custom CSS File. The immediate thing that I’m trying to do is to rearrange and remove some of the forum column headings. The default is:

    Topic / Voices / Posts / Freshness

    I’d like to change that to

    Topic / Posts / Author

    And include information in the Topic column about what category it’s in, as well as include Freshness data in the Author column.

    Is there an easy way to do this, or is this all CSS Styling? (Or should I try to find a bbPress theme I like?)

    The NEXT question then becomes, um… does anyone know where the bbPress Custom CSS File is? I poked around a bit in FTP and couldn’t find it. Do I have to generate it myself and upload it? Do I stick the file in the Prose theme folder, the Genesis theme folder, or the bbPress folder? Or the bbPress Custom CSS File plugin folder?

    Many thanks in advance!

    CIVIC
    Member

    Hi, when I installed my Site Wide forum I saw this, “■Place the ‘bbpress’ folder in your ‘/wp-content/plugins/’ directory.”

    But, have no idea how to ■Place the ‘bbpress’ folder in your ‘/wp-content/plugins/’ directory. Any advice?

    CIVIC
    Member

    Thanks, sniperkitten! To answer your question, I’m using the default BuddyPress theme (1.5.5.) by the BuddyPress Team. I really appreciate the help. Thanks to you, my forums are up. :)

    Andrew
    Member

    Hey Jobjorn,

    I’m still pretty green with bbPress but I think you could make a plugin to modify that base page title. I think the function you may want is this..

    function bbp_get_forum_archive_title( $title = '' ) {
    global $bbp;

    // If no title was passed
    if ( empty( $title ) ) {

    // Set root text to page title
    if ( $page = bbp_get_page_by_path( $bbp->root_slug ) ) {
    $title = get_the_title( $page->ID );

    // Default to forum post type name label
    } else {
    $fto = get_post_type_object( bbp_get_forum_post_type() );
    $title = $fto->labels->name;
    }
    }

    return apply_filters( 'bbp_get_forum_archive_title', $title );
    }

    It’s located in the bbp-forum-template.php

    #108138
    spiritfly
    Member

    I can’t believe this still haven’t been resolved. What is going on with the bbpress community? This is a must have. It should be the forums default looks.

    I have tried playing with it, but I still don’t understand what really is going on.

    Can someone who made these kind of subcategories post the changes he made?

    Thanks

Viewing 25 results - 4,451 through 4,475 (of 6,780 total)
Skip to toolbar