[happening in Jomsocial]
In my case if the user has not set their location, it was breaking my entire right side layout.
After doing some research on the code, I found a small bug and the correction, if that is happening to you too.
File: plugins/community/geommunitylocator.php
line: 780
This line:
Code:
$html .='<div style="width:'.$width.';text-align:right\"><img src="'.$juri.$appfiles_path.'favicon.png" alt="Geommunity" width="16" height="16"/> <b>'.$user_username.'</b> '.JText::_('PLG_GEOLOC_HASNOTYET');
is not closing the div and that's why the layout is breaking.
just close the div at the end:
Code:
$html .='<div style="width:'.$width.';text-align:right\"><img src="'.$juri.$appfiles_path.'favicon.png" alt="Geommunity" width="16" height="16"/> <b>'.$user_username.'</b> '.JText::_('PLG_GEOLOC_HASNOTYET').'</div>';
Hope that helps