Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 20,251 through 20,275 (of 64,534 total)
  • Author
    Search Results
  • #147379
    Stephen Edgar
    Keymaster

    You got caught by the Akismet spam filter πŸ™

    Anyways to answer your question, no, at this stage this cannot be done.

    We have a few areas in bbPress we would like to be able to add ‘Bulk Edit’ to in the backend but we need some enhancements to WordPress be implemented upstream first.

    #147377

    In reply to: Can't see any topics

    Stephen Edgar
    Keymaster

    Run the ‘Reset Forums’ tool which will delete all bbPress content, forums, topics, replies, settings, everything will be deleted.

    Tools -> Forums -> Reset bbPress

    #147375
    Stephen Edgar
    Keymaster

    It is not helpful, there have been vast changes to bbPress codebase since those posts and will only further confuse things.

    #147373
    Stephen Edgar
    Keymaster

    Ryan, firstly please stop bumping old topics, create a new topics please.

    I would first try running the bbPress repair tools to see if that fixes it (Tools -> Forums)

    Stephen Edgar
    Keymaster

    Here is Robin’s code updated to only show the website if it is not blank:

    
    function user_profile_bbp_website_information()	{
    //this function adds the website to the profile display menu
    	$url=bbp_get_displayed_user_field( 'user_url' ) ;
    	if ( ! empty($url) ) {
    		$label1 =  $rpi_options['item1_label'] ;
    		echo "<p>" ;
    		printf ( __( 'Website : ', 'bbpress' ));
    		$url='<a href="'.$url.'">'.$url.'</a>';
    		echo $url;
    		echo"</p>" ;
    	}
    }
    add_action ('bbp_template_after_user_profile', 'user_profile_bbp_website_information') ;
    

    To add the location you want to add this, this will add the field to their profile so they can edit and update it, you then just duplicate the code from either Robin’s or mine and replace $url with $location and user_url with location:

    
    function ntwb_user_contact_methods_location( $user_contact ){
    
    	/* Add user contact methods */
    	$user_contact['location'] = __('Location');
    
    	return $user_contact;
    }
    add_filter('user_contactmethods', 'ntwb_user_contact_methods_location');
    
    #147370

    Add some debug logging to bbp_set_current_user_default_role() to narrow down the cause,(likely with dumping out the call stack.)

    You should be able to cowboy code something if you’re able to reproduce the issue with a test user account. If you’re able to come up with explicit instructions on how to duplicate this on an installation that only has bbPress running, I’d love to fix anything that isn’t behaving correctly.

    #147369

    In reply to: Can't see any topics

    ubicray
    Participant

    Ran all the repair tools one by one
    Tried default theme, deactivating plugins … no result
    Do you know how can I delete bbpress with all its settings? So i can install again and try
    Now when I uninstall and install again, settings are preserved

    #147367
    JosiahW
    Participant

    It is a new multisite. We do not have any role editing software installed at this time. Here is the list of all plugins/theme we are using:

    Theme
    InspireBook by rtCamp

    Plugins
    bbPress
    BuddyPress
    rtMedia Pro
    rtMedia for WordPress, BuddyPress and bbPress
    WooDojo

    #147366

    I see two possible ways this *might* fail:

    * Multisite & calls to switch_to_blog
    * bbp_get_user_role() is returning multiple bbPress roles (either because some third party role editor plugin was used to manipulate things, or there’s some crusty old role data somewhere in there.)

    ryan360
    Participant

    I was able to accomplish this by writing a custom query. I was unable to find a solution ANYWHERE else on this forum despite numerous people asking the same question so I’m hoping this will help everyone out until the bbpress team fixes the bbp_get_template_part functions.

    		<?php
        
                    $args = array(
                       'post_type' => 'reply',
                       'post_status' => 'publish',
                       'orderby' => 'title',
                       'order' => 'ASC',
                       'author' => $curauth->ID,
                    );
                    $bbpressquery = new WP_Query($args);
                    while ($bbpressquery->have_posts()) : $bbpressquery->the_post();
                ?>
                    
                    	<?php the_content(); ?>
                    	
              	 <?php endwhile; ?>   

    Obviously you can modify the code above to show topics created, I was just trying to return all the forum posts created by a user.

    #147354
    ryan360
    Participant

    Bump. I just copied that function into my functions.php file and it’s still linking to the default bbPress forum user page.

    #147349
    Robin W
    Moderator

    suspect this is 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.

    #147346
    Stephen Edgar
    Keymaster

    I should have said the ‘bbPress templates’ in your Twenty Eleven theme

    <link rel="stylesheet" id="bbp-child-bbpress-css" href="http://www.assorpas.it/wp-content/themes/twentyeleven/css/bbpress.css?ver=2.3.2" type="text/css" media="screen">

    #147345

    In reply to: Newby a little lost

    kowarler
    Participant

    I added the bbPress attachments plugin, but does this store images on my domain?

    I’d rather users were able to paste their photobucket ‘img’ links – how do I get that to work though?

    #147341
    Stephen Edgar
    Keymaster

    OK, I am with you now and by the way there is no such thing as a stupid question πŸ™‚

    You should see a ‘reply’ link but when I look at your forum you are using WordPress 3.5.1, Twenty Eleven theme, a Twenty Eleven bbPress child theme and bbPress v 2.3.2. You also have other plugins modifying/extending the Twenty Eleven theme.

    Why are you using old versions? Many of these modifications will be the primary cause of your issues and upgrading all of these and even a newer theme would fix most of your issues.

    That is the first thing I would do, update to WordPress 3.9.1 and bbPress 2.5.3

    morgykat
    Participant

    HI,

    I have added the bbPress Login widget to the side column of a /forums page, and set up a register page linked to from this widget at /register with [bbp-register]

    Both the login and register functions work okay, but both jump to /wp-admin.php if a user enters the wrong details, e.g. a wrong password or a username already in use.
    The question is how to make the forms post to the same page so that the error messages appear neatly on the login form on the /forums page and on the /register page.

    Is this possible?

    wp version 3.9.1
    bbpress version 2.5.3

    many thanks

    Ian.

    #147339
    aborruso
    Participant

    Hi Stephen I appreciate a lot your kindness and I’m sorry for my (a little) stupid request.

    In this topic you have a the top the pagination of replies, and for every message the possibility to reply (I have highlighted these in the below image).

    To have pagination replies with reply button, do I must use bbp_show_lead_topic?

    Thank you

    image

    #147338
    Stephen Edgar
    Keymaster

    No, we use the same version, I think we may have our terminology crossed.

    If you want the topic displayed at the top of every page like we do here so that you can still see the original topic when you are page 3 for example you want to use bbp_show_lead_topic

    See the following article and add that code to your themes functions.php file.
    (I think this is what you are after πŸ™‚ )

    bbp_show_lead_topic

    #147337
    aborruso
    Participant

    Then here you use customized version of bbpress.

    Am I right?

    Thank you again

    #147333
    aborruso
    Participant

    Hi Stephen Edgar,
    sorry again, I’m not lucky with URLs πŸ™‚

    Thank you very much, if I disable β€˜Threaded Replies’ I have pagination.
    But I would like to have something similar to this topic https://bbpress.org/forums/topic/user-profile-pages-not-displaying-correctly/

    Pagination and reply enableb per post. How is it possibile to enable it?

    Best regards

    example

    Stephen Edgar
    Keymaster

    Ha! Lets not hijack this topic any further, I updated my stance (or lack of) here πŸ˜‰

    Robin W
    Moderator

    ‘a big pet peeve of my mine’

    and also of mine for exactly the opposite reason !!

    Where I want the user to go down a route and not have to backtrack through 10 pages they have subsequently looked at, then your logic is fine, they will go that way.

    Where clearly you want them to be able to take a look, but not lose where they are, then a new window is logical.

    Finally I dislike the ‘thought police’ making up a standard and then trying to tell us what we should do. I thought the internet was about freedom of expression !

    So taking the last sentence I wrote, then I have absolutely no issue with bbpress not coding for new window, but I would πŸ™‚

    #147327
    Robin W
    Moderator

    yes the links are set as white in the display

    try adding this to your style.css

    #bbpress-forums .reply a  {
    color : blue !important ;
    }
    
    #bbpress-forums .reply a:hover  {
    color : green !important ;
    }
    

    I haven’t tested, but should work, come back if you need more help !

    Stephen Edgar
    Keymaster

    There is actually a patch to add this permanently to bbPress 2.6

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

    Do you think this is a good idea?

    Should it be an active hyperlink or plain text? (I just realised my patch is only plain text)

    Anyway, for now here is the patch as a plugin https://gist.github.com/ntwb/a19b187f2170235f16bf
    (The extra HTML markup should match it to the existing profile fields for most themes)

    Note: If this is shipped with bbPress 2.6 you will then see two profile fields πŸ˜‰

    Robin W
    Moderator

    Ok, this is what you wanted

    function user_profile_bbp_website_information()
    //this function adds the website to the profile display menu
    			{
    			
    			$label1 =  $rpi_options['item1_label'] ;
    			echo "<p>" ;
    			printf ( __( 'website : ', 'bbpress' ));
    			$url=bbp_get_displayed_user_field( 'user_url' ) ;
    			$url='<a href="'.$url.'">'.$url.'</a>';
    			echo $url; 
    			echo"</p>" ;
    			}
    			
    add_action ('bbp_template_after_user_profile', 'user_profile_bbp_website_information') ;
Viewing 25 results - 20,251 through 20,275 (of 64,534 total)
Skip to toolbar