MyBB Community Forums

Full Version: Alignment Problem - Can Anyone Help ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Mike-B. I hope you know that you're problem now already was solved if you have give the internet address (=URL)

We can when we look at the side, look an your css and so on.... You DON'T have to give a admin or any user account, just the http://...................
(2014-10-05, 07:01 PM).m. Wrote: [ -> ]on the portal page, if you want posted by details to align left then
portal_announcement template

<td class="trow2" align="right">
<span class="smalltext">{$lang->posted_by} {$profilelink}  - {$anndate} - {$lang->forum} <a href="{$mybb->settings['bburl']}/{$announcement['forumlink']}">{$announcement['forumname']}</a> {$numcomments}</span>
</td>
change alignment to left in <td class="trow2" align="right">

let me know if I am mistaken about your requirement

portal_announcement_avatar template code

<td class="trow1" style="text-align: center; vertical-align: top;" {$useravatar['width_height']}><img src="{$useravatar['image']}" alt="" {$useravatar['width_height']} /></td>

on your forum portal page, avatar width is taken as 0 - find out the cause

btw, there are two bugs related to MyBB 1.8 portal page
http://community.mybb.com/thread-158488.html
http://community.mybb.com/thread-159049.html

.m. Thank you for looking at this for me. Right now I am away from my desktop machine but after work tomorrow I'm going to check this out.

Once again thank you.

(2014-10-05, 07:53 PM)Mike-B Wrote: [ -> ][quote='.m.' pid='1108323' dateline='1412535662']
on the portal page, if you want posted by details to align left then
portal_announcement template


<td class="trow2" align="right">
<span class="smalltext">{$lang->posted_by} {$profilelink}  - {$anndate} - {$lang->forum} <a href="{$mybb->settings['bburl']}/{$announcement['forumlink']}">{$announcement['forumname']}</a> {$numcomments}</span>
</td>
change alignment to left in <td class="trow2" align="right">

let me know if I am mistaken about your requirement

portal_announcement_avatar template code


<td class="trow1" style="text-align: center; vertical-align: top;" {$useravatar['width_height']}><img src="{$useravatar['image']}" alt="" {$useravatar['width_height']} /></td>

on your forum portal page, avatar width is taken as 0 - find out the cause

btw, there are two bugs related to MyBB 1.8 portal page
http://community.mybb.com/thread-158488.html
http://community.mybb.com/thread-159049.html

on your forum portal page, avatar width is taken as 0 - find out the cause - I don't know where to start with this?
It would be much easier to help if you would post the URL to your forum.

As it stands it's hard to say what is causing the issue. It's likely a CSS issue. But it might also be a template issue.

You could try going into the admin panel and reverting all your templates to their base version and see if that fixes it.
I got his url, and it seems like he have been changing parts on the portal. I'll past some of the code her under, have then removed his url, and content.

But there is some strange parts in here, and I would suggest him to revert portal to original, and he'll be done.

<table cellspacing="0" cellpadding="5" class="tborder">
<tbody><tr>
<td class="thead"><strong>&nbsp; <a href="http://sitename/showthread.php?tid=204">title</a></strong></td>
</tr>
<tr>
<td class="trow2" align="right">
<span class="smalltext">Posted by: <a href="sitename/member.php?action=profile&amp;uid=72">Demut</a>  - 7 hours ago - Forum: <a href="sitename/forumdisplay.php?fid=7">Text.</a> <!-- start: portal_announcement_numcomments_no -->
- No Replies
<!-- end: portal_announcement_numcomments_no --></span>
</td>
</tr>
<tr>
<td class="trow1">

		&lt;<table border="0" cellpadding="5" class="tfixed" style="width: 100%;">
	<tbody><tr><!-- start: portal_announcement_avatar -->
<td class="trow1" style="text-align: center; vertical-align: top;" width="0" height=""><img src="sitename/uploads/avatars/avatar_72.jpg?dateline=1412586961" alt="" width="0" height=""></td>
<!-- end: portal_announcement_avatar --> 
		   <td class="trow1 scaleimages">
			<p>
				<span style="font-weight: bold;"><span style="font-size: x-large;">text</span></span><br>
<br>
<span style="font-weight: bold;"><span style="font-size: x-large;"><a href="http://imgbox.com/something" target="_blank"></a></span></span>
			</p>
			
		</td>
	</tr>
	<tr>
		<td align="right" colspan="2" valign="bottom">
			<span class="smalltext">
				<a href="sitename/printthread.php?tid=204"><img src="http://sitename/images/printable.png" alt="Print this item" title="Print this item"></a>
			</span>
		</td>
	</tr>
</tbody></table>
</td>
</tr>
</tbody></table>


One place there is a double "<" like <<
But it does not seems that he have changed anything dramatic on the visual part, So I've would have replaced/revert to standard.
Also 3x 404, one of them is avatar.
.m.
BaggerHD
HolyPhoenix


Thank you all very much.

This was an avatar setting issue - I had different avatar sizes set in different places in the config. Once I set them each to the same 80x80 the portal display came good.
Pages: 1 2