Current time: 03-22-2010, 12:42 PM Hello There, Guest! (LoginRegister)


Post Reply 
 
Thread Rating:
  • 3 Votes - 2.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HotEditor Installation problem
02-19-2008, 07:45 PM
Post: #21
RE: HotEditor Installation problem
usawhney Wrote:Had the mismatch code problem but now its solved.
Did you use the preset files attached in this thread? or.. how did you solve it? Smile

PD: Don't worry about Faisal Shah. Now I know he's using the HotEditor in another MyBB forum. Wink
Visit this user's website Find all posts by this user
Quote this message in a reply
02-19-2008, 08:05 PM
Post: #22
RE: HotEditor Installation problem
EviLito Wrote:
Faisal Shah Wrote:I AM SURE this is the problem of my Templates as yesterday before writing to you i already edited all of my .php and .js files to MyBB 1.12 Wink

Well. I am still waiting for your XML file Smile
Hello again,

Ok, I'm submitting my Template files. I hope it helps. Smile

I've extracted them from my forum and not from the HotEditor documentation, if that's what you're thinking Wink

But please, believe me... I think you should try the preset MyBB core files I've attached you in my previous post. That error you're getting was fixed by MyBB Gruop and they updated one of the files in the official distribution package of MyBB 1.2.12. Please try my edited files before going nuts with my Templates file. Maybe you edited an "outdated" core file (as far as I know, thread.js was updated).

Post here if the problem persists. Other people will also be able to help you. And I'm suscribed to this thread, so don't worry, I will see your reply Smile

Greets.



Really Thanks for your effort!

I was reading this step in php Editing right now and close to dont use it anymore Toungue

[]s, Claudio

Petition: Distinction between "Premium" and "Free" Plugin & Themes Thread Releases
Visit this user's website Find all posts by this user
Quote this message in a reply
02-19-2008, 08:12 PM
Post: #23
RE: HotEditor Installation problem
aglioeolio Wrote:Really Thanks for your effort!
I was reading this step in php Editing right now...
I'm glad I could help Smile

And yes, reading the HotEditor instructions about the core file changes is really a mess. Those "instructions" were made for MyBB 1.2.6 or something older Confused

You can use my preset files for MyBB 1.2.12. They work just nice for me and the others Wink
Visit this user's website Find all posts by this user
Quote this message in a reply
02-19-2008, 08:13 PM (This post was last modified: 02-19-2008 08:15 PM by aglioeolio.)
Post: #24
RE: HotEditor Installation problem
hmm... my fault, they´re templates and not php core edited files

Is this still needed?

PHP Code:
#-----[ OPEN ]------------------------------------------
#
inc/class_parser.php

#
#-----[ FIND ]------------------------------------------
# ~ line number 179

$message $plugins->run_hooks("parse_message_end"$message);

#
#-----[ AFTER, ADD ]------------------------------------------


ETC... 

[]s, Claudio

Petition: Distinction between "Premium" and "Free" Plugin & Themes Thread Releases
Visit this user's website Find all posts by this user
Quote this message in a reply
02-19-2008, 08:17 PM
Post: #25
RE: HotEditor Installation problem
aglioeolio Wrote:hmm... my fault, they´re templates and not php core edited files
My friend, keep looking back in this thread. Wink

There are the preset files for MyBB 1.2.12. Smile
Visit this user's website Find all posts by this user
Quote this message in a reply
02-19-2008, 08:19 PM
Post: #26
RE: HotEditor Installation problem
EviLito Wrote:Sorry about the delay my friend. I was really busy with my things. I will help you right now. PM me your MSN and will try to set your forum up. I think I know how to correct that problem Smile

Edit: Never mind with the MSN stuff Smile Ok, I've edited some files because I think they are the center of the problem Rolleyes

I finally did the core file changes required by HotEditor and I've converted them to be compatible with MyBB 1.2.12.

I'm attaching the preset files, so you only need to replace your files with them. Please backup your older files first as a security procedure Wink

LOL myself

Thanks again EviLito Big Grin

[]s, Claudio

Petition: Distinction between "Premium" and "Free" Plugin & Themes Thread Releases
Visit this user's website Find all posts by this user
Quote this message in a reply
02-19-2008, 09:15 PM
Post: #27
RE: HotEditor Installation problem
Well...

anyone figure out how to fix "ajax quickreply" from Zinga burga to work with This Mod?
http://community.mybboard.net/showthread.php?tid=23918

[]s, Claudio

