Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

Viewing 25 results - 1,576 through 1,600 (of 6,788 total)
  • Author
    Search Results
  • #177757
    Roozbeh Rahmani
    Participant

    i am trying to manage a bbpress forum in Persian (it is an RTL language) and i am facing some troubles.
    apparently bbpress does not support RTL languages in URL so whenever i have anything Persian in my URL i get a 404 error on the page and as you know bbpress by default takes forum/topic name to URL (i can not tell everybody on the forum to write topic names in English) what i want to ask is one of these two:
    * is there anyway to make bbpress support RTL language in URL?
    * if not, how can i change Forum and Topic permalink from “topic/forum name” to “topic/forum ID” (so i don’t have anything Persian in URL)

    thanks in advance for answers

    #177733
    cinges
    Participant

    Hello,

    Im trying to build bbpress forum with some tutorial. I am stuck at sidebar login widged, etc. In wordpress widget menu there is no any bbPress sidebar to add bbPress addons. Iam using Zerif Lite theme, but its not working with other and default themes. Am I doing something wrong? Can you help me with that, I can give you more informations, if you want, just ask.. Thank you very much.

    Cinges

    Robkk
    Moderator

    Is the TinyMCE editor showing in your regular topic forms as well?? If not then you would have to just enable Post Formatting in Settings > Forums.

    What specific code did you use to enable the visual editor.

    Does the forum form page work fine in a WordPress default theme like TwentySixteen. If not this could be plugin related. If it works fine then it is theme related and some function in your currently active theme could dequeuing bbPress scripts.

    If it is plugin related it could be a plugin that dequeue bbPress scripts unless its on forum pages.

    It might be possible to come across this issue while trying to minify or combining JavaScript files too.

    #177705
    Robkk
    Moderator

    I was just pointing out that its possible that you may need to use another conditional as well if you did create a “forum page”.

    So you would possibly need another conditional for a user created “forum page”. If you didn’t already make sure that the “forum page” was set to have the same page slug as the default forums slug in your site set in Settings > Forums.

    An example of the additional conditional you would use would be is_page{1} where “1” is the specific page ID of your “forums page”.

    if (!is_bbpress() || is_page(1) ) {

    You can also use is_page(‘forums’) as well instead.

    https://developer.wordpress.org/reference/functions/is_page/

    I usually do not say use a “forums page” as it is not recommended during setup, but it could be useful to workaround bugs that I think usually happens when using a Genesis theme, but I guess use it until the bug is fixed in bbPress/Genesis. Well if there is still a bug.

    I would contact your theme developers support since you have a paid theme, and they can help you better since they understand the code in that specific theme, and only if you really want to dig into the code and modify it like your trying to do, or you can just use a plugin like Widget Logic to use a conditional to hide/display widgets depending on certain conditionals like is_bbpress() and is_page{}.

    #177678
    evanevans333
    Participant

    I’m starting to get the feeling, that because Forum Roles are not meant to handle Forum privacy (as per the bbPress spec), that I am supposed to set their privacy to Public and use some kind of FORUM PRIVACY plugin to make sure the content doesn’t get leaked out to Google and anonymous web surfers. Is that the intention of bbPress? It seems that’s all we got to work with. Participant role is not supposed to be for wordpress Subscribers apparently. You need to become something else, to read topics and replies inside forums marked private, and I guess shouldn’t mark a forum private with bbPress unless it’s supposed to be private for Moderators and Administrators.

    That seems so … ridiculous if you pardon my French. That Forum Roles are not for forum privacy, but more for Forum administrative privacy.

    If I might back up for a moment, what I’m trying to achieve, is that Forums that I set to Private, contents are not visible by anonymous/bots/spiders, but are visible to registered users of the website (Subscribers, which I can set to automatically default to the Participant Forum role inside bbPress settings). It seems a sane, rational, logical concept. But I do see that this issue has been going on for YEARS.

    #177654
    Robin W
    Moderator

    ok, I just did the following test.

    Forum private, topic public
    participant can read

    Forum private, topic private
    participant cannot read

    The following code then added :

    add_filter( 'bbp_get_caps_for_role', 'add_role_caps_filter', 10, 2 );
     
    function custom_capabilities( $role )  {
        switch ( $role )
        { 
            /* Capabilities for 'participant' role */
            case bbp_get_participant_role() :
                return array(
                    // Primary caps
    				// 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'   => true,
                    'read_hidden_forums'    => false,
     
                    // Topic caps
                    'publish_topics'        => true,
                    'edit_topics'           => true,
                    'edit_others_topics'    => false,
                    'delete_topics'         => false,
                    'delete_others_topics'  => false,
                    'read_private_topics'   => true,
     
                    // Reply caps
                    'publish_replies'       => true,
                    'edit_replies'          => true,
                    'edit_others_replies'   => false,
                    'delete_replies'        => false,
                    'delete_others_replies' => false,
                    'read_private_replies'  => true,
     
                    // Topic tag caps
                    'manage_topic_tags'     => false,
                    'edit_topic_tags'       => false,
                    'delete_topic_tags'     => false,
                    'assign_topic_tags'     => true,
                );
     
               
     
                break;
     
            default :
                return $role;
        }
    }
    

    Forum private, topic private
    participant can read !

    So the code works on my test site.

    Can you duplicate this and come back with results?

    #177650
    Robkk
    Moderator

    There might be a bug, because on GlotPress everything is good, its just not in that Dashboard widget.

    We do ditch our own dashboard widget and merge the stats into the Default Right Now Widget in WordPress in version 2.6 though. So in the future this hopefully won’t matter.

    Will contact someone for help.

    #177647
    van24
    Participant

    There seem to be some errors in this file:
    /wp-content/plugins/bbpress/templates/default/css/bbpress.css

    Specifically, lines 1137-1139 get highlighted by CSS debuggers.

    I was using a third party tool to generate Critical CSS for mobile optimization. These lines prevented the CSS from being parsed properly. I had to remove them temporarily, run the tool, then add them back afterwards. Perhaps these lines can be fixed/changed in the next version?

    #177643

    Topic: Threaded layout

    in forum Themes
    xmanca
    Participant

    I’m returning to WordPress after years and found bbPress as a potentially good option to convert an old forum while converting the site to use WP. What I specifically need because of user mandate is threaded topics but they need to be in a specific layout. The default for bbpress when I enable threading, is kind of a hybrid flat/threaded. What I’d like to achieve is to have the individual posts display on a page with the thread below in the form of a thread of links to those posts/replies within the thread. This is specifically what my established users are accustomed to and what they demand. The forum goes back almost two decades (original threaded forum styling) and many of the users are original members so they don’t want any fancy, newfangled flat forums…

    I’m confident that I can create the database script to do the forum migration of posts/thread/users into WP/bbPress but need some insights for achieving layout issues. Can I get some help / insights for achieving this layout? Thank you in advance.

    Paul

    #177640
    Robin W
    Moderator

    bbPress is tested with wordpress default themes. It maybe a conflict – you need to check plugins and themes

    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 twentyfifteen, and see if this fixes.

    Then come back

    #177599
    Robin W
    Moderator

    ok, I think it is because your theme has a search with the same name.

    Try this

    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-search.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-search.php
    bbPress will now use this template instead of your theme’s

    #177595
    Robin W
    Moderator

    The file is 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
    and you can amend this

    However the form has an action hook you can link to

    <?php do_action( 'bbp_theme_after_topic_form' ); ?>

    #177572
    Stephen Edgar
    Keymaster

    This behaviour changed in WordPress 4.6, it now loads WP’s translations first by default

    See https://core.trac.wordpress.org/ticket/37819 as there is a proposal that will address the issue, if you like you can also click “Watch this ticket” and you’ll get emails when there are new updates on the ticket.

    #177566
    crayc
    Participant

    Hello, I am using genesis theme the-411 which has no sidebars just a fixed widget area to the right showing social icons. The site is forced full width but the container sit at about 800px I am trying to remove that from showing on the forums page and instead show a a login for bbpress. Not sure how to go about doing this. I tried the If conditional tag on there but it does not seem to work.

    here is the code
    //* Hook social icons and click here widget areas
    add_action( ‘genesis_after_header’, ‘the_411_extras’, ‘genesis_after_sidebar_widget_area’ );
    function the_411_extras() {

    if ( is_active_sidebar( ‘social-icons’ ) || is_active_sidebar( ‘click-here’ ) || is_active_sidebar( ‘split-sidebar-left’ ) || is_active_sidebar( ‘split-sidebar-right’ )) {

    echo ‘<div class=”site-extras”>’;

    genesis_widget_area( ‘social-icons’, array(
    ‘before’ => ‘<div class=”social-icons”>’,
    ‘after’ => ‘</div>’
    ) );

    genesis_widget_area( ‘click-here’, array(
    ‘before’ => ‘<div class=”click-here”>’,
    ‘after’ => ‘</div>’
    ) );
    genesis_widget_area( ‘split-sidebar-left’, array(
    ‘before’ => ‘<div class=”split-sidebar-left”>’,
    ‘after’ => ‘</div>’,
    ) );
    genesis_widget_area( ‘split-sidebar-right’, array(
    ‘before’ => ‘<div class=”split-sidebar-right”>’,
    ‘after’ => ‘</div>’,
    ) );

    echo ‘</div>’;

    if (is_bbpress( ‘forums’ ) ) {
    /** Remove default sidebar */
    remove_action( ‘genesis_after_sidebar_widget_area’ );
    }

    }

    }

    I added the split right and left, but I only use the right for search box. Thanks!

    #177553
    evanevans333
    Participant

    Oh no kidding. Well yeah that makes sense right? On my install, even with all plugins off (except bbpress), the user Participant does not get Read Private Topics and Replies perms. Yes, I can confirm that.

    I am using the Thrive Community theme by Dunkahkdis, and he said that was not happening inside his Theme and to come over to bbPress and ask in here. He’s not irresponsible either. He’s an amazing coder, and excellent with tech support. But, you never know. You never know.

    So, just for clarity. You are saying, outright, that the Participant Role by default in bbPress is supposed to HAVE the caps: Read Private Topics and Replies
    ?

    #177551
    Robin W
    Moderator

    ok – thanks for that

    Having re-read your thread then I think what you want is:

    User : Participant
    Forum : Private
    Should be able to read, publish toics and create replies

    which is what bbpress does as default.

    Can you confirm that this is what you want, and what is not happening, and if so can you let us know

    what theme you are using
    what plugins you are using

    #177522
    Bingo Bongo
    Participant

    Hi –

    (For our forums here – http://www.zetaunit.com/forums/ – W.P. V 4.5.3, using Avada 4.02)

    I see in the documentation that it is possible to replace the default bbpress wordpress template for

    the Forum Root Slug ‘Forums’

    by adding a page in WordPress called /forums/

    and then inserting the bbpress shortcode for forum archives.

    I tried this also with ‘forum’ for individual forums, and I see other Slugs available in Settings > Forum

    Single Forum Slugs

    Custom slugs for single forums, topics, replies, tags, views, and search.

    Forum
    Topic
    Topic Tag
    Topic View
    Reply
    Search

    Am I missing something, or is there a simple way to replace each of the pages used by bbpress by default, just by creating pages named e.g. ‘topic’, ‘topic-view’ etc? And then insert the relevant shortcode for that content?

    It seems like ‘it should be there’ but can’t find documentation apart from customising my child theme etc.

    Thanks in advance 🙂

    #177505
    MalMac
    Participant

    Continuing on….

    In my themes function.php file I have the following which creates my thumbnail:

    	// /bbpress/templates/default/content-single-forum
    	add_action('bbp_template_before_single_forum', 'pym_print_featured_image_single_forum', 11);
    	add_action('bbp_template_before_single_forum', 'pym_print_forum_description', 12);
    	
    	function pym_print_featured_image_single_forum() {
    		if (has_post_thumbnail()) {
    			echo '<div class="pym-bbp-topic-thumbnail">';
    			echo get_the_post_thumbnail(null, 'thumbnail' );
    			echo '</div>';
    		}
    	}

    I have been calling this elsewhere in my template using ”

    
     <?php do_action( 'bbp_template_before_single_forum' ); ?>

    I am now trying to edit content-single-forum.php to call this thumbnail using the following:

    <?php bbp_get_template_part( 'loop', 'topics' ); ?>

    How do I go about getting the thumbnail to be called in the loop?

    Thanks, Malcolm

    #177472
    Robkk
    Moderator

    @aviazz

    You already should have a way to view topics with no replies. By default bbPress has a feature called Views. It allows you to display topics with various different arguments. Topics with no replies should be one of the 2 default views which are Most popular topics and Topics with no replies

    You can link to the existing page using the Topic Views widget in your sidebar, or you can use a shortcode already provided by bbPress to display a view shortcode in a page and add it to a menu. You can also also instead add a custom link to a menu in the menus section in Appearance > Menus if you do not need to use a shortcode in a page.

    The widget is called the Topic Views widget that you will be able to see in Appearance > Widgets or you can manage your sidebars using the Customizer API in Appearance > Customize in the WordPress backend.

    https://codex.bbpress.org/features/widgets/

    The shortcode you would want to use is [bbp-single-view id='no-replies']

    https://codex.bbpress.org/features/shortcodes/#views

    If for some reason you may not already have the default view. See if its related to a theme/plugin function removing the default view by troubleshooting.

    Plugin Troubleshooting

    https://codex.bbpress.org/getting-started/troubleshooting/#plugins

    Theme Troubleshooting

    https://codex.bbpress.org/getting-started/troubleshooting/#themes

    If its not a theme/plugin issue we can check to see if its a possible bug causing an issue.

    #177471
    Stephen Edgar
    Keymaster

    @rateyourway The “freshness” term has been removed from bbPress 2.6 (/dev) so you will not see it in the translation files, it is still there for the current bbPress 2.5.x see:
    https://translate.wordpress.org/projects/wp-plugins/bbpress/stable/es/default?filters%5Bterm%5D=freshness&filters%5Buser_login%5D=&filters%5Bstatus%5D=current_or_waiting_or_fuzzy_or_untranslated&filter=Filter&sort%5Bby%5D=priority&sort%5Bhow%5D=desc#

    Edit: The string may also be coming from your theme, switch themes to one of the included “Twenty” themes to double check.

    #177470

    In reply to: meta-single-topic

    Robin W
    Moderator

    I’m not sure that this is in bbpress – it may be that it is in your theme, or your theme is amending bbpress.

    Try the following to see if it disappears and to work out what is creating this

    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 twentyfifteen, and see if this fixes.

    Then come back

    #177453
    epretorious
    Participant

    This may be easier than I’d thought:

    [root@cp bbpress]# grep -r 'You must be logged in' *
    languages/bbpress.pot:msgid "You must be logged in to create new forums."
    languages/bbpress.pot:msgid "You must be logged in to reply to this topic."
    languages/bbpress.pot:msgid "You must be logged in to create new topics."
    templates/default/bbpress/form-forum.php:			<p><?php is_user_logged_in() ? _e( 'You cannot create new forums.', 'bbpress' ) : _e( 'You must be logged in to create new forums.', 'bbpress' ); ?></p>
    templates/default/bbpress/form-topic.php:			<p><?php is_user_logged_in() ? _e( 'You cannot create new topics.', 'bbpress' ) : _e( 'You must be logged in to create new topics.', 'bbpress' ); ?></p>
    templates/default/bbpress/form-reply.php:			<p><?php is_user_logged_in() ? _e( 'You cannot reply to this topic.', 'bbpress' ) : _e( 'You must be logged in to reply to this topic.', 'bbpress' ); ?></p>

    What’s the “best practice” for modifying the languages file? Is that something that I can achieve with a child theme?

    TIA,
    Eric Pretorious
    Portland, OR

    #177452
    epretorious
    Participant

    > Thanks, Pascal: That worked perfectly!

    One, very important correction: If visitors to the site aren’t logged in, they see nothingnot even the warning that “You must be logged in to…” 🙁

    There must be an easy way to do away with that “Oh bother!…” bit of text without leaving visitors in the dark. 🙁

    Maybe I should just manually change the source:

    [root@cp bbpress]# grep -r bother *
    languages/bbpress.pot:msgid "Oh bother! No forums were found here!"
    languages/bbpress.pot:msgid "Oh bother! No replies were found here!"
    languages/bbpress.pot:msgid "Oh bother! No search results were found here!"
    languages/bbpress.pot:msgid "Oh bother! No topics were found here!"
    templates/default/bbpress/feedback-no-topics.php:	<p><?php _e( 'Oh bother! No topics were found here!', 'bbpress' ); ?></p>
    templates/default/bbpress/feedback-no-replies.php:	<p><?php _e( 'Oh bother! No replies were found here!', 'bbpress' ); ?></p>
    templates/default/bbpress/feedback-no-search.php:	<p><?php _e( 'Oh bother! No search results were found here!', 'bbpress' ); ?></p>
    templates/default/bbpress/feedback-no-forums.php:	<p><?php _e( 'Oh bother! No forums were found here!', 'bbpress' ); ?></p>

    Eric Pretorious
    Portland, OR

    Robin W
    Moderator

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

    Then come back

    #177422

    In reply to: Dynamic Profile Link

    s1r0n
    Participant

    So, another question, does somebody know how to generate the nice layout of the above menu?

    How bout positioning? The default position is at the very top. How does bbpress get it to render underneath the header?

Viewing 25 results - 1,576 through 1,600 (of 6,788 total)
Skip to toolbar