Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 10,951 through 10,975 (of 14,247 total)
  • @robin-w

    Moderator

    check that you have put the url in correctly – copy from the setting into your browser and check that it works it needs to be the full url

    @robin-w

    Moderator

    no problem, I was posting for others searching later on and coming across this thread.

    Have fun !

    @robin-w

    Moderator

    Donlt worry we all had to start at some stage !!

    1.

    Now, because I did that, anyone that registers registers for a WordPress account. I’m not sure if that’s correct.

    yes that is how bbpress works it uses a worpress account. As long as you set Dashbiard>settings>general default to subscriber, your user won’t be able to do anything in wordpress

    2. set the admins to hidden as per docs

    Forum visibility:

    Public – Anyone can see these forums
    Private – Only logged in registered users with a forum role can see these forums
    Hidden: Only Moderators/keymasters can see these forums

    If you want more granular access, then use

    https://wordpress.org/plugins/bbp-private-groups/

    3. no sorry not a ‘diary’ way- wordpress not bbpress so try their forum, but

    4.

    I am pretty sure I can do it via the forum, I just don’t know how to do it. I know it’s a permissions thing and I can make certain posts hidden.

    https://wordpress.org/plugins/bbp-private-groups/

    and set a forum per user, but you’ll need to do this manually as part of user set-up, so if only say one as day signing up that would be fine, but if hundreds !!

    4.

    ‘I was just told we need to also make it so that the posters are anonymous’

    No idea why, it is entirely up to you how you set you site up
    – if you want no-one to comment then set comments off in settings>discussion>default article settings.
    – if you want just registered – then also set ‘users must be registerd…’ in other comment settings

    Come back if you need further help 🙂

    @robin-w

    Moderator

    It is almost certainly a theme issue – post a url

    @robin-w

    Moderator
    In reply to: Login fails for Chrome

    @robin-w

    Moderator

    That’s a new one on me – glad you worked it out !

    In reply to: Login fails for Chrome

    @robin-w

    Moderator

    hoped you’d spot this Rob ! your territory not mine !

    @robin-w

    Moderator

    Great – glad you’re fixed !

    @robin-w

    Moderator

    ok, undo that previous change by deleting that file, it was rubbish !

    Then in your function file add

    function default_reply_subscribed() {
    
    		// Get _POST data  IE is this a first post of a topic?
    		if ( bbp_is_post_request() && isset( $_POST['bbp_topic_subscription'] ) ) {
    			$topic_subscribed = (bool) $_POST['bbp_topic_subscription'];
    
    		// Get edit data  IE either the author or someone else is editing a topic or reply
    		} elseif ( bbp_is_topic_edit() || bbp_is_reply_edit() ) {
    
    			// Get current posts author
    			$post_author = bbp_get_global_post_field( 'post_author', 'raw' );
    
    			// Post author is not the current user EG a moderator is altering this. In this case we'll leave the default to blank, 
    			//as much of the time mods are correcting or moderating, their not interested in the topic itself !
    			if ( bbp_get_current_user_id() !== $post_author ) {
    				$topic_subscribed = bbp_is_user_subscribed_to_topic( $post_author );
    
    			// Post author is the current user  IE you're editing your own post, so default should be to see any replies
    			} else {
    				$topic_subscribed = true ;
    				//the next line is what it used to say instead of true
    				//bbp_is_user_subscribed_to_topic( bbp_get_current_user_id() );
    			}
    
    		// Get current status
    		} elseif ( bbp_is_single_topic() ) {
    			//the user is writing a new reply ?
    			$topic_subscribed = true ;
    			//the next line is what it used to say instead of true
    			//bbp_is_user_subscribed_to_topic( bbp_get_current_user_id() );
    
    		// No data
    		} else {
    			$topic_subscribed = true;
    			//used to say false !
    		}
    
    		// Get checked output
    		$checked = checked( $topic_subscribed, true, false );
    
    		return apply_filters( 'default_reply_subscribed', $checked, $topic_subscribed );
    	}
    	
    add_filter ('bbp_get_form_topic_subscribed', 'default_reply_subscribed') ;
    
    function default_log_edit_false() {
    
    		// Get _POST data
    		if ( bbp_is_post_request() && isset( $_POST['bbp_log_reply_edit'] ) ) {
    			$reply_revision = $_POST['bbp_log_reply_edit'];
    
    		// No data
    		} else {
    			$reply_revision = 0;
    		}
    
    		return apply_filters( 'default_log_edit_false', checked( $reply_revision, true, false ) );
    	}
    
    add_filter ('bbp_get_form_reply_log_edit', 'default_log_edit_false' ) ;

    Functions files and child themes – explained !

    that should do both topic edit and reply subscribed.

    @robin-w

    Moderator

    ok thanks I can see it now.

    create a directory on your theme called ‘bbpress’
    ie wp-content/themes/%your-theme-name%/bbpress

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

    find
    wp-content/plugins/bbpress/templates/default/bbpress/form-topic.php
    Make a copy of this file, and put in in the directory called bbpress that you created above, so you end up with
    wp-content/themes/%your-theme-name%/bbpress/form-topic.php
    bbPress will now use this template instead of the original

    then edit this file to change line 183

    <input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="1" 
    

    etc.

    to

    <input name="bbp_log_topic_edit" id="bbp_log_topic_edit" type="checkbox" value="0" 
    

    etc.

    It will then be unchecked by default

    @robin-w

    Moderator

    frontend or backend?

    @robin-w

    Moderator

    just add yourself back

    dashboard>users>all users and edit hyourself and at the bottom change/add yourself as a keymaster

    @robin-w

    Moderator

    can you just say where you see this?

    @robin-w

    Moderator

    writing an entire forum code for wordpress as a solo project seems to be a significant challenge, so using bbpress and amending that would seem to be a good strategy.

    ok, since you seem to be very php savvy, suggest you go to

    https://codex.bbpress.org/import-forums/

    and simply amend one of the templates there for your forum.

    In reply to: Login fails for Chrome

    @robin-w

    Moderator

    ok, it is not really showing very well on chrome, I only get the ‘L’ of Login on screen, which is a theme issue.

    I can only suggest you try it on safari and firefox to see if it is juts that browser.

    @robin-w

    Moderator
    In reply to: Login fails for Chrome

    @robin-w

    Moderator

    if you’ve tried a default theme, them possibly a plugin conflict

    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.

    the come back

    In reply to: Not the heading I want

    @robin-w

    Moderator

    @robin-w

    Moderator

    sorry for late reply, we don’t always catch all !

    This plugin should do it

    #https://wordpress.org/plugins/bbp-private-groups/

    @robin-w

    Moderator

    sorry, buddypress question really, go to their support site

    @robin-w

    Moderator

    ok, so do you just want to word changed, or do you want to go somewhere else?

    @robin-w

    Moderator

    ok.

    1. I can’t see this
    2. I can’t see this
    3. I can’t see this

    If you have fixed these issues, it would have been nice to come back and save me spending tnme looking
    If you have not fixed these issues, can you please post via photobucket (or similar) pictures of the issues

    In reply to: Default users' role

    @robin-w

    Moderator

    @robin-w

    Moderator

    I did end up creating a local test environment to find that solution

    Having a test environment is something that every site should have !!

    https://codex.bbpress.org/creating-a-test-site/

    @robin-w

    Moderator

    Not one I’ve heard of.

    I can’t find the word ‘unable’ in this context within bbpress at all – can you get your user to get the EXACT wording including capitals, spaces and punctuation, so that I can track whereabouts in the code it appears.

    Also what plugins are you running that could have this in them?

Viewing 25 replies - 10,951 through 10,975 (of 14,247 total)