Petition: Distinction between "Premium" and "Free" Plugin & Themes Thread Releases
Visit this user's website Find all posts by this user
Quote this message in a reply
02-19-2008, 09:22 PM
Post: #28
RE: HotEditor Installation problem
aglioeolio Wrote:anyone figure out how to fix "ajax quickreply" from Zinga burga to work with This Mod?
I'm afraid I won't be able to help you in that issue. I haven't tested that plugin. Try creating a new thread so this one don't go off-topic and many other will be interested in looking your new thread title Wink
Visit this user's website Find all posts by this user
Quote this message in a reply
02-19-2008, 09:30 PM (This post was last modified: 02-19-2008 09:32 PM by aglioeolio.)
Post: #29
RE: HotEditor Installation problem
showthread_quickreply (Ajax Quick Reply):

PHP Code:
<br />
<
form method="post" action="newreply.php" name="input"{$ajaxqr_event}>
<
input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<
input type="hidden" name="subject" value="RE: {$thread['subject']}" />
<
input type="hidden" name="action" value="do_newreply" />
<
input type="hidden" name="tid" value="{$tid}" />
<
input type="hidden" name="posthash" value="{$posthash}" /><input type="hidden" name="time" value="{$time}" />
<
input type="hidden" name="page" value="{$page}" />
<
input type="hidden" name="postcount" value="{$postcounter}" /><input type="hidden" name="time" value="{$time}" />
<
input type="hidden" name="page" value="{$page}" />
<
input type="hidden" name="postcount" value="{$postcounter}" /><input type="hidden" name="time" value="{$time}" />
<
input type="hidden" name="page" value="{$page}" />
<
input type="hidden" name="postcount" value="{$postcounter}" /><input type="hidden" name="time" value="{$time}" />
<
input type="hidden" name="page" value="{$page}" />
<
input type="hidden" name="postcount" value="{$postcounter}" /><input type="hidden" name="time" value="{$time}" />
<
input type="hidden" name="page" value="{$page}" />
<
input type="hidden" name="postcount" value="{$postcounter}" /><input type="hidden" name="time" value="{$time}" />
<
input type="hidden" name="page" value="{$page}" />
<
input type="hidden" name="postcount" value="{$postcounter}" />
<
input type="hidden" name="quoted_ids" value="" />
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<
table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
    <
tr>
        <
tbody>
<
tr>
<
td align="left"><img src="{$theme['imgdir']}/cat_l.gif" alt="" border="0"></td>
<
td style="background: url({$theme['imgdir']}/cat_tbg.gif) repeat-x" align="center" width="100%">
<
div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['quickreply']}.gif" id="quickreply_img" class="expander" alt="[-]"/></div>
<
span class="thead"><div style="text-align: left;"><strong>{$lang->quick_reply}</strong></span>
<
td align="right"><img src="{$theme['imgdir']}/cat_r.gif" alt="" border="0"></td>
</
tr>
</
tbody>
</
table>
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder" style="clear: both;" >
<
tbody style="{$collapsed['quickreply_e']}" id="quickreply_e">
<
tr>
<
td class="trow1" valign="top" width="22%">
<
strong>{$lang->message}</strong><br />
<
span class="smalltext">{$lang->message_note}<br /><br />
<
label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="yes" {$postoptionschecked['signature']} />&nbsp;<strong>{$lang->signature}</strong></label><br />
<
label><input type="checkbox" class="checkbox" name="postoptions[emailnotify]" value="yes" {$postoptionschecked['emailnotify']} />&nbsp;<strong>{$lang->email_notify}</strong></label><br />
<
label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="yes" />&nbsp;<strong>{$lang->disable_smilies}</strong></label>{$closeoption}</span>
</
td>
<
td class="trow1">
    <
div>
        <
textarea style="width: 90%; margin: 0;" rows="8" cols="80" name="message" id="message" tabindex="1"></textarea>
    </
div>
    <
script type="text/javascript">document.write('<div class="editor_control_bar" style="width: 90%; padding: 4px; margin-top: 3px; display: none;" id="quickreply_multiquote"><span class="smalltext">{$lang->quickreply_multiquote_selected} <a href="javascript:Thread.loadMultiQuoted();">{$lang->quickreply_multiquote_now}<\/a> {$lang->or} <a href="javascript:Thread.clearMultiQuoted();">{$lang->quickreply_multiquote_deselect}<\/a>.<\/span><\/div>');</script>
</td>
</tr>
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">
    <tr>
        <tbody>
