MyBB Community Forums

Full Version: [Release]Chameleon theme : Basic (Envira Design)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12
hmm sorry dude its in postbit templates,i was in a hurry...my site got errored im fixin it,
hope u understand
I am in the postbit but i am not seeing
id="user_{$post['pid']}_popup" class="popup_menu smalltext" style="display: none;">
                            <div class="popup_item_container">
                                                        <img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/pb/pbpr.png" style="vertical-align: top;"> <span class="smalltext">
replace you template with this code :

{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
	<tr>
		<td class="{$altbg}" width="200px" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class=postbit>
<div class=postbitt>
		<strong><span class="largetext">{$post['onlinestatus']} <a href="{$post['profilelink_plain']}" id="user_{$post['pid']}">{$post['username_formatted']}<img src="{$theme['imgdir']}/arrow_down.gif" alt="v" style="vertical-align: middle;" /></a></span></strong><br />
						<div id="user_{$post['pid']}_popup" class="popup_menu smalltext" style="display: none;">
							<div class="popup_item_container">
                                                        <img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/pb/pbpr.png" style="vertical-align: top;"> <span class="smalltext">       {$post['profilelink']} </div> 
							{$post['button_email']}
							{$post['button_pm']}
							{$post['button_find']}
							{$post['button_www']}
						</div>
						<script type="text/javascript">if(use_xmlhttprequest == "1"){new PopupMenu("user_{$post['pid']}");}</script>
			<div><strong><span>{$post['usertitle']}<br /></div>
                        <div><strong><span>{$post['useravatar']}<br /></div>
			<div><strong><span>{$post['userstars']}</div>
			<div><strong><span>{$post['groupimage']}</div>			
			<div><strong><span>{$post['user_details']}</div>
		</span>
	</td></div>

	<td class="{$altbg}" valign="top">
		<table width="100%"><div class="postmessage">
			<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
			<br />
			<div id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;">
				<div>
<div id="1" style="float:left; z-index: 1; position: Absolute;">
<br><img src="images/chameleon/arrowleft.png">
</div>
<div id="2" style="z-index: 0; padding: 5px;">
<fieldset style="background: #ffffff;
border:2px solid #C3C3C3;
-moz-border-radius:8px;
-webkit-border-radius:8px;
position: relative;">
{$post['message']}
</fieldset>
</div>
</div> 
			</div>
			{$post['attachments']}
			{$post['signature']}
			<div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
				<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
				
			</div>
		</td></tr>
	</table>
</td>
</tr>
<tr><span class="separator">
	<td class="trow2" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}<br />{$post['iplogged']}</span></td>

	<td class="trow2" style="vertical-align: middle;">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr valign="bottom">
				<td align="left" ><span class="smalltext">{$post['button_rep']}</span></td>
				<td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td></div>
			</tr>
		</table>
	</td>
</tr>
</table>
I have done that but members usernames are still going into the topics?
try this i have fixed the problem

just replace your postbit template with this code Smile

{$ignore_bit}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="{$post_extra_style} {$post_visibility}" id="post_{$post['pid']}">
	<tr>
		<td class="{$altbg}" width="200px" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class=postbit>
<div class=postbitt>
		<strong><span class="largetext">{$post['onlinestatus']} <a href="{$post['profilelink_plain']}">{$post['username_formatted']}<img src="{$theme['imgdir']}/arrow_down.gif" alt="v" style="vertical-align: middle;" /></a></span></strong><br />
						<div id="user_{$post['pid']}_popup" class="popup_menu smalltext" style="display: none;">
							<div class="popup_item_container">
                                                        <img src="{$mybb->settings['bburl']}/{$theme['imgdir']}/pb/pbpr.png" style="vertical-align: top;"> <span class="smalltext">       {$post['profilelink']} </div> 
							{$post['button_email']}
							{$post['button_pm']}
							{$post['button_find']}
							{$post['button_www']}
						</div>
						<script type="text/javascript">if(use_xmlhttprequest == "1"){new PopupMenu("user_{$post['pid']}");}</script>
			<div><strong><span>{$post['usertitle']}<br /></div>
                        <div><strong><span>{$post['useravatar']}<br /></div>
			<div><strong><span>{$post['userstars']}</div>
			<div><strong><span>{$post['groupimage']}</div>			
			<div><strong><span>{$post['user_details']}</div>
		</span>
	</td></div>

	<td class="{$altbg}" valign="top">
		<table width="100%"><div class="postmessage">
			<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']}{$post['subject']} {$post['subject_extra']}</strong></span>
			<br />
			<div id="pid_{$post['pid']}" style="padding: 5px 0 5px 0;">
				<div>
<div id="1" style="float:left; z-index: 1; position: Absolute;">
<br><img src="images/chameleon/arrowleft.png">
</div>
<div id="2" style="z-index: 0; padding: 5px;">
<fieldset style="background: #ffffff;
border:2px solid #C3C3C3;
-moz-border-radius:8px;
-webkit-border-radius:8px;
position: relative;">
{$post['message']}
</fieldset>
</div>
</div> 
			</div>
			{$post['attachments']}
			{$post['signature']}
			<div style="text-align: right; vertical-align: bottom;" id="post_meta_{$post['pid']}">
				<div id="edited_by_{$post['pid']}">{$post['editedmsg']}</div>
				
			</div>
		</td></tr>
	</table>
</td>
</tr>
<tr><span class="separator">
	<td class="trow2" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}<br />{$post['iplogged']}</span></td>

	<td class="trow2" style="vertical-align: middle;">
		<table width="100%" border="0" cellpadding="0" cellspacing="0">
			<tr valign="bottom">
				<td align="left" ><span class="smalltext">{$post['button_rep']}</span></td>
				<td align="right">{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}</td></div>
			</tr>
		</table>
	</td>
</tr>
</table>
The problem about redirecting to your own profile isnt solved.
Is it possible to have different icons (on.png, off.png and offlock.png) on the 3 colors?
well,the code is working,i have tested it.
Nope it is not possible as of now as the css is only changed.
The template system is same for all the 3 themes Smile
I only have to replace the code in "Post Bit Templates - postbit" with your last one, right?
I have another problem. It`s about the subforums and "Moderated by:" on the index page.
You can see it, looking at my attachment. What should i do to solve that bug?
yeah.....the code updated in the post : http://community.mybb.com/thread-93139-p...#pid742625

and for the subforums one,can u please say the bug ?????,u want the mods to be shown within subforum ?? or remove the code or place it elsewhere ????
As you can see, the "Moderated by:" (green arrow) ins't before the subforums as it should be like the other 2 (red arrows).
Pages: 1 2 3 4 5 6 7 8 9 10 11 12