PDA

View Full Version : New Posting Features - Make ADVANCED Editor Default for Posting


djcaseanova
17 Mar 2015, 17:04
With necessity comes creation... or something of that nature. Anyway after long research and irritation that I could not get my "Advanced Editor" to default, I created a work around.

VERSION USED: vBulletin 5.1.5

Use at your own risk, this works for me, but I am no programmer or modder. If it doesn't work, undo and move on.

I only used the Default Theme for modifications, this should work for them all, but again, I am not sure. Apply this workaround for any theme needed.

Before:
http://www.treasure-post.com/images/forumpics/adv_editorBefore.jpg

After:
http://www.treasure-post.com/images/forumpics/adv_editorAfter.jpg


STEPS:


Log in to AdminCP
Click Styles & Templates >> Search in Templates

http://www.treasure-post.com/images/forumpics/adv_editor1.jpg

Search Templates >> Select your style
Search For: "additional.css" (Do not include " ")
Search Titles Only: Yes
Click FIND

http://www.treasure-post.com/images/forumpics/adv_editor3.jpg

Open css_additional.css template

http://www.treasure-post.com/images/forumpics/adv_editor4.jpg

Paste the Code (below) >> Save & Reload

http://www.treasure-post.com/images/forumpics/adv_editor5.jpg

Open New Tab/Window and make sure modification works (before leaving admin just in case)
Done


.b-editor--cke-toolbar-is-hidden .cke_top {
display: block;
}

Replicant
17 Mar 2015, 20:25
That's the same method I've been using. It works but not perfectly. Awhile back, Glenn posted a line of javascript on VB.com. The code "clicked" the A button on page load. I meant to implement his hack, but forgot about it :erm: and can't find the post again.:mad:

Papa Bear
17 Mar 2015, 21:38
That's the same method I've been using. It works but not perfectly. Awhile back, Glenn posted a line of javascript on VB.com. The code "clicked" the A button on page load. I meant to implement his hack, but forgot about it :erm: and can't find the post again.:mad:

here you go..
http://www.vbulletin.com/forum/forum/vbulletin-5-connect/vbulletin-5-connect-questions-problems-troubleshooting/vbulletin-5-support-issues-questions/4268334-many-question

Replicant
18 Mar 2015, 04:50
here you go..
http://www.vbulletin.com/forum/forum/vbulletin-5-connect/vbulletin-5-connect-questions-problems-troubleshooting/vbulletin-5-support-issues-questions/4268334-many-question

Thanks!

proxx
29 Apr 2015, 05:09
how about limiting advanced editor? such as removing all font selection options and only leaving default, is that possible?

RichieBoy67
17 Sep 2016, 06:51
Would love this for 4.2.. never mind..just need to disable quick reply.

CrazyChef
10 Mar 2017, 03:14
I am using VB Cloud, and get this error when I try to save the edit:
.b-editor--cke-toolbar-is-hidden .cke_top {
display: block;
}

If you need to access this page, ask your lead administrator to enable your permissions for this page using the Administrator Permissions section of the control panel.

Any hints? Yes, I'm logged in as admin.

Thanks,
CC

Mark.B
10 Mar 2017, 09:45
I am using VB Cloud, and get this error when I try to save the edit:
.b-editor--cke-toolbar-is-hidden .cke_top {
display: block;
}



Any hints? Yes, I'm logged in as admin.

Thanks,
CC

On Cloud you cannot edit the templates.

However, to add additional css, go to Site Builder > Style > Custom CSS, and paste it there. This actually puts it in the correct place for you.

CrazyChef
11 Mar 2017, 14:15
On Cloud you cannot edit the templates.

However, to add additional css, go to Site Builder > Style > Custom CSS, and paste it there. This actually puts it in the correct place for you.

Works great - Thanks!!!

Emad ELsayed
18 Mar 2018, 13:10
Works great on 5.4.0
Best Regards

delicjous
18 Mar 2018, 15:35
Because the toggle-button (the A -Button) and the close-button (the round X -Button) is not working anymore if you use that code, you should hide them:

.b-toolbar .js-toolbar-secondary [data-panel="b-content-entry-panel__content--toggle-editor"]{
display:none;
}

.b-editor--cke-toolbar-is-hidden .cke_top .b-icon__x-circle--dark {
display:none;
}