Robkk (@robkk)

Forum Replies Created

Viewing 25 replies - 826 through 850 (of 3,784 total)
  • @robkk

    Moderator

    Try to ask Robin for the code snippet he uses in the plugin. He had a separate plugin that did it, but I am not entirely sure it still works.

    @robkk

    Moderator

    This might be custom development for now. You may need to hire a developer for this type of functionality.

    Here is a guide to help people create custom user roles with custom capabilities.

    Custom Capabilities

    The whole each user gets a private forum thing could be possible in the plugin bbPress Private Groups but I am not entirely sure. Having specific roles have their own forum is possible with the plugin though, a group of users not sure about just 1 specific user to each forum.

    Upgrading the role after they have done something is custom development also.

    In reply to: Reply text area

    @robkk

    Moderator

    Does this CSS help any?? If it doesn’t add !important to it.

    #bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content {
        max-width: 100%;
        height: auto;
    }

    @robkk

    Moderator

    @casiepa

    Any contributions to that ticket would be much appreciated.

    Any other participation in the bbPress project would be much appreciated also.

    Participate & Contribute

    @robkk

    Moderator

    @tashmash

    You can also try something like this too.

    #bbpress-forums fieldset.bbp-form textarea, 
    #bbpress-forums fieldset.bbp-form select, 
    #bbpress-forums fieldset.bbp-form input {
        border: 1px solid #ccc;
    }

    @robkk

    Moderator

    What does the plugin do?
    You can send me the plugin in a zip to my email so I can see what the actual code does, and see if there is a possible fix for it too.

    You can send the plugin to the email listed here.

    Contact

    @robkk

    Moderator

    its no problem, your welcome ๐Ÿ™‚

    @robkk

    Moderator

    Are you talking about running the purge previous import tool having an issue or really in the reset forums area.

    It is best to run the purge previous import after importing a forum and failing.

    Use this if an import failed and you want to remove that incomplete data.

    IF the reset forums tool does not do it, I guess you can try some SQL code in phpMyAdmin.

    You can try to see if @netwebs commment can help you

    https://bbpress.org/forums/topic/post-import-cleanup-help-needed/#post-133482

    Also if you regularly backup your site, you can just revert to a previous backup before you did the import. You should make regular backups if you are not doing so already too.

    @robkk

    Moderator

    @phamdacloc

    Glad you found the solution to your issue. Sorry i wasn’t much help, it is hard to know every single function in the plugin. I am digging in the code more and more though.

    @robkk

    Moderator

    @mica123

    Just making sure. It just something a user may not know at first.

    I don’t think there is a caching problem during logins?? Maybe you just refreshed a page a few times and the cache recollected again.

    I don’t really have a cache plugin to recommend, I guess just make sure that they are popular and have great support for any issues that may come up, other than that make sure they fit your needs.

    It depends on your webhost really if you rather use their caching system, some hosts like WP engine strongly encourage users to use their system, and it is pretty good.

    If you really think my login redirect code I gave you is causing the issue, you can remove it while you are trying to find this cache issue.

    @robkk

    Moderator

    @devyncjohnson

    That works fine. Glad you solved your own issue! ๐Ÿ™‚

    @robkk

    Moderator

    @mica123

    I was saying if you are using some services such as cloudflare that also cache pages, flush the cloudflare cache. If you are not using it, it is not causing the issue.

    Also a plugin called WordFence security has something called falcon engine, that is basically a caching system, If you have that installed, and falcon engine activated, flush the cache, and make sure the settings for it are set up correctly.

    @robkk

    Moderator

    Closing in favor of your other topic. Please do not create duplicate topics.

    Remove NoFollow from BBPress Posts

    In reply to: BBPress as Intranet?

    @robkk

    Moderator

    Ideally Iโ€™d like to see it appear right on the dashboard so when users log in they can see everything. If bbPress canโ€™t do it if anyone knows of a way to do this Iโ€™d be happy to hear. thanks!

    THis sounds like some custom development. You made need to hire a developer to try to create this for you. I am not sure if it is possible without basically tearing up the whole plugin, and it will be extremely hard to do.

    bbPress should work in a private community though. I think there is some plugins that can just disallow access to view any pages unless you are member out there in the WordPress repository though that might be helpful. Doing it this way would be much easier to do too.

    @robkk

    Moderator

    The favorited/subscribed data is stored in the user meta table specific to each user, I am not sure how to do this too or even if it is possible.

    @robkk

    Moderator

    Closing in favor of your other topic. Please do not create duplicate topics.

    Count topics with specific tag

    @robkk

    Moderator

    I think bbPress just uses the code from WordPress since the topic tag clouds code is close to WordPress’s version for regular posts.

    You can see the tag cloud on hover displays the number of topics.

    https://bbpress.org/forums/

    I tried searching what it was, but couldn’t really pinpoint the exact function.

    @robkk

    Moderator

    @mica123

    It is not related to that function, it is related to caching since you said you cleared your cache and it worked.

    I am guessing you just do not know where to find where the caching is happening.

    You said that you have no cache plugins, although if had one activated before, reactivate and see if you uninstalled it correctly or just flush the cache in the plugin.

    Know that some web hosts do offer some sort of caching, it might be best to ask your hosting support to see if they have caching activated for your site somewhere and how to flush the cache and disable it.

    THere are also some services like Cloudflare that have caching also so you need to check on that if you have the service.

    remember if you are going to use caching it is best to only have it for guest users and not served for logged in users.

    @robkk

    Moderator

    You can use this php Code function instead if you are not using BuddyPress. Make sure to place it in your child themes functions.php file or in a functionality plugin.

    What it does is redirect non-logged in users from see user profile pages to the default WordPress login page.

    You can change the page by editing

    site_url('wp-login.php');

    to something like this if you have a yoursite.com/login page instead.

    site_url('/login/');

    function rkk_restrict_bbp_user_pages() {
    
        if ( ! is_user_logged_in() ) {
    
           if ( bbp_is_single_user() ) {
    
                        $url = site_url('wp-login.php');
    
                            // Send them to the new URL
                        wp_redirect( $url );
    
                        exit;
    	}
        }
    }
    add_action( 'template_redirect', 'rkk_restrict_bbp_user_pages');

    @robkk

    Moderator

    To enqueue files in your child theme use get_stylesheet_directory_uri.

    Put the custom login stylesheets into your child theme named style-login.css or whatever you want to call it, and in the function use get_stylesheet_directory_uri instead of template_directory.

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

    Will check out the other topic in a minute.

    @robkk

    Moderator

    Robkk, that plugin has not been update for a long while.

    Its just about a year old. It is an extremely small plugin that uses the bbPress hooks and filters and most of the code is for the options in the plugin. You can contact the plugin developer in the support forum if you have concerns about it.

    You can also go with what @tecca said and just do simple template edits. Just make sure you have copied the templates into your child theme.

    And you could just not use ads on the forums, there are other places you can put them.

    @robkk

    Moderator

    Can you assign topic tags in a regular forum?
    Can you assign topic tags in a group forum?
    Have you tried creating custom roles?
    Have you installed a user role editing plugin?
    Have you ran any repair tools in Tools > Forums yet, especially the Remap existing users to default forum roles one?

    Have you tried most of the basic troubleshooting steps already?

    Troubleshooting

    @robkk

    Moderator

    Do not edit the bbPress plugin or modify any core files!!

    Try this custom CSS and just place it in your child themes css file or in a custom css plugin.

    #bbpress-forums fieldset.bbp-form textarea {
        border: 1px solid #ccc !important;
    }

    @robkk

    Moderator

    You cannot edit these things like the customizable templates in bbPress.

    I guess you can either use filters to customize the text, or create a custom language file.

    Here is an example of the

    function rkk_custom_admin_link( $links ) {
    
       $links['reply'] = bbp_get_topic_reply_link( array(
          'reply_text' => __( 'Reply to this Topic',   'bbpress' ),
       ) );
    
       return $links;
    }
    add_filter( 'bbp_topic_admin_links', 'rkk_custom_admin_link' );

    bbp_topic_admin_links
    bbp_reply_admin_links

    This post might help too.

    Integrating Font Awesome Icons in bbPress

    Robin showed me a function that could help modify the admin links displayed.

    Here is some example code to customize the admin links.

    //change admin links displayed
    function change_admin_links ($r) {
    $r['links'] = apply_filters( 'rw_reply_admin_links', array(
    				'edit'  => bbp_get_reply_edit_link ( $r ),
    				'move'  => bbp_get_reply_move_link ( $r )
    			), $r['id'] );
    return $r['links'] ;
    }
    add_filter ('bbp_reply_admin_links', 'change_admin_links' ) ;

    Subscribe links text I mention a way to customize it here.

    Problems overwriting defaults

    Favorite links would have a similar function except the filter is probably.

    bbp_before_get_topic_favorite_link_parse_args

    And the actual text would be

    'favorite'  => esc_html__( 'Like',   'bbpress' ),
    'favorited' => esc_html__( 'Dislike', 'bbpress' )

    @robkk

    Moderator

    Closing in favor of your other topic.

    Change text in bbPress (subscribe, favorite, reply ..)

Viewing 25 replies - 826 through 850 (of 3,784 total)