Not Solved Postbit like this with tables
#1
Not Solved
I really like the postbit tables in here ... but I don't really have the confidence to modify the templates myself, so if someone could nudge me in the right direction I'd really appreciate it!

http://www.emuzen.net/showthread.php?tid=131
Reply
#2
Not Solved
You mean the shaded tables around the user name and avatar? It appears that its using the same class as the welcome panel, so you need to go into your templates and find the post bit and encase it in a div tag that is the same class as the welcome panel.

<div class="wlcpnl">
{Default Post Bit Template Code}
</div>

Something like that, when I get to a copy of MyBB later this week I could elaborate more if needed.

Hope this helps! Let me know if you are still lost Smile
Reply
#3
Not Solved
Well I'm not using the same theme as them, so I imagine my welcome panel is significantly different ...
Reply
#4
Not Solved
Nope, unless you made changes to it before, it should be the same. First, you need to go into your Admin CP and into the template of the theme you want, then go to; Post Bit Templates > postbit

Find:
		<tr>
			<td class="trow1 {$unapproved_shade}">
				<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
					<tr>
						<td class="post_avatar" width="1" style="{$post['avatar_padding']}">
							{$post['useravatar']}
						</td>
						<td class="post_author">
							<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
							<span class="smalltext">
								{$post['usertitle']}<br />
								{$post['userstars']}
								{$post['groupimage']}
							</span>
						</td>
						<td class="smalltext post_author_info" width="165">
							{$post['user_details']}
						</td>
					</tr>
				</table>
			</td>
		</tr>

and replace it with:

		<tr>
			<td class="trow1 {$unapproved_shade}">
				<table cellspacing="0" cellpadding="0" border="0" style="width: 100%;">
					<tr>
						<div id="panel"> <!--EDIT-->
						<td class="post_avatar" width="1" style="{$post['avatar_padding']}">
							{$post['useravatar']}
						</td>
						<td class="post_author">
							<strong><span class="largetext">{$post['profilelink']}</span></strong> {$post['onlinestatus']}<br />
							<span class="smalltext">
								{$post['usertitle']}<br />
								{$post['userstars']}
								{$post['groupimage']}
							</span>
						</td>
						<td class="smalltext post_author_info" width="165">
							{$post['user_details']}
						</td>
						</div> <!--EDIT-->
					</tr>
				</table>
			</td>
		</tr>

Again, I don't have full access to a MyBB test board at the moment so please try this on a test board or a non-live forum first. I can't guarantee that it'll work right.

Please report back if it works (or doesn't)! Smile
Reply
#5
Not Solved
I actually got this working already and did something even cooler IMO:

[Image: Picture13.png]
Reply
#6
Not Solved
Nice, but when I go to your site, I don't see it...
Reply
#7
Not Solved
That does look even better! Smile Glad you got it fixed, but now I want to know how you did that! Big Grin
Reply
#8
Not Solved
(2008-09-18, 01:51 AM)Infranight Wrote: Nice, but when I go to your site, I don't see it...

This theme is still in development.

Lordonk, maybe I'll release this postbit Big Grin
Reply
#9
Not Solved
Yeah, I want to know too!
Reply
#10
Not Solved
What Theme or style use:

http://www.emuzen.net/index.php ??
[Image: 40DS6Te.png]

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)