Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 1,951 through 1,975 (of 11,605 total)
  • Author
    Search Results
  • #190630
    Robin W
    Moderator

    ok, two wrong fixes, so I loaded it to my test site

    This works for me

    add_action ('bbp_theme_after_reply_author_admin_details', 'rew_add_email') ;
    
    function rew_add_email () {
    	$email = get_post_meta ( bbp_get_reply_id () , '_bbp_anonymous_email', true ) ;
    	if (!empty ($email))
    		echo '<p>'.$email ;
    }
    #190629
    Robin W
    Moderator

    given this is a paid theme that claims to protect your site, it is really one to raise with them.

    I don’t have their plugin to be able to test

    #190623
    Robin W
    Moderator

    ok, try this, if this fails I will load it to my test site and get it right for you

    add_action ('bbp_theme_after_reply_author_admin_details', 'rew_add_email') ;
    
    function rew_add_email () {
    	$email = bbp_get_author_email (bbp_get_reply_id () ) ;
    	if (!empty ($email))
    		echo '<p>'.$email ;
    }
    #190617
    Robin W
    Moderator

    untested (as I’ve not got anonymous set on my test site, and I’m on another project) but this should work

    add_action ('bbp_theme_after_reply_author_admin_details', 'rew_add_email') ;
    
    function rew_add_email () {
    	$email = get_post_meta ( bbp_get_reply_id () , '_bbp_anonymous_email' ) ;
    	if (!empty ($email))
    		echo '<p>'.$email ;
    }

    Add this to your functions file.

    This will put the email after the ip address on anonymous topics and replies for admins only

    If it doesn’t work come back and I’ll do some testing

    #190616
    dezrok
    Participant

    I’ve discovered it is a conflict with the Membership2 plugin (I wasn’t clearing the cache on previous plugin tests).

    I would be interested to hear if anyone has been able to get bbPress working with the Membership2 plugin without this problem as they are supposed to be integrated but I can’t find any settings that might be causing this problem.

    #190609
    Clivesmith
    Participant

    Hi,

    I allow anybody to reply to a topic, but I ask for their name and Email address, all replied are moderated, when I look at the reply under replies I can see the name but not the Email. I am sure somewhere I put “(will not be published)” after the Mail (required) label: but I cannot remember where I did that.
    I have the latest wordpress, bbpress, bbp toolkit, bbpress moderation and bbp style pack installed.
    Can someone help where to find the Email given please, I have spent two days looking.

    Clive

    #190599
    advp
    Participant

    Forum
    – v2 LATEST POST (1 yr, 10 months)
    – cat 1 (1 yr, 10 months)
    – cat 2 (no topics)
    – cat 3 (1 week, 3 days)
    – etc

    Why is 1 yr, 10 months being displayed out on the main screen instead of the 1 week, 3 day post? We ran the latest activity repair.

    You can see it at http://www.bfsucommunity.com/ under Volume Two.

    Thanks!

    #190596
    dezrok
    Participant

    Hi there, I’m hoping someone might be able to give me some advice on a fix for the following:

    bbPress is working fine for Administrators, however, users with any other Site Role can’t read the Topics (even if they are a Forum Moderator or Keymaster).

    For non-Administrators, the Topics index works fine and when you select a Topic you can read any Replies that have been made, as well as having the ability to post a reply (as long as your Forum Role is sufficient), all that is missing is the original Topic itself.

    If a previous reply has quoted the Topic, then you can read the quoted topic within the reply.
    The Topic exists, the original just isn’t visible to non-Administrators.

    I’ve deactivated all plugins and the problem persists.
    I’ve tried it with the theme Twenty Twelve and the problem persists.

    Changing the Forum Role doesn’t affect the problem.
    Only users with the Site Role “Administrator” can read Topics.
    Obviously I can’t make everyone an Administrator and have run out of ideas on how to go about fixing this.

    Wordpress 4.9.4; bbPress 2.5.14
    Forum Link: https://www.getleanfiji.com/forums/general/

    NB: The forums are part of a private membership site that is still under development. I have made one of the forums (which contains some test Topics and Replies) publicly accessible via the above link. Access to the site is controlled using Membership 2 and the Groups plugins, although these don’t appear to affect the problem.

    buttercup17
    Participant

    Hi All,

    I had a website with multiple groups and forums, public, private and hidden.

    The hidden group is for invited members only to share sensitive information using the group’s hidden forum.

    I need the ability for people within this hidden group/forum to be able to search its contents.
    1. I made a test post in the hidden group’s forum.
    2. I logged in as anstrong>a admin/member of the hidden group
    3. I used the “Search Forums” box and searched for the test post
    4. Test post was found. Excellent
    5. I then logged in as a non-member of the hidden group. This member cannot even see the hidden group in the listings.
    6. I used the “Searched Forums” box like before and searched for this test post
    AND IT APPEARED! So now a non-member can find sensitive information via the search forum box.

    What have I done or do I need to do, to make the contents of the Hidden Group/Forum only searchable to members?

    Side Note: Ideally I would like a search box within the Hidden Group/Forum as going back to the forums page to use the Search Forums box is tedious.

    Please help 🙁

    #190571
    sasenzon
    Participant

    This was solved (I hope). It turns out that I had checked in the main settings under forums to give each group a forum. Then I had selected the forum option when creating a group. I think this caused a conflict.
    I also set the drop down to root. I hope that makes it work. I tested it as the users and it seems fine.

    #190527
    stevehammatt
    Participant

    I want to add a taxonomy (which I’ve already created) to replies which are in all forums except one. I’m struggling to find the exact functions that I need to use for this though, e.g. to check the forum name (I don’t want to rely on the forum ID in case that is changed in a reinstall) and to set the taxonomy. I can’t find a list of all functions in the documentation.

    I’m going to be creating a child theme and I’m pretty sure that it’s bbp_insert_reply() that I need to modify. I’ve found that ok. But it’s what functions to call to do the simple test and set that I want to do that I’m struggling with, even searching the function files of other parts of bbPress. So it seems like a simple case of testing the forum name and then setting the taxonomy if the test passes, but I am unsure of the two functions to use.

    Can anyone point me in the right direction, please? Thanks in advance.

    #190512

    In reply to: Threading not working

    Robin W
    Moderator

    definitely not what I get.

    I’m tied up on a project at the moment which requires me not to have threading on my test site, so it could be a few days before I look further.

    However contact me via my website and when I get a chance I’ll take a quick look at your site

    http://www.rewweb.co.uk

    #190509
    Robin W
    Moderator

    ok, so if you say the forum is public, but hidden in buddypress, then we are on basic fault finding.

    so as a test

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    I’d start with buddypress. You are just deactivating as a test.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #190488
    florianm
    Participant

    For our restricted members bbPress forum, I would like to display a user’s BadgeOS points below their username next to their posts/replies. I already found some code to display these points but I am not sure if it’s correct and how to make it show below the username.

    function badgeos_get_users_points( $user_id = 0 ) {
    // Use current user’s ID if none specified
    if ( ! $user_id )
    $user_id = wp_get_current_user()->ID;
    // Return our user’s points as an integer (sanely falls back to 0 if empty)
    return absint( get_user_meta( $user_id, ‘_badgeos_points’, true ) );
    }

    Any help would be much appreciated!

    FYI: we also use the latest versions of BuddyPress and the Boss theme.

    #190451
    jimblais
    Participant

    Update: this latest posts’ scripts seems to be working

    #190395
    Robin W
    Moderator

    I’d suggest that something else is disrupting the setting

    It could be a theme or plugin issue

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #190392
    alriknijdam
    Participant

    Alright, I tested the function you wrote but unfortunately it’s not doing anything.
    In order to try and help you some more you can now visit some topics.
    For everything you wrote above I now display the values in a table so you can see exactly what’s happening. I also made it possible to run and disable your function (although you won’t see any difference in the values)

    You can browse through the forums/topics to see the values for different topics.

    And yes, I have phpMyAdmin acces.

    Funny but strange fact:
    I’ve imported the topics via csv. The topics with recent activity show a wrong value for the last page. The topics that have not been active after the import do show the correct value (the 7th topic and any topic below that have not been active).
    If any I would have expected it to be the other way around.

    #190336
    jameshh93
    Participant

    Thank you, unfortunately just tested it creating a new users with for both admin and editor roles and posting a reply with a link and the nofollow is still there 🙁

    #190328
    Robin W
    Moderator

    ok, I think you should try 3 things

    1. reset permalinks – I doubt it is this, but always an easy first thing

    Dashboard>settings>permalinks and just click save – this resets them

    2. try and run repair

    Dashboard>tools>forums>repair forums and run one at a time

    3. If those 2 fail, the it may well be an update problem, so I’m afraid you’ll need to try this

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    #190324
    Robin W
    Moderator

    I’ve done some more digging…

    Wordpress uses an embed function to do this, which my simple css changes won’t alter

    There are 3 ways to overcome this, as pre this blog

    https://kinsta.com/knowledgebase/disable-embeds-wordpress/

    The first is a plugin, but that is an old one.

    I tested

    Disable Embeds

    and this worked fine.

    #190281

    In reply to: bbpress topic problem

    kristenkoster
    Participant

    Hi Robin,

    Thanks for your quick response.

    I’ve linked three screen shots below to show what’s different from a successful class in January, and the current class (Regency Post) and the one scheduled to start on Saturday (British Officer).

    In this first screenshot of a topic posted in January, you can see that everything is showing up as expected:
    TOPIC TITLE is followed by breadcrumbs, then the information on voices and freshness.
    Then comes the topic container with the columns listed and below that the topic’s datestamp and mod menu, then author’s Gravatar, Name, and the content of the topic posted. Any replies follow the topic content as expected.
    https://www.kristenkoster.com/wp-content/uploads/2018/02/Screen-Shot-2018-02-14-at-4.31.10-PM.png

    From a forum topic posted earlier this week that has replies:
    TOPIC TITLE is followed by breadcrumbs, then the information on voices and freshness.
    Then the next thing that’s show are the replies that would normally follow the topic content. Notice there is no topic container or mod menu and everything from the original topic post is missing. The topic content IS in the database as I got it in email just fine using the bbPress Notify (No-Spam) plugin which I just added in this afternoon and it’s visible from the admin side when the topic is edited there.
    https://www.kristenkoster.com/wp-content/uploads/2018/02/Screen-Shot-2018-02-14-at-4.30.42-PM.png

    From a forum topic posted earlier today that has no replies:
    Again, TOPIC TITLE is followed by breadcrumbs, then the information on voices and freshness.
    But since there are no replies there is no topic container or mod menu or any of the topic content and only the reply box shows.
    https://www.kristenkoster.com/wp-content/uploads/2018/02/Screen-Shot-2018-02-14-at-4.30.42-PM.png

    So obviously it looks like I’ve managed to zap some lines that pull that information into the generated page, but for the life of me, I don’t know where to start looking to find it to fix it again.

    Thanks! -Kristen

    #190271
    Robin W
    Moderator

    just tried it using a simulator

    http://mobiletest.me/

    and yes it doesn’t appear.

    suggest you add it to the main menu

    lots of plugins that will do this eg

    Login Logout Register Menu

    #190258
    Robin W
    Moderator

    the no follow is added at output, not on saving.

    so we need to see if the topic/reply is written by an admin or editor and then remove the filter that does the no-follow

    This coded is untested, but should work

    
    add_filter ('bbp_get_topic_content' , 'follow_topic_if_admin' , 10 , 2) ;
    
    function follow_topic_if_admin ($content, $topic_id) {
    	$user_id = bbp_get_topic_author_id( $topic_id ) ;
    	$user_meta=get_userdata($user_id);
    	$user_roles=$user_meta->roles;
    	$allowed_roles = array('editor', 'administrator');
    	if( array_intersect($allowed_roles, $user_roles ) ) { 
    		remove_filter( 'bbp_get_topic_content', 'bbp_rel_nofollow',   50   );
    	}
    return apply_filters( 'follow_topic_if_admin', $content, $topic_id );
    }
    
    add_filter ('bbp_get_reply_content' , 'follow_reply_if_admin' , 10 , 2) ;
    
    function follow_reply_if_admin ($content, $reply_id) {
    	$user_id = bbp_get_reply_author_id( $reply_id ) ;
    	$user_meta=get_userdata($user_id);
    	$user_roles=$user_meta->roles;
    	$allowed_roles = array('editor', 'administrator');
    	if( array_intersect($allowed_roles, $user_roles ) ) { 
    		remove_filter( 'bbp_get_reply_content', 'bbp_rel_nofollow',   50   );
    	}
    return apply_filters( 'follow_reply_if_admin', $content, $reply_id );
    }

    Add this to your functions file.

    Let me know if it works

    #190254
    Mike George
    Participant

    Thanks Robin, that didn’t work but at least I can set the option manually for each new user. I’ll try deactivating other plugins to see if there’s a conflict. There’s a message on the plugin to say it hasn’t been tested with the current version of WordPress so maybe there’s an issue there. I’ll check the support forum for the toolkit.

    Robin W
    Moderator

    1.404 issue

    The link looks good, suggest you try

    Plugins

    Deactivate all but bbpress and see if this fixes. if it does, re-enable one at a time to see which is causing the error.

    Themes

    If plugins don’t pinpoint the problem, as a test switch to a default theme such as twentyfifteen, and see if this fixes.

    Then come back

    2.

    I would like to run the bbpress forums without BuddyPress, if possible. Is there a solution to this issue?

    yes bbpress runs quite happily on its own – my bbpress sites run without buddypress.

    3.

    An engaging business community giving credit to people who take the time to submit comprehensive organizational case studies

    beyond ‘support desk’ help I’m afraid – it is do-able but lots and lots of bespoke coding needed (The site is not a bbpress one) . My style pack would help in getting a nicer look

    bbp style pack

Viewing 25 results - 1,951 through 1,975 (of 11,605 total)
Skip to toolbar