PDA

View Full Version : After upgrade to 4.1.2 appears diferences


gnrx
01-05-2012, 07:05 PM
Hello.
I upgrade to 4.1.2, in my main page of vBadvanced now, the news (I have configured for appears the last 5 news) the 3 old news appears now with tittle big and other color, the 2 first news:
The first, use the space of right block, the second new have inserted the right block.
This 2 first news using the color and font of title like before upgrade.
Now, the right block is more down.

The 3 old news, appears with line in box.

If is necessary, I attach a image.

Thanks and regards!

Brian
01-07-2012, 10:52 AM
It looks like there is a <tr> tag from the table in your first news post that is throwing things off. Try looking in your modules/news.php file for this code:
// ##### <td>

Add this just Above it:
// ##### <tr>
$lasttr = strripos($news['message'], '<tr');
if ($lasttr !== false)
{
$trcheck = substr($news['message'], $lasttr);

// Don't have the end, so find it
if (strpos($trcheck, '>') === false)
{
$remainstring = substr($news['pagetext_html'], $trimmedlength);

$endtdpos = strpos($remainstring, '>') + 1;

if ($endtdpos != false)
{
$news['message'] .= substr($remainstring, 0, $endtdpos);
$trimmedlength += $endtdpos;
}
}
}


And that should take care of the issue.

Our Sponsors
 

gnrx
01-07-2012, 12:01 PM
Hello Brian!
Thanks, with your changes, now appears like before upgrade.

Thank you very much!!