Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-13-2011, 02:38 AM
Seavy08 Seavy08 is offline
 
Join Date: Jul 2011
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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



Thanks
Reply With Quote
  #2  
Old 10-16-2012, 08:01 AM
fjbindo fjbindo is offline
 
Join Date: May 2012
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yes..same question....
Reply With Quote
  #3  
Old 05-27-2014, 11:13 PM
arrarrgee arrarrgee is offline
 
Join Date: Dec 2013
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi
Does anyone have an answer to this...Help pls. I am kinda stuck with the same issue
Thx
arr
Reply With Quote
  #4  
Old 05-28-2014, 01:16 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
Благодарность от:
DemOnstar
  #5  
Old 05-28-2014, 01:39 AM
ForceHSS ForceHSS is offline
 
Join Date: Apr 2008
Posts: 6,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tbworld View Post
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
Reply With Quote
Благодарность от:
DemOnstar
  #6  
Old 05-28-2014, 03:17 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
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.
Reply With Quote
  #7  
Old 05-28-2014, 07:45 AM
DreadsUK's Avatar
DreadsUK DreadsUK is offline
 
Join Date: Jan 2014
Posts: 355
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ForceHSS View Post
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!
Reply With Quote
  #8  
Old 05-28-2014, 08:21 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #9  
Old 05-28-2014, 09:12 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@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.
Reply With Quote
Благодарность от:
DreadsUK
  #10  
Old 06-06-2014, 04:27 AM
arrarrgee arrarrgee is offline
 
Join Date: Dec 2013
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks everyone
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 08:55 AM.


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.04528 seconds
  • Memory Usage 2,266KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (3)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete