vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   All text in reply field gets underlined (https://vborg.vbsupport.ru/showthread.php?t=304838)

cawnpore 11-21-2013 09:48 PM

All text in reply field gets underlined
 
had some problems with a bit of malacious code injection a while back and recovered from it. However in the process, somehow ended up breaking the "reply" and quick reply section. Now when anyone clicks on reply or quick reply and types any text in the field, everything gets underlined.
For example just as this line is underlined.
everything gets underlined

Can someone please advise as to how to fix it? Any sugegstions?
Thanks

PS If I create a new style and change this into a default style, problem goes away. However it also deletes all banners / ad codes etc.

PsychoModz 11-22-2013 12:08 PM

In the Style Manager, click on "All Style Options" for the Style and check the CSS properties for textarea. Maybe there is something like "text-decoration: underline".

cawnpore 11-22-2013 10:07 PM

Quote:

Originally Posted by PsychoModz (Post 2462842)
In the Style Manager, click on "All Style Options" for the Style and check the CSS properties for textarea. Maybe there is something like "text-decoration: underline".

PsychoModz
That was a very good insight. However it did not turn out to be the problem.

I did little more digging. I am now certain it is because of broken code of Quick Reply as I am unable to use mouse cursor properly in this section. Also I see a - after wrap icon which is not there if I create a new style. (New style works fine)


How do I edit the quick reply to fix it or still better copy it from newstyle?

Lynne 11-22-2013 11:15 PM

Find your modified templates in your custom style and click to edit. You can then click View Default to view the default and compare, or you may click View History and it will show you the comparison of the templates.

cawnpore 11-23-2013 12:36 AM

Quote:

Originally Posted by Lynne (Post 2462976)
Find your modified templates in your custom style and click to edit. You can then click View Default to view the default and compare, or you may click View History and it will show you the comparison of the templates.

Lynne
Thanks for the reply. Tried changing the showthread_quickreply but that did not do it.
The only other custom templates I have are header/footer and postbit.
How about this -
I change default to new style.
Now all i need is to change the copy the header/footer/postbit templates from old default to new default.
Any suggestions how it can be done?

PS Copied header/footer/postbit templates from old default to new default and found out that problem lies with postbit template. As soon as it was copied, the problem migrated over to new template as well.
So how can I troubleshoot postbit template for underline?

PsychoModz 11-23-2013 08:10 AM

Maybe your postbit template has some inline CSS for the textarea for QuickReply:
Code:

<textarea ... style="text-decoration: underline" ...></textarea>

cawnpore 11-23-2013 02:45 PM

Quote:

Originally Posted by PsychoModz (Post 2463090)
Maybe your postbit template has some inline CSS for the textarea for QuickReply:
Code:

<textarea ... style="text-decoration: underline" ...></textarea>

I could not find any underline in postbit template but finally managed to hunt it down to a code for a banner that was causing the issue. MOved it up the chain of banners and its all OKAY now

Thanks all who spared the time to reply
cheers


All times are GMT. The time now is 04:55 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.01105 seconds
  • Memory Usage 1,724KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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