Dezactivarea functiei de la data
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Alte probleme :: Arhiva probleme diverse
Pagina 1 din 2 • Distribuiţi
Pagina 1 din 2 • 1, 2
Dezactivarea functiei de la data
Salut de ceva timp caut cum sa dezactivez acea functie care ma enerveaza putin ... la data scrie " la data de Sam 9 Apr 2016 - 0:10 " vreau sa fie doar data "Sam 9 Apr 2016 - 0:10 " atat fara la data de se poate acest lucru ?
Ultima editare efectuata de catre Ionut in Vin Iul 01, 2016 2:20 pm, editata de 1 ori
Re: Dezactivarea functiei de la data
Buna seara, unde mai exact vreti sa inlocuiti/stergeti acel text?
Un template/Printscreen, multumesc.
Un template/Printscreen, multumesc.
Re: Dezactivarea functiei de la data
Da SSYT, vreau acel text sters sa ramana doar data si ora
Re: Dezactivarea functiei de la data
Ok, o sa am nevoie de un template pentru a face modificarile necesare.
Va rog sa postati aici !
Va rog sa postati aici !
Re: Dezactivarea functiei de la data
topics_list_box
- 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>
<script type="text/javascript">
//<![CDATA[
$.each(tags, function(index, data) {
if(data.length > 4) {
$('#tags_search').append(
'<a id="tag_search_' + index + '" class="ipsTag" title="Tag ' + data + '" href="/search?search_keywords=' + data + '">' +
' <span>' + data + '</span>' +
'</a>'
);
}
});
function edited(){window.location.reload()}
//]]>
</script>
<!-- END multi_selection -->
<div class="ipsFilterbar maintitle">
<ul class="ipsList_inline ipsType_small_replace" style="margin-top: 1px;">
<li class="tab_toggle_horizontal active"><a href="" rel="nofollow">Recently Updated</a></li>
<li class="tab_toggle_horizontal"><a href="" rel="nofollow">Start Date</a></li>
<li class="tab_toggle_horizontal"><a href="" rel="nofollow">Most Replies</a></li>
<li class="tab_toggle_horizontal"><a href="" rel="nofollow">Most Viewed</a></li>
<li><a id="forum_filter">Custom <img src="http://i86.servimg.com/u/f86/19/26/75/16/userop10.png"/> </a>
<div id="forum_filter_menucontent" class="ipbmenu_content ipsPad" style="position: absolute; z-index: 9999;display: none;">
<form id="filter_form" method="post" style="z-index: 10000;">
<strong style="z-index: 10000;">Show topic type</strong>
<br style="z-index: 10000;"/>
<select name="topicfilter" id="topic_filter" class="input_select" style="z-index: 10000;">
<option value="all" selected="selected" style="z-index: 10000;">All Topics</option>
<option value="open" style="z-index: 10000;">Open</option>
<option value="hot" style="z-index: 10000;">Hot</option>
<option value="poll" style="z-index: 10000;">Polls</option>
<option value="locked" style="z-index: 10000;">Locked</option>
<option value="moved" style="z-index: 10000;">Moved</option>
</select>
<br style="z-index: 10000;"/>
<br style="z-index: 10000;"/>
<strong style="z-index: 10000;">Sort by</strong>
<br style="z-index: 10000;"/>
<select name="sort_key" id="sort_by" class="input_select" style="z-index: 10000;">
<option value="last_post" selected="selected" style="z-index: 10000;">Last Post</option>
<option value="last_poster_name" style="z-index: 10000;">Last Poster</option>
<option value="title" style="z-index: 10000;">Topic Title</option>
<option value="starter_name" style="z-index: 10000;">Topic Starter</option>
<option value="start_date" style="z-index: 10000;">Topic Started</option>
<option value="topic_hasattach" style="z-index: 10000;">Attachments</option>
<option value="posts" style="z-index: 10000;">Replies</option>
<option value="views" style="z-index: 10000;">Views</option>
</select>
<br style="z-index: 10000;"/>
<br style="z-index: 10000;"/>
<strong style="z-index: 10000;">Sort direction</strong>
<br style="z-index: 10000;"/>
<select name="sort_by" id="direction" class="input_select" style="z-index: 10000;">
<option value="Z-A" selected="selected" style="z-index: 10000;">Descending (Z-A)</option>
<option value="A-Z" style="z-index: 10000;">Ascending (A-Z)</option>
</select>
<br style="z-index: 10000;"/>
<br style="z-index: 10000;"/>
<strong style="z-index: 10000;">Time frame</strong>
<br style="z-index: 10000;"/>
<select name="prune_day" id="time_frame" class="input_select" style="z-index: 10000;">
<option value="1" style="z-index: 10000;">From Today</option>
<option value="5" style="z-index: 10000;">Last 5 days</option>
<option value="7" style="z-index: 10000;">Last 7 days</option>
<option value="10" style="z-index: 10000;">Last 10 days</option>
<option value="15" style="z-index: 10000;">Last 15 days</option>
<option value="20" style="z-index: 10000;">Last 20 days</option>
<option value="25" style="z-index: 10000;">Last 25 days</option>
<option value="30" style="z-index: 10000;">Last 30 days</option>
<option value="60" style="z-index: 10000;">Last 60 days</option>
<option value="90" style="z-index: 10000;">Last 90 days</option>
<option value="100" selected="selected" style="z-index: 10000;">Show All</option>
<option value="200" style="z-index: 10000;">Since Last Visit</option>
</select>
<br style="z-index: 10000;"/>
<br style="z-index: 10000;"/>
<input type="checkbox" value="1" name="remember" class="input_check" id="remember_filter" style="z-index: 10000;"/>
<label for="remember_filter" style="z-index: 10000;">Remember filters</label>
<br style="z-index: 10000;"/>
<br style="z-index: 10000;"/>
<input type="submit" value="Update Filter" class="input_submit" style="z-index: 10000;"/>
</form>
</div>
</li>
</ul>
</div>
<div class="border1">
<div class="ipsBox removeDefault">
<div class="ipsBox_container">
<table class="ipb_table topic_list hover_rows " summary="Topics In This Forum "A Test Forum"" id="forum_table">
<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 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">
<table cellspacing="0" class="table">
<thead>
<tr>
<th class="tcl">{L_TOPICS}</th>
<th class="tc2">{topics_list_box.row.topic.table_sticky.L_REPLIES}</th>
<th class="tc3">{topics_list_box.row.topic.table_sticky.L_VIEWS}</th>
<th class="tcr">{topics_list_box.row.topic.table_sticky.L_LASTPOST}</th>
</tr>
</thead>
<tbody class="statused">
<!-- END table_sticky -->
<tr itemscope="" itemtype="http://schema.org/Article" class="__topic notnew expandable" id="trow_65" data-tid="65">
<td class="col_f_icon <!-- BEGIN line_sticky --> sticky-separator <!-- END line_sticky -->">
<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}" />
<td class="col_f_content ">
<h4>
{topics_list_box.row.TOPIC_TYPE}
<a href="{topics_list_box.row.U_VIEW_TOPIC}" class="topictitle highlight_unread">
<span itemprop="name">{topics_list_box.row.TOPIC_TITLE}</span>
</a>
</h4>
<br/>
<span class="desc lighter blend_links topic_desc">
Started by <a hovercard-ref="member" hovercard-id="7" data-ipb="noparse" class="url fn name ___hover___member _hoversetup" title="" id="anonymous_element_1"><span itemprop="name">{topics_list_box.row.TOPIC_AUTHOR}</span></a>, <span id="stil_last_post">{topics_list_box.row.LAST_POST_TIME}</span>
</span> {topics_list_box.row.GOTO_PAGE_NEW} <span id="tags_search"></span>
</td>
<td class="col_f_preview __topic_preview">
<a href="{topics_list_box.row.U_VIEW_TOPIC}" class="expander closed" title="Preview this topic"> </a>
</td>
<td class="col_f_views" style="font-size: 11px;">
<span class="ipsBadge ipsBadge_orange" data-id="hot_topic" style="display:none;">HOT</span>
<span data-id="replies" class="RP">{topics_list_box.row.REPLIES}</span> replies<br />
<span class="VW"> {topics_list_box.row.VIEWS}</span> views</td>
<td class="col_f_post">
<!-- BEGIN avatar -->
<span class="lastpost-avatar">{topics_list_box.row.topic.avatar.LAST_POST_AVATAR}</span>
<!-- END avatar -->
<ul class="last_post">
<li class="highlight_unread"><a hovercard-ref="member" hovercard-id="7" data-ipb="noparse" class="url fn name ___hover___member _hoversetup" title="" id="anonymous_element_2"><span itemprop="name">{topics_list_box.row.LAST_POST_AUTHOR} </span></a></li>
<li class="desc lighter blend_links">{topics_list_box.row.LAST_POST_TIME}</li>
</ul>
</td>
</td>
<td class="tcr1">
</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 colspan="5" class="no_messages">
No topics were found. This is either because there are no topics in this forum, or the topics are older than the current age cut-off.
</td>
</tr>
<!-- END no_topics -->
<!-- BEGIN bottom -->
</tbody>
</table>
</div>
</div>
</div>
<!-- END bottom -->
<!-- BEGIN spacer --><br /><!-- END spacer -->
<!-- END row -->
<!-- END topics_list_box -->
Re: Dezactivarea functiei de la data
Buna dimineata, am gasit o solutie mult mai simpla !
Pasul 1:
Panou de administrare ~> General ~> Forum ~> Configurare: Setari generale ~> Formatul datei : Mier 29 Iun 2016 - 10:03
Pasul 2:
Profil ~> Preferinte ~> Formatul datei : Mier 29 Iun 2016 - 10:03
Pasul 3:
Panou de administrare ~> Module ~> HTML & JAVASCRIPT ~> Gestiunea codurilor JavaScript:
Asta ar trebuie sa iti scoata acel text !
Pasul 1:
Panou de administrare ~> General ~> Forum ~> Configurare: Setari generale ~> Formatul datei : Mier 29 Iun 2016 - 10:03
Pasul 2:
Profil ~> Preferinte ~> Formatul datei : Mier 29 Iun 2016 - 10:03
Pasul 3:
Panou de administrare ~> Module ~> HTML & JAVASCRIPT ~> Gestiunea codurilor JavaScript:
- Cod:
$(function() {
var c = $('html'), i = 0;
for(i; i < c.length; i++)
{
c.innerHTML = c.innerHTML.replace(/ la data de /gi, '');
}
});
Asta ar trebuie sa iti scoata acel text !
Re: Dezactivarea functiei de la data
Multumesc ! Dar codul oferit de tine imi dezactiveaza celelalte coduri js, si nu merge
Re: Dezactivarea functiei de la data
Scuzama, greseala mea.
Poftim, codul JS functional !
Poftim, codul JS functional !
- Cod:
$(function(){var a=$("html").get(),b=0;for(b;b<a.length;b++)a.innerHTML=a.innerHTML.replace(/ la data de /gi,"")});
Re: Dezactivarea functiei de la data
Aceas chestie ...
Re: Dezactivarea functiei de la data
Ionut a scris:Aceas chestie ...
Si ce ar trebuie sa insemne asta? Mai multe detalii, o problema rezolvata mai usor !
Re: Dezactivarea functiei de la data
Tot asa imi apare nu merge codul si codurile js nu mai merg
Re: Dezactivarea functiei de la data
Poftim, asta nu ar mai trebui sa cauzeze probleme !
- Cod:
$(function(){
var $a = $("html > body");
$a.each(function() {
var x = new RegExp('la data de', 'gi');
this.innerHTML = this.innerHTML.replace(x, "");
});
});
Pagina 1 din 2 • 1, 2
Subiecte similare
» Data limita si data de publicare a unui articol pe blog
» Stergerea si vizualizarea mesajelor intre data X si data X
» dezactivarea functiei care permite membrilor sa stearga mesaje
» Data in chenar
» este script pentru dezactivarea sublinieri unu link
» Stergerea si vizualizarea mesajelor intre data X si data X
» dezactivarea functiei care permite membrilor sa stearga mesaje
» Data in chenar
» este script pentru dezactivarea sublinieri unu link
Forum gratuit: forum de suport al utilizatorilor :: Forum de suport :: Alte probleme :: Arhiva probleme diverse
Pagina 1 din 2
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum