Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 2,376 through 2,400 (of 6,794 total)
  • Author
    Search Results
  • #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

    ebunny3k
    Participant

    Fatal error: Call to undefined method BBP_Default::epicwebs_bbp_list_forums() in /data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-content/themes/valenti/bbpress/loop-single-forum.php on line 38

    #160687
    Robin W
    Moderator

    that’s not standard bbpress behaviour – breadcrumbs just navigate within the same window.

    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

    slinkydink
    Participant

    Hi there, could someone help me figure out where to stop my bbpress topic and breadcrumb links from defaulting to target=”_blank”?

    When I’m on my forum archive page — or anywhere else on the site — everything is fine, but once I start navigating to topic pages, all of the links start popping up in new windows: http://pafoic.org/forums/

    I’m running WordPress 4.1.1 with a Customizr Pro child theme, and bbPress version 2.5.6

    I feel like the solution should be somewhere in plugins > bbpress > includes > topics but I’m just not finding it. Any help would be much appreciated. Thanks!

    #160614
    mglasser
    Participant

    Our phpbb3 forum was migrated to a brand new WordPress installation with bbPress installed (not BuddyPress). It was done by a consultant, so I am not sure how much of the code was custom vs a phpbb3 migration tool.

    We got the private topics to show to Participants by using the plugin “Capability Manager Enhanced” and allowing the read_private_topics and read_private_replies. This now allows Participants to read the private topics, but also allows them to see Hidden forums. They cannot see the content/topics of the forums, but they can see the hidden forum titles.

    The remapping to default was done with the repair tool. It had no impact, except to require me to go back and reset the handful of users that were not set to Participants.

    The big question that seems unresolved in many threads is whether Participants are supposed to see Private topics/replies, or if that is a misprint in the documentation? Why would we have to use the Capability Manager Enhanced plugin to do what the docs say should happen by default.

    #160609

    In reply to: Forum stuff gone awol

    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

    mglasser
    Participant

    WP 4.1.1
    bbPress 2.5.6

    My forums are marked as Private. My members have the forum role of Participant. They can see the private forums, but are unable to see the underlying topics. The counts are there, but when the forum is opened, they receive the message “Oh bother! No topics were found here!”.

    Using the plugin “bbPress Advanced Capabilities”, I see the following.

    View private forums : Allow
    View private topics : Denied
    View private replies : Denied

    So I use the above plugin to change the Denied to Allow for a particular user. It has no effect. I have also done the repair to remap everyone to the default, which is Participant. The private topics are also not appearing in the Twenty Fourteen theme.

    Why is this happening if private forums are supposed to be available to logged in members? How can I correct this for my 3,000 members? We just migrated all the users into the database, so is there some other flag we need to set for everyone?

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