Remove "current date" and "current time" buttons in editor?

Go down

Solved Remove "current date" and "current time" buttons in editor?

Post by Hardcore Gamer on March 10th 2018, 3:44 am



How do I remove these buttons from my forum?


Last edited by Hardcore Gamer on March 18th 2018, 3:31 am; edited 1 time in total

Hardcore Gamer
Forumember

Male Posts : 522
Reputation : 4
Language : English

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by SLGray on March 10th 2018, 3:50 am

CSS Stylesheet:
Code:
.sceditor-button-time {
   display: none;
}
.sceditor-button-date [
   display:  none;
}


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43469
Reputation : 3086
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by Hardcore Gamer on March 10th 2018, 5:20 am





They still show up in the editor box.

Hardcore Gamer
Forumember

Male Posts : 522
Reputation : 4
Language : English

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by Luffy on March 10th 2018, 9:13 am

Hello,

Try adding
Code:
!important
to the codes.
Code:
display: none!important;
avatar
Luffy
Manager
Manager

Male Posts : 5510
Reputation : 607
Language : Greek, English
Location : Greece

https://www.crossroadz.net

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by Hardcore Gamer on March 10th 2018, 10:07 am



Like this? Still hasn't changed it. I use ModernBB.

Hardcore Gamer
Forumember

Male Posts : 522
Reputation : 4
Language : English

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by pedxz on March 10th 2018, 10:37 am

Hey,
like this

Code:
.sceditor-button-time {
  display: none!important
}
.sceditor-button-date {
  display:  none!important
}

Code:
.sceditor-button-date [
this is a mistake { no [
avatar
pedxz
Forumember

Male Posts : 100
Reputation : 20
Language : português

http://ajuda.forumeiros.com/u62843

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by Hardcore Gamer on March 10th 2018, 12:59 pm



Thanks. Date button is gone but the time one is still there.

Hardcore Gamer
Forumember

Male Posts : 522
Reputation : 4
Language : English

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by mpelmmc on March 10th 2018, 4:30 pm

Hello @Hardcore Gamer

Try with this one Wink
Code:
a.sceditor-button.sceditor-button-time { display:none !important }
avatar
mpelmmc
Helper
Helper

Male Posts : 523
Reputation : 70
Language : Spanish and English
Location : Spain

http://asistencia.foroactivo.com/forum

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by Hardcore Gamer on March 11th 2018, 2:24 am

@mpelmmc wrote:Hello @Hardcore Gamer

Try with this one Wink
Code:
a.sceditor-button.sceditor-button-time { display:none !important }

That doesn't seem to work.

Hardcore Gamer
Forumember

Male Posts : 522
Reputation : 4
Language : English

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by pedxz on March 11th 2018, 11:22 am

Try
Code:
.sceditor-button-time div {
  display:none!important
}
avatar
pedxz
Forumember

Male Posts : 100
Reputation : 20
Language : português

http://ajuda.forumeiros.com/u62843

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by SLGray on March 11th 2018, 7:25 pm

Try adding it to the top of the CSS stylesheet.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43469
Reputation : 3086
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by SSYT on March 11th 2018, 7:57 pm

Try:
Code:
$(function() {
    if(window.toolbar && $.sceditor) { toolbar = toolbar.replace(/date,time,/ig, ""); }
});
avatar
SSYT
Forumember

Male Posts : 71
Reputation : 12
Language : RO-10, EN-3, FR-1
Location : Romania

http://help.forumgratuit.ro/forum

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by Hardcore Gamer on March 12th 2018, 2:53 am

@SLGray wrote:Try adding it to the top of the CSS stylesheet.

Thank you! It works.

Does anybody else know how to remove these buttons?


I just feel they aren't needed and I don't really the members of my forum to use them.

Hardcore Gamer
Forumember

Male Posts : 522
Reputation : 4
Language : English

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by Hardcore Gamer on March 15th 2018, 11:58 am

Bump.

Hardcore Gamer
Forumember

Male Posts : 522
Reputation : 4
Language : English

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by Hardcore Gamer on March 17th 2018, 2:55 am

@Hardcore Gamer wrote:
Does anybody else know how to remove these buttons?


I just feel they aren't needed and I don't really the members of my forum to use them.

Hardcore Gamer
Forumember

Male Posts : 522
Reputation : 4
Language : English

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by SLGray on March 17th 2018, 4:05 am

CSS selector:

Code:
.sceditor-button-more


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43469
Reputation : 3086
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by Hardcore Gamer on March 17th 2018, 5:14 am

@SLGray wrote:CSS selector:

Code:
.sceditor-button-more

With that code, I get this:

Hardcore Gamer
Forumember

Male Posts : 522
Reputation : 4
Language : English

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by pedxz on March 17th 2018, 3:06 pm

Use:

Code:

a[data-sceditor-command="more"] {
    display: none!important;
}
.sceditor-group[style*="inline-block"] {
    display: none!important;
}
avatar
pedxz
Forumember

Male Posts : 100
Reputation : 20
Language : português

http://ajuda.forumeiros.com/u62843

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by Hardcore Gamer on March 18th 2018, 3:31 am

@pedxz wrote:Use:

Code:

a[data-sceditor-command="more"] {
    display: none!important;
}
.sceditor-group[style*="inline-block"] {
    display: none!important;
}

Your code works! Thank you. Solved.

Hardcore Gamer
Forumember

Male Posts : 522
Reputation : 4
Language : English

Back to top Go down

Solved Re: Remove "current date" and "current time" buttons in editor?

Post by SLGray on March 19th 2018, 1:41 am

Problem solved & topic archived.
Please read our forum rules:  ESF General Rules


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.

avatar
SLGray
Administrator
Administrator

Male Posts : 43469
Reputation : 3086
Language : English
Location : United States

http://fmthemesdesignteam.forumotion.com/

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum