Go Back   vb.org Archive > vBulletin Modifications > vBulletin 5.x Modifications > vBulletin 5.x Template Modifications
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Make ADVANCED Editor Default for Posting Details »»
Make ADVANCED Editor Default for Posting
Version: 1.00, by djcaseanova djcaseanova is offline
Developer Last Online: Apr 2015 Show Printable Version Email this Page

Category: New Posting Features - Version: 5.1.1 Rating:
Released: 03-16-2015 Last Update: Never Installs: 11
Template Edits
 
No support by the author.

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:


After:



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


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


  7. Open css_additional.css template


  8. Paste the Code (below) >> Save & Reload


  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;
}

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 03-17-2015, 06:25 PM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #3  
Old 03-17-2015, 07:38 PM
Papa Bear's Avatar
Papa Bear Papa Bear is offline
 
Join Date: Apr 2011
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Replicant View Post
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.
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
Reply With Quote
Благодарность от:
Replicant
  #4  
Old 03-18-2015, 02:50 AM
Replicant's Avatar
Replicant Replicant is offline
 
Join Date: Sep 2014
Location: Phoenix, Az. USA
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Papa Bear View Post
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!
Reply With Quote
  #5  
Old 04-29-2015, 02:09 AM
proxx proxx is offline
 
Join Date: Oct 2003
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how about limiting advanced editor? such as removing all font selection options and only leaving default, is that possible?
Reply With Quote
  #6  
Old 09-17-2016, 03:51 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would love this for 4.2.. never mind..just need to disable quick reply.
Reply With Quote
  #7  
Old 03-10-2017, 01:14 AM
CrazyChef CrazyChef is offline
 
Join Date: Mar 2017
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 03-10-2017, 07:45 AM
Mark.B Mark.B is offline
Senior Member
 
Join Date: Feb 2004
Posts: 1,354
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by CrazyChef View Post
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.
Reply With Quote
Благодарность от:
CrazyChef
  #9  
Old 03-11-2017, 12:15 PM
CrazyChef CrazyChef is offline
 
Join Date: Mar 2017
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mark.B View Post
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!!!
Reply With Quote
  #10  
Old 03-18-2018, 11:10 AM
Emad ELsayed's Avatar
Emad ELsayed Emad ELsayed is offline
 
Join Date: Feb 2013
Posts: 173
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works great on 5.4.0
Best Regards
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:33 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06611 seconds
  • Memory Usage 2,320KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (3)bbcode_html
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (2)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete