TinyPortal

Development => Support => Topic started by: raid on June 29, 2011, 01:34:32 AM

Title: adminsettings textarea bug using bbcode editor
Post by: raid on June 29, 2011, 01:34:32 AM
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;
}
Title: Re: adminsettings textarea bug
Post by: IchBin on June 29, 2011, 04:04:29 PM
Does it only do this in FF5 ? I haven't seen this problem in Chrome or IE that I can recall.
Title: Re: adminsettings textarea bug
Post by: Freddy on June 29, 2011, 04:20:05 PM
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.
Title: Re: adminsettings textarea bug
Post by: ZarPrime on June 29, 2011, 04:30:09 PM
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
Title: Re: adminsettings textarea bug
Post by: raid on June 30, 2011, 02:44:26 PM
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
Title: Re: adminsettings textarea bug using bbcode editor
Post by: Lum-chan on July 01, 2011, 05:23:35 PM
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 ?



Title: Re: adminsettings textarea bug using bbcode editor
Post by: IchBin on July 01, 2011, 06:23:07 PM
Yep. Unless the custom theme your using has the tp-style.css file in it, you edit the default.
Title: Re: adminsettings textarea bug using bbcode editor
Post by: Lum-chan on July 01, 2011, 08:23:29 PM
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]

Title: Re: adminsettings textarea bug using bbcode editor
Post by: IchBin on July 01, 2011, 09:00:46 PM
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;
}
Title: Re: adminsettings textarea bug using bbcode editor
Post by: Lum-chan on July 01, 2011, 09:15:45 PM
Perfect! It now looks great and no more scrolling

/* bows to IchBin
Title: Re: adminsettings textarea bug using bbcode editor
Post by: raid on July 01, 2011, 11:33:06 PM
the issue is with everything, not only with TP, themes at least.

I figured it out comparing the themes rc5 / final one becouse I saw that the problem was there on quick reply text area using themes for rc5 on smf 2.0 gold rel

thx for article fix
Title: Re: adminsettings textarea bug using bbcode editor
Post by: Dramber on July 02, 2011, 03:24:20 AM
Quote from: IchBinâ,,¢ on July 01, 2011, 09:00:46 PM
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

Thank you sir, that was just what I needed. :)
Title: Re: adminsettings textarea bug using bbcode editor
Post by: raid on July 12, 2011, 10:00:07 AM
form#tp_dlupload textarea
{
   height: 100px;
   width: 635px;
   max-width: 100%;
   min-width: 100%;
   margin: 0.25em 0 1em 0;
}


the same on ?action=tpmod;dl=upload

with this code it's fixed

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


even on bbcode block