Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 926 through 950 (of 11,578 total)
  • Author
    Search Results
  • #217863

    In reply to: Deleting user account

    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

    #217840
    Robin W
    Moderator

    sorry, I’d left a line of test code in which caused the user not to be selected, fixed in 4.7.7

    I have also corrected the shortcode to do what it said in the documentation – so the default is ‘my profile’

    so

    [bsp-profile] will show ‘My Profile’ in a clickable link to the profile

    [Profile label=’This is the label’] will show ‘This is the label’ in a clickable link to the profile

    [Profile label=’Edit My Profile’ edit=’y’] will show ‘Edit My Profile’ in a clickable link to the edit section of profile

    #217837
    uksentinel
    Participant

    Thanks Robin.

    Just installed and tested, shortcode [bsp-profile] creates https://uktechhub.com/forums/users/

    No username at end ?

    I tried three different browsers and cleared cache etc

    #217795
    estakhrchi ali
    Participant

    irstly I only included the fields Robin had supplied, I do not have a copy of Snitz to test either. So I commented out but didn’t remove any of the code so that it would stand out and you could update any of these as needed which you have done.

    The forum ‘counts’ I think you may have incorrect in your post above:
    * _bbp_topic_count – The number of topics that are ‘publicly’ visible
    * _bbp_reply_count – The number of replies that are ‘publicly’ visible
    * _bbp_total_topic_count – The total number of topics (includes topics that are are unapproved or hidden)
    * _bbp_total_reply_count – The total number of replies (includes replies that are are unapproved or hidden)

    A clearer explanation of each of these would be helpful and also are each of these fields in the FORUM_FORUM database table:
    * F_TOPICS
    * F_COUNT
    * T_COUNT
    * P_COUNT

    The topic ‘counts’ is the same:ساخت استخر
    * _bbp_reply_count – The number of replies that are ‘publicly’ visible
    * _bbp_total_reply_count – The total number of replies (includes replies that are are unapproved or hidden)

    #217791
    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

    hardel
    Participant

    Hi guys,

    When browsing a user’s forum replies, page 1 works as expected:

    https://rockclass101.com/members/karenj/forums/replies/

    If you click “page 2” or “3”, then the url it generates results in a 404:

    https://rockclass101.com/members/karenj/page/2/

    It should be generating this url to work properly:

    https://rockclass101.com/members/karenj/forums/replies/page/2/

    —-

    This error is also happening for “topics started”. As you can see with this user’s page:

    https://rockclass101.com/members/lisadmh/forums/

    I’m using the latest version of WP & BBPress, but this error has existed for at least a year. Perhaps a bug?

    #217707
    Robin W
    Moderator

    I wrote a test plugin to fix this a while ago, try it and let me know if it fixes

    bbp threaded replies

    #217662

    In reply to: More link on body

    giacomo016
    Participant

    Thanks milion Robin.

    I have another two question.

    1. It is possibile to enble partecipant to remove own topic/reply?

    2. I can’t publish topic or reply with the public link, ad example

    “This is a test https://www.google.com/”

    The system block me and i’m forced to insert the code google

    There is a solution?

    Thanks milion,
    best regards
    Giacomo

    #217646
    giacomo016
    Participant

    Hi, I can’t post a reply or create a new topic with more external links.

    Like this:

    Test 1
    Test 2
    Test 3

    If I’m an admin works. If I’m a partecipant not.

    Can someone help me?
    Thanks milion,
    regards
    Giacomo.

    #217607
    Robin W
    Moderator

    you could just untick the ‘automatically give’ in the forums settings and then add it yourself on login eg untested

    add_action('wp_login', 'rew_assign_role_on_login', 10, 2);
    
    rew_assign_role_on_login ($user_login, $user) {
    $user_id = $user->ID ;
    $role = bbp_get_user_role( $user_id );
    	if ( empty( $role ) ) {
    		bbp_set_user_role( $user_id, bbp_get_participant_role() );
    	}
    }
    #217588
    sasasasaaa
    Participant

    Hi, after long searching and trying and testing my last chance is to ask here.
    I have added a special forum with shortcode in a course page and want to give all topic links, which appear in the course forum, a “?id=” at the end of the urls (the ID is the course id).

    I use a customize breadcrumb. And if I have the course ID in the url of single topic page I can use it to show correct breadcrumb.

    Does anybody know how to add “?id=” at the end of the topic links on the forum pages?

    Help is very much appreciated.

    Thanks a lot

    #217573
    vedransadic
    Participant

    Hi,

    EDIT PROFILE link leads to a non-existent page https://mypage.com/members/membername/profile/edit/group/1/
    which is HTTP ERROR 404

    I did try to activate/deactivate plugins, switch to default theme. Nothing. PHP 7.4, latest WP version, all plugins.

    #217572
    mairag
    Participant

    Hello, I have a page named Comunidad (Spanish for Community) with the same slug, also the main forum slug is /comunidad in the Settings, but when I visit the page it only shows a breadcrumb that links to nowhere. I have one forum and two topics created for test purposes.

    Index page can be seen here.

    If I visit the forum page, everything looks ok.

    I disabled all the plugins just in case there was a conflict but nothing changed.

    Any suggestions?

    #217556

    In reply to: Cant post

    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

    #217494
    mikkop71
    Participant

    We are using latest bbPress version and have encountered problem that bbPress stop working quite frequently, it doesn’t find any post.

    To fix the issue we have to disable plugin and enable again and it works again.

    Question is how to troubleshoot this kind of issue?

    #217454

    In reply to: latest bbpress 2.6.6

    wpturk
    Participant

    bbpress 2.6.6 is a minor release.

    I think you need to do some debugging in your test environment. Which DB queries are slow etc …?

    Here is the list of changes in 2.6.6

    https://bbpress.trac.wordpress.org/query?group=status&milestone=2.6.6

    #217433
    randrcomputers
    Participant

    Updated to 2.6.6 and wow did my server load spike! took me a week to figure out it was bbpress update as i also did many other updates that day anyways downgraded back to 2.6.5 all good. Any idea why this would happen? Forums are somewhat large but i dont think huge: Total forums: 36 • Total posts: 94,124 • Total topics: 7,381 • Total users: 36,925

    #217421
    pflanzenoma
    Participant

    Hello,
    my Forum http://www.exoten-forum.de is on the air for only one day now. When users postet interesting photos in “Test” I’d like to move the posting to the appropiate forum f.i. “Palm trees”. But this does not work. The “move” button only offers a new thread in the same forum. How can I move postings all over?

    WP Version 5.6
    Theme Twenty Twenty-One
    BBPress Version 2.6.6
    Site: http://www.exoten-forum.de

    Pflanzenoma

    #217377

    In reply to: Avatar issues

    JLee
    Participant

    Why am I having this issue with a clean install of bbPress? Is this a bug with latest version?

    It’s not only the spacing, but the avatar is extremely tiny, compared to this forum.

    Thank you for replying!!

    #217203

    In reply to: User Statistics

    Robin W
    Moderator

    so in the statsistics plugin you are changing

    $latest_user = get_users(
                    array(
                        'number' => 1,
                        'fields' => array("user_login", "ID", "display_name"),
                        'orderby' => "registered",
                        'order' => "DESC",
    		'meta_key' => 'wp-approve-user',
    		'meta_value' => '1'
                    )
                );

    to

    //set up $args with core arguments needed
    $args =  array(
                        'number' => 1,
                        'fields' => array("user_login", "ID", "display_name"),
                        'orderby' => "registered",
                        'order' => "DESC",
    		) ;
    		
    //add additional meta data to $args if wp-approve-user is active
    if (class_exists ('Obenland_Wp_Approve_User')) {
    	$args ['meta_key'] = 'wp-approve-user' ;
    	$args ['meta_value'] = '1' ;
    }	
    
    //then do the lookup
    $latest_user = get_users($args) ;
    
    #217199

    In reply to: User Statistics

    Robin W
    Moderator

    ok, so final amendment needed, as if you deactivate wp-approve-user then the latest user will be forevermore the last one you approved before decativating the plugin.

    If you open the wp-approve-plugin you’ll see the core file wp-appprove-user.php

    open this and you’ll see a line 29 which says

    class Obenland_Wp_Approve_User extends Obenland_Wp_Plugins_V4 {

    so we know that the wp-approve-plugin sets up a class called ‘Obenland_Wp_Approve_User’, so we can use the existence of this class to know if wp-approve-use is active or not.

    This is common to many plugins and a good way to ensure parts of code that use another plugin only fire if that plugin is active.

    so now we can change the ‘get_uses’ to only add the meta_data is the class exists

    //set up $args with core arguments needed
    $args =  array(
                        'number' => 1,
                        'fields' => array("user_login", "ID", "display_name"),
                        'orderby' => "registered",
                        'order' => "DESC",
    		) ;
    		
    //add additional meta data to $args if wp-approve-user is active
    if (class_exists ('Obenland_Wp_Approve_User')) {
    	$args ['meta_key'] = 'wp-approve-user' ;
    	$args ['meta_value'] = '1' ;
    }	
    
    //then do the lookup
    $latest_user = get_users($args) ;
    #217191

    In reply to: User Statistics

    Robin W
    Moderator

    ok, so the function within that code that gets the latest user is this

     $latest_user = get_users(
                    array(
                        'number' => 1,
                        'fields' => array("user_login", "ID", "display_name"),
                        'orderby' => "registered",
                        'order' => "DESC"
                    )
                );

    so this function brings users ordered by registered – DESC means latest is listed first, and number=>1 means just retrieve one, so this gets the latest.

    so we just need to add a lookup to say that this must also have meta ‘wp-approve-user’ set to 1 so we amend the function to

     $latest_user = get_users(
                    array(
                        'number' => 1,
                        'fields' => array("user_login", "ID", "display_name"),
                        'orderby' => "registered",
                        'order' => "DESC",
    		'meta_key' => 'wp-approve-user',
    		'meta_value' => '1'
                    )
                );

    This (untested) should work for your site.

    I don’t plan to support this plugin, but am happy to have it on my site to allow others to use it.

    Given that many many other plugins might set meta data it is not possible to cater for all, so I’ll just host the previous version. Anyone downloading will be via this thread so they can see how to update it to cater for the approve plugin.

    #217190

    In reply to: User Statistics

    Chuckie
    Participant

    I have just checked the database and wp-approve-user is always 1 with the exception of one record where it is empty. I assume this is the person that registered on my site this morning whom I have not approved.

    so we just need the latest user who has been approved

    Correct, but, if this will be part of the plugin you sponsor on your site it will need to factor if for the old way I guess too. Unless this becomes a custom code change just for me.

    #217189

    In reply to: User Statistics

    Robin W
    Moderator

    ok, so does latest user only ever show 1?
    looks like it – come back and I’ll help you with the next step

    #217188

    In reply to: User Statistics

    Robin W
    Moderator

    that was exactly what I meant – now we know what changes, so to code we need to find out which user is being displayed and get that data.

    so as you say it will be something like

    $approve = get_meta_data ($user_id, 'wp-approve-user', true) ;

    presume you mean ‘latest user’ – not keen to load the plugin to my test site as I’m mid something else – so we just need the latest user who has been approved, or do you mean something else?

Viewing 25 results - 926 through 950 (of 11,578 total)
Skip to toolbar