Forum Replies Created

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • in reply to: how to tag a friend in a post. #199689
     WinDroidAnswers
    Participant

    this tutorial is talking about the mediapress [if( is_user_logged_in() && bp_is_current_component( ‘mediapress’ ) )].
    i’m talking about the normal forum replies and posts. in other words, the normal forum areas.
    Do you have any suggestion?

    COPY CODE
    add_filter( 'bp_activity_maybe_load_mentions_scripts', 'buddydev_enable_mention_autosuggestions', 10, 2 );
    
    function buddydev_enable_mention_autosuggestions( $load, $mentions_enabled ) {
    	
    	if( ! $mentions_enabled ) {
    		return $load;//activity mention is  not enabled, so no need to bother
    	}
    	//modify this condition to suit yours
    	if( is_user_logged_in() && bp_is_current_component( 'mediapress' ) ) {
    		$load = true;
    	}
    	
    	return $load;
    }
    in reply to: mobile bad visualization new topic/answer #191470
     WinDroidAnswers
    Participant

    ando also this?

    COPY CODE
    .bbp-template-notice {
        display: none !important;
    }
    
    in reply to: mobile bad visualization new topic/answer #191469
     WinDroidAnswers
    Participant

    i’ve have to remove firt the old one?

    COPY CODE
    @media (max-width: 991px) {
    .bbp-submit-wrapper {
        margin: 0 auto !important;
        position: absolute;
        margin-left: 30% !important;
        top: 90%;
    	}
    }
    in reply to: change the forum inline background #187823
     WinDroidAnswers
    Participant

    hi there,
    we make some tries with the background colors, and this is very fun.
    But we miss some code we think, I’ll explain you with a screenshot:
    http://prntscr.com/iabjfw

    first of all, we just want to change the background of section 1 with this hex #0b0c1e
    We clearly understand how to customize closed and open topics

    COPY CODE
    .bbp-forum-status-open {
        background: #0078d6 !important;
    }
    
    .bbp-forum-status-closed {
        background: lightgray !important;
    }

    but we prefer the default open status background, as you can see in the screenshot we have a pure white and a darker white (see sections 2) in an alternate line,
    is it possible to leave the white and change only the darker white with a light blue or any other color?

    in reply to: Set the forum page as a homepage #187819
     WinDroidAnswers
    Participant

    nope, i mean this:

    COPY CODE
    
    function redirect_homepage() {
        if( ! is_home() && ! is_front_page() )
            return;
    
        wp_redirect( 'http://yourwebsite.com/forums', 301 );
        exit;
    }
    
    add_action( 'template_redirect', 'redirect_homepage' );

    Is it for the community and homepage forum layout?
    we solve this and answer in this ticket: https://archived.seventhqueen.com/forums/topic/start-a-new-topic-button

    thanks a lot for your precious help.
    have a wonderful day

    in reply to: collapse icon #187605
     WinDroidAnswers
    Participant

    so nevermind, we apply your custom code

    COPY CODE
    
    span.sidemenu-icon {
        background-image: url(http://www.windroidanswers.com/wp-content/uploads/2018/01/collapse-icon-SeventhQueen-Support-Google-Chrome_2_burned.png) !important;
        width: 20px;
        height: 20px;
        background-size: cover !important;
        font-size: 0px;
        color: transparent !important;
    }
    span.sidemenu-icon span {
        display: none !important;
    }

    in this script, it is possible to put also the icon closed or open?
    for example we’re going to change the jpg file and want to use one when the menu is open and another when is closed if possible

Viewing 6 posts - 1 through 6 (of 6 total)

Log in with your credentials

Forgot your details?