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?

Max Taxable 02-05-2014 04:01 PM

Yep that's it.

And you'll be doing that for at least 7 or 8 templates.

This is why I am saying WAIT... Someone more knowledgeable than I will come along and give you a much simpler and easier way.

Because this only removes the button from the editor. IT DOES NOT STOP ANYONE FROM USING THE UNDERLINE FUNCTION ANYWAY. They can still manually input it into their posts.

Elixar 02-05-2014 04:04 PM

Oh you're talking about the Underline button in posts?

I'm referring to that image where there's a space and underline before and after the A, and how to remove that.

Max Taxable 02-05-2014 04:04 PM

Quote:

Originally Posted by Elixar (Post 2479203)
Oh you're talking about the Underline button in posts?

I'm referring to that image where there's a space and underline before and after the A, and how to remove that.

Please provide screenshot.

Elixar 02-05-2014 04:18 PM

https://vborg.vbsupport.ru/external/2014/02/39.png

Max Taxable 02-05-2014 04:20 PM

Quote:

Originally Posted by Elixar (Post 2479206)

Ok... That looks like it is coming from a modification on your site. You should be asking the developer of that Mod about this, in the thread where you found the modification.

Elixar 02-05-2014 04:21 PM

Quote:

Originally Posted by Max Taxable (Post 2479207)
Ok... That looks like it is coming from a modification on your site. You should be asking the developer of that Mod about this, in the thread where you found the modification.

I don't think it's a mod, but I can't be for sure since I can't see the Admin CP.

Max Taxable 02-05-2014 04:23 PM

Quote:

Originally Posted by Elixar (Post 2479208)
I don't think it's a mod, but I can't be for sure since I can't see the Admin CP.

I am sure. The image placed beside the username is not native to vBulletin.

Elixar 02-05-2014 04:28 PM

Quote:

Originally Posted by Max Taxable (Post 2479209)
I am sure. The image placed beside the username is not native to vBulletin.

I know, I'm sure they're user ranks.

Seven Skins 02-06-2014 11:48 AM

That underline is because white space is hyperlinked.

e.g. <a href="examplelink">Edia <img src="image.png" alt=""></a> <img src="image.png" alt=""></a></a>

You can use the exmaple code below to remove the underline from white space:

<a href="examplelink">Edia</a> <a href="examplelink"><img src="image.png" alt=""></a> <a href="examplelink"><img src="image.png" alt=""></a>

Elixar 02-06-2014 07:57 PM

Quote:

Originally Posted by Seven Skins (Post 2479353)
That underline is because white space is hyperlinked.

e.g. <a href="examplelink">Edia <img src="image.png" alt=""></a> <img src="image.png" alt=""></a></a>


You can use the exmaple code below to remove the underline from white space:

<a href="examplelink">Edia</a> <a href="examplelink"><img src="image.png" alt=""></a> <a href="examplelink"><img src="image.png" alt=""></a>


And where can this be placed?

Seven Skins 02-06-2014 09:17 PM

You can use this example code whereever you need to remove the hyperlinked whitespace. Unless we have more info it is impossible to tell where and what to edit.


All times are GMT. The time now is 12:57 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.01337 seconds
  • Memory Usage 1,764KB
  • 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
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (21)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