Forum Replies Created
-
Author
-
WinDroidAnswers
Participantthis 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 CODEadd_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; }
WinDroidAnswers
Participantando also this?
COPY CODE.bbp-template-notice { display: none !important; }
WinDroidAnswers
Participanti’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%; } }
WinDroidAnswers
Participanthi 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/iabjfwfirst 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 topicsCOPY 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?WinDroidAnswers
Participantnope, i mean this:
COPY CODEfunction 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-buttonthanks a lot for your precious help.
have a wonderful dayWinDroidAnswers
Participantso nevermind, we apply your custom code
COPY CODEspan.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 -
AuthorPosts