Cum mut Topic nou si Raspunde la acest topic
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Administreaza prezentarea forumului :: Arhiva probleme privind designul forumurilor
Pagina 1 din 1 • Distribuiţi
Cum mut Topic nou si Raspunde la acest topic
As vrea sa mut Topic nou si Raspunde la acest topic in stanga (sunt pozitionate in dreapta)
Ultima editare efectuata de catre AlexSasann in Mier Noi 12, 2014 9:17 pm, editata de 1 ori
Re: Cum mut Topic nou si Raspunde la acest topic
Buna ziua,
Adaugati in Foaia de stil CSS urmatorul cod:
Adaugati in Foaia de stil CSS urmatorul cod:
- Cod:
.pun .paged .posting {
float: left;
font-size: 1.2em;
font-weight: 700;
}
Re: Cum mut Topic nou si Raspunde la acest topic
Codul functioneaza perfect. Doar in topicuri asa apare:
As vrea inainte de pagini. Sau daca nu se poate, sa scot paginile de sus ca le am si jos.. .
As vrea inainte de pagini. Sau daca nu se poate, sa scot paginile de sus ca le am si jos.. .
Re: Cum mut Topic nou si Raspunde la acest topic
Incercati cu acest cod:
- Cod:
.pun .paging {
float: right;
font-size: 1.1em;
font-weight: 700;
margin-right: 1000px;
}
Re: Cum mut Topic nou si Raspunde la acest topic
Nici o diferenta.
Dupa ce am adaugat codul dat de tine, am dat refresh la pagina iar pentru cateva secunde apare New topic si Post reply iar apoi apare Raspunde la acest subiect
Dupa ce am adaugat codul dat de tine, am dat refresh la pagina iar pentru cateva secunde apare New topic si Post reply iar apoi apare Raspunde la acest subiect
Re: Cum mut Topic nou si Raspunde la acest topic
- Cod:
<!-- BEGIN topics_list_box -->
<!-- BEGIN row -->
<!-- BEGIN header_table -->
<!-- BEGIN multi_selection -->
<script type="text/javascript">
function check_uncheck_main_{topics_list_box.row.header_table.BOX_ID}() {
var all_checked = true;
for (i = 0; (i < document.{topics_list_box.FORMNAME}.elements.length) && all_checked; i++) {
if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
all_checked = document.{topics_list_box.FORMNAME}.elements[i].checked;
}
}
document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked = all_checked;
}
function check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}() {
for (i = 0; i < document.{topics_list_box.FORMNAME}.length; i++) {
if (document.{topics_list_box.FORMNAME}.elements[i].name == '{topics_list_box.FIELDNAME}[]{topics_list_box.row.header_table.BOX_ID}') {
document.{topics_list_box.FORMNAME}.elements[i].checked = document.{topics_list_box.FORMNAME}.all_mark_{topics_list_box.row.header_table.BOX_ID}.checked;
}
}
}
</script>
<!-- END multi_selection -->
<div class="main-head">
<!-- BEGIN multi_selection -->
<input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
<!-- END multi_selection -->
<h1 class="page-title">{topics_list_box.row.L_TITLE} [{topics_list_box.row.COUNT_TOTAL_TOPICS}]</h1>
</div>
<div class="main-content">
<div class="ipb-content">
<table cellspacing="0" class="table">
<thead>
<tr>
<th class="tcl">{L_TOPICS}</th>
<th class="tc2"></th>
<th class="tcr">{topics_list_box.row.L_LASTPOST}</th>
</tr>
</thead>
<tbody class="statused">
<!-- END header_table -->
<!-- BEGIN header_row -->
<strong>{topics_list_box.row.L_TITLE}</strong>
<!-- END header_row -->
<!-- BEGIN topic -->
<!-- BEGIN table_sticky -->
</tbody>
</table>
</div>
</div>
<div class="main-head">
<!-- BEGIN multi_selection -->
<input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" / >
<!-- END multi_selection -->
<h2>{topics_list_box.row.topic.table_sticky.L_TITLE} [{topics_list_box.row.topic.table_sticky.COUNT_TOTAL_TOPICS}]</h2>
</div>
<div class="main-content">
<div class="ipb-content">
<table cellspacing="0" class="table">
<thead>
<tr>
<th class="tcl">{L_TOPICS}</th>
<th class="tc2"></th>
<th class="tcr">{topics_list_box.row.topic.table_sticky.L_LASTPOST}</th>
</tr>
</thead>
<tbody class="statused">
<!-- END table_sticky -->
<tr>
<td class="tcl tdtopics <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
<span class="status">
<img title="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" src="{topics_list_box.row.TOPIC_FOLDER_IMG}" alt="{topics_list_box.row.L_TOPIC_FOLDER_ALT}" />
</span>
<div class="t2">
<div id="mesocono" style="display: inline;">{topics_list_box.row.ICON} {topics_list_box.row.PARTICIPATE_POST_IMG} </div><a class="topictitle" href="{topics_list_box.row.U_VIEW_TOPIC}">{topics_list_box.row.TOPIC_TITLE}</a>{topics_list_box.row.GOTO_PAGE_NEW}
</div>
<div class="by smalltext">
Started By {topics_list_box.row.TOPIC_AUTHOR}
</div>
<!-- BEGIN switch_description -->
<br />
<span class="descripcion">{topics_list_box.row.topic.switch_description.TOPIC_DESCRIPTION}</span>
<!-- END switch_description -->
</td>
<td class="tch3xd tc2 <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->"><span style="display: none;" data-id="hot_topic" class="ipsBadge ipsBadge_orange">Hot</span> <span data-id="replies">{topics_list_box.row.REPLIES}</span> răspunsuri<br/> {topics_list_box.row.VIEWS} vizualizări</td>
<td class="tcr hellyeah <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
<div>
<!-- BEGIN avatar -->
<span class="lastpost-avatar">{topics_list_box.row.topic.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->
<span class="nothein">{topics_list_box.row.LAST_POST_AUTHOR}</span>
</div>
<div>
{topics_list_box.row.LAST_POST_TIME}
</div>
<div>
</div>
</td>
<!-- BEGIN multi_selection -->
<td><input onclick="javascript:check_uncheck_main_{topics_list_box.row.BOX_ID}();" type="checkbox" name="{topics_list_box.FIELDNAME}[]{topics_list_box.row.BOX_ID}" value="{topics_list_box.row.FID}" {topics_list_box.row.L_SELECT} /></td>
<!-- END multi_selection -->
</tr>
<!-- END topic -->
<!-- BEGIN no_topics -->
<tr>
<td class="tcl" colspan="4"><strong>{topics_list_box.row.L_NO_TOPICS}</strong></td>
</tr>
<!-- END no_topics -->
<!-- BEGIN bottom -->
</tbody>
</table>
</div>
</div>
<div class="main-foot clearfix">
<!-- BEGIN multi_selection -->
<input onclick="check_uncheck_all_{topics_list_box.row.header_table.BOX_ID}();" type="checkbox" name="all_mark_{topics_list_box.row.header_table.BOX_ID}" value="0" />
<!-- END multi_selection -->
<p class="h2">{L_TOPICS} [{topics_list_box.row.bottom.COUNT_TOTAL_TOPICS}]</p>
<p class="options">
<a href="{U_MARK_READ}">{L_MARK_TOPICS_READ}</a> {S_WATCH_FORUM} <a href="#top">{L_BACK_TO_TOP}</a>
</p>
</div>
<!-- END bottom -->
<!-- BEGIN spacer --><br /><!-- END spacer -->
<!-- END row -->
<!-- END topics_list_box -->
<script>
var target = $('td.tch3xd tc2');
target.each(function(index){
var oThis = $(this);
var replies = oThis.children('span[data-id="replies"]').text();
if (replies > 9) {
oThis.children('span[data-id="hot_topic"]').show();
}
});
</script>
Re: Cum mut Topic nou si Raspunde la acest topic
Scuza-ma,am facut o gresala imi trebuia template-ul viewforum_body dar m-am dat seama tarziu.
In template-ul viewforum_body aveti acest cod
Il inlocuiti cu acesta
Apoi in foaia de stil CSS adaugati acest cod
Codul functioneaza perfect,chiar acum il folosesc la mine pe forum.
In template-ul viewforum_body aveti acest cod
- Cod:
<div class="main paged">
<div class="paged-head clearfix">
<p class="paging">{PAGINATION}</p>
<!-- BEGIN switch_user_authpost -->
<p class="posting"><a href="{U_POST_NEW_TOPIC}" accesskey="n" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_ID}" alt="{L_POST_NEW_TOPIC}" /></a></p>
<!-- END switch_user_authpost -->
</div>
{TOPICS_LIST_BOX}
<div class="paged-foot clearfix">
<p class="paging">{PAGINATION}</p>
<!-- BEGIN switch_user_authpost -->
<p class="posting"><a href="{U_POST_NEW_TOPIC}" accesskey="n" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_ID}" alt="{L_POST_NEW_TOPIC}" /></a></p>
<!-- END switch_user_authpost -->
</div>
</div>
Il inlocuiti cu acesta
- Cod:
<div class="main paged">
<table class="tabel_franta" width="100%" border="0" cellspacing="0" cellpading="0" style="height: 35px!important">
<td>
<div class="stangga" style="float: left">
<p class="posting" ><a href="{U_POST_NEW_TOPIC}" accesskey="n" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_ID}" alt="{L_POST_NEW_TOPIC}" /></a></p>
</div>
<div class="dreappta" style="float: right">
<p class="paging">{PAGINATION}</p>
</div>
</td>
</table>
{TOPICS_LIST_BOX}
<table class="tabel_franta" width="100%" border="0" cellspacing="0" cellpading="0" style="height: 35px!important">
<td>
<div class="stangga" style="float: left">
<p class="posting" ><a href="{U_POST_NEW_TOPIC}" accesskey="n" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_ID}" alt="{L_POST_NEW_TOPIC}" /></a></p>
</div>
<div class="dreappta" style="float: right">
<p class="paging">{PAGINATION}</p>
</div>
</td>
</table>
</div>
Apoi in foaia de stil CSS adaugati acest cod
- Cod:
table.tabel_franta{
background: url(http://i88.servimg.com/u/f88/14/28/28/25/111.png);
background-color: #f4f4f4;
background-repeat: repeat-x;
border: 1px solid #bbb;
border-radius: 5px;
box-shadow: 0px 0px 1px white inset;
padding: 2px;}
Codul functioneaza perfect,chiar acum il folosesc la mine pe forum.
Re: Cum mut Topic nou si Raspunde la acest topic
Merge perfect.
Trebuia sa mai sterg din viewtopic_body:
Problema rezolvata.
Trebuia sa mai sterg din viewtopic_body:
- Cod:
<script>
$(function(){
$('img[class="i_post"]').remove();
$('img[class="i_reply"]').replaceWith('<span class="topic_buttons">Răspunde la acest subiect</span>');
});
</script>
Problema rezolvata.
Re: Cum mut Topic nou si Raspunde la acest topic
Avand in vedere ca acest subiect a fost marcat ca fiind "rezolvat", acesta va fi inchis si trimis in arhiva. => Topic rezolvat |
Subiecte similare
» Butoane (raspunde,topic nou si topic inchis) sticla
» Butoane (raspunde,topic nou si topic inchis)
» Mutare butoane Raspunde si Topic blocat
» Topic nou si Raspunde in partea dreapta
» Din: Topic nou si Raspunde in partea dreapta
» Butoane (raspunde,topic nou si topic inchis)
» Mutare butoane Raspunde si Topic blocat
» Topic nou si Raspunde in partea dreapta
» Din: Topic nou si Raspunde in partea dreapta
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Administreaza prezentarea forumului :: Arhiva probleme privind designul forumurilor
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum