vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to remove underline? (https://vborg.vbsupport.ru/showthread.php?t=307966)

Elixar 02-05-2014 03:40 PM

How to remove underline?
 
https://vborg.vbsupport.ru/external/2014/02/40.png

I had seen this on a forum, and I was wondering, how would someone remove the underline before and after the A?

Max Taxable 02-05-2014 03:43 PM

You mean, in the text editors?

If so, in style manager Use "Search In Templates" to find all templates that have the word "separator" or "separator.gif" in them. This will populate the list of all the editor templates in your style.

Go in and comment out the references to the "underline" function in the editors. Don't remove them, just comment them out because you might find you want them back someday.

Elixar 02-05-2014 03:46 PM

Ah, so it wouldn't have to do with the usergroup markup or anything?

Max Taxable 02-05-2014 03:49 PM

Quote:

Originally Posted by Elixar (Post 2479192)
Ah, so it wouldn't have to do with the usergroup markup or anything?

I'm pretty sure that's a default vB BB code that you can't pick and choose without template edits.

I know you can disallow them all by usergroup, but that's not what you asked for and as I'm sure you already knew.:D

Elixar 02-05-2014 03:54 PM

So to comment it out, as one of the Admins who is asking hasn't messed with Style Manager. Just remove the option, or put // in front?

Max Taxable 02-05-2014 03:54 PM

1 Attachment(s)
Which by the way, the template edits above won't stop anyone from manually inputting the "u" BB code in their posts... Perhaps wait before doing anything, until a wiser vB licensee comes along to answer this.

Removing it from the editors is one thing, disallowing that BB code globally is quite another.

Max Taxable 02-05-2014 03:57 PM

Quote:

Originally Posted by Elixar (Post 2479195)
So to comment it out, as one of the Admins who is asking hasn't messed with Style Manager. Just remove the option, or put // in front?

In the templates for the editors after you populate them, you want to find something looking like:
HTML Code:

<td><div class="imagebutton" id="{$editorid}_cmd_underline"><img src="$stylevar[imgdir_editor]/underline.gif" width="21" height="20" alt="$vbphrase[underline]" /></div></td>
And comment it out like this: <!--- the code --->

Elixar 02-05-2014 03:58 PM

I'm very sorry, I'm still also new to this side of vBulletin. So that code you provided me, how would I comment that out?

Max Taxable 02-05-2014 03:58 PM

Quote:

Originally Posted by Elixar (Post 2479199)
I'm very sorry, I'm still also new to this side of vBulletin. So that code you provided me, how would I comment that out?

Wrap the offending code.

Comment it out like this: <!--- the code --->



But as I just told you, this only removes the button from the editor. IT DOES NOT STOP ANYONE FROM USING THE UNDERLINE FUNCTION ANYWAY.

Elixar 02-05-2014 04:00 PM

Code:

<1--- <td><div class="imagebutton" id="{$editorid}_cmd_underline"><img src="$stylevar[imgdir_editor]/underline.gif" width="21" height="20" alt="$vbphrase[underline]" /></div></td> --->
Like that?


All times are GMT. The time now is 07:28 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.01084 seconds
  • Memory Usage 1,738KB
  • 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
  • (1)bbcode_code_printable
  • (1)bbcode_html_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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