Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 20,426 through 20,450 (of 64,517 total)
  • Author
    Search Results
  • #146795
    helmutforren
    Participant

    Robin, your advice worked, once properly adapted. Thanks very much.

    For others, here’s how you get to the place to edit functions.php. From the Dashboard, select Appearance then Editor. Notice list of files on the RIGHT column. Find “Theme Functions (functions.php)” and click on that. Now you’ll be editing the correct file.

    For my version of Academica 1.2.2, there was only one occurrence of text “is_single”, and that was the right place.

    OLD SINGLE LINE OF CODE NEEDING CHANGE (see later for more lines to get context):

    
            echo get_category_parents( $cat, true, $sep ) . $before . get_the_title() . $after;
    

    NEW SIX LINES REPLACING LINE ABOVE (see later for more lines to get context):

    
            //support bbPress.  HgF per adaptation of akkkarki
            if (empty($cat)) {
                echo $before . get_the_title() . $after;
            } else {
                echo get_category_parents( $cat, true, $sep ) . $before . get_the_title() . $after;
            }
    

    OLD CODE (MORE LINES FOR CONTEXT):

    
    } elseif ( is_single() ) {
        if ( is_attachment() ) {
            global $post;
            echo 'post_parent ) . '">' . get_the_title( $post->post_parent ) . '' . $sep . $before . get_the_title() . $after;
        } else {
            $cat = get_the_category(); $cat = $cat[0];
            echo get_category_parents( $cat, true, $sep ) . $before . get_the_title() . $after;
        }
    

    NEW CODE (MORE LINES FOR CONTEXT):

    
    } elseif ( is_single() ) {
        if ( is_attachment() ) {
            global $post;
            echo 'post_parent ) . '">' . get_the_title( $post->post_parent ) . '' . $sep . $before . get_the_title() . $after;
        } else {
            $cat = get_the_category(); $cat = $cat[0];
            //support bbPress.  HgF per adaptation of akkkarki
            if (empty($cat)) {
                echo $before . get_the_title() . $after;
            } else {
                echo get_category_parents( $cat, true, $sep ) . $before . get_the_title() . $after;
            }
        }
    
    #146793
    lagrou
    Participant

    I forgot to mention that while “repairing missong information”, I got the following error message several times, not sure where it comes from:
    WordPress database error: [Table ‘xxx.wp_bp_groups_groupmeta’ doesn’t exist]

    Other than that, as of tonight the WPS > bbP converter / importer works for the following:
    – WPS categories, parent / child
    – topics, sticky topics
    – replies
    – users

    Yet to be done:
    – Groups forums (either drop topics, leave them as parentless, or create hidden forums as per the group name)
    – user meta (forum subscriptions, favorites)
    Anything else ?

    #146792
    Robin W
    Moderator

    sorry bbpress is now only a wrodpress plugin !

    #146790
    Robin W
    Moderator

    maybe this thread will help

    Blank page problem with Academica theme

    come back if not !

    #146788
    Robin W
    Moderator

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.

    #146787
    lagrou
    Participant

    Back to topic, just updated the GitHub repo with the following:
    – Add User section
    – Fix & make use of callback_forum_status, add Forum status (Open or Closed)
    – Fix & make use of callback_sticky_status
    All this tested OK on my nested test install. I’m leaving the “pre-alpha code” warning, though.

    Some more questions raised at this stage:
    – How do you access a parentless topic in bbPress ? Could these be used for WP Symposium groups forum topics ?
    – Could you clarify what a forum and a category refer to, in bbPress terminology ? Is a category a subforum, which has necessarily a parent forum, while a forum has no parent ? In such a case, there should be a test over symposium_cats.cat_parent in callback_forum_type(), otherwise it can be simply disregarded…

    #146784
    dugfunny
    Participant

    Using this code I have made it to where only updates and rtmedia posts show up on my activity stream

    /**
     * Activity Stream Default Updates
     */
    function make_swa_show_notice_only( $retval ) {	
    	
    	 if ( bp_is_page( 'activity' ) ) {
    		$retval['action'] = 'activity_update, rtmedia_update';					
    	 }
    	
    	return $retval;
    	
    }
    
    add_filter( 'bp_after_has_activities_parse_args', 'make_swa_show_notice_only' );

    I would like bbpress forum posts to show up on my wall as well. What would i put next to

    ‘activity_update, rtmedia_update’

    in my code to make that happen? Thanks!

    demonboy
    Participant

    Well, I guess I should put my money where my mouth is when I say I’m fairly au fait with CSS! I managed to solve it and it was pretty obvious. Just swap the floating elements from left to right, where content becomes right and sidebar becomes left. Remember to end with the !important to override any other CSS. Code is thus:

    .bbpress.single-forum #main #content {float:right!important;}
    .bbpress.single-forum #main #sidebar {float:left!important;}
    .bbpress.single-topic #main #content {float:right!important;}
    .bbpress.single-topic #main #sidebar {float:left!important;}
    demonboy
    Participant

    Going nuts, here. I’m using an Avada child theme and I’m fairly au fait with CSS and getting under the bonnet with PHP (commenting stuff out etc), though I’ve not done much aside from a few CSS changes.

    My forum home has the sidebar on the left. The problem is when I click into a forum, (so the URL is http://www.lizcleere.com/forums/forum/assignments/, for example), the sidebar now jumps to the right. Same when I click into a topic.

    What isn’t explained very well is the use of the additional slugs. ‘Topic’ is set as the slug ‘topic’, so surely it stands to reason that I create a ‘topic’ page, format it how I want the ‘topic’ section to appear, and save it with the name ‘topic’. I’ve tried that and it doesn’t work.

    I’ve also tried disabling the WP Tweaks plugin, removing the inactive widgets, logging out, logging back in, reactivating etc etc. Nothing.

    I then took a copy of Avada’s single.php and renamed it forum.php and made it a template. I’ve called that template up on my Forum page and the sidebar appears on the left, as intended. (Actually, it’s the Blog sidebar, even though I’ve set it to BBPress sidebar, but that’s another story.)

    Why do ‘forum’ and ‘topic’ not inherit the properties I set on the forums page (i.e. default layout (not 100% width or full page or anything like that), sidebar on left, using the forum template page)? I feel like I’m missing something really obvious…

    #146769
    demonboy
    Participant

    I’m using Avada and have/had similar issues. To solve it on my forum page I selected BBPress sidebar but did the widget-logic trick to my Blog sidebar, which made the necessary changes. Yep, I have no idea either, but that’s worked for me.

    peter-hamilton
    Participant

    It is possible when combining buddypress/bbpress and wordpress.

    I have (after long hard work) found a workaround/hack to do that, have a look to see if this is what you meant at: http://www.cultivators-forum.com/activity

    #146767
    helmutforren
    Participant

    This is regarding http://saveourgrace.com/forums/

    I believe I followed all the instructions properly. However, initially, my WordPress “Page” with link above was blank. I found advice at http://bbpress.org/forums/topic/bbpress-forum-blank-pages/ that it may be a theme issue, so I simply added the short code [bbp-forum-index].

    This got the page working as you can see it now. It properly shows the “Fundraising” forum. However, the number of topics is listed as 0, and when I click on the forum name, I get the otherwise blank page at http://saveourgrace.com/forums/forum/fundraising/ .

    I did add a topic per the instructions, and confirmed on the topics list page that my topic belongs to the fundraising forum.

    I am using the theme “Academica” version 1.2.2. I changed to “Twenty Thirteen” temporarily, and things seemed much better. I could see and get into the topic. If I figure out how to make the topic show with “Academica”, am I nevertheless going to find myself fighting an endless battle with this theme? Or should one more fix take care of it? (Of course, if it is just one more fix, what might that fix be?)

    Note I’m using WordPress 3.9.1.

    Thanks very much,
    Helmut

    #146763

    Topic: Ban users

    in forum Plugins
    lifk
    Participant

    I don’t know if it’s possible to ban users from writing in the forums some amount of time like two or three days. It’s possible this with bbpress or maybe with a plugin?

    Thank you.

    asifshabir
    Participant

    I own a non wp site. how can i install this forum for my website.

    Thanks for help

    #146754
    Robin W
    Moderator

    probably a conflict

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, switch to a default theme such as twentytwelve, and see if this fixes.

    Robin W
    Moderator

    ok, so put this in your functions file

    //This function adds the author to the reply
    function bbp_author_display () {
    	if (bbp_get_reply_author_id() == bbp_get_topic_author_id() ) {
    	echo '<span class="topic-author">' ;
    	echo '<ul><li>' ;
    	echo 'Topic Author' ; 
    	echo '</li></ul></span>' ;
    	}
    	else return ;
    	}
    	
    	add_action ('bbp_theme_after_reply_author_details', 'bbp_author_display') ;

    and this in your style.css

    #bbpress-forums .topic-author{
      background: none repeat scroll 0 0 #5BB75B;
      color: #FFFFFF;
      display: block;
      padding: 5px;
    }
    

    Job done !

    #146747
    Richard B
    Participant

    bbpress bypasses the standard profile update of WordPress with its own form. So, none of the standard plug-ins are likely to do this. The function that needs to be modified is: bbp_edit_user_handler in wp-content\plugins\bbpress\includes\common\functions.php.

    I added my own edit check (just before the caps check):

    $symbol = preg_quote('~!@#$%^&*()_+-=[]{}"|?<>.,|£’);
    if (strlen($_POST[‘pass1’])<12)
    {
    if(!preg_match(‘/^(?=.*\d)(?=.*[A-Z])(?=.*[a-z])(?=.*[‘ . $symbol . ‘])[0-9A-Za-z’ . $symbol . ‘]{6,16}$/’, $_POST[‘pass1’])) {

    bbp_add_error( ‘bbp_update_user_capability’, __( ‘ERROR: The password must be 6 or more characters with at least one uppercase, one lowercase, one digit and one symbol.’, ‘bbpress’ ) );
    return;
    }
    }`

    It’s not really a check for “strong passwords” based on the WordPress meter, but it is better than nothing. I don’t really know enough about PHP/JavaScript etc. to do that. I also had the password generated modified to fit these rules, but the reality is that the generated password is already a “strong password”.

    #146746
    bonbida
    Participant

    Hello,
    I would like to get help with a bbPress problem. When I activate the plugin, it does not direct me to the welcome page. Also I cannot see the plugin option such as Forum, Topics ect.. on the left side bar on the dashboard. Tried many times to reinstall it, but with no success.
    What should I do now?

    Robkk
    Moderator

    after – i did find an example of a bbpress forum using exactly what i want though

    http://cyberchimps.com/forum-topic/full-width-bbpress-forum/page/2/

    Robkk
    Moderator

    @netweb thanks for the reply
    i might do that function if i cant get the exact function im looking for

    i did find an example of a bbpress forum using exactly what i want though

    if you look at any other participant in the forum they do not have the topic author label

    so its exactly what im looking for.

    im trying to think of an idea of a function that would do that, but i have no idea how to make a function that does

    if topic author is the same as reply author display label above reply author avatar, or below forum role. IF not the same dont display anything.

    czentnar
    Participant

    function custom_bbp_has_replies() {
    $args[‘order’] = ‘DESC’; // ‘ASC’ (Ascending, Default), ‘DESC’ (Descending)
    return $args;
    }
    add_filter(‘bbp_before_has_replies_parse_args’, ‘custom_bbp_has_replies’ );

    Thank you for the great solution, @netweb!
    However, as I changed the query, the post IDs got messed up (this appears when I click on the ID starting with “#” in the top right corner of the post). Also, after submitting a new post, bbPress jumps to the last page in that topic, despite the fact that the order has already been changed and the latest reply is on the first page (this could be a result of the messed ID’s, I think).

    #146732
    mmscholz
    Participant

    I’ve installed bbpress and have created a Forum, Topic and reply.

    http://scholzmobility.com/forums
    (thats what you see)

    When I view the topic or reply I can see the form at it works fine.

    I’ve changed the Permalink to : /postname and added [bbp-forum-index] to the /forums page.

    Not sure what i’ve done wrong.

    Thank you.

    #146729
    Lynqoid
    Participant

    Yes this is possible, bbPress posts are the same as WordPress posts so you would be able to send an ID to an ajax function and then retrieve a topic by ID with replies and display it in the “Load topic here” area.

    Good luck with your build! 🙂

    #146726
    stefan.o
    Participant

    Im trying plan our forum layout. I have purchased the Support Desk theme from Hero Themes, but I want to change some things to the forum. Most importantly i want to choose topics in a left pane, and have them load in the right pane. The idea is that people dont have to go back and forth.

    Mockup

    Were going to post a project on freelancer.com or similar, but it would be nice to know a little bit more before we go ahead. Is this a simple matter of creating a wordpress template, or do i need a bbpress-expert? Is there a reason why i hardly see this layout on forums i dont know about?

    boblebad
    Participant

    Hmm, there are many differences, i have added members to the live site.

    But when looking at bbPress settings, it seams that they are as should, what is the setting i’m looking for ?

Viewing 25 results - 20,426 through 20,450 (of 64,517 total)
Skip to toolbar