Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'forum'

Viewing 25 results - 51 through 75 (of 20,277 total)
  • Author
    Search Results
  • #334731

    In reply to: disable rss

    Thanks Venutius, I spent some time using your code along with ChatGPT and this seems to have worked for me, all the feeds are gone….maybe this will help someone else!

    function disable_all_rss_feeds() {
        // Disable all WordPress feeds
        function disable_all_feeds() {
            wp_die(__('No feed available, please visit the <a href="'. get_bloginfo('url') .'">homepage</a>!'));
        }
    
        add_action('do_feed', 'disable_all_feeds', 1);
        add_action('do_feed_rdf', 'disable_all_feeds', 1);
        add_action('do_feed_rss', 'disable_all_feeds', 1);
        add_action('do_feed_rss2', 'disable_all_feeds', 1);
        add_action('do_feed_atom', 'disable_all_feeds', 1);
        add_action('do_feed_rss2_comments', 'disable_all_feeds', 1);
        add_action('do_feed_atom_comments', 'disable_all_feeds', 1);
    
        // Remove RSS feed links from the header
        remove_action('wp_head', 'feed_links', 2);
        remove_action('wp_head', 'feed_links_extra', 3);
    
        // Disable BuddyPress feeds
        remove_action('bp_activity_feed', 'bp_activity_action_sitewide_feed');
        remove_action('bp_activity_sitewide_feed', 'bp_activity_action_sitewide_feed');
        remove_action('bp_member_activity_feed', 'bp_activity_action_sitewide_feed');
        remove_action('bp_group_activity_feed', 'bp_activity_action_sitewide_feed');
        remove_action('bp_member_feed', 'bp_dtheme_activity_feed');
        remove_action('bp_group_feed', 'bp_dtheme_group_activity_feed');
    
        // BuddyPress Nouveau template pack feed removals
        remove_action('bp_nouveau_group_header_meta', 'bp_nouveau_group_meta', 50);
        remove_action('bp_nouveau_group_header_meta', 'bp_nouveau_group_meta', 50);
        remove_action('bp_nouveau_action_activity_content', 'bp_nouveau_activity_feed', 5);
    
        // Disable BuddyPress members feeds
        remove_action('bp_members_directory_members_feed', 'bp_members_feed');
    
        // Disable BuddyPress groups feeds
        remove_action('bp_groups_directory_groups_feed', 'bp_groups_feed');
        remove_action('bp_group_activity_feed', 'bp_group_activity_custom_feed');
    
        // Disable BuddyPress blogs feeds
        remove_action('bp_blogs_directory_blogs_feed', 'bp_blogs_feed');
        remove_action('bp_blog_comments_feed', 'bp_blog_comments_custom_feed');
    
        // Disable BuddyPress forums feeds
        remove_action('bp_forums_directory_topics_feed', 'bp_forums_feed');
        remove_action('bp_forums_topic_feed', 'bp_forum_topic_custom_feed');
    }
    add_action('bp_init', 'disable_all_rss_feeds', 1);
    
    // Disable BuddyPress Nouveau feeds
    function disable_buddypress_nouveau_feeds() {
        remove_action('bp_nouveau_activity_feed', 'bp_nouveau_activity_feed');
        remove_action('bp_nouveau_group_feed', 'bp_nouveau_group_feed');
    }
    add_action('bp_init', 'disable_buddypress_nouveau_feeds', 1);
    
    // Disable pingbacks and trackbacks for privacy
    add_filter('xmlrpc_methods', function($methods) {
        unset($methods['pingback.ping']);
        return $methods;
    });
    
    add_filter('wp_headers', function($headers) {
        unset($headers['X-Pingback']);
        return $headers;
    });
    
    add_filter('pings_open', '__return_false', 10, 2);
    
    // Remove RSS feed div by ID and class using jQuery
    function remove_rss_feed_div() {
        if (is_buddypress()) {
            ?>
            <script type="text/javascript">
            jQuery(document).ready(function($) {
                $('#activity-rss-feed.feed').remove();
            });
            </script>
            <?php
        }
    }
    add_action('wp_footer', 'remove_rss_feed_div');
    
    add_filter( 'bp_rest_api_is_available', '__return_false' );
    locker17
    Participant

    I need to limit the entry of characters in a multiline textarea at the user profile settings (frontend). There are several questions about this in this forum with no real solution. Most of them are several years old.

    As far as I see is buddypress using the tinyMCe editor together with this field.
    On the tinyMCe blog they provide a solution to “How to limit characters and set a maxlength with TinyMCE”

    How can I use that in buddypress? I would need to use the wordcount plugin and edit the tini.init script.
    If I can’t implement that in buddypress is there any other solution for this issue?

    #334279
    kkjdroid
    Participant

    My plugin (forum won’t let me post it directly): https://pastebin.com/FR6CGk0Y

    #334116
    ferencvaros
    Participant

    Hi!

    I have a WordPress website with the theme Jannah. It is compatible with both BuddyPress and BBPress which I use for forums.

    I have just now installed BuddyPress, and I think it looks great. It gives me all the features that I’m looking for, for my small community.

    However, there is something that annoys me. It is the “name” field. It appears automatically in the registration page, and of course on the edit user page.

    How can I get rid of this field? Basically I would just like to have these as required fields:

    – Username
    – Email
    – Password

    Thanks

    stephunique
    Participant

    I have tried the solutions found on the internet including the one here on Buddypress Forum, and also this one: https://www.cozmoslabs.com/docs/profile-builder/add-ons/buddypress/#Hide_8220This_field_can_be_seen_by8221_notification_displayed_under_the_fields

    but they all seem to hide only the message on the registration form and not in their profile. I want to hide it everywhere.

    Anyone with a new idea?

    thinlizzie
    Participant

    That code you linked to is certainly a big confusing mess of errors, rewrites, suggestions etc.

    Best if you visit the forum on the Buddydev website, which is operated by Brajesh who wrote that original code snippet. You will get a definitive answer there.

    #334060
    thinlizzie
    Participant

    Thanks venutius for removing all potential spam from this forum, it’s appreciated.

    The question was regarding: why are forums not showing on my Buddypress site?

    My reply: Buddypress does not include forum functionality by default.
    Usually this can be added via another plugin eg. bbpress.

    Find the bbpress plugin on the WordPress plugins website.

    Install it, that should solve your issue.

    #334023
    hexoliving
    Participant

    Hello

    I’m running a community-site and would like to adjust the replies within the activity stream.
    Right now the comments are nested and all looks great. Within the theme it’s setup to show 5-6 comments before it adds a “load more” button in order for the activity stream not to be too long. This is however not available on the replies to the comments and now when people reply to the same comment – it just keeps going.

    Is there any way to make the replies on the comments nested too?

    I can’t seem to find any code, plugin or answers within forums (only about nesting the comments itself, but not the replies). 🙂

    Thanks

    greenzone
    Participant

    Aha. got it. He built a new plugin that does the same thing. You can find it here for $29. BuddyPress Group Tabs Creator Pro.

    It’s a little counter intuitive to configure, but the key is to match the “slug” for an existing tab precisely. (i.e. for Forums, the slug is “forum”) If you don’t put the slug in exactly, it won’t use that tab as the default. Works perfectly.

    greenzone
    Participant

    There is/was a plugin called “BP Default Group Tab” which worked perfectly. It’s a premium plugin from BuddyDev that’s still offered. That said, it seems not to be working anymore, which is such a shame. Now I’m trying to make Forum the default landing page for my groups, and have been struggling for days… I can find old code from 12 years back, but nothing that seems relevant to the newer Buddypress code.

    thinlizzie
    Participant

    Totally agree.
    If you have a technical issue with Buddypress then you are likely to struggle to get any proper assistance on this forum.
    It’s very unfortunate.
    And this is the official, recommended support forum for Buddypress? Really?
    I understand Buddypress is free, costs zero to use.
    That’s great!
    But zero technical support … not great.

    Crissy, you might try contacting the guys at the Buddydev website, they might help you.

    #333989
    Koka boka
    Participant

    Hi @imath
    Thanks for the help!
    Maybe you can suggest something with this. I want to add a counter of new posts from the activity feed to the custom menu.
    I put it in functions.php but didn’t get any results. With my meager knowledge, I did not succeed. I can’t figure out how to add a counter to my custom menu.
    P.S I’m not sure that the code itself is workable!

    Here on the forum I was offered the following code:

    <?php
    function bp_update_last_visit() {
    if (is_user_logged_in()) {
    update_user_meta(get_current_user_id(), 'last_visit', current_time('mysql'));
    }
    }
    add_action('wp_login', 'bp_update_last_visit'); 
    add_action('wp', 'bp_update_last_visit'); 
    ?>
    <?php
    function bp_get_new_activity_count() {
    $last_visited = get_user_meta(get_current_user_id(), 'last_visit', true);
    $args = array(
    'action' => 'new_post', // Adjust based on the actions you want to count
    'since' => $last_visited, // Filter activities since the last visit
    );
    
    // Query BuddyPress activity with arguments
    $activities = new BP_Activity_Query($args);
    return $activities->get_total();
    }
    ?>
            <?php
            function add_activity_notification_count() {
    $count = bp_get_new_activity_count();
    if ($count > 0) {
    echo '<span class="activity-notification-count">' . $count . '</span>';
    }
    }
    add_action('bp_menu', 'add_activity_notification_count');
      ?> 
    #333983
    soundmatters
    Participant

    Hey guys,

    I’m wondering if you can help.

    I installed BB-Press & BuddyPress a few weeks ago and quickly found the need to add a CAPTCHA to stop the spam sign ups.

    I installed it, and it slowed them down, but I’m still getting sign ups that are clearly fake.

    Attached is a screenshot of the settings and below is a link to the website forum.

    Are you able to see where they might be getting through?

    Sound Matters Forum

    https://www.dropbox.com/scl/fi/n2chgzvwbwigsx61p30sd/Screenshot-2024-05-08-at-14.56.25.png?rlkey=ak3b4eang7t240qekjaplos3t&dl=0

    Thanks,
    Marc

    #333970
    thinlizzie
    Participant

    Hi,
    I think this is a topic for the Better Messages support forum, but you can try the following:

    Edit the specific email to remove the part which includes the message text.

    So, go to …

    WP Admin ->Emails ->All Emails

    Identify the specific email which gets sent (“You have unread messages”)

    Edit it, delete the {{{messages.html}}} token, click Update, all done.

    Hope that works for you.

    #333904
    angelinajaade
    Participant

    You mentioned a team that supports BP on WP.com. I do not see specifically BP mentioned in my WP install but shall head for their forums and see what I can find.

    Thank you.

    stephunique
    Participant

    Hello,

    I would like to remove the statement that shows on the registration page:

    “Registering for this site is easy. Just fill in the fields below, and we’ll get a new account set up for you in no time.”

    I see there has been other questions about this, (for example, here: https://buddydev.com/support/forums/topic/hide-register-text-in-bp-regsiter-form/) but it has not been resolved for me. I am not using Buddypress Nouveau. I have BuddyPress 12.4.0.

    Thank you

    #333816
    lmstearn
    Participant

    Interesting, the _wpnonce is required or else it won’t work.
    Anyhow, it looks more like a longstanding bbPress issue from sometime back:

    “New Reply”-Notification – Link to the Reply, not Topic


    Funny that, as the #post-XXXX is included in the jump link.

    Steph
    Participant

    Ok, I am trying to set up a local community for goldfish enthusiasts. Yeah, sorry this is far out, but aren’t we all that, in some way or an other?

    Anyway, I have been looking at forums, where I had planned to create categories for people to share projects, updates, ask questions, promote their social media posts etc. O couædnt find any that quite intergrated as well into wordpress as buddypress, but I am struggling to see if it has the functionality that I need.

    As far as I can see, users can post updates (like a tweet update correct?) and they can (maybe?) write blog posts on the site? This will allow others to comment and run a discussion this way. This may be ok for most uses actually, especially if set up with categories.

    But how could I fun administrator and moderator discussions, or get suggestions started from the users?

    I really like how BuddyPress looks on the site, but I am aftraid that I may indeed need a forum (especially after finding one here!)

    #333814
    lmstearn
    Participant

    Apologies, it may be a bug in this “fairly standard” setup, the target url is:

    https://somesite.com/forums/topic/sometopic/#post-XXXX

    https://somesite.com/forums/topic/sometopic/?action=bbp_mark_read&topic_id=YYYY&_wpnonce=f831c3e366#post-XXXX

    Something in the:

    ?action=bbp_mark_read&topic_id=YYYY&_wpnonce=f831c3e366

    is failing – could it be something site specific? The topic is consequently marked as read, the jump to beginning of topic has been the case for some time now.

    #333793

    In reply to: Group Forum Bug

    Varun Dubey
    Participant

    @planetearthlings You can delete those forums from the backend dashboard
    All forums get listed under Forums menus.

    #333792
    planetearthlings
    Participant

    Hi All, I’m using the Vikinger theme to create a social network experience for the Educational Virtual World we are creating. I have WordPress 6.5.2, BuddyPress 12.4.0 and the website is: https://www.zarbul.com.

    While creating Groups with the “Enable forum for this group” checked I received an error message saying one of the group images wasn’t the right size even though it was the same as all the others I created. On the third time it was accepted, but when I went to the Group Forums I’m saw the forum for that group listed THREE times. When I went back and unchecked the “Enable forum for this group” it removed one of the listing, but there are still two more…and when I click on them I get a 404 error.

    How do I get rid of the those Group Forum listings which aren’t connected to any groups?

    #333523
    nktine
    Participant

    Hi i’ve got a problem with notifications (i search throught forum but didn’t find solution) .

    When notifications is sended , i always get {{{activity_reply}}} or {{{message}}}in mail’s text instea of the content of it . Seems not recognized by the system . Does this one need only 2 and not 3 ‘{‘ ?

    (yet i didn’t change anythin from original release )

    Where can i change this in this case ? (i use last wordpress and last buddypress updated versions )

    #333447
    lostinpress
    Participant

    There can be a few reasons why comments aren’t showing up in your activity stream. Here’s how to troubleshoot the issue:

    Check Settings:
    Platform Settings: Verify that comments are enabled for the activity stream and for the specific content type (e.g., blog posts, forum discussions) you’re looking at. This might be in your platform’s administration panel.
    Comment Moderation: Is comment moderation enabled? Comments might be waiting for approval before showing up.

    Content vs. Stream:
    Comment Location: Were the comments made directly on the post or within the activity stream itself? Some platforms only show comments made on the original post in the activity stream.

    Technical Issues:
    Cache: Clear your browser cache and reload the page. Outdated cached data might hide comments.
    Plugins/Themes: If you’re using a custom theme or plugins related to activity streams or comments, try temporarily deactivating them to see if there’s a conflict.

    Platform Specifics:
    For example, BuddyPress (a popular social networking plugin for WordPress) has settings related to where comments appear in the activity stream. Look for documentation specific to your platform.

    jgasba
    Participant

    You have to click the “Unsubscribe” in the mail notification and it will set the notification_members_membership_request user meta to “no” and thus not send you more emails.

    (I wrote a in depth answer but the magic of forum posting made it disappear. If you received it by mail, it’be cool if you could repost it below, thanks.)

    #333405
    wingflap
    Participant

    How do I get the Hidden group forum topics visible to the non-admin users who are members (or creators) of hidden groups?

    I got this to work by activating the BP Classic plugin.

Viewing 25 results - 51 through 75 (of 20,277 total)
Skip to toolbar