Robin W (@robin-w)

Forum Replies Created

Viewing 25 replies - 5,001 through 5,025 (of 14,299 total)
  • In reply to: Auto Moderator

    @robin-w

    Moderator

    the area that sets the default role is

    dashboard>settings>forums>roles and there you will see the default role

    @robin-w

    Moderator

    your themes style sheet

    http://www.rockin-wildcat.com/rwc/wp-content/themes/blog-diary-pro/style.css

    has line 2201 with

    .reply a {
    	display: inline-block;
    	border-radius: 0;
    	color: #fff;
    	position: relative;
    	font-size: 16px;
    	background-color: #46c4f3;
    	padding: 5px 20px;
    	-webkit-transition: all 0.3s ease-in-out;
    	-moz-transition: all 0.3s ease-in-out;
    	-ms-transition: all 0.3s ease-in-out;
    	-o-transition: all 0.3s ease-in-out;
    	transition: all 0.3s ease-in-out;
    }

    the background-color: #46c4f3; element is causing the box issue, and the font-size: 16px; the text issue

    I’d suggest you add these to the custom css area of your theme

    .reply a {
    	
    	font-size: 12px !important;
    	background-color: none !important;
    }

    you can adjust the font-size to whatever value you wish

    @robin-w

    Moderator

    yes this seems to be a bug.

    in

    \bbpress\includes\forums\functions.php

    line 197 has

    // No forum parent was passed (should never happen)
    	if ( empty( $forum_parent_id ) ) {
    		bbp_add_error( 'bbp_new_forum_missing_parent', __( '<strong>ERROR</strong>: Your forum must have a parent.', 'bbpress' ) );

    but a top level forum will have zero so empty !

    (I’m not a bbpress author, I just help moderate here, so not under my direct powers to change)

    To correct this for another user, I did the following :

    created a hidden forum – then noted the ID (in this case 4537)

    then in

    \bbpress\templates\default\bbpress\form-forum.php

    changed line 138 etc. from

    <p>
    						<label for="bbp_forum_parent_id"><?php esc_html_e( 'Parent Forum:', 'bbpress' ); ?></label><br />
    
    						<?php
    							bbp_dropdown( array(
    								'select_id' => 'bbp_forum_parent_id',
    								'show_none' => esc_html__( '&mdash; No parent &mdash;', 'bbpress' ),
    								'selected'  => bbp_get_form_forum_parent(),
    								'exclude'   => bbp_get_forum_id()
    							) );
    						?>
    					</p>

    to

    <?php
    					//the code in incudes/forums/functions won't let post parent be blank.
    					//to get this to work, we have created a hidden forum in the site.  This forums ID is 4537
    					//if the hidden forum exists, then use this forums id 
    					//otherwise show the post parent section
    					$forum_parent_id = bbp_get_forum_id( 4537 );
    					if (!empty( $forum_parent_id )) { ?>
    					 <input type="hidden" id="bbp_forum_parent_id" name="bbp_forum_parent_id" value="4537">
    					 <?php
    					}
    					else {
    					?>
    					<p>
    						<label for="bbp_forum_parent_id"><?php esc_html_e( 'Parent Forum:', 'bbpress' ); ?></label><br />
    
    						<?php
    							bbp_dropdown( array(
    								'select_id' => 'bbp_forum_parent_id',
    								'show_none' => esc_html__( '&mdash; No parent &mdash;', 'bbpress' ),
    								'selected'  => bbp_get_form_forum_parent(),
    								'exclude'   => bbp_get_forum_id()
    							) );
    						?>
    					</p>
    					<?php } ?>

    This template then gets saved to your child themes directory as

    wp-content/themes/%your-theme-name%/bbpress/form-forum.php

    bbPress will now use this template instead of the original

    Finally, add an action to re-write the parent forum from 4537 to zero post forum creation

    add_action( 'bbp_new_forum_post_extras', 'ltc_limit_forum', 10 ,1  );
    
    function ltc_limit_forum ($forum_id) {
    	//this function is fired when a forum is created
    	//set post parent to zero
    	wp_update_post(
    		array(
    			'ID' => $forum_id, 
    			'post_parent' => 0
    			)
    	);
    }

    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

    You could amend that function to have an if statement so if forum parent is 4537 then create forum parent as 0, but in this case there were no times when a sub forum was being created, so it was not needed.

    I know this is quite convoluted, but it worked !!

    There is a trac ticket for this issue somewhere, so the authors are aware

    In reply to: Delete Plugin

    @robin-w

    Moderator

    ok, bbpress does not create it’s own tables.

    anyway glad you are sorted

    @robin-w

    Moderator

    @robin-w

    Moderator

    link to an example on your site please

    In reply to: Delete Plugin

    @robin-w

    Moderator

    what tables can you see ?

    @robin-w

    Moderator

    it may be that your hoster is cutting the number of emails or number per hour – may be worth checking with them. Also other email services can limit the number of emails being allowed at one time.

    so for instance you hoster might send 200 emails, but if say 100 are to gmail addresses, then gmail may see them as spam and cut. (Just using gmail as an example and I have no idea if gmail do this)

    email spam is the blight of the internet, but sometimes attempts by algorithms to prevent this stop proper email getting through.

    @robin-w

    Moderator

    ok, how many are disconnected, how often is this happening?

    In reply to: Delete Plugin

    @robin-w

    Moderator

    first – dashboard>tools>forums>reset forums
    then dashboard>plugins>bbpress>decativate and delete

    @robin-w

    Moderator

    bboress notifications are sent from and to the same address, with the actual recipients being BCC’d on the email.

    This is a popular way that many people send a single email without letting the recipients see each other.

    You probably receive emails this way from some companies.

    If you don’t want this, then use

    AsynCRONous bbPress Subscriptions

    but some hosters may limit the number of emails sent at one time – again seeing these as spam.

    There is no right answer – just choose the solution that suits you.

    In reply to: Registration Account

    @robin-w

    Moderator

    no problem 🙂

    @robin-w

    Moderator

    no problem, do come back if you need further help 🙂

    @robin-w

    Moderator

    bbpress simply uses WordPress registration and login, so any plugin that does wordpress registration will work for bbpress.

    Therefore rather than trying to amend the bbpress registration, I’d probably just use a wordpress registration plugin, there are lots – just google ‘worpdress registration plugin’

    this is a list of popular ones

    10 Best WordPress User Registration Plugins to Power Up Your Site

    @robin-w

    Moderator

    dashboard>settings>forums>forum features>topic Tags and turn off

    In reply to: reverted information

    @robin-w

    Moderator

    that’s interesting..let us know how you progress

    In reply to: reverted information

    @robin-w

    Moderator

    so in

    dashboard>settings>bbp style pack>freshness display

    do you have

    Activate Freshness display activated?

    and if so, can you try deactivating and tell me if that corrects the order – that will help me find where the issue may lie

    In reply to: reverted information

    @robin-w

    Moderator

    is this with 2.6.5 bbpress ?

    the order changed and my style pack may not recognise the changed order

    @robin-w

    Moderator

    the default is horizontal – do you you have a theme, plugin or code that is changing this?

    In reply to: reverted information

    @robin-w

    Moderator

    ok, so do you not want this, or what do you feel is wrong with it?

    @robin-w

    Moderator

    so what is the url that is not working?

    @robin-w

    Moderator

    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

    add_filter( 'bbp_new_topic_pre_content', 'rew_strip_tags' );
    add_filter('bbp_edit_topic_pre_content', 'rew_strip_tags' );
    add_filter( 'bbp_new_reply_pre_content', 'rew_strip_tags' );
    add_filter('bbp_edit_reply_pre_content', 'rew_strip_tags' );
    
    function rew_strip_tags ($content) {
    	$content = strip_tags($content);
    return $content ;	
    }
    In reply to: Registration Account

    @robin-w

    Moderator

    Welcome to bbpress !

    This registration is done by Buddypress not bbpress, so you’d be better asking the question on their support forum

    https://buddypress.org/support/

    In reply to: User ranking system?

    @robin-w

    Moderator

    you make it sound so simple – probably a days work to create, an another to test/release etc.

    In reply to: User ranking system?

    @robin-w

    Moderator

    sorry, I have no immediate plans to extend this plugin – whilst there is nothing wrong with your idea, I simply don’t have the time to do this

Viewing 25 replies - 5,001 through 5,025 (of 14,299 total)