wersja skryptu MyBB:1.6.8
adres forum:Cs-Proceder.xaa.pl
na czym polega problem (screen, opis, komunikaty):
[attachment=6802]
Od 2 dni staram sie zrobić podobny styl do Starego stylu CsKomandosi . Cały styl prawie skończony lecz mam 1 problem, postbit w prywatnej wiadomości jest rozsypany.
Moje pytanie jest następujące , W jakim szablonie znajdę postbit prywatnej wiadomości.
Mogę się mylić, ale to jest chyba ten sam szablon co posta (postbit_classic). Oczywiście możesz też przejrzeć szablony Prywatnej wiadomości (w szczególności private).
post bit classic mam dobry co widać w testowym temacie
A czy Ty wygląd posta ustawiałeś poprzez ACP i pMa czy przez edycję kodów?
Nie pomogło
Pomoże ktoś ?
Pokaż postbit_classic oraz private (szablony Prywatna Wiadomość).
postbit_classic
tak długo edytowałem aż post wyglądał tak jak chciałem. lecz zepsuło sie te PW
Kod PHP:
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<table border="0" class="p_classic_table" cellpadding="0" cellspacing="0" id="post_{$post['pid']}">
<tbody>
<tr>
<td class="tcat authorbit">
{$post['onlinestatus']} <strong class="authorlink">{$post['profilelink']}</strong>
</td>
<td class="tcat postmetabit">
<img src="neonglow/icons/clock.png" class="posttimeclock" alt="clock" /><span class="tleft posttime">{$post['postdate']}, {$post['posttime']}</span>
<span class="tright">{$post['posturl']}</div>
</td>
</tr>
<tr>
<td class="authorinfo {$unapproved_shade}">
{$post['groupimage']}
<div class="useravatar">{$post['useravatar']}</div>
<span class="postbit_userstars">{$post['userstars']}</span>
{$post['user_details']}
{$post['groupimage']}
</td>
<td class="postcontent {$unapproved_shade}">
<span id="edited_by_{$post['pid']}">{$post['editedmsg']}</span>
<div class="post_body" id="pid_{$post['pid']}">
{$post['message']}</div>
{$post['attachments']}
{$post['signature']}
</td>
</tr>
<tr>
<td class="tcat" style="white-space: nowrap; text-align: center; vertical-align: middle;"><span class="smalltext">{$post['postdate']} {$post['posttime']}</span></td>
<td class="tcat" style="vertical-align: middle;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<td align="left" ><span class="smalltext">{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$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']}
</br>
</tr>
</td>
</table>
</td>
</tr>{$post['postrep_inline']}
</table>{$post['postrep_outline']}
private
Kod PHP:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->private_messaging}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="private.php" method="post" name="pmForm">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td class="trow1">{$pmspacebar}<span class="smalltext"><a href="private.php">{$lang->inbox}</a> | <a href="private.php?action=send">{$lang->compose_message2}</a> | <a href="private.php?action=folders">{$lang->manage_folders}</a> | <a href="private.php?action=empty">{$lang->empty_folders2}</a> | <a href="private.php?action=export">{$lang->export_messages2}</a></span></td>
</tr>
</table>
</td>
</tr>
</table>
<br />
{$limitwarning}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="6">
<div class="float_right">
<input type="text" name="keywords" value="{$lang->enter_keywords}" onfocus="if(this.value == '{$lang->enter_keywords}') { this.value = ''; }" onblur="if(this.value=='') { this.value='{$lang->enter_keywords}'; }" class="textbox" size="25" />
<input type="submit" class="postbit_button" name="quick_search" value="{$lang->search_pms}" />
(<a href="private.php?action=advanced_search">{$lang->advanced_search}</a>)</div>
<strong>{$lang->pms_in_folder}</strong></td>
</tr>
<tr>
<td class="tcat" align="center" colspan="3"><span class="smalltext"><strong>{$lang->message_title}</strong></span></td>
<td class="tcat" align="center" width="30%" style="white-space: nowrap"><span class="smalltext"><strong>{$sender}</strong></span></td>
<td class="tcat" align="right" width="20%" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->date_sent}</strong></span></td>
<td class="tcat" align="center" width="1%" style="white-space: nowrap"><span class="smalltext"><input name="allbox" title="{$lang->check_all}" type="checkbox" class="checkbox checkall" value="{$lang->check_all}" /></span></td>
</tr>
{$messagelist}
<tr>
<td class="tfoot" align="right" colspan="6">
<input type="submit" class="postbit_button" name="moveto" value="{$lang->move_to}" /> {$folderoplist} {$lang->or}
<input type="submit" class="postbit_button" name="delete" value="{$lang->delete}" /> {$lang->selected_messages}
</td>
</tr>
</table>
<br />
<div class="float_left">{$multipage}</div>
<div class="float_right">
<span class="smalltext">
<strong>{$lang->jump_folder} {$folderjump}
<input type="submit" class="postbit_button" name="hop" value="{$lang->go}" />
</strong>
</span>
</div>
</td>
</tr>
</table>
<input type="hidden" name="action" value="do_stuff" />
</form>
{$footer}
</body>
</html>
Spróbuj taki private:
Kod:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->private_messaging}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="private.php" method="post" name="pmForm">
<input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<table width="100%" border="0" align="center">
<tr>
{$usercpnav}
<td valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trow1">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td class="trow1">{$pmspacebar}<span class="smalltext"><a href="private.php">{$lang->inbox}</a> | <a href="private.php?action=send">{$lang->compose_message2}</a> | <a href="private.php?action=folders">{$lang->manage_folders}</a> | <a href="private.php?action=empty">{$lang->empty_folders2}</a> | <a href="private.php?action=export">{$lang->export_messages2}</a></span></td>
</tr>
</table>
</td>
</tr>
</table>
<br />
{$limitwarning}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="thead" colspan="6">
<div class="float_right">
<input type="text" name="keywords" value="{$lang->enter_keywords}" onfocus="if(this.value == '{$lang->enter_keywords}') { this.value = ''; }" onblur="if(this.value=='') { this.value='{$lang->enter_keywords}'; }" class="textbox" size="25" />
<input type="submit" class="button" name="quick_search" value="{$lang->search_pms}" />
(<a href="private.php?action=advanced_search">{$lang->advanced_search}</a>)</div>
<strong>{$lang->pms_in_folder}</strong></td>
</tr>
<tr>
<td class="tcat" align="center" colspan="3"><span class="smalltext"><strong>{$lang->message_title}</strong></span></td>
<td class="tcat" align="center" width="30%" style="white-space: nowrap"><span class="smalltext"><strong>{$sender}</strong></span></td>
<td class="tcat" align="right" width="20%" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->date_sent}</strong></span></td>
<td class="tcat" align="center" width="1%" style="white-space: nowrap"><span class="smalltext"><input name="allbox" title="{$lang->check_all}" type="checkbox" class="checkbox checkall" value="{$lang->check_all}" /></span></td>
</tr>
{$messagelist}
<tr>
<td class="tfoot" align="right" colspan="6">
<input type="submit" class="button" name="moveto" value="{$lang->move_to}" /> {$folderoplist} {$lang->or}
<input type="submit" class="button" name="delete" value="{$lang->delete}" /> {$lang->selected_messages}
</td>
</tr>
</table>
<br />
<div class="float_left">{$multipage}</div>
<div class="float_right">
<span class="smalltext">
<strong>{$lang->jump_folder} {$folderjump}
<input type="submit" class="button" name="hop" value="{$lang->go}" />
</strong>
</span>
</div>
</td>
</tr>
</table>
<input type="hidden" name="action" value="do_stuff" />
</form>
{$footer}
</body>
</html>
jest dokładnie tak samo ;(
A taki postbit_classic?:
Kod:
{$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="trow_post1" width="18%" valign="top" style="white-space: nowrap; text-align: center;"><a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<strong><span class="largetext">{$post['profilelink']}</span></strong><br />
<span class="smalltext">
{$post['usertitle']}<br />
Status: {$post['onlinestatus']}<br />
{$post['groupimage']}
{$post['useravatar']}<br />
<div class="user_details">{$post['user_details']}</div>
{$post['iplogged']}
</span>
</td>
<td class="trow_post2" valign="top">
<table width="100%">
<tr><td>{$post['posturl']}<span class="smalltext"><strong>{$post['icon']} {$post['subject']} {$post['subject_extra']}</strong></span><span style="float: right;">{$post['button_rep']} {$post['replink']}</span>
<br />
<div id="pid_{$post['pid']}" class="post_body">
{$post['message']}
</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>
<td class="trow_post1" style="white-space: nowrap; text-align: center; vertical-align: middle;"></td>
<td class="trow_post2" style="vertical-align: middle;">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td align="left" >{$post['button_email']}{$post['button_pm']}{$post['button_find']}</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>
</tr>
</table>
</td>
</tr>
</table>
nie działa. a to tego zepsuł sie wygląd posta w widoku usera.