Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 23,101 through 23,125 (of 64,534 total)
  • Author
    Search Results
  • #139662
    mouffles
    Participant

    I’m sorry but the devs should really correct this, cause it’s a bad ux for forum users, i found many thread talking about this specifical issue since 2 years (-_-) and it’s has never been corrected :

    Not taken to correct page after posting to long topic

    Permalinks for replies on long topics lose /page/ and number

    https://bbpress.trac.wordpress.org/ticket/2291

    I will bump the topic since i have a correct answer to this issue.

    #139657
    MediaSVI
    Participant

    I just installed the latest WordPress and BBpress and the forum opens fine on a computer but when you open it on a mobile device it does not open and I get “oh brother there are no forums found”?

    #139654
    justsayno1
    Participant

    No worries, I like putting up answers like this because people have done the same for me and it was a life saver. Also I feel like this is something that bbpress should just be able to do through the admin panel so I thought I would help out any one who wants to not expose their users real names to everybody.

    #139653

    In reply to: CSS bug?

    FreeWPress
    Participant

    This is not a bbpress css problems.. you can modify css.. create a folder named css in your theme folder and copy and paste bbpress.css here…

    Bbpress use for future the css in your template, you can modify css and when bbpress being updated css remaining same..

    Remove clear none and show all replies in your user profile!!

    #139652

    In reply to: CSS bug?

    jeepdon
    Participant

    Well, to be fair, *I* don’t use it, bbPress.css came that way. I’d prefer not to modify bbpress.css since it’ll become an ongoing maintenance thing every time the plugin is updated. If it’s a problem, I’d like to see it fixed.

    #139651

    In reply to: CSS bug?

    FreeWPress
    Participant

    Why you use clear none?

    #bbpress-forums #bbp-user-wrapper ul.bbp-lead-topic, #bbpress-forums #bbp-user-wrapper ul.bbp-topics, #bbpress-forums #bbp-user-wrapper ul.bbp-forums, #bbpress-forums #bbp-user-wrapper ul.bbp-replies, #bbpress-forums #bbp-user-wrapper fieldset.bbp-form {
        clear: none;
    }
    #139650

    Topic: CSS bug?

    in forum Troubleshooting
    jeepdon
    Participant

    Re: http://powershell.org/wp/forums/users/dlwyatt/replies/

    You’ll notice that the container for the page content is getting a 0px width and massive height calculated. The CSS style #bbp-forums has an “overflow: hidden;” style. Removing that style element fixes the display – but I’d like some confirmation that this is indeed a bug? The content in this specific case has a lot of PRE/CODE styling, so I’m not sure if there’s some weird interaction going on that I just can’t figure out.

    The container in question is a ul#topic-0-replies, classed with .forums and .bbp-replies. The overflow attribute I’m referring to is coming right from the top of bbpress.css.

    Note that I’m using the default styling/theming for BBP.

    #139649
    BarryB64
    Participant

    First, Inspiration Point (http://www.inspiration-point.org) is using a child version of TwentyEleven. I’m using the latest WordPress software.

    I did some reading and I’m liking what I am hearing about the bbpress forum plugin. On my site, there is area that I’m calling Shore Classified. Here’s what I’d like to do:

    Shore Classified is born out of a frustration I had with my church. It’s not because they didn’t want to put a request on the church’s mailing list. It had to do with limited resource and wary of unwanted advertisements. I’m not the only one

    Why not create a place where people can posts “blog updates”, “Christian business”, “Church Events”, “Help Wanted” and etc. My initial thought is to limit this to a region. It can easily be expanded.

    I, obviously want to be careful and it’s why I didn’t jump on it. 🙂 Are there additional plugins? How can I best set the forum to safeguard against unwanted trolls? Can bbpress be configured to require registration before posting?

    There are probably other questions that I should be asking. I’d appreciate some inputs. Thanks in advance.

    #139648

    In reply to: bbPress 2.5 is out!

    Denver Prophit Jr.
    Participant

    https://bbpress.trac.wordpress.org/ticket/2481#comment:7 I made a comment and reverted back to 2.5.0

    #139647

    In reply to: bbPress 2.5 is out!

    FreeWPress
    Participant
    #139645
    MediaSVI
    Participant

    If i got my forums click on forum and then click on a thread my bread crumbs read like this:

    Home › Topic › This is a Test

    They should read:

    Home › Forum › Control Ants > This is a Test

    If I click on “Topic” I get a 404 error.

    I did install the BBPress String wrap plugin but that did not help and I have no idea how to edit it.

    Goto to this page and click on the stick thread and you will see what i am talking about.

    How can i fix this?

    Thank you for your time.

    #139641
    FreeWPress
    Participant

    Important NEWS in ticket.. see here https://bbpress.trac.wordpress.org/ticket/2480

    Issue is in subcategory forums…

    #139634

    In reply to: Lost Formatting

    QTipPoker
    Participant

    This worked. https://bbpress.org/forums/topic/stylesheet-issues/ Looks like 2.5.1 will be out soon anyway.

    #139631
    justsayno1
    Participant

    How did you get from there to “I just followed…”?

    Unfortunately there is not an easy way to explain this as I am not that familair with wordpress/bbpress core myself. BUT what I mean is that function is obviously somewhere in the bbpress core files. All I did was start going in there. They are quite well documented and have comments that explain the different functions that get used. You are mainly looking for the template tags function files. Also most plugins/php apps use an includes folder to put all the main crux of the things in. While the main file is just simply a link to all those areas an common functions. If you really can’t find it then just use a program with a “search in files” option and just try and find it that way. I think that is what I did to start with.

    For example when I wanted to find the function yo mention above:
    bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => false ) );

    I thought about what the function is saying and where in the folder directories of includes it may be. Since it was “reply” related I figured it would be in the reply section. I just used some common sense to figure out the template-tags.php probably containted template specific functions. Then I just did a search on those files until I found the bbp_reply_author_link. Which then calls bbp_get_reply_author_link which in tern as a return value of:

    return apply_filters( 'bbp_get_reply_author_link', $author_link, $r );

    Meaning that you can basically sub in your own functino for this function by using:

    add_filter( 'bbp_get_reply_author_display_name', 'replace_bbpress_replies_username_filter', 10, 2);

    Where replace_bbpress_replies_username_filter is your replacement filter. Then what I mean by following the functions is that i realised that this function was fine. It was the bpp_get_author_display_name that I was unhappy with. And this would be called in many places (presumably). So I overwrote that function. EG:

    
    function replace_bbpress_replies_username_filter($author_name,$reply_id ){
    $author_id = bbp_get_reply_author_id($reply_id);
    $author_object = get_userdata( $author_id );
    $author_name  = ucfirst($author_object->user_login);
    return $author_name;
    }
    add_filter( 'bbp_get_reply_author_display_name', 'replace_bbpress_replies_username_filter', 10, 2);
    

    Does that help? I know it seems daunting but getting into the core files and seeing what they are doing is I have found the best way when you are thinking “what the fuck!”. Also bear in mind I spend about 4 hours yesterday figuring this stuff out (but I didn’t understand filters really until now). Just to help you out futher. The three filters I added were as follows:

    
    add_filter( 'bbp_get_reply_author_display_name', 'replace_bbpress_replies_username_filter', 10, 2);
    add_filter( 'bbp_get_topic_author_display_name', 'replace_bbpress_topic_author_display_name', 10, 2);
    add_filter( 'bbp_get_user_profile_link', 'replace_bbpress_profile_link_text_filter', 10, 2 );
    

    The display name function I have shown you. The topic display name function:

    
    function replace_bbpress_topic_author_display_name( $topic_id = 0 ) {
    		$topic_id = bbp_get_topic_id( $topic_id );
    
    		// Check for anonymous user
    		if ( !bbp_is_topic_anonymous( $topic_id ) ) {
    
    			// Get the author ID
    			$author_id = bbp_get_topic_author_id( $topic_id );
    			$author_name = get_the_author_meta( 'user_login', $author_id );
    
    		// User does not have an account
    		} else {
    			$author_name = get_post_meta( $topic_id, '_bbp_anonymous_name', true);
    		}
    
    		// If nothing could be found anywhere, use Anonymous
    		if ( empty( $author_name ) )
    			$author_name = __( 'Anonymous', 'bbpress' );
    
    		// Encode possible UTF8 display names
    		if ( seems_utf8( $author_name ) === false )
    			$author_name = utf8_encode( $author_name );
    
    		return $author_name;
    }

    And for the profile link:

    
    function replace_bbpress_profile_link_text_filter($user_link, $user_id){
    		// Validate user id
    		$user_id = bbp_get_user_id( $user_id );
    		$user_object = get_userdata( $author_id );
    		$user_name  = ucfirst($author_object->user_login);
    		if ( empty( $user_id ) )
    			return false;
    
    		$user      = get_userdata( $user_id );
    		$name      = esc_attr( $user_name );
    		$user_link = '<a href="' . bbp_get_user_profile_url( $user_id ) . '" title="' . $name . '">' . $name . '</a>';
    }

    I also changed the default wordpress “get_avatar” function because it returns the gravatar users real name as the alt attr. All you really have to do it replace the function with the same function but get the users login name and replace the alt text name with that. the function is big and I don’t wanna make this post any more ridiculous.

    It’s cool to be the one giving the answers on a WordPress forum! I only really have learned this stuff in the last few months myself. I am more of a Drupal guy. Shock Horror.

    Cheers!

    #139629
    joshnoworries
    Participant

    Thanks for all the suggestions! I will investigate the filter as that would be much more elegant. Here is what i am currently using, it’s ugly but i needed an urgent solution for a client:

    loop-single-forum.php

    REPLACED:
    <?php bbp_author_link( array( 'post_id' => bbp_get_forum_last_active_id(), 'size' => 14 ) ); ?>

    WITH:

    <?php if(bbp_get_forum_last_active_id()){?>
    <?php $last_post_id = bbp_get_forum_last_active_id(bbp_get_forum_last_topic_id()); ?>
    <?php $last_user_id = bbp_get_topic_author_id($last_post_id); ?>
    <a href="<?php echo bbp_topic_author_url($last_post_id) ?>"><?php bbp_topic_author_avatar($last_post_id,15); ?>
    <?php $user = get_user_by( 'id',$last_user_id ); echo $user->user_login ; ?></a>
    <?php } else { ?>
    <?php } ?>

    loop-single-topic.php

    REPLACED:

    <?php printf( __( 'Started by: %1$s', 'bbpress' ), bbp_get_topic_author_link( array( 'size' => '14' ) ) ); ?>
    

    WITH:
    Started by: <a href="<?php echo bbp_topic_author_url() ?>"><?php bbp_topic_author_avatar(0,15); ?><?php $user = get_user_by( 'id',bbp_get_topic_author_id() ); echo $user->user_login ; ?></a>

    REPLACED:
    <?php bbp_author_link( array( 'post_id' => bbp_get_topic_last_active_id(), 'size' => 14 ) );?>

    WITH:

    <?php $last_post_id = bbp_get_topic_last_active_id() ?>
    <?php $last_user_id = bbp_get_topic_author_id($last_post_id) ?>
    <a href="<?php echo bbp_topic_author_url($last_post_id) ?>"><?php bbp_topic_author_avatar($last_post_id,15); ?>
    <?php $user = get_user_by( 'id',$last_user_id ); echo $user->user_login ; ?></a>

    loop-single-reply

    REPLACED:
    <?php bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => true ) ); ?>

    WITH:

    <a href="<?php echo bbp_reply_author_url() ?>"><?php bbp_reply_author_avatar(0,80); ?><br/>
    <?php $user = get_user_by( 'id',bbp_get_reply_author_id() ); echo $user->user_login ; ?></a>
    <?php bbp_reply_author_role() ?>
    ozgurpolat
    Participant

    Hi Stephen ( @netweb ), Thanks for helping me. I tried the fix with bbpress 2.5 but it doesn’t seem to be working. The strange thing is if I login as admin, there is no problem. :). I have to go back to version 2.3.2 for now but I will set up a test site with the same problem and give you admin/ subscriber access. maybe it would help you better to see the problem. I will do this on the weekend.

    Best regards

    #139625

    In reply to: Menu link to Profile

    FreeWPress
    Participant

    Ok, please report your feedback here please https://bbpress.trac.wordpress.org/ticket/2480
    Many thanks for your time…

    #139623

    In reply to: Lost Formatting

    FreeWPress
    Participant

    Hi, if you have update to 2.5 versions you can find other topics with this issue.. There is a patch.. problem is this:

    <link rel='stylesheet' id='bbp-default-css' href='http://qtippoker.com/wp-content/D:Hosting4710742htmlwp-contentpluginsbbpress/templates/default/css/bbpress.css?ver=2.5-5199' type='text/css' media='screen' />

    Your theme can’t find bbpress css…

    #139619
    QTipPoker
    Participant

    My forum site is:

    http://qtippoker.com/forums/forum/qtip_forums/

    I’ve no idea why, but I’ve recently lost the table type formatting that came with bbpress (the way each forum was in a box and such.) I don’t think I’ve installed anything new or made any css changes since I lost saw bbpress in the table format.

    Any ideas? I’m using twenty thirteen.

    Thanks.

    #139616
    Robin W
    Moderator

    @justsayno1

    I just followed the functions until I found these three filters: 🙂

    Ok, so given that loop-single-reply has

    bbp_reply_author_link( array( 'sep' => '<br />', 'show_role' => false ) );

    How did you get from there to “I just followed…”?

    I’ve never got into this area (have only been playing with wordpress since March this year, so am still a newbie), and would love to, but can’t find any tutorials that get you from a line on a display php to the backend function that creates it. I understand how a filter works (and that link is the best explanation I’ve seen so far!), but have you got a logical way to then backtrack to find out what you’re going to create a filter for? – I’ve looked through bbpress and there are lots of “function.php”s, the most obvious being bbpress/includes/common/functions.php, but a search for ‘bbp_get_user_profile_link’ comes up blank.

    If you could explain how you get from a to b, I be really grateful !

    glyndavidson
    Participant

    I’m using:

    • WPMS 3.7.14
    • bbPress 2.5
    • BuddyPress 1.8.1

    I’d like each site on the network to have its own users, groups, forums etc.

    At present, if I create a user on one site, that user appears in all other sites. This is also true for groups. This is not what I want.

    Could anybody tell me how to achieve what I want, and also, point me to some documentation so that I can get a clear understanding of how users are managed within WPMS, bbPress and BuddyPress.

    Many thanks

    Glyn

    #139613
    traderhotel
    Participant

    Hello,
    I just updated to the bbPress 2.5 version and now Im wondering where the settings tab is located?
    I cannot find it on the left side of the backend and neither on the WP-plugin site.

    Thanks

    #139610
    mistercyril
    Participant

    Hello Stephen,

    I am experiencing the same issue on a WP + BP + BBPress setup.

    What I have found so far is the the ul.bbp-replies (used to display topic replies) outputs the “li” (answers) in the wrong order. So its obviously not .css related.

    I haven’t been able to determine for sure if the user rĂ´le has anything to do with the order, but as far as I can tell it doesn’t.

    Hope this helps,

    C.

    #139608
    mouffles
    Participant

    I use a plugin to display pictures in lightbox (plugin name litebox).

    I have modified bbpress post tool bar, to include the class tag to the url.
    I also find the way to allow class tag for images and link in bbpress but i have to modify core files : \bbpress\includes\common\formatting.php

    i already googled a way to override this function in my theme function.php

    and what i did is :

    
    function my_filter_bbpress_allowed_tags() {
    	return array(
     
    		// Links
    		'a' => array(
    			'class'    => true,
    			'href'     => array(),
    			'title'    => array(),
    			'rel'      => array()
    		),
    
    		// Quotes
    		'blockquote'   => array(
    			'cite'     => array()
    		),
    
    		// Code
    		'code'         => array(),
    		'pre'          => array(),
    
    		// Formatting
    		'em'           => array(),
    		'strong'       => array(),
    		'del'          => array(
    			'datetime' => true,
    		),
    
    		// Lists
    		'ul'           => array(),
    		'ol'           => array(
    			'start'    => true,
    		),
    		'li'           => array(),
    
    		// Images
    		'img'          => array(
    			'class'    => true,
    			'src'      => true,
    			'border'   => true,
    			'alt'      => true,
    			'height'   => true,
    			'width'    => true,
    		)
    	);
    }
    add_filter( 'bbp_kses_allowed_tags', 'my_filter_bbpress_allowed_tags' );
    

    But today i updated to bbpress 2.5 and i saw that it didin’t work :/
    What is the correct function to allow this without hacking the bbpress core ?
    Could you in the future add a class tag allowed for link and images ?

    #139606
    mouffles
    Participant

    Hi,

    I updated my forum and i have issues with url redirection.

    When user post to topic (with many replies and many pages) they are redirected to the first page of the topic. It don’t do this for topics with a fex pages (less than 10).

    I saw that this bug exist since years, and i’d like to know how to fix this.

Viewing 25 results - 23,101 through 23,125 (of 64,534 total)
Skip to toolbar