Help hỏi cái này edit ở đâu

  • Thread starter Thread starter haih544
  • Start date Start date
H

haih544

New Member
code hôm bửa của ttvn share cho mình hỏi là edit cái icon trước topic của style mobile ở đâu vậy...mình tìm trong top share mà ko thấy hướng dẩn
 
và sao mà thay code để làm chatbox cho style mobile nó báo lổi vậy...ai hd mình thêm chatboz cho style mobile đc ko :((
 
uppppppppppppppppppppppppppppppppppppppp

----------> Bổ sung bài viết lúc 10:54 <----------> Bài viết trước lúc 10:46 <----------

anh thắng cho emn hỏi là em chèn code
<div class=hdr>ChatBox</div>
<div class=genr_w>
<if condition="!$vboptions[fcb_editor_bottom]">$fcb_editor</if>
<tr><td>
<iframe name="fcb_frame" src="$vboptions[fcb_path]/index.php" frameborder="0" style="width: 100%; height: $vboptions[fcb_boxheight];"></iframe>
</td>
</tr>
<if condition="$vboptions[fcb_editor_bottom]">$fcb_editor</if>
</div>












<script language="JavaScript" type="text/javascript">
fcb_setCookie('fcb_userid', '$bbuserinfo[userid]');
var textstyle = document.getElementById('hmess');


<if condition="$vboptions[fcb_turnbold]">
if (fcb_getCookie('fcb_b_userid$bbuserinfo[userid]').length > 0)
{
document.fcb_form.hbold.value = fcb_getCookie('fcb_b_userid$bbuserinfo[userid]');
}
</if>






<if condition="$vboptions[fcb_turnitalic]">
if (fcb_getCookie('fcb_i_userid$bbuserinfo[userid]').length > 0)
{
document.fcb_form.hitalic.value = fcb_getCookie('fcb_i_userid$bbuserinfo[userid]');
}
</if>




<if condition="$vboptions[fcb_turnunderline]">
if (fcb_getCookie('fcb_u_userid$bbuserinfo[userid]').length > 0)
{
document.fcb_form.hunderline.value = fcb_getCookie('fcb_u_userid$bbuserinfo[userid]');
}
</if>




<if condition="$vboptions[fcb_turnfont]">
if (fcb_getCookie('fcb_font_userid$bbuserinfo[userid]').length > 0)
{
document.fcb_form.hfont.value = fcb_getCookie('fcb_font_userid$bbuserinfo[userid]');
}
</if>




<if condition="$vboptions[fcb_turncolor]">
if (fcb_getCookie('fcb_color_userid$bbuserinfo[userid]').length > 0)
{
document.fcb_form.hcolor.value = fcb_getCookie('fcb_color_userid$bbuserinfo[userid]');
}
</if>
fcb_upstyle_cookie();




function fcb_upstyle_cookie()
{
if (document.fcb_form.hbold.value == 'B*')
{
textstyle.style.fontWeight = 'bold';
}
else
{
textstyle.style.fontWeight = 'normal';
}




if (document.fcb_form.hitalic.value == 'I*')
{
textstyle.style.fontStyle = 'italic';
}
else
{
textstyle.style.fontStyle = 'normal';
}





if (document.fcb_form.hunderline.value == 'U*')
{
textstyle.style.textDecoration = 'underline';
}
else
{
textstyle.style.textDecoration = 'none';
}

textstyle.style.fontFamily = document.fcb_form.hfont.value;
textstyle.style.color = document.fcb_form.hcolor.value;
}








function fcb_upstyle(element)
{
if (element == 'b')
{
if (document.fcb_form.hbold.value == 'B')
{
document.fcb_form.hbold.value = 'B*';
textstyle.style.fontWeight = 'bold';
}
else
{
document.fcb_form.hbold.value = 'B';
textstyle.style.fontWeight = 'normal';
}

}
else if (element == 'i')
{
if (document.fcb_form.hitalic.value == 'I')
{
document.fcb_form.hitalic.value = 'I*';
textstyle.style.fontStyle = 'italic';
}
else
{
document.fcb_form.hitalic.value = 'I';
textstyle.style.fontStyle = 'normal';
}

}
else if (element == 'u')
{
if (document.fcb_form.hunderline.value == 'U')
{
document.fcb_form.hunderline.value = 'U*';
textstyle.style.textDecoration = 'underline';
}
else
{
document.fcb_form.hunderline.value = 'U';
textstyle.style.textDecoration = 'none';
}

}
else if (element == 'font')
{
textstyle.style.fontFamily = document.fcb_form.hfont.value;
}
else if (element == 'color')
{
textstyle.style.color = document.fcb_form.hcolor.value;
}

fcb_setCookie('fcb_b_userid$bbuserinfo[userid]', document.fcb_form.hbold.value);
fcb_setCookie('fcb_i_userid$bbuserinfo[userid]', document.fcb_form.hitalic.value);
fcb_setCookie('fcb_u_userid$bbuserinfo[userid]', document.fcb_form.hunderline.value);
fcb_setCookie('fcb_font_userid$bbuserinfo[userid]', document.fcb_form.hfont.value);
fcb_setCookie('fcb_color_userid$bbuserinfo[userid]', document.fcb_form.hcolor.value);
}




function fcb_setCookie(c_name,value)
{
var exdate=new Date();
exdate.setDate(exdate.getDate()+365);
document.cookie=c_name+ "=" +escape(value)+ ";expires="+exdate.toGMTString() + "path=$vboptions[cookiepath]";
}
function fcb_getCookie(c_name)
{
if (document.cookie.length>0)
{
c_start=document.cookie.indexOf(c_name + "=");
if (c_start!=-1)
{
c_start=c_start + c_name.length+1;
c_end=document.cookie.indexOf(";",c_start);
if (c_end==-1) c_end=document.cookie.length;
return unescape(document.cookie.substring(c_start,c_end));
}
else { return ""; }
}




}




var chatboxkey = '$fcb_chatboxkey';
var huid = '$bbuserinfo[userid]';
var hgroupid = '$bbuserinfo[usergroupid]';
var huser = "$fcb_musername";




function fcb_postshout()
{
hmess = document.fcb_form.hmess.value;
hcolor = document.fcb_form.hcolor.value;
hfont = document.fcb_form.hfont.value;
hbold = document.fcb_form.hbold.value;
hitalic = document.fcb_form.hitalic.value;
hunderline = document.fcb_form.hunderline.value;
document.fcb_form.hmess.value = '';
if (hmess == '')
{
alert('$vbphrase[fcb_typemess]');
}
else
{
fcb_frame.location = '{$vbulletin->options['fcb_path']}/index.php?do=postshout&key=' + chatboxkey + '&userid=' + huid + '&groupid=' + hgroupid + '&username=' + huser + '&message=' + encodeURIComponent(hmess) + '&color=' + hcolor + '&font=' + hfont + '&bold=' + hbold + '&italic=' + hitalic + '&underline=' + hunderline;
}
}




function archivepage()
{
window.open("$vboptions[fcb_path]/archive.php", "fcbarchive", "location=no,scrollbars=yes,width=640,height=480");
}
function addsmilie(code)
{
document.fcb_form.hmess.value = document.fcb_form.hmess.value + code;
}
function smiliepopup()
{
window.open("ajax.php?do=fcb_allsmilies", "fcballsmilies", "location=no,scrollbars=yes,width=500,height=500");
}




function fcb_showsmilies_action()
{
if (fcb.handler.readyState == 4 && fcb.handler.status == 200)
{
document.getElementById('fcb_smiliebox').innerHTML = fcb.handler.responseText;
}
}
function fcb_showsmilies()
{
document.getElementById('fcb_smiliebox').innerHTML = '$vbphrase[fcb_wait]';
fcb = new vB_AJAX_Handler(true);
fcb.onreadystatechange(fcb_showsmilies_action);
fcb.send('ajax.php?do=fcb_randomsmilies');
}
function fcb_showsmiliebox()
{
if (document.getElementById('fcb_smilieboxmain').style.display == 'none')
{
document.getElementById('fcb_smilieboxmain').style.display = 'inline';
fcb_showsmilies();
}
else
{
document.getElementById('fcb_smilieboxmain').style.display = 'none';
}
}
function fcb_hideshowsmiliebox()
{
document.getElementById('fcb_smilieboxmain').style.display = 'none';
}
function fcb_refresh()
{
fcb_frame.location = '$vboptions[fcb_path]/index.php';
}
</script>

vào




changuondyu_extracha tbox_main nó báo lổi


Method Not Implemented

GET to /admincp/template.php not supported.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
 
ca.png
 
Chắc host em không support
 
Dùng host khác chứ sao
 

Facebook Comments

Back
Top