vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   How would I remove Additional Options (https://vborg.vbsupport.ru/showthread.php?t=270156)

Seavy08 09-13-2011 02:38 AM

How would I remove Additional Options
 
How would I remove Additional Options when creating a new thread/post?
I think it is bulky and unactractive.
Maybe have it "minimized" and clicking an arrow would expand it
Does anyone have a mod that would do this
I tried searching around for something, with no luck

https://vborg.vbsupport.ru/external/2011/09/30.png

Thanks

fjbindo 10-16-2012 08:01 AM

yes..same question....

arrarrgee 05-27-2014 11:13 PM

Hi
Does anyone have an answer to this...Help pls. I am kinda stuck with the same issue
Thx
arr

tbworld 05-28-2014 01:16 AM

The "additional options" template code appears in several templates see template category "New Posting Templates".
To disable globally on all styles and templates:

Create plugin at hook: "fetch_template_complete"
PHP Code:

 //Hook: fetch_template_complete
   
global $show;
   
$show['additional_options'] = FALSE


ForceHSS 05-28-2014 01:39 AM

Quote:

Originally Posted by tbworld (Post 2499712)
The "additional options" template code appears in several templates see template category "New Posting Templates".
To disable globally on all styles and templates:

Create plugin at hook: "fetch_template_complete"
PHP Code:

 //Hook: fetch_template_complete
   
global $show;
   
$show['additional_options'] = FALSE


You should make some kind of plugin that has the options to disable this per group I am sure many will use

DemOnstar 05-28-2014 03:17 AM

Quote:

Originally Posted by ForceHSS (Post 2499714)
You should make some kind of plugin that has the options to disable this per group I am sure many will use

Or a tick box in userprofile/settings.

DreadsUK 05-28-2014 07:45 AM

Quote:

Originally Posted by ForceHSS (Post 2499714)
You should make some kind of plugin that has the options to disable this per group I am sure many will use

With you on that. I personally dont like deleting code incase i need it again later on. A tick box would suit us for sure! ;)

Zachery 05-28-2014 08:21 AM

You're making a copy of a system template, which can be reverted back to later, and making the change.

Further, there is a view history / view default link.

No reason not to delete the code.

tbworld 05-28-2014 09:12 AM

@Zachery, what your saying is 100% right and I get your point -- the end result in this case is the same. The outputted html is the same whether it is deleted or not due to the conditional in the template. In this particular case the code I gave, I consider incomplete. Beginners believe there is too much clutter and although very true, advanced users need these options. In truth, the template and code needs to be revised to use the standard reply editor, it is what I have done for the board I oversee -- thus having the 'advanced editor' button. @Zachery, I think your input was valid and needed here, because many users do not use the history system. Thanks for your advice. :)

--------------- Added 28 May 2014 at 03:23 ---------------

When I have time, I will try to present the changes that I have implemented in the corporate board that I oversee. Sorry, it will not be a 'modification' due to my company's TOS and my position within the company. I doubt my changes could have been implemented into a modification, not without adding additional code hooks. I will see what I can do. I feel your need brothers. :)

arrarrgee 06-06-2014 04:27 AM

Thanks everyone


All times are GMT. The time now is 09:29 PM.

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.01033 seconds
  • Memory Usage 1,736KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete