TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,231
  • Total Topics: 21,353
  • Online today: 515
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 104
  • Total: 104

adminsettings textarea bug using bbcode editor

Started by raid, June 29, 2011, 01:34:32 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

raid

SMF version: 2.0
TP version: TP 1.0 rc2
Default Forum Language: english
Theme name and version: curve
Browser Name and Version: ff 5.0
Mods installed: none


with bbcode editor the text area goes outside the template, I solved adding this to tp-style.css (with html editor there isn't this bug, I didnt check without editor)

div#dl_adminbox textarea
{
height: 100px;
width: 635px;
max-width: 100%;
min-width: 100%;
margin: 0.25em 0 1em 0;
}
SMF 2.0 + TP RC2

IchBin

Does it only do this in FF5 ? I haven't seen this problem in Chrome or IE that I can recall.

Freddy

I made this error go away by simply reloading the page.  I think it is more related to SMF changes since the pre gold version.

ZarPrime

Same here Freddy.  This happened to me a couple of times as well on the Proteus theme here.  I switched to Curve and it did the same thing but, yes, refreshing the page fixed it.  Brad, it does happen with FF5 but I haven't seen it with other browsers either.

ZarPrime

raid

when I find a tp problem I check it on localhost with smf2.0 last stable just installed and tinyportal not modded or fixed, so just installed it too.

I am checking on other browser

edit: I am sorry, I forgot to say that the problem happens with bbcode editor (first post edited)

opera 11.50: issue confirmed even after page refresh
ie 9: issue confirmed even after page refresh
ff 5: issue confirmed even after page refresh

my OS is windows 7 64bit
SMF 2.0 + TP RC2

Lum-chan

Happens on Firefox 3.6.17 and IE 8.0.x too. Even after refreshing the page, it stays way too wide.
The above goes for the Default Curve and GreenGrass1 Themes.

This is the address where things go wrong: http://www.your-site.com/index.php?action=tpadmin;sa=addarticle_bbc

Where do I add your suggested code? In /Themes/Default/tp-styles.css ?




IchBin

Yep. Unless the custom theme your using has the tp-style.css file in it, you edit the default.

Lum-chan

Quote from: raid on June 29, 2011, 01:34:32 AM

div#dl_adminbox textarea
{
height: 100px;
width: 635px;
max-width: 100%;
min-width: 100%;
margin: 0.25em 0 1em 0;
}


I added the code above at the end of tp-styles.css (it's the only one in my installation) and it doesn't seem to work. Nor in Firefox 3.6.17 or IE 8.0.x . Refreshing of CRTL-F5 doesn't work either.

Am I missing something or did i screw-up?

[edit]
Added screenshot for clarity
[/edit]


IchBin

Seems to be a SMF2 final issue with TP. I didn't get the same results in a SMF2 RC5 install.

The code posted above was for the dlmanager. To change articles add this as well
Quote#tp_article_body
{
   height: 100px;
   width: 635px;
   max-width: 100%;
   min-width: 100%;
   margin: 0.25em 0 1em 0;
}

Lum-chan

Perfect! It now looks great and no more scrolling

/* bows to IchBin

This website is proudly hosted on Crocweb Cloud Website Hosting.