Cand postez un mesaj nou este automat text acolo
Pagina 1 din 1 • Distribuiţi
Cand postez un mesaj nou este automat text acolo
Cum pot scoate acest text? Se pune automat cand vreau sa fac un topic nou... .
Re: Cand postez un mesaj nou este automat text acolo
Bună ziua,
Ați adăugat un javascript amplasat în Topicuri? Dacă da, vă rog să îl postați aici. De asemenea, ați modificat template-ul viewtopic_body? Dacă da, vă rog să îl postați aici.
Mulțumesc!
Ați adăugat un javascript amplasat în Topicuri? Dacă da, vă rog să îl postați aici. De asemenea, ați modificat template-ul viewtopic_body? Dacă da, vă rog să îl postați aici.
Mulțumesc!
Re: Cand postez un mesaj nou este automat text acolo
Nu am adaugat nici un cod Javascript care ar avea legatura cu aceasta problema .
Poftim,
Nu cred ca codurile Js din primele randuri, are legatura cu problema :-s .
Poftim,
- Cod:
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<style type="text/css">
.zzMedal{float:right;width:140px}
.medal-view{color:#FFF;text-shadow:0 0 2px #b7133f,0 0 2px #b7133f,0 0 2px #b7133f;display:block;padding:3px;text-align:center;font-size:11px;font-family:sans-serif;font-weight:700}
.postprofile-right .prField:nth-child(4){display:none}
.medal-wrap:after{content:" ";display:table;clear:both}
.medal-items{width:32px;height:32px;background:none no-repeat center/100% transparent;float:left}
.medal-items:nth-child(4) ~ .medal-items{display:none}
.medal-tip-t{color:#E400FF;font-size:15px}
.medal-tip-d{font-size:12px;color:#888}
.medal-wrap:hover .medal-items{display:block!important}
.medal-wrap:hover + .medal-view{display:none}
</style>
<script type="text/javascript">
var versionMinor = parseFloat(navigator.appVersion),
versionMajor = parseInt(versionMinor),
IE = document.all && !window.opera && 7 > versionMajor,
IE7 = document.all && !window.opera && 7 <= versionMajor,
OP = window.opera,
FF = document.getElementById,
NS = document.layers;
function get_item(a, c) {
if (IE) return c ? window.opener.document.all[a] : document.all[a];
if (FF) return c ? window.opener.document.getElementById(a) : document.getElementById(a);
if (NS) return c ? window.opener.document.layers[a] : document.layers[a]
}
var current_tooltip;
function show_tooltip(a, c, d) {
var b = get_item("tooltip");
b || (b = document.createElement("div"), b.setAttribute("id", "tooltip"), document.body.appendChild(b));
b.style.zIndex = 100;
b.style.position = "absolute";
b.innerHTML = d ? '<p class="header">' + d + "</p><p>" + c + "</p>" : "<p>" + c + "</p>";
b.style.visibility = "visible";
a.onmousemove = move_tooltip;
a.onmouseout = function () {
b.style.visibility = "hidden"
};
a.title = ""
}
var offsetxpoint = -60,
offsetypoint = 20,
real_body = document.compatMode && "BackCompat" != document.compatMode ? document.documentElement : document.body,
real_body = document.documentElement ? document.documentElement : document.body;
function move_tooltip(a) {
var c = !IE ? a.pageX : event.clientX + real_body.scrollLeft,
d = !IE ? a.pageY : event.clientY + real_body.scrollTop,
b = IE && !window.opera ? real_body.clientWidth - event.clientX - offsetxpoint : window.innerWidth - a.clientX - offsetxpoint - 20,
e = IE && !window.opera ? real_body.clientHeight - event.clientY - offsetypoint : window.innerHeight - a.clientY - offsetypoint - 20,
f = 0 > offsetxpoint ? -1 * offsetxpoint : -1E3;
current_tooltip = get_item("tooltip");
current_tooltip.style.left = b < current_tooltip.offsetWidth ? IE ? real_body.scrollLeft + event.clientX - current_tooltip.offsetWidth + "px" : window.pageXOffset + a.clientX - current_tooltip.offsetWidth + "px" : c < f ? "5px" : c + offsetxpoint + "px";
current_tooltip.style.top = e < current_tooltip.offsetHeight ? IE ? real_body.scrollTop + event.clientY - current_tooltip.offsetHeight - offsetypoint + "px" : window.pageYOffset + a.clientY - current_tooltip.offsetHeight - offsetypoint + "px" : d + offsetypoint + "px"
}
</script>
<script type="text/javascript">
//<![CDATA[
var multiquote_img_off = '{JS_MULTIQUOTE_IMG_OFF}', multiquote_img_on = '{JS_MULTIQUOTE_IMG_ON}', _atr = '{JS_DIR}addthis/', _ati = '{PATH_IMG_FA}addthis/'{ADDTHIS_LANG}, addthis_localize = { share_caption: "{L_SHARE_CAPTION}", email: "{L_EMAIL}", email_caption: "{L_EMAIL_CAPTION}", favorites: "{L_SHARE_BOOKMARKS}", print: "{L_PRINT}", more: "{L_MORE}" };
$(function(){
if(typeof(_atc) == "undefined") {
_atc = { };
}
_atc.cwait = 0;
$('.addthis_button').mouseup(function() {
if ($('#at15s').css('display') == 'block') {
addthis_close();
}
});
});
var hiddenMsgLabel = { visible:'{JS_HIDE_HIDDEN_MESSAGE}', hidden:'{JS_SHOW_HIDDEN_MESSAGE}' };
showHiddenMessage = function(id)
{
try
{
var regId = parseInt(id, 10);
if( isNaN(regId) ) { regId = 0; }
if( regId > 0)
{
$('.post--' + id).toggle(0, function()
{
if( $(this).is(":visible") )
{
$('#hidden-title--' + id).html(hiddenMsgLabel.visible);
}
else
{
$('#hidden-title--' + id).html(hiddenMsgLabel.hidden);
}
});
}
}
catch(e) { }
return false;
};
//]]>
</script>
<style>
div.post{background:#FFF;background:-moz-linear-gradient(left,#F8F8F8 162px,#FFF 162px);background:-webkit-gradient(linear,left top,right top,color-stop(162px,#F8F8F8),color-stop(162px,#FFF));background:-webkit-linear-gradient(left,#ff2b2b 162px,#FFF 162px);background:-o-linear-gradient(left,#F8F8F8 162px,#FFF 162px);background:-ms-linear-gradient(left,#F8F8F8 162px,#FFF 162px);background:linear-gradient(to right,#F8F8F8 162px,#FFF 162px);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#F8F8F8',endColorstr='#FFFFFF',GradientType=1)}
</style>
<ul id="navstrip" class="clearfix" itemscope itemtype="http://data-vocabulary.org/Breadcrumb">
<li class="begin"><a href="{U_INDEX}" itemprop="url"><span itemprop="title">{L_INDEX}</span></a><a href="/forum">Pagina principală</a></li>
{NAV_CAT_DESC}
</ul>
<div class="posting-options topic-options">
<ul class="posting-buttons clearfix">
<!-- BEGIN switch_fb_likebtn -->
<li class="post-icon">
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/{LANGUAGE}/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like" data-href="{FORUM_URL}{TOPIC_URL}" data-layout="button_count" data-action="like" data-show-faces="false" data-share="false" style="top:5px"></div>
</li>
<!-- END switch_fb_likebtn -->
<!-- BEGIN switch_twitter_btn -->
<li class="post-icon"><a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></li>
<!-- END switch_twitter_btn -->
</ul>
</div>
<div class="clearfix empty-clear"></div>
<div class="borderwrap">
<div class="maintitle floated">
<h3>{TOPIC_TITLE}</h3>
</div>
<div class="postHead clearfix">
<!-- BEGIN topicpagination -->
<div class="pagination topic-options">
{PAGINATION}
</div>
<!-- END topicpagination -->
<div class="posting-options topic-options">
<ul class="posting-buttons clearfix">
<!-- BEGIN switch_user_authpost -->
<li class="post-icon"><a href="{U_POST_NEW_TOPIC}" accesskey="n" rel="nofollow"><img src="{POST_IMG}" class="{POST_IMG_ID}" alt="{L_POST_NEW_TOPIC}" /></a></li>
<!-- END switch_user_authpost -->
<!-- BEGIN switch_user_authreply -->
<li class="post-icon"><a href="{U_POST_REPLY_TOPIC}"><img src="{REPLY_IMG}" class="i_reply" alt="{L_POST_REPLY_TOPIC}" /></a></li>
<!-- END switch_user_authreply -->
</ul>
</div>
</div>
</div>
{POLL_DISPLAY}
<!-- BEGIN postrow -->
<!-- BEGIN hidden -->
<div class="postdetails {postrow.hidden.ROW_CLASS}" colspan="2" align="center">{postrow.hidden.MESSAGE}</div>
<!-- END hidden -->
<!-- BEGIN first_post_br -->
</div>
<hr id="first-post-br" />
<div class="borderwrap">
<!-- END first_post_br -->
<!-- BEGIN displayed -->
<div id="p{postrow.displayed.U_POST_ID}" class="post {postrow.displayed.ONLINE_IMG_NEW} clearfix post--{postrow.displayed.U_POST_ID}"{postrow.displayed.THANK_BGCOLOR} style="{postrow.displayed.DISPLAYABLE_STATE}">
<div style="position: relative; top: -30px; width: 1px;" id="{postrow.displayed.U_POST_ID}"></div>
<div class="postprofile" id="profile{postrow.displayed.U_POST_ID}">
<div class="postdetails clearfix">
<div class="postprofile-left">
<div class="popmenubutton-new-out popmenubutton">
<a href="javascript:void(0);"{postrow.displayed.ONCLICK}>{postrow.displayed.ONLINE_IMG_INV}{postrow.displayed.POSTER_NAME_INV}</a>
</div>
{postrow.displayed.POSTER_RANK_NEW}
</div>
<!-- BEGIN user_logged_in -->
<div id="pm{postrow.displayed.U_POST_ID}" class="popupmenu clearfix" style="display:none;">
<div class="avatar">
{postrow.displayed.POSTER_AVATAR}
</div>
<ul>
<li class="popupmenu-item">{postrow.displayed.PROFILE_IMG} </li>
<!-- BEGIN switch_user_pm -->
<li class="popupmenu-item">{postrow.displayed.PM_IMG} </li>
<!-- END switch_user_pm -->
<!-- BEGIN switch_user_email -->
<li class="popupmenu-item">{postrow.displayed.EMAIL_IMG} </li>
<!-- END switch_user_email -->
<!-- BEGIN switch_contact_row -->
<li class="popupmenu-item">
<!-- BEGIN contact_field -->
{postrow.displayed.user_logged_in.switch_contact_row.contact_field.CONTENT}
<!-- END contact_field -->
</li>
<!-- END switch_contact_row -->
<!-- BEGIN switch_user_posts -->
<li class="popupmenu-item last">{postrow.displayed.USER_POSTS_IMG} </li>
<!-- END switch_user_posts -->
</ul>
</div>
<!-- END user_logged_in -->
<div id="pm{postrow.displayed.U_POST_ID}" class="popupmenu clearfix" style="display:none;">
<div class="avatar">
{postrow.displayed.POSTER_AVATAR}
</div>
<ul>
<li class="popupmenu-item">{postrow.displayed.PROFILE_IMG} </li>
<!-- BEGIN switch_user_posts -->
<li class="popupmenu-item last">{postrow.displayed.USER_POSTS_IMG} </li>
<!-- END switch_user_posts -->
</ul>
</div>
<div class="postprofile-avatar avatar">{postrow.displayed.POSTER_AVATAR}</div>
<div class="postprofile-right">
<!-- BEGIN profile_field -->
<p class="prField">{postrow.displayed.profile_field.LABEL}<span class="prContent">{postrow.displayed.profile_field.CONTENT}</span>{postrow.displayed.profile_field.SEPARATOR}</p>
<!-- END profile_field -->
</div>
</div>
</div>
<div class="postbody-head postdetails post-header" style="position: relative;">
<strong class="post-count right"><a href="#{postrow.displayed.U_POST_ID}">#{postrow.displayed.COUNT_POSTS}</a></strong>
<p class="author">
<i class="fa fa-clock-o"></i> {postrow.displayed.POST_DATE_NEW}
<span class="thanks-post" {postrow.displayed.THANK_BGCOLOR}></span>
</p>
</div>
<div class="post-entry">
<div class="post-contents">{postrow.displayed.MESSAGE}</div>
<!-- BEGIN switch_attachments -->
<dl class="attachbox">
<dt>{postrow.displayed.switch_attachments.L_ATTACHMENTS}</dt>
<dd>
<!-- BEGIN switch_post_attachments -->
<dl class="file">
<dt>
<img src="{postrow.displayed.switch_attachments.switch_post_attachments.U_IMG}" alt="" />
<!-- BEGIN switch_dl_att -->
<a class="postlink" href="{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.U_ATTACHMENT}">{postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT}</a> {postrow.displayed.switch_attachments.switch_post_attachments.switch_dl_att.ATTACHMENT_DEL}
<!-- END switch_dl_att -->
<!-- BEGIN switch_no_dl_att -->
{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT} {postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.ATTACHMENT_DEL}
<!-- END switch_no_dl_att -->
</dt>
<!-- BEGIN switch_no_comment -->
<dd>
<em>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_comment.ATTACHMENT_COMMENT}</em>
</dd>
<!-- END switch_no_comment -->
<!-- BEGIN switch_no_dl_att -->
<dd>
<em><strong>{postrow.displayed.switch_attachments.switch_post_attachments.switch_no_dl_att.TEXT_NO_DL}</strong></em>
</dd>
<!-- END switch_no_dl_att -->
<dd>({postrow.displayed.switch_attachments.switch_post_attachments.FILE_SIZE}) {postrow.displayed.switch_attachments.switch_post_attachments.NB_DL}</dd>
</dl>
<!-- END switch_post_attachments -->
</dd>
</dl>
<!-- END switch_attachments -->
<div class="clear"></div>
{postrow.displayed.EDITED_MESSAGE}
</div>
<!-- BEGIN switch_signature -->
<br />
<div id="sig{postrow.displayed.U_POST_ID}" class="signature_div">{postrow.displayed.SIGNATURE_NEW}</div>
<!-- END switch_signature -->
<div class="post-footer clearfix">
<!-- zzVotePlus by Zzbaivong - devs.forumvi.com -->
<div class="vote_zzvote">
<!-- BEGIN switch_vote_active -->
<a class="vote_plus" href="<!-- BEGIN switch_vote -->{postrow.displayed.switch_vote_active.switch_vote.U_VOTE_PLUS}<!-- END switch_vote -->">
+<span class="vote_time" data-vote="<!-- BEGIN switch_bar -->{postrow.displayed.switch_vote_active.L_VOTE_TITLE}<!-- END switch_bar --><!-- BEGIN switch_no_bar -->{postrow.displayed.switch_vote_active.L_VOTE_TITLE}<!-- END switch_no_bar -->">1</span>
</a>
<!-- END switch_vote_active -->
</div>
<ul class="posting-icons">
<li>{postrow.displayed.THANK_IMG}</li>
<li>{postrow.displayed.MULTIQUOTE_IMG}</li>
<li>{postrow.displayed.QUOTE_IMG}</li>
<li>{postrow.displayed.EDIT_IMG}</li>
<li>{postrow.displayed.DELETE_IMG}</li>
</ul>
</div>
</div> <!-- closing tag post -->
<!-- END displayed -->
<!-- END postrow -->
<div class="topic-footer clearfix">
<div class="posting-options topic-options">
<ul class="posting-buttons clearfix">
{S_TOPIC_ADMIN}
</ul>
</div>
</div>
<!-- BEGIN topicpagination -->
<div class="pagination topic-options">
{PAGINATION}
</div>
<!-- END topicpagination -->
<div class="clearfix empty-clear"></div>
<!-- BEGIN promot_trafic -->
<div class="row2">
<div id="ptrafic_close" class="clearfix" style="display:none">
<div class="maintitle floated">
<h3>{PROMOT_TRAFIC_TITLE}</h3>
<div class="right rtl-inversion-right">
<a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_MORE_IMG}" alt="+" align="" border="0" /></a>
</div>
</div>
</div>
<div id="ptrafic_open" class="clearfix" style="display:''">
<div class="maintitle floated">
<h3>{PROMOT_TRAFIC_TITLE}</h3>
<div class="right rtl-inversion-right">
<a href="javascript:ShowHideLayer('ptrafic_open','ptrafic_close');"><img src="{TABS_LESS_IMG}" alt="-" align="" border="0" /></a>
</div>
</div>
<div>
<!-- BEGIN link -->
ť <a href="{promot_trafic.link.U_HREF}" target="_blank" title="{promot_trafic.link.TITLE}" rel="nofollow">{promot_trafic.link.TITLE}</a><br />
<!-- END link -->
</div>
</div>
</div>
<!-- END promot_trafic -->
<!-- BEGIN switch_forum_rules -->
<div class="row1" id="forum_rules">
<div class="maintitle">
<h3>{L_FORUM_RULES}</h3>
</div>
<table>
<tr>
<!-- BEGIN switch_forum_rule_image -->
<td class="logo">
<img src="{RULE_IMG_URL}" alt=""/>
</td>
<!-- END switch_forum_rule_image -->
<td class="rules post-entry">
{RULE_MSG}
</td>
</tr>
</table>
</div>
<!-- END switch_forum_rules -->
<!-- BEGIN switch_user_logged_in -->
<br />
<a name="quickreply"></a>
{QUICK_REPLY_FORM}
<!-- END switch_user_logged_in -->
<!-- zzVotePlus by Zzbaivong - devs.forumvi.com -->
<script type="text/javascript">
//<![CDATA[
(function(a) {
a('strong:contains("Tags: ")').hide().prev("br, hr").hide().prev("hr").hide();
a('a[title^="See all tagged subjects with:"]', ".post-entry").replaceWith(function() {
return a("<a>", {
href: this.href,
"class": "tags",
text: this.textContent.replace("#", "").replace(/-/g, " ")
})
});
a(".post-entry").each(function() {
a(this).find(".tags").wrapAll('<div class="tagsGroup"></div>')
})
})(jQuery);
$(".vote_zzvote:empty").html('<a class="vote_plus dis" href="javascript:;">+<span class="vote_time" data-vote="Message not voted">1</span></a>');
function threeVote(a) {
return /^(0|00)$/.test(39) ? 3 * a : a
}
$(".vote_time").text(function() {
var a = $(this),
b = a.attr("data-vote");
"Message not voted" == b ? (a.attr("data-vote", 0), a = threeVote(1)) : (b = b.split(/\W/), time = parseInt(b[7], 10), percent = parseInt(b[4], 10), plus = Math.round(percent / 100 * time), a.attr("data-vote", plus), 0 == plus && (plus = 1), a = threeVote(plus));
return a
});
$(".vote_plus").on("click", function(a) {
a.preventDefault();
var b = $(this),
c = $(".vote_time", b); - 1 != this.href.indexOf("eval=plus&p_vote") && (b.css("background-image", "url(http://i57.servimg.com/u/f57/17/05/17/70/preloa10.gif)"), $.post(this.href, function() {
c.text(threeVote(parseInt(c.data("vote"), 10) + 1));
$post = b.closest(".post");
$.post("/privmsg", {
subject: (new Date).getTime(),
message: "Měnh thích bŕi viết của bạn tại [url=http://www.forumgiaitri.net" + location.pathname + "?showpost=" + $post.attr("id") + "]" + document.title + "[/url]",
username: $post.find(".popmenubutton-new-out a").text(),
u: $post.find(".avatar a").attr("href").replace(/.*\/u(\d+).*/, "$1"),
mode: "post_profile",
folder: "profile",
post: "Send"
}, function() {
b.removeAttr("style")
})
}), this.href = "")
});
var showpost = {
id: function() {
return GetParam("showpost");
},
stop: function(thix, post) {
history.replaceState(null, null, location.pathname);
$("#main-content").removeClass("showpost");
$(thix).remove();
$("#" + post).removeAttr("style").find(".post-count a").click();
},
start: function(callback) {
$("#main-content").addClass("showpost");
$("#" + showpost.id()).show().after('<a href="#" style="display: block;" class="stopShowpost" onclick="showpost.stop(this,\'' + showpost.id() + '\');return false;"><div class="postdetails row2" align="center">Xem toŕn bộ chủ đề</div></a>');
if (typeof callback !== 'undefined') {
callback();
}
},
run: function() {
if (showpost.id() !== null) {
showpost.start();
}
$(".post-count a").on("contextmenu", function(e) {
e.preventDefault();
$t = $(this);
if (showpost.id() === null) {
history.replaceState(null, null, "?showpost=p" + $t.attr("href").split("#")[1]);
showpost.start(function() {
$("html, body").animate({
scrollTop: $t.closest(".post").offset().top - $("#header").height()
});
});
}
});
}
};
showpost.run(); //]]>
</script>
<link rel="stylesheet" href="http://baivong.github.io/cdn/devsforumvi/css/cm-theme.css" />
<script src="http://baivong.github.io/cdn/devsforumvi/js/35300.js" type="text/javascript"></script>
<!-- BEGIN switch_image_resize -->
<script type="text/javascript">
//<![CDATA[
$(resize_images({ 'selector' : '.postbody .post-entry', 'max_width' : {switch_image_resize.IMG_RESIZE_WIDTH}, 'max_height' : {switch_image_resize.IMG_RESIZE_HEIGHT} }));
//]]>
</script>
<!-- END switch_image_resize -->
<!-- zzVotePlus by Zzbaivong - devs.forumvi.com -->
<script src="{JS_DIR}addthis/addthis_widget.js" type="text/javascript"></script>
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
Nu cred ca codurile Js din primele randuri, are legatura cu problema :-s .
Re: Cand postez un mesaj nou este automat text acolo
Am rezolvat problema.
Subiecte similare
» Eroare 500 când doresc sa postez.
» Vreau sa schimb interfata cand postez pe forum
» Nu pot gasii codurile alea de cand te uiti la un mesaj apare automat numele tau , etc.
» Cum pot sa postez un banner sau text sclipicios pe forum????
» Cum fac sa apara semnatura cand postez cv
» Vreau sa schimb interfata cand postez pe forum
» Nu pot gasii codurile alea de cand te uiti la un mesaj apare automat numele tau , etc.
» Cum pot sa postez un banner sau text sclipicios pe forum????
» Cum fac sa apara semnatura cand postez cv
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum