استفسار بخصوص الرد السريع لمحرر hoteditor
المشرفون: alhitary،طاقم الإضافات
قوانين المنتدى
هذه الساحة للنقاش حول كيفية الهاكات وليس لحل المشاكل المتعلقه بذلك، مشكلة الهاك تطرح في موضوع الهاك نفسه
هذه الساحة للنقاش حول كيفية الهاكات وليس لحل المشاكل المتعلقه بذلك، مشكلة الهاك تطرح في موضوع الهاك نفسه
- harede2006
- عضو متميز
- مشاركات: 232
- اشترك في: الجمعة مايو 05, 2006 2:33 am
??????? ????? ???? ?????? ????? hoteditor
?????? ????? ...
????? ??? ?? ????
??? ???? ?? ?????? ????? hoteditor
???? ?? ?????? ?????? ?? ???? ??????
??? ?????? ??? evil quick replay
???? ???????? ?? ??? posting_qr_replay
????? ?????? :
?????? ??????
???????? ??? ???? ??? ??? ????? ?? ????? ?????? ?????? ?? ????? ??? ucp_profie_signture ???? ??????? ???? ??? ???? ?????? ??? ??? ???? ??? ???? ????? ???? ?? ?? ????? ????? ?? ??? ????? ????? ??? ???? ?????? ??????? ??? ???? ??????? ... ?
?? ???? ??? ?? ???? ???? .. ?
????? ??? ?? ????
??? ???? ?? ?????? ????? hoteditor
???? ?? ?????? ?????? ?? ???? ??????
??? ?????? ??? evil quick replay
???? ???????? ?? ??? posting_qr_replay
????? ?????? :
كود: تحديد الكل
<textarea name="message" id="message" rows="15" cols="76" tabindex="2" style="width: 70%; height: 150px;"></textarea>
كود: تحديد الكل
<!--//HotEditor MOD START - Remove BBcode buttons & font color panel -->
<textarea class="post" style="visibility:hidden;position:absolute;top:-20;left:-20;width:1px;height:1px" id="signature" name="signature" rows="10" cols="76" style="width: 90%;" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{SIGNATURE}</textarea>
<style type='text/css'>@import url(richedit/styles/office2007/style.css);</style>
<script language="JavaScript" type="text/javascript" src="richedit/editor.js?version=4.2"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
<script language="JavaScript" type="text/javascript">
var getdata = document.getElementById("signature").value;
getdata = convertSize(getdata,"1");
Instantiate("min","editor", getdata , "100%", "150px");
//For Vietnamese User. Edit file editor.js to enable vietnamese keyboard
if(enable_vietnamese_keyboard==1){
document.write("<script language=\"JavaScript\" type=\"text/javascript\" src=\"richedit/avim.js\"><\/script>");
var hoteditor_avim_method = hot_readCookie("hoteditor_avim_method");var him_auto_checked="";var him_telex_checked="";var him_vni_checked="";var him_viqr_checked="";var him_viqr2_checked="";var him_off_checked="";if(hoteditor_avim_method=="0"){him_auto_checked="checked";}else if(hoteditor_avim_method=="1"){him_telex_checked="checked";}else if(hoteditor_avim_method=="2"){him_vni_checked="checked";}else if(hoteditor_avim_method=="3"){him_viqr_checked="checked";}else if(hoteditor_avim_method=="4"){him_viqr2_checked="checked";}else if(hoteditor_avim_method=="-1"){him_off_checked="checked";}
document.write("<div style='width:100%;text-align:center;font-family:Verdana;font-size:11px;'><input "+him_auto_checked+" id=him_auto onclick=setMethod(0); type=radio name=viet_method> Auto :: <input "+him_telex_checked+" id=him_telex onclick=setMethod(1); type=radio name=viet_method> Telex :: <input "+him_vni_checked+" id=him_vni onclick=setMethod(2); type=radio name=viet_method> VNI :: <input "+him_viqr_checked+" id=him_viqr onclick=setMethod(3); type=radio name=viet_method> VIQR :: <input "+him_viqr2_checked+" id=him_viqr2 onclick=setMethod(4); type=radio name=viet_method> VIQR* :: <input "+him_off_checked+" id=him_off onclick=setMethod(-1); type=radio name=viet_method> Off<br><img src="+styles_folder_path+"/vietnamese_symbol.gif></div>");
}
function get_hoteditor_data(){
if (HTML_ON == "no"){
alert ("Please uncheck the HTML checkbox");
return false;
}
setCodeOutput();
var bbcode_output=document.getElementById("hoteditor_bbcode_ouput_editor").value;//Output to BBCode
//Make BBCode ouput compatible with phpbb
var currentDomain=document.URL;
currentDomain=currentDomain.replace("http://","");
var infoDomain=currentDomain.split("/");
var correctDomain="http://";
for(var d=0;d < infoDomain.length; d++){
if(d<infoDomain.length-1) correctDomain+=infoDomain[d]+"/";
}
bbcode_output=bbcode_output.replace(/\[IMG\]\.\//gi,"[IMG]"+correctDomain);
bbcode_output=bbcode_output.replace(/\[(\/)quote\]/gi,"[$1quote]");
bbcode_output = convertSize(bbcode_output,"0");
document.getElementById("signature").value = bbcode_output;
}
function convertSize(text,what){
if(what=="1"){//phpBB size to Hoteditor size
text=text.replace(/\[size=85\]/gi,"[SIZE=1]");
text=text.replace(/\[size=100\]/gi,"[SIZE=2]");
text=text.replace(/\[size=120\]/gi,"[SIZE=3]");
text=text.replace(/\[size=130\]/gi,"[SIZE=4]");
text=text.replace(/\[size=150\]/gi,"[SIZE=5]");
text=text.replace(/\[size=170\]/gi,"[SIZE=6]");
text=text.replace(/\[size=200\]/gi,"[SIZE=7]");
}
else{//Hoteditor size to phpBB size
text=text.replace(/\[size=1\]/gi,"[SIZE=85]");
text=text.replace(/\[size=2\]/gi,"[SIZE=100]");
text=text.replace(/\[size=3\]/gi,"[SIZE=120]");
text=text.replace(/\[size=4\]/gi,"[SIZE=130]");
text=text.replace(/\[size=5\]/gi,"[SIZE=150]");
text=text.replace(/\[size=6\]/gi,"[SIZE=170]");
text=text.replace(/\[size=7\]/gi,"[SIZE=200]");
}
return text;
}
</script>
<!--//HotEditor MOD END -->
?? ???? ??? ?? ???? ???? .. ?
- harede2006
- عضو متميز
- مشاركات: 232
- اشترك في: الجمعة مايو 05, 2006 2:33 am
??????? ????? ???? ?????? ????? hoteditor
?? ???? ?? ?
- (M)
- عضو متميز
- مشاركات: 200
- اشترك في: السبت مايو 17, 2008 4:05 am
- مكان: www.MWRD.net
- اتصال:
??????? ????? ???? ?????? ????? hoteditor
?????? ????? ????? ???? ???????
????? ??? ?????? ?? ??? ?????? ??? ????
?????? ??? Hot Editor ??? ??? ???? ?????? ?????? ???? ??????? ?? ??????? :
???? ???? posting_qr_body.html
???? ?? ?? ??? ??:
?? ???????:
???? ??:
???????:
????? ??????? ???? ?? ????? ?????? ???? ???????
???? ??:
????????:
????? ????????
????? ??? ?????? ?? ??? ?????? ??? ????
?????? ??? Hot Editor ??? ??? ???? ?????? ?????? ???? ??????? ?? ??????? :
???? ???? posting_qr_body.html
???? ?? ?? ??? ??:
كود: تحديد الكل
<form action="{S_QR_POST_ACTION}" method="post" onsubmit="Gettext('message',true)">
كود: تحديد الكل
<!--//HotEditor MOD -->
<form onSubmit="return get_hoteditor_data();" action="{S_QR_POST_ACTION}" method="post" name="postform"{S_FORM_ENCTYPE}>
كود: تحديد الكل
<textarea name="message" id="message" rows="10" cols="76" tabindex="2" style="width: 80%; height: 200px;"></textarea>
كود: تحديد الكل
<!--//HotEditor MOD START - Remove BBcode buttons & font color panel -->
<textarea class="inputbox" style="visibility:hidden;position:absolute;top:-20;left:-20;width:1px;height:1px" id="message" name="message" rows="10" cols="76" style="width: 90%;" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);"></textarea>
<style type='text/css'>@import url(richedit/styles/office2007/style.css);</style>
<script language="JavaScript" type="text/javascript" src="richedit/editor.js?version=4.2"></script>
<script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script>
<script language="JavaScript" type="text/javascript">
var getdata = document.getElementById("message").value;
getdata = convertSize(getdata,"1");
Instantiate("min","editor", getdata , "100%", "150px");
//For Vietnamese User. Edit file editor.js to enable vietnamese keyboard
if(enable_vietnamese_keyboard==1){
document.write("<script language=\"JavaScript\" type=\"text/javascript\" src=\"richedit/avim.js\"><\/script>");
var hoteditor_avim_method = hot_readCookie("hoteditor_avim_method");var him_auto_checked="";var him_telex_checked="";var him_vni_checked="";var him_viqr_checked="";var him_viqr2_checked="";var him_off_checked="";if(hoteditor_avim_method=="0"){him_auto_checked="checked";}else if(hoteditor_avim_method=="1"){him_telex_checked="checked";}else if(hoteditor_avim_method=="2"){him_vni_checked="checked";}else if(hoteditor_avim_method=="3"){him_viqr_checked="checked";}else if(hoteditor_avim_method=="4"){him_viqr2_checked="checked";}else if(hoteditor_avim_method=="-1"){him_off_checked="checked";}
document.write("<div style='width:100%;text-align:center;font-family:Times New Roman;font-size:15px;background-color: #E3EAFD;'><input "+him_auto_checked+" id=him_auto onclick=setMethod(0); type=radio name=viet_method> Auto :: <input "+him_telex_checked+" id=him_telex onclick=setMethod(1); type=radio name=viet_method> Telex :: <input "+him_vni_checked+" id=him_vni onclick=setMethod(2); type=radio name=viet_method> VNI :: <input "+him_viqr_checked+" id=him_viqr onclick=setMethod(3); type=radio name=viet_method> VIQR :: <input "+him_viqr2_checked+" id=him_viqr2 onclick=setMethod(4); type=radio name=viet_method> VIQR* :: <input "+him_off_checked+" id=him_off onclick=setMethod(-1); type=radio name=viet_method> Off<br><img src="+styles_folder_path+"/vietnamese_symbol.gif></div>");
}
function get_hoteditor_data(){
if (HTML_ON == "no"){
alert ("Please uncheck the HTML checkbox");
return false;
}
setCodeOutput();
var bbcode_output=document.getElementById("hoteditor_bbcode_ouput_editor").value;//Output to BBCode
//Make BBCode ouput compatible with phpbb
var currentDomain=document.URL;
currentDomain=currentDomain.replace("http://","");
var infoDomain=currentDomain.split("/");
var correctDomain="http://";
for(var d=0;d < infoDomain.length; d++){
if(d<infoDomain.length-1) correctDomain+=infoDomain[d]+"/";
}
bbcode_output=bbcode_output.replace(/\[IMG\]\.\//gi,"[IMG]"+correctDomain);
bbcode_output=bbcode_output.replace(/\[(\/)quote\]/gi,"[$1quote]");
bbcode_output = convertSize(bbcode_output,"0");
document.getElementById("message").value = bbcode_output;
}
function convertSize(text,what){
if(what=="1"){//phpBB size to Hoteditor size
text=text.replace(/\[size=85\]/gi,"[SIZE=1]");
text=text.replace(/\[size=100\]/gi,"[SIZE=2]");
text=text.replace(/\[size=120\]/gi,"[SIZE=3]");
text=text.replace(/\[size=130\]/gi,"[SIZE=4]");
text=text.replace(/\[size=150\]/gi,"[SIZE=5]");
text=text.replace(/\[size=170\]/gi,"[SIZE=6]");
text=text.replace(/\[size=200\]/gi,"[SIZE=7]");
}
else{//Hoteditor size to phpBB size
text=text.replace(/\[size=1\]/gi,"[SIZE=85]");
text=text.replace(/\[size=2\]/gi,"[SIZE=100]");
text=text.replace(/\[size=3\]/gi,"[SIZE=120]");
text=text.replace(/\[size=4\]/gi,"[SIZE=130]");
text=text.replace(/\[size=5\]/gi,"[SIZE=150]");
text=text.replace(/\[size=6\]/gi,"[SIZE=170]");
text=text.replace(/\[size=7\]/gi,"[SIZE=200]");
}
return text;
}
</script>
<!--//HotEditor MOD END -->
???? ??:
كود: تحديد الكل
<td class="row2" align="center" valign="middle" colspan="2">
كود: تحديد الكل
<td class="row2" valign="middle" colspan="2">

??????? ????? ???? ?????? ????? hoteditor
????? ??????? ???? ??????? ?? ??? mini quick replay ?? ??? ?? ????? ???? ???? ?????? ???????
??? ?????? ??? ??? ?? ???? ???? ??????? ?
???? ???? ??? ????
???????? ????? ????? ?????? ???? ?? ????
??? ?????? ??? ??? ?? ???? ???? ??????? ?
???? ???? ??? ????
???????? ????? ????? ?????? ???? ?? ????
- (M)
- عضو متميز
- مشاركات: 200
- اشترك في: السبت مايو 17, 2008 4:05 am
- مكان: www.MWRD.net
- اتصال:
??????? ????? ???? ?????? ????? hoteditor
?????? ??? ?? ????? ????? ?????? ?????? ( ??????? )
??????? ??????? ?????? ?????? ??? ??????? ??? ???? ???? richedit
???? ???
editor.js
???? ????? Notepad++ ??? ????? ?? UTF-8 without BOM
?? ???? ??
??????? ???? ?? ???? ???? ????? ?? ??? ???:
="SPACE,btFont_Name,btFont_Size,btFont_Color,btHighlight,btRemove_Format,SPACE,
="SPACE, ???? ??????? ?? ????? ?? ???????
btFont_Name, ???? ??? ????
btFont_Size, ???? ??? ????
btFont_Color, ???? ??? ????
????? ? ????? ?????? ?????? ?? ???? ?? ???? ?? ???? ?????? ( ?????? ??? ???? ?? ????? ??????? ??????? )
?? ????? ??????
????? ??????? ??????? ??????? ????????? ????
??? ??? ?? ???? ??????? ??????? ????? ??????? ????? ??? ?? ?????? ??????? ???? ?? ??????
??????? ????
??? ?? ?????? ???? ?????? ??? ??? BBCodes ????
?????????
??????? ??????? ?????? ?????? ??? ??????? ??? ???? ???? richedit
???? ???
editor.js
???? ????? Notepad++ ??? ????? ?? UTF-8 without BOM
?? ???? ??
كود: تحديد الكل
// Simple toolbar (show only 1 toolbar)
// Use this minibar for Quick Reply (Forum)
// You can add more buttons to minibar by using btXXX above (toolbar1 + toolbar2 + toolbar3)
var minibar
="SPACE,btFont_Name,btFont_Size,btFont_Color,btHighlight,btRemove_Format,SPACE,
="SPACE, ???? ??????? ?? ????? ?? ???????
btFont_Name, ???? ??? ????
btFont_Size, ???? ??? ????
btFont_Color, ???? ??? ????
????? ? ????? ?????? ?????? ?? ???? ?? ???? ?? ???? ?????? ( ?????? ??? ???? ?? ????? ??????? ??????? )
?? ????? ??????
????? ??????? ??????? ??????? ????????? ????
كود: تحديد الكل
// Design your WYSIWYG toolbar here. You can remove button or change button location by moving around btXXXX
// Full list:
??? ??? ?? ???? ??????? ??????? ????? ??????? ????? ??? ?? ?????? ??????? ???? ?? ??????
??????? ????
كود: تحديد الكل
// Simple toolbar (show only 1 toolbar)
// Use this minibar for Quick Reply (Forum)
// You can add more buttons to minibar by using btXXX above (toolbar1 + toolbar2 + toolbar3)
var minibar
كود: تحديد الكل
// Simple toolbar (show only 1 toolbar)
// Use this minibar for Quick Reply (Forum)
// You can add more button to minibar by using btXXX above (textarea_toolbar1 + textarea_toolbar2 + textarea_toolbar3)
var textarea_minibar

الموجودون الآن
المتصفحون للمنتدى الآن: Amazon [Bot] وزائر واحد