Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 2,376 through 2,400 (of 6,813 total)
  • Author
    Search Results
  • #161203

    In reply to: automatically posting

    Robin W
    Moderator

    see

    bbpress/templates/default/bbpress/form-reply.php

    #161202
    thierryyyyyyy
    Participant

    I got it !

    sometimes, Apache exited with higher Status number example :
    [Sat Apr 18 00:02:05.423769 2015] [mpm_winnt:notice] [pid 5900:tid 404] AH00428: Parent: child process 5032 exited with status 3221225725 — Restarting.

    Google gave me a hint : write this code in your httpd.conf (that’s for Windows)

     
    <IfModule mpm_winnt_module>
        ThreadStackSize 8888888
    </IfModule>
    

    It works now, like a charm 🙂

    explanation : the stackSize in Windows is defaulted at 1MB, and it seems that bbPress Import need much more…. This line push the limit to more than 8MB. That’s all.
    WAMP does NOT show this mpm_winnt_module in the list of loaded modules, I guess it is because it’s a default Apache Windows module ( http://httpd.apache.org/docs/2.2/mod/mpm_winnt.html )
    Ah, I put first only the line “ThreadStackSize 8888888” (without ifModule) to be sure that it is taken into account. If the module was not mounted, Apache would have wrote it in apache_error.log. It should work on every windows normal installation

    #161157
    project_subdomain
    Participant

    thanks robkk!
    now the profile link is in the main and also in my sidebar menu.
    unfortunately i’d need to have it in the sidebar menu only. also i’d need a link to the single profile pages as I’d like to replace the default display of options below the avatar which I’d remove then.

    which amendments of that code would do that?

    Robin W
    Moderator

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/loop-single-reply.php

    bbPress will now use this template instead of the original, so you can amend this one

    #161154
    Robin W
    Moderator

    yes you would just put that code in form-topic.php

    wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php

    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-topic.php

    bbPress will now use this template instead of the original

    you can then look at how the form does this, and put the appropriate lines in.

    Robin W
    Moderator

    with code anything is possible !

    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php

    line 27

    #161119
    project_subdomain
    Participant

    [WP 4.1.1
    bbp 2.5.6]

    For creating a navigation menu I need to redirect pages to the bbpress profile url as well as to their default options urls. These are domain.com/forums/users/HERE-COMES-THE-USERNAME for showing profile and domain.com/forums/users/HERE-COMES-THE-USERNAME/HERE-COMES-SELECTED-OPTION for selected options.

    I tried several ways with code like this on the page’s template file for the redirection to the profile but nothing worked yet.

    <?php /*  
    Template Name: show user profile
    */ 
    
    $name= bbp_user_profile_url(bbp_get_current_user_id() );
    
    header('Location: http://domain.com/forums/users/'.$name);
    exit();
    
    ?>

    Thanks for helping!

    #161094
    jayd94
    Participant

    Hello!
    I’ve been reading all the topics on the forum and i found many similar issues to my problem, but now solution worked. I disabled all plugins and tried it with default theme also.
    When someone subscribes(or creates a topic) to a topic or forum and then someone replys to it, no emails are being sent out to the guy who subscribed. Im using buddypress and bbpress newest version, and buddypress emails-like register, private message etc working, but noone of bbpress related emails are being sent out. I’m using WP SMTP now(before i was using WP MAIL SMTP, but then someone in this forum said if he changed to WP SMTP plugin it started sending, but didnt help for me), and test emails are being sent correctly also.
    Any ideas?
    Thanks,
    Daniel

    #161089
    Robin W
    Moderator

    that is entirely intentional – it lets keymasters see IP addresses to spot people who might post under several names.

    you could hide it with css

    .bbp-reply-ip {
    display : none !important ;
    }

    or amend line 512 of loop-single-reply

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

    where %your-theme-name% is the name of your theme

    find
    wp-content/plugins/bbpress/templates/default/bbpress/loop-single-reply.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/loop-single-reply.php
    bbPress will now use this template instead of the original

    then take out line 51 – you may also need to do this to loop-single-topic

    or use a filter to get rid of it

    function remove_ip () {
    $author_ip = '' ;
    return $author_ip ;
    }
    
    add_filter( 'bbp_get_author_ip', 'remove_ip');
    
    #161081
    redwolf83
    Participant

    Thanks, that is very helpful, but it change roles globally. I need it for a specific forum.

    • is possible call these actions to an existing role?
    • and is possible call them only for a specific forum

    I tried this but seems not work…. :/

    // BBPRESS ROLES CONFIG FOR SPECIFIC FORUM
    
    if ( bbp_forum_title(); == "My Forum Title" ) {
    
    	function add_role_caps_filter( $caps, $role )
    	{
        	/* Only filter for roles we are interested in! */
        	if( $role == 'participant' )
            	$caps = custom_capabilities( $role );
     
    	    return $caps;
    	}
     
    	add_filter( 'bbp_get_caps_for_role', 'add_role_caps_filter', 10, 2 );
     
    	function custom_capabilities( $role )
    	{
        	switch ( $role )
        	{
     
            	/* Capabilities for 'tutor' role */
            	case 'participant':
               	 return array(
                    	// Primary caps
                   		'spectate'              => true,
                    	'participate'           => true,
                    	'moderate'              => false,
                    	'throttle'              => false,
                    	'view_trash'            => false,
     
                    	// Forum caps
                    	'publish_forums'        => false,
                    	'edit_forums'           => false,
                    	'edit_others_forums'    => false,
                    	'delete_forums'         => false,
                    	'delete_others_forums'  => false,
                    	'read_private_forums'   => false,
                    	'read_hidden_forums'    => false,
     
                    	// Topic caps
                    	'publish_topics'        => false,
                    	'edit_topics'           => false,
                    	'edit_others_topics'    => false,
                    	'delete_topics'         => false,
                    	'delete_others_topics'  => false,
                    	'read_private_topics'   => false,
     
    	                // Reply caps
    	                'publish_replies'       => true,
                    	'edit_replies'          => true,
                    	'edit_others_replies'   => false,
                    	'delete_replies'        => true,
                    	'delete_others_replies' => false,
                    	'read_private_replies'  => false,
     
                    	// Topic tag caps
                    	'manage_topic_tags'     => false,
                    	'edit_topic_tags'       => false,
                    	'delete_topic_tags'     => false,
                    	'assign_topic_tags'     => false,
               	 );
     
                	break;
     
            	default :
               	return $role;
        		}
    	}
    }
    #161057
    casnbug
    Participant

    @Robkk
    Sorry, but I disagree. It may be that the theme is not hiding the warning like the default wordpress theme, but the error is definitely coming from the bbpress plugin.

    xenous
    Participant

    you can configure the noreply email simply with:

    
    add_filter('bbp_get_do_not_reply_address','my_bbp_no_reply_email');
    function no_reply_email(){
        $email = 'noreply@yourdomain.com';
        return $email;
    }

    bbPress uses BCC for sending subscription emails and the noreply email is used as to field. This is for better hardware (cpu and memory) usage as if you were to loop each user subscribed to content it would be troublesome.
    you can change that default to email address as well with :

    
    add_filter('bbp_subscription_to_email','my_bbp_subscription_to_email');
    function my_bbp_subscription_to_email(){
        $email = 'noreply@yourdomain.com'; // any email you want
        return $email;
    }

    I hope this helps.

    #160965
    Robin W
    Moderator

    ok, I don’t think you have the standard index template

    Have you got in your theme the following file

    wp-content/themes/%your-theme-name%/bbpress/content-archive-forum.php

    where %your-theme-name% is the name of your theme

    or have you amended

    wp-content/plugins/bbpress/templates/default/bbpress/content-archive-forum.php

    #160958
    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, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    Then come back

    #160914
    frostentangle
    Participant

    Yes I tried disabling all plugins except the bbpress plugin itself. I also switched to a default theme but no luck.

    I have the forum slug set as ‘forums’ and I used the bbpress.php file for the template. I tried creating a page named “Forums” with the URL https://www.fantasyfootballbackers.co.uk/forums/ and removed the file bbpress.php but the issue still remains. Currently it is using the bbpress.php template.

    #160912
    Robin W
    Moderator

    ok, so is it the same with plugins disabled and default theme as per

    Before Posting

    and how is your forums page constructed – eg shortcodes, bbpress.php file etc.

    #160886
    Robin W
    Moderator

    MkEditor 4.4.5 (when this is active replaces the default message box)

    and with that disabled???

    #160881
    AlbertFox
    Participant

    Hello! i have a problem with bbpress, html tags are appearing on the sending posts.
    The system now makes line breaks also and <br>.

    Sometimes also a paste from pdf or word appears wrong.
    Can you help? The idea would be to write and paste can look good without these problems appear.

    Very thanks for all 🙂
    have a nice day

    BBPress version 2.5.4
    Wordpress 4.1.1
    MkEditor 4.4.5 (when this is active replaces the default message box)

    #160844

    In reply to: Topics are not adding

    Robin W
    Moderator

    ok I think you need to strip this down and rebuild

    I’d suggest that you create a test site

    https://codex.bbpress.org/creating-a-test-site/

    then on the test site

    disable all plugins except bbpress AND switch to a default theme such as twentyten

    Then if this doesn’t fix, go into

    tools forums and reset forums to delete all the data

    Then uninstall and reinstall bbpress.

    Then prove that this set-up ie a default theme with no other plugins, just bbpress, works by creating topics, and checking the backend shows forum etc.

    You should then have a working site

    next add you theme back and check again

    Then you can add plugins one at a time to find out what is wrong,testing each time that it still works.

    If it all re-builds ok, then you can do the same reset and re-install to fix the live site

    Lots of work, but until you get to a stripped down working site, you’ll probably not make progress.

    #160799

    In reply to: Topics are not adding

    Robin W
    Moderator

    hmmm

    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, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    Then come back

    Robin W
    Moderator

    I presume you want rid of the one to the left of search ?

    that should be in

    bbpress/templates/default/bbopress/content-archive-forum.php line 24 in 2.5.5

    Robin W
    Moderator

    bit of a difference between

    and wanted it removed completely

    and

    I merely want to move it.

    🙂

    but it doesn’t seem as if that’s possible.

    um, yes it is, you just hadn’t asked !

    just use

    <?php bbp_breadcrumb(); ?>

    in the code

    there are many template files that use this

    just look in

    templates\default\bbpress\

    and you’ll find all the templates

    tell us where you want it, and we’ll try to help further

    #160742
    davidnsfw
    Participant

    I know what he means,

    here http://www.playstationforum.dk/debat/

    the title of the main forum, it is “Archive – site name” by default.

    I do not know also how change it.

    #160739
    davidnsfw
    Participant

    Welcome.

    Thanks, now there is no sidebar.

    But I want to make the forum wider,

    here is screenshot https://i.imgur.com/gAv9v1h.png

    Is it possible?

    Also, do you know how to change the title of the main forum, it is “Forums Archive – site name” by default.

    #160727

    In reply to: Setup problems

    Robin W
    Moderator

    ok,

    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, as a test switch to a default theme such as twentytwelve, and see if this fixes.

    Then come back

Viewing 25 results - 2,376 through 2,400 (of 6,813 total)
Skip to toolbar