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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 91
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 110
  • Total: 110

Bug in TP Block

Started by Kimmen, July 24, 2011, 06:21:06 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ZarPrime

Kimmen,

One more thing if you want to test something for me.  These first 2 additions below don't look like they are needed.  The first one is for using the editor in the TP downloads and the second one was added for using the editor in articles ...


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


and this one ...


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


However, the 2 above don't look like they are needed and we have actually removed both of them from the SMF2/Themes/default/tp-style.css file in our latest version of TP now in testing.  As long as the one below is still in there, the bbc editor should work fine with any area that uses it, TP Download, TP Articles, and bbc code blocks ...


.editor {
height: 100px;
width: 635px;
max-width: 100%;
min-width: 100%;
margin: 0.25em 0 1em 0;
}


So, the test, it you would like to do it is this.  Backup the tp-style.css as before but remove the first 2 blocks of code above and make sure that the third one remains.  Save the file and upload it and then try the bbc editor in the TP Downloads and TP Articles area along with the bbc type block edit screen.  If all is well in all 3 areas, then you will confirm that the third block of code is all that is needed.  Want to help with that?

ZarPrime

Kimmen

That seems to work just fine. I have removed that code you told me too, and only have the code for editor. No error has come to my log after the change. So it seems you are very much correct sir  :)

ZarPrime

Excellent. O0 O0 Thank you for testing that for us. ;)

ZarPrime

This website is proudly hosted on Crocweb Cloud Website Hosting.