<tr>
<td align="left"><img src="{$theme['imgdir']}/cat_lb.gif" alt="" border="0"></td>
<td style="background: url({$theme['imgdir']}/cat_tbgb.gif) repeat-x" align="center" width="100%"><span class="tfoot"><div style="text-align: center;"><input type="submit" class="button" value="{$lang->post_reply}" tabindex="2" accesskey="s" onClick="this.form.preview = false;" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="3" onClick="this.form.preview = true;" /></td></div></span>
<td align="right"><img src="{$theme['imgdir']}/cat_rb.gif" alt="" border="0"></td>
</tr>
</tbody>
</table>
</form> 

showthread_quickreply template (Hot Editor):
PHP Code:
<br />
<!--
//EDITOR START HERE add onSubmit="return get_hoteditor_data();"  -->
<form onSubmit="return get_hoteditor_data();" method="post" action="newreply.php" name="input">
<
input type="hidden" name="my_post_key" value="{$mybb->post_code}" />
<
input type="hidden" name="subject" value="RE: {$thread['subject']}" />
<
input type="hidden" name="action" value="do_newreply" />
<
input type="hidden" name="tid" value="{$tid}" />
<
input type="hidden" name="posthash" value="{$posthash}" />
<
input type="hidden" name="quoted_ids" value="" />
<
table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<
thead>
<
tr>
<
td colspan="2" class="thead">
<
div class="expcolimage"><img src="{$theme['imgdir']}/collapse{$collapsedimg['quickreply']}.gif" id="quickreply_img" class="expander" alt="[-]"/></div>
<
div><strong>{$lang->quick_reply}</strong></div>
</
td>
</
tr>
</
thead>
<
tbody style="{$collapsed['quickreply_e']}" id="quickreply_e">
<
tr>
<
td class="trow1" valign="top" width="22%">
<
strong>{$lang->message}</strong><br />
<
span class="smalltext">{$lang->message_note}<br /><br />
<
label><input type="checkbox" class="checkbox" name="postoptions[signature]" value="yes" {$postoptionschecked['signature']} />&nbsp;<strong>{$lang->signature}</strong></label><br />
<
label><input type="checkbox" class="checkbox" name="postoptions[emailnotify]" value="yes" {$postoptionschecked['emailnotify']} />&nbsp;<strong>{$lang->email_notify}</strong></label><br />
<
label><input type="checkbox" class="checkbox" name="postoptions[disablesmilies]" value="yes" />&nbsp;<strong>{$lang->disable_smilies}</strong></label>{$closeoption}</span>
</
td>
<
td class="trow1">
    <
div>        
        <!-- 
//EDITOR -->
        
<textarea style="visibility:hidden;position:absolute;top:-20;left:-20;width:1px;height:1px" rows="8" cols="80" name="message" id="message" tabindex="1"></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 language="JavaScript" type="text/javascript">
            var getdata =document.getElementById("message").value;
            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 it work with MOD Hoteditor 4.0
                bbcode_output=bbcode_output.replace(/\{EDITOR=/gi,"[B]{[/B]EDITOR=");
                bbcode_output=bbcode_output.replace(/EDITOR\}/gi,"EDITOR[B]}[/B]");

                document.getElementById("message").value = bbcode_output;
            }            
        </script>
        <!-- //EDITOR -->
    </div>
    <script type="text/javascript">document.write('<div class="editor_control_bar" style="width: 90%; padding: 4px; margin-top: 3px; display: none;" id="quickreply_multiquote"><span class="smalltext">{$lang->quickreply_multiquote_selected} <a href="javascript:Thread.loadMultiQuoted();">{$lang->quickreply_multiquote_now}<\/a> {$lang->or} <a href="javascript:Thread.clearMultiQuoted();">{$lang->quickreply_multiquote_deselect}<\/a>.<\/span><\/div>');</script>
</td>
</tr>
<tr>
<td colspan="2" align="center" class="tfoot"><input type="submit" class="button" value="{$lang->post_reply}" tabindex="2" accesskey="s" /> <input type="submit" class="button" name="previewpost" value="{$lang->preview_post}" tabindex="3" /></td>
</tr>
</tbody>
</table>
</form> 

[]s, Claudio

Petition: Distinction between "Premium" and "Free" Plugin & Themes Thread Releases
Visit this user's website Find all posts by this user
Quote this message in a reply
02-19-2008, 09:52 PM
Post: #30
RE: HotEditor Installation problem
Nevermind.

I´ve just uninstalled HotEditor to Quickreply template only and reinstalled AjaxQuickReply code
it´s the mybb 'server load' feature/mod I like the most

[]s, Claudio

Petition: Distinction between "Premium" and "Free" Plugin & Themes Thread Releases
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump: