vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=259)
-   -   New Posting Features - Make ADVANCED Editor Default for Posting (https://vborg.vbsupport.ru/showthread.php?t=317820)

djcaseanova 03-16-2015 10:00 PM

Make ADVANCED Editor Default for Posting
 
1 Attachment(s)
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/...itorBefore.jpg

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


STEPS:
  1. Log in to AdminCP
  2. Click Styles & Templates >> Search in Templates

    http://www.treasure-post.com/images/...dv_editor1.jpg
  3. Search Templates >> Select your style
  4. Search For: "additional.css" (Do not include " ")
  5. Search Titles Only: Yes
  6. Click FIND

    http://www.treasure-post.com/images/...dv_editor3.jpg
  7. Open css_additional.css template

    http://www.treasure-post.com/images/...dv_editor4.jpg
  8. Paste the Code (below) >> Save & Reload

    http://www.treasure-post.com/images/...dv_editor5.jpg
  9. Open New Tab/Window and make sure modification works (before leaving admin just in case)
  10. Done

HTML Code:

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


Replicant 03-17-2015 06:25 PM

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 03-17-2015 07:38 PM

Quote:

Originally Posted by Replicant (Post 2540762)
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..
Code:

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

Replicant 03-18-2015 02:50 AM

Quote:

Originally Posted by Papa Bear (Post 2540772)
here you go..
Code:

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 04-29-2015 02:09 AM

how about limiting advanced editor? such as removing all font selection options and only leaving default, is that possible?

RichieBoy67 09-17-2016 03:51 AM

Would love this for 4.2.. never mind..just need to disable quick reply.

CrazyChef 03-10-2017 01:14 AM

I am using VB Cloud, and get this error when I try to save the edit:
HTML Code:

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

Quote:

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 03-10-2017 07:45 AM

Quote:

Originally Posted by CrazyChef (Post 2583570)
I am using VB Cloud, and get this error when I try to save the edit:
HTML Code:

.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 03-11-2017 12:15 PM

Quote:

Originally Posted by Mark.B (Post 2583587)
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 03-18-2018 11:10 AM

Works great on 5.4.0
Best Regards


All times are GMT. The time now is 09:49 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01942 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete