MyBBThemes Community

Full Version: Last Post Help
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I'm currently trying to make my own skin and I'm having a little trouble. I want to widen the "last post" area on the Board Index. I have no clue how to do it though. If you don't understand quite what I'm saying, here's some screenshots.

I want to go from this:
[Image: lastpost4.jpg]

To This:
[Image: lastpost2.jpg]

Any help is greatly appreciated.

Thanks.
That would be a template edit.

Open the ACP > Templates > *Your Template Set* > Forum Bit Templates.
Open forumbit_depth1_cat

Find:
Code:
<td class="tcat" width="200" align="center"><strong>{$lang->forumbit_lastpost}</strong></td>

Just change the "width" value to suit yourself. :)
Also you might need to align the "Today @ so&so time" text to right (if you haven't already) by going to:

ACP > Templates > *Your Template Set* > Forum Bit Templates
Open forumbit_depth2_forum_lastpost
That template has all the lastpost information in it. ;)
Awesome, thanks for the fast reply!
Okay, sorry for the double post, but I have one more problem.

Now I need to expand the Welcome Back area.

Screenshot:
[Image: WelcomeBack.jpg]

Here's the code of my header_welcomeblock_member Template:
Code:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" align="center">
<tr>
<td class="trow1" width="100%"><navigation></td>
<td class="trow2" nowrap="nowrap" style="padding:2px">
{$lang->welcome_back}<br />
<a href="{$mybb->settings['bburl']}/private.php">{$lang->welcome_pms}</a> {$lang->welcome_pms_usage}
</td>
</tr>
</table>
<div align="center">
<table class="tborder" border="0" cellspacing="0" cellpadding="0" align="center" style="border-top-width:0px">
<tr align="center">
<td class="welcome"><a href="{$mybb->settings['bburl']}/usercp.php">{$lang->welcome_usercp}</a></td>
<td class="welcome"><a href="{$mybb->settings['bburl']}/misc.php?action=help">{$lang->toplinks_help}</a></td>
<td class="welcome"><a href="{$mybb->settings['bburl']}/memberlist.php">{$lang->toplinks_memberlist}</a></td>
<td class="welcome"><a href="{$mybb->settings['bburl']}/calendar.php">{$lang->toplinks_calendar}</a></td>
<td class="welcome"><a href="search.php?action=getnew">{$lang->welcome_newposts}</a></td>
<td class="welcome"><a href="{$mybb->settings['bburl']}/search.php?action=getdaily">{$lang->welcome_todaysposts}</a></td>
<td class="welcome"><a href="$settings[bburl]/search.php">{$lang->toplinks_search}</a></td>
<td class="welcome"><a href="{$mybb->settings['bburl']}/member.php?action=logout&amp;logoutkey={$mybb->user['logoutkey']}">{$lang->welcome_logout}</a></td>
</tr>
</table>
</div>
Did you try adding a width to it in the theme manager?

ACP > Themes > Modify / Delete > *Your Theme* > Welcome Panel

Add:
width: Xpx;

to the Extra CSS box. Change the X to whatever width you want. ;)
Thanks once again, I tried that, but it changes the width of everything. I just want to change the width of the little area showing the PM. Here's the area I'm talking about:
[Image: WelcomeBack2.jpg]

It's not that big of a deal though.
Okay.. Where it says
Code:
<td class="trow2" nowrap="nowrap" style="padding:2px">
{$lang->welcome_back}<br />
Try adding width in there:
Code:
<td class="trow2" nowrap="nowrap" width="50%" style="padding:2px">
{$lang->welcome_back}<br />

If that works, you can change the width to whatever you like.
Nope, it didn't work :(

Any other suggestions?
No, sorry. That's all I can think of right now. :(
All right, that's ok.

Thank you for your help and quick responses.
Pages: 1 2
Reference URL's