Robkk (@robkk)

Forum Replies Created

Viewing 25 replies - 1,026 through 1,050 (of 3,784 total)
  • @robkk

    Moderator

    I am sure the profile menu link has a class in it that you can find in the source code using the dev tools, and from there you can just float it to the left with CSS.

    something like

    .class {
      float: left;
    }

    @robkk

    Moderator

    Give me a minute to finish creating some trac tickets for a mobile layout in bbPress. I am trying not to include everything one single trac ticket.

    The mobile layout I was working on long ago was never really that great from what I can see now. It does take some points from other forum software though, but in just some areas it didn’t stay tidy well enough without causing a mess at 320px.

    Just a sidenote this topic from what I can tell, the user I think enabled threaded replies which doesn’t have a responsive styles in the bbpress plugin. And what is already there for responsive styles for the replies do not work because of some markup bug caused by the threaded replies feature and possibly its walker code.

    @robkk

    Moderator

    The code I just gave you is not the same. I changed the theme location from primary to top menu. Did you try it??

    If you link me to your site and use the code you just posted, I can probably make it where the profile link only shows on the top menu using CSS.

    @robkk

    Moderator

    Try this.

    add_filter('wp_nav_menu_items','rk_bbp_menu_profile_link', 10, 2);
    function rk_bbp_menu_profile_link( $items, $args ) {
        if( is_user_logged_in() && $args->theme_location == 'top-menu')  {
    		
    	$current_user = wp_get_current_user();
            $user = $current_user->user_nicename;
    	$profilelink = '<a href="/forums/users/' . $user . '/">Your Profile</a>';
            $items .=  '<li>' . $profilelink .  '</li>';
    
    	}
        return $items;
    }

    @robkk

    Moderator

    You find this in your theme, most likely in the functions.php file, but it could be different depending on the theme. You would spot by the register nav menu function like what is listed in this page.

    https://codex.wordpress.org/Function_Reference/register_nav_menus

    If you have a free theme I could check it out and get the arguments you need.

    If not there may be some arguments like menu slug that could help, but I need the name of the menu you are wanting to put the profile link in.

    @robkk

    Moderator

    Interesting survey results!! I keep forgetting to comment my thoughts on this!!

    I am surprised that theming bbPress is split between all three of the choices listed, I expected most people to rely on their custom built themes and theme compatibility of bbPress like last year. So it seems not just developers/knowledgeable coders know how to use bbPress with any theme.

    I can see there is a small increase of developers creating sites with bbPress forums for others, but a decrease in users creating themes and plugins. So at least more developers are interested in bbPress, but I bet once the plugin and theme development guides are finally up, that there will be an increase in plugin and theme development.

    There is an increase in multisite usage of bbPress, which is good to see.

    I believe Gaming, Academic, and Music site types could possibly use an increase in site types using bbPress.

    Users contributing to bbPress has seem to have lowered quite a bit, which is not good. Hopefully there are a few things that can change that. People are joining slack though, so there is that.

    Desktop and Laptop is being mostly used by users, while they seem to want a better mobile experience. I will keep that definitely in mind as times are changing, and people browse while on mobile more than in the past.

    I am surprised unread replies and quotes have dropped a tad for being a requested feature, but there are some great plugins that can add that functionality.

    People want bbPress topics to replace WordPress comments more than ever.

    There is a lot more positive feedback on the comments left in the survey listed at the very bottom on this. Which is very good. I also think these comments are one of the most important parts to pay attention to of the survey.

    http://mercime.github.io/bbPress-2015-survey-results/


    @mercime
    thanks for doing a wonderful job with the survey. πŸ™‚

    @robkk

    Moderator

    Hmm, the repair tools should have fixed it. There is even a repair tool named

    Recalculate the sticky relationship of each topic

    There is not really a setting for sticky topics, it is basically a post status similar to sticky posts in WordPress. The query for topics just displays sticky posts first then the rest of the topics after that.

    Did you sort the topics differently by using a code snippet from this website, like sort topics by date or something different??

    @robkk

    Moderator

    I am glad that you seem to have this working now. πŸ™‚

    @robkk

    Moderator

    Link to exactly what you are talking about. What menu items?? I think this is also something in your theme, unless your are talking about the profile menu items on the users profile.

    @robkk

    Moderator

    I think that is inherited from your theme. Link to exactly what you are talking about though.

    @robkk

    Moderator

    I think this plugin will allow you to customize how the notifications look in Settings > Forums. There might be shortcodes to change the content to use excerpt instead.

    https://wordpress.org/plugins/bbpress-custom-reply-notifications/

    @robkk

    Moderator

    They shouldn’t be able to create blog posts in the WordPress backend by default.

    Make sure that you have the New User Default Role set to Subscriber in Settings > General in the WordPress backend. Make sure to also set the default forum role in Settings > Forums to Participant for any new users to get for the bbPress forums on your site.

    If the social login plugin/or any other plugin you are using has a setting to configure the default role make sure to check on that.

    Also know that the SUbscriber role can go into the WordPress backend, but since they have low level capabilities compared to an Admin or an Author, they can only edit their profile in the WordPress backend.

    If you need to disallow users from the backend entirely by user role, install a plugin like WP No Admin.

    In reply to: Facebook Meta Data

    @robkk

    Moderator

    Well it might depend on what SEO plugin you are using. Most of them do offer a fallback image if there is no featured image on a post if not it will just pull whatever images are in the post.

    It might be best to contact the SEO plugin you are using support forum to know how to set a fallback image. It may be best to just use a site logo for a fallback image.

    @robkk

    Moderator

    I just fixed the page so other users directly copying from the page will not get the tt tags.

    @robkk

    Moderator

    Why did you contact bbPress support??

    I think that plugin is for WordPress themes??

    Also links to that plugin are quite about 5 years old, and it is not on the wordpress.org repository.

    You may need to contact the plugin author, if it is still supported.

    @robkk

    Moderator

    There is a way to put it into a specific menu if you know exactly what the theme location or any additional menu arguments of a specific menu are.

    Here is an example if the theme location is primary.

    add_filter('wp_nav_menu_items','rk_bbp_menu_profile_link', 10, 2);
    function rk_bbp_menu_profile_link( $items, $args ) {
        if( is_user_logged_in() && $args->theme_location == 'primary')  {
    		
    	$current_user = wp_get_current_user();
            $user = $current_user->user_nicename;
    	$profilelink = '<a href="/forums/users/' . $user . '/">Your Profile</a>';
            $items .=  '<li>' . $profilelink .  '</li>';
    
    	}
        return $items;
    }

    @robkk

    Moderator

    Haha! I did not even edit/create this page before. πŸ™‚

    Alright, thanks for pointing that out. I just now changed the errors you pointed out for now, but this guide might be completely rewritten later because it does contain information that is similar to/that should be in the theme compatibility guide.

    Theme Compatibility

    And it kind of has information that might be in this guide later when it is finished.

    Template hierarchy in detail

    The amending templates guide might be a comprehensive guide all about customizing the templates/creating custom templates/customizing how theme compatibility works, and not necessarily about just copying the templates in your theme and knowing that you can customize it.

    @robkk

    Moderator

    I am sure it was me πŸ™

    Tell me what and where the typo is and I will fix it.

    If you find more, just update this topic and I will fix it.

    @robkk

    Moderator

    It is weird that you got this new issue. I just tested the snippet again on my WAMP server to check with the latest version of WordPress, switched to German again, and also see if it conflicts with the last code snippet I gave you, but I do not see an issue on my side.

    In reply to: Groups and Forums

    @robkk

    Moderator

    [bbp-topic-form forum_id=$forum_id] – Display the β€˜New Topic Form’ for a specific forum ID.

    Shortcodes

    @robkk

    Moderator

    Try the above edited function again to see if it works.

    @robkk

    Moderator

    I think it is how the subscriptions work, this might be a reason TinyMCE was disabled by default too, and also for security reasons.

    There may not be an easy way to fix this without editing the core files of bbPress.

    Like I said I created this trac ticket awhile ago that is about this issue. It might take awhile before a patch is made into the bbPress plugin update though.

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

    @robkk

    Moderator

    This might do it since it says it works with custom post types.

    https://wordpress.org/plugins/aspose-pdf-exporter/

    In reply to: Comments

    @robkk

    Moderator

    Moved your reply to here since it is related to the topic you created earlier.

    You cannot move additional replies to a subforum by default or with a plugin I know. You may need to consider hiring a developer for to create this for you.

    Since I think you basically said the topic gets hidden in all the replies. You can use this function to always display the topic no matter what page you are on like how these forums have by default.

    function custom_bbp_show_lead_topic( $show_lead ) {
      $show_lead[] = 'true';
      return $show_lead;
    }
     
    add_filter('bbp_show_lead_topic', 'custom_bbp_show_lead_topic' );

    @robkk

    Moderator

    Closing in favor of your other topic.

    Displaying value in every first reply. which function ?

    Please do not create duplicate topics.

Viewing 25 replies - 1,026 through 1,050 (of 3,784 total)