Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 776 through 800 (of 11,571 total)
  • Author
    Search Results
  • #221232

    In reply to: is_bbpress not working

    Robin W
    Moderator

    there is an action hook on the forums index so

    add_action ('bbp_template_before_forums_index' , 'test_bbpress');

    shoul dwork

    #221226
    nathan767
    Participant

    Hello,

    I currently have this plugin installed onto my website which I plan on updating soon and I would like to know if it is compatible with the latest version of WordPress 5.7.2.

    The current version of WordPress I am running is 5.5.5.

    #221224
    bobdobbs
    Participant

    I’m trying to detect requests for the bbpress forum index page.

    Initially I tried ‘bbp_is_forum_archive()’.
    This doesn’t return true from the forum archive page.

    I decided to test if any bbpress conditional tags were working, so I tested ‘is_bbpress’, because the function calls many (maybe all?) of the other conditionals.

    However, ‘is_bbress’ doesn’t return true either.

    However, on any page in my site, whether bbpress is on that page or not, this condition returns true:
    ‘if ( ! is_bbpress() )…’

    What could be happening here?

    This is my function and the hook I’m using:

    add_action('init', 'test_bbpress');
    function  test_bbpress() {
    
        if (  is_bbpress()  ) {
    	wp_die("got to the forums page") ;
        }

    }

    #221220
    tarabusk
    Participant

    Hi,
    I’m presently working on a beta version of an existing bbPress WP Website, and I’ll need to retrieve ONLY the latest bbpress activity from the prod website to the beta website (only new users, new subjects etc …) I can not find a way to do it (the import/export tool deal with ALL the data which i don’t need)
    Any suggestion would be greatly appreciated.

    #221195
    ozwest
    Participant

    Same problem here, I will download the plugin and test.

    Robin W
    Moderator

    bbpress just uses wordpress.

    I’d suggest 2 things

    1. test using an email tester eg

    WP Test Email

    2. get details of your SMTP email configuration form your host and use

    WP Mail SMTP by WPForms

    #221175
    Robin W
    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    sk80au
    Participant

    Hi,

    I’m testing my new website and found a problem with user registration. When a new user registers (in this case myself using a different email address), the verification email isn’t being send to the user.

    I, as an admin receive the email that the user x is registered.

    Wondering what could cause this issue? and is there any known fix for this?

    bjornwebdesign
    Participant

    Well, as you can see, the code posted here is almost 5 years old. So it’s understandable it doesn’t work anymore ;-). Also, I don’t think a 404 means it’s a “serious privacy issue”. Something isn’t working correctly, so my first step would be to check the logs and see what is causing the 404 and go from there.

    Very busy atm and currently don’t have a BP test setup running. If you still need a solution maybe I can find some time in the coming days.

    bobdobbs
    Participant

    After installing bbpress I have a set of forums.

    Every forum is presented using a php template in my child theme.
    The php template has the filename bbpress.php.

    I’d like to create a php template that applies *just* to the individual forum pages. Not the forum topics or singles. Or anything else.

    I’ve been looking at this:

    Template hierarchy in detail

    The heirarchy seems to suggest that you can use ‘single-[forum].php’, which suggests that ‘[forum]’ needs to be substituted with the name of the forum.

    … which is great. But I want one template to be applied to all forum singles and nothing else.

    Just to test, I copied my existing bbress.php to a file called ‘single-forum.php’.
    bbpress did pick this up and use it for my forum singles.
    But the page didn’t present the actual forum. Where the forum should have been, there was just empty space.

    So… how do I create a template that gets applied to all forums and nothing else?

    Robin W
    Moderator

    BOTH

    You will need to test the below, as I don’t use either plugin on any forum site.

    PM PRO

    for PMpro you have the following hooks :

    Action and Filter Hooks

    I am guessing that pmpro_membership_post_membership_expiry is the correct hook.

    so the code you need is :

    add_action( 'pmpro_membership_post_membership_expiry', 'rew_remove_subscriptions') ;
    
    function rew_remove_subscriptions ($user_id=0) {
    	$forums = bbp_get_user_subscribed_forum_ids ($user_id) ;
    	foreach ($forums as $forum=>$id) {
    		bbp_remove_user_subscription ($user_id, $id, 'post' ) ;
    	}
    	$topics = bbp_get_user_subscribed_topic_ids ($user_id) ;
    	foreach ($topics as $topic=>$id) {
    	bbp_remove_user_subscription ($user_id, $id , 'post' ) ;
    	}
    }

    MEMBERPRESS

    for Memberpress you have the following links

    https://docs.memberpress.com/article/325-action-hooks-in-memberpress

    I am guessing that ‘mepr-event-subscription-stopped`

    is the correct one, but you might need to query with memberpress

    so for memberpress you would have

    add_action( 'mepr-event-subscription-stopped', 'rew_remove_subscriptions') ;
    
    function rew_remove_subscriptions ($event) {
    	$subscription = $event->get_data();
    	$user_id = $subscription->user();
    	$forums = bbp_get_user_subscribed_forum_ids ($user_id) ;
    	foreach ($forums as $forum=>$id) {
    		bbp_remove_user_subscription ($user_id, $id, 'post' ) ;
    	}
    	$topics = bbp_get_user_subscribed_topic_ids ($user_id) ;
    	foreach ($topics as $topic=>$id) {
    	bbp_remove_user_subscription ($user_id, $id , 'post' ) ;
    	}
    }

    BOTH

    Put this in your child theme’s function file –

    ie wp-content/themes/%your-theme-name%/functions.php

    where %your-theme-name% is the name of your theme

    or use

    Code Snippets

    #221008
    Back to Front
    Participant

    Hi again 🙂

    I’m using the Twenty Twenty theme with bbpress.

    On any single topic, the ‘next’ link of the pagination jumps to the latest topic. The ‘previous’ link is missing. On the latest topic, the ‘next’ link links to itself.

    On any forum, it does the same.

    On posts, it works as expected.

    This is a child theme, but I get the same results with the parent theme active, and with all plugins other than bbpress deactivated.

    I’ve also asked this question over at twenty twenty theme but no replies. https://wordpress.org/support/topic/pagination-not-working-with-bbpress-topics-replies/#post-14510051
    I guess this question may have more to do with the theme than with bbpress, but perhaps I’m wrong? Do other themes pagination work as expected with bbpress forums and topics? Perhaps I could swap out twenty twenty’s pagination for that of another theme?

    Do you have any clues what’s gone wrong? I think pagination is really important for the site, and the twenty twenty themes style of pagination is very visually appealing, so I’d prefer to get it working rather than delete it!~

    #220999
    Back to Front
    Participant

    Hi sorry its been a while! Been busy with other projects.


    @robin-w
    @webmasterfreya this is what I’ve done to reverse the reply order on certain topics. And now I’ve come back to it after a month, I can’t reproduce the issue of it breaking the pagination. It seems to work as expected, without adding another function to mess with the pagination.

    Install

    bbPress – Sort topic replies

    Remove the parts that sort the forum’s topic order, as they are causing errors, and they aren’t desired for this purpose (sorting the reply order)

    // Adds meta box to the side bar of the Forums edit pages
    add_action( 'add_meta_boxes', 'bbPress_meta_box_add' );
    function bbPress_meta_box_add(){
    	add_meta_box( 'bbPress_meta_box_sort_desc', 'Sort Replies', 'bbPress_forum_meta_box', 'forum', 'side', 'high' );
    }
    

    and

    	// Save sort settings for forum
    		if( $_POST['str-bbpress-sort-replies'] == "desc" ){
    			update_post_meta($post_id, '_bbp_sort_desc', 'desc');
    		}elseif( $_POST['str-bbpress-sort-replies'] == "asc" ){
    			update_post_meta($post_id, '_bbp_sort_desc', 'asc');
    		}else{
    			update_post_meta($post_id, '_bbp_sort_desc', 'dft');
    		}
    

    and

    	// Save show lead settings for the forum
    		if( $_POST['str-bbpress-sort-replies-show-lead-topic-forum'] == "yes" ){
    			update_post_meta($post_id, '_bbp_topic_sort_show_lead_topic_forum', 'yes');
    		}elseif( $_POST['str-bbpress-sort-replies-show-lead-topic-forum'] == "no" ){
    			update_post_meta($post_id, '_bbp_topic_sort_show_lead_topic_forum', 'no');
    		}else{
    			update_post_meta($post_id, '_bbp_topic_sort_show_lead_topic_forum', 'dft');
    		}
    

    I can send the whole file if thats more useful.

    Sorry I hope i’m not missing something that we noticed before? Actually my site is using threaded replies. So unfortunately it’s not using pagination, its unfortunate it can’t have both. But I turned it off to test this and it it worked.

    Regarding the buddypress activity stream…
    Here is an example of a member page with buddypress activity stream.
    https://houseonfire.backtofrontdesign.co/members/forum_2tbmmm/
    I think it also works as expected showing forum replies in the reverse chronological order.

    #220947
    Robin W
    Moderator

    ok, my initial suggestion would be to deactivate bbpress and see if that fixes.

    After that I do the usual troubleshooting :

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #220905

    In reply to: Can’t post replies

    phillykish
    Participant

    What a fast response. Thank you so much! I’ll be testing this tonite. I appreciate it.

    #220859
    Robin W
    Moderator

    ok, so I don’t think that is coming directly from bbpress.

    It may well be a theme or plugin issue.

    eg googling I found this :

    https://wordpress.stackexchange.com/questions/277874/creating-menu-always-gives-error-a-name-is-required-for-this-term

    so

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    dlpalumbo
    Participant

    Hi. I’ve got two test forums up. These forums will eventually be used by the Board of our retiree organization to communicate news to members and to facilitate discussion among our various committees.

    I am concerned that a great many of our members are unfamiliar with how a forum works. In particular, I’m not sure they will know to subscribe to a forum to receive emails when a new topic is posted, which, for us, is the primary function of the forum.

    I have found several suggestions on how to accomplish this but, sadly, most are now out of date. I have looked at BuddyPress, but am a bit concerned of the extra overhead the plugin will bring considering we’ve worked hard to decrease load times.

    What is the recommended way to accomplish auto subscription when a new user is added?

    Thanks for helping a clueless newbie.

    Dan

    #220776

    In reply to: Private Messaging

    Thank you, both.

    In terms of feedback I am currently experimenting with Front End PM but have the usual concerns that the developer hasn’t updated it for eight months nor tested it with recent WP versions.

    That’s not to say it doesn’t work of course, but it might not be futureproof.

    BP Better Messages may be a better option in the longer term. Last updated 18 minutes ago as I write.

    John

    Robin W
    Moderator

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

    #220681
    gloriajameson
    Participant

    Hi Robin,

    The BBpress Messages plugin you mentioned isn’t appearing when I search for the plug-in in WP control panel. Alternatively, clicking through on the link you gave I found this, perhaps this is why it’s not appearing:

    This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

    How about this one, perhaps it’s a newer version? It pops up right away on the control panel:

    BP Better Messages

    #220655
    Robin W
    Moderator

    There are tens of thousands of themes, and tens of thousands of plugins. It would be impossible to test every combination. I can’t say that bbpress has been tested with Avada !!

    As long as both theme and plugin adhere to basic standards, then it is likely that they will work together.

    The plugin is a subset of code from within buddypress, so if you have buddypress you don’t need the plugin.

    #220654
    gloriajameson
    Participant

    Thanks Robin, I had found that but was worried when I found the list of themes it had been tested on didn’t include Avada.

    Also, it sounded like it really would prefer to sit on Buddypress rather than directly onto WP?

    #220652
    gloriajameson
    Participant

    Hi,

    I’m interested in having a user-to-user Private Message function on my site. Simplest possible / no frills.

    My site is .org / wordpress v5.7.2

    Site (not yet in full use) http://forum.thehiddenpeople.ie/

    Currently activated plugins:
    Akismet antispam
    Avada Builder
    Avada Core
    Basic use avatars
    BBPress
    Disable Gutenberg

    I’ve come across a few plugins that sound like possibilities but none that have been tested with Avada. Any recommendations anyone?

    Anonymous User 18731058
    Inactive

    I’m testing out bbPress on my development site, and on the profile page, both bbp_get_user_topic_count and bbp_get_user_reply_count are returning incorrect numbers for all users. When I delete all topics, on my admin account I get a topic count of 1 and reply count of 7. When I test it out on a new user, it starts correctly at 0, but as soon as I create a new topic, the topic count jumps to 2. When I create a new reply, the reply count also jumps to 2. When I delete the topic, I get a topic and reply count of 1. I’ve tried the recount tool in Tools > Forums, but it’s not fixing the issue.

    #220629
    Robin W
    Moderator

    I would suspect this is a 404 error.

    it could be a theme or plugin issue

    Themes

    As a test switch to a default theme such as twentytwenty, and see if this fixes.

    Plugins

    If that doesn’t work, also deactivate all plugins apart from bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    If you cannot do this to your site (say because it is live) then use the ‘troubleshooting’ features of this plugin to let you test without affecting other users

    Health Check & Troubleshooting

    Then come back

Viewing 25 results - 776 through 800 (of 11,571 total)
Skip to toolbar