ManageTemplates has some serious problems properly rendering pages in the iframe too. Since the same errors show up in both MSIE and FireFox I know it's an html code processing issue that's probably been there a long long time.
I haven't really tried playing with the templates editing as last time I did hit server error when I tried and that was before I figured out ModSecurity doesn't like YaBB... Getting ModSecurity fixed takes about 2 weeks per rule, so I'm not really keen in retrying...
Posted by: Dandello Posted on: Sep 28th, 2014 at 2:31pm
ManageTemplates has some serious problems properly rendering pages in the iframe too. Since the same errors show up in both MSIE and FireFox I know it's an html code processing issue that's probably been there a long long time.
Posted by: Monni Posted on: Sep 28th, 2014 at 7:18am
In Admin/ManageTemplates.pm there is at least two places where code is no-op...
first there is line "... = q{};" and right below the contents of same variable is replaced... The variables I found so far were $admincss and $forumcss.
Posted by: Dandello Posted on: Sep 27th, 2014 at 8:43pm
Part of the 'problem' is that when YaBB was first designed, the only way to position things on the page was by using tables. And then people started putting divs inside the tables... :
We'll get there - I promised myself to get rid of as many tables as possible during to move to HTML5. I'm hoping for Christmas. (This Christmas.)
Posted by: Monni Posted on: Sep 27th, 2014 at 8:33pm
Um - those aren't only ones - I found a span with 2 closes and a label without one. I'm sure there are more.
Yeah... You know what is the silliest thing I have found so far... eh... That must be.... a table consisting of just a single content cell... lol... those should definitely be replaced with a simple div-block.
Just like in (at least) one of the template files there is a table that is split in three pieces... for a weird reason... only because the "second piece" is empty in most scenarios... and that really makes it really hard to reformat the "table" as the "empty" piece (read: table row/rows) is created completely outside the file only when needed.
Posted by: Dandello Posted on: Sep 27th, 2014 at 7:46pm
Um - those aren't only ones - I found a span with 2 closes and a label without one. I'm sure there are more.
Posted by: Monni Posted on: Sep 27th, 2014 at 6:58pm