AJAX Instant Quick Reply

Started by SlammedDime, May 29, 2008, 06:59:11 PM

Previous topic - Next topic

boredtoday

Thanks for this great mod. Manually installed to my mambo bridged SMF, and it worked like a charm!

This is an awesome mod, I hope you continue to improve and support it. Thanks again! :)

SlammedDime

Glad to hear it works with Mambo.  I have yet to install it on my live site running Mambo integrated... :( :)
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

boredtoday

Yep, it does :)

I noticed just now though, that the "inline edit" button/function does not appear on an ajaxed reply. Is that not supported yet? :)

L'AltroWeb

False, i have test at this moment and all works fine ;)

SlammedDime

Quote from: SlammedDime on June 01, 2008, 04:23:17 AM
The quick edit button is in fact there, its style is just set to 'display:none'.  Unfortunately its due to the way the javascript is setup in SMF.  I'll make a change in the next release to fix this.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

L'AltroWeb


boredtoday

@slammeddime: alright thanks man! :)

anyhoo, any suggestions on a quick and dirty fix i can do about it, while waiting for the official fix on your next release?

@darkwolf: are you on default theme?

L'AltroWeb

#187
babylon Theme (with some manual fix to install) :)
One minute and i test with default ;)
Sorry, you have reason, with default theme i cant see quick edit button :(

boredtoday

n/m slammed, i made it to work by changing display:none to display:inline.

thanks a lot man, it's working perfectly now. no issues whatsoever! kudos!

_Anthony_


PatrickPriest

Ok I am new to SMF... and not even sure how to turn on the "Quick Reply" feature.  I have this mod installed and it still does not show up.

PatrickPriest

So I figured out how to turn it on through my profile... but is there a way to make it default on for EVERY MEMBER?  Or does each member have to go in and edit their profile to make it show up?

kai920

Go to admin > current theme > reset options > Reset all members' current options for this theme

Hoochie Coochie Man

Hi. it works perfect.

When we post a new message with this mod.

This button() doesn't appear.!
Could you do a tip for this please?

Thanks..
İnadına SMF 1.1.X

SlammedDime

I don't see it really necessary at this point.  I need to work on a permanent fix for it, so I don't want to post any hacks or workarounds.  If you review this page, you'll see what another individual has done.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

ndr

Quote from: Badboy on May 30, 2008, 03:28:08 AM
It is not working with ecardmax hot editor. Also i wrote message. It warned me that nothing written. Is it possible to make it work with ecardmax hoteditor?

Thx.
SMF 1.1.5


I have same problam
please help
i need this mod

SlammedDime

As I told BadBoy, I cannot support custom editors, especially editors not released on the SMF Mod Site.  You should see what modifications that the editor makes to Display.template.php, as well as what changes my Mod makes to that file, and see how you can make it work.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

ndr

Quote from: SlammedDime on June 21, 2008, 05:32:34 AM
As I told BadBoy, I cannot support custom editors, especially editors not released on the SMF Mod Site.  You should see what modifications that the editor makes to Display.template.php, as well as what changes my Mod makes to that file, and see how you can make it work.

it's confusing !
I can't modify
I attached Display.template.php
this codes is changed in display.template.php :


<file name="Themes/default/Display.template.php">
<operation>
<search position="replace"><![CDATA[<textarea cols="75" rows="7" style="width: 95%; height: 100px;" name="message" tabindex="1"></textarea><br />]]></search>
<add><![CDATA[
<!--//HotEditor MOD - Quick Reply -->
<textarea style="visibility:hidden;position:absolute;top:-20;left:-20;width:1px;height:1px" cols="75" rows="7" id="message" name="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");
function get_hoteditor_data(){
if (HTML_ON == "no"){
alert ("Please uncheck the HTML checkbox");
return false;
}
else{
setCodeOutput();
var bbcode_output=document.getElementById("hoteditor_bbcode_ouput_editor").value;//Output to BBCode
document.getElementById("message").value = bbcode_output;
}
}
</script><br />
<!--//HotEditor MOD Quick Reply -->]]>
</add>
</operation>

<operation>

<search position="replace"><![CDATA[var smf_template_body_edit = \'<div id="error_box" style="padding: 4px; color: red;"></div><textarea class="editor" name="message" rows="12" style="width: 94%; margin-bottom: 10px;">%body%</textarea><br /><input type="hidden" name="sc" value="', $context['session_id'], '" /><input type="hidden" name="topic" value="', $context['current_topic'], '" /><input type="hidden" name="msg" value="%msg_id%" /><div style="text-align: center;"><input type="submit" name="post" value="', $txt[10], '" onclick="return modify_save(\\\'' . $context['session_id'] . '\\\');" accesskey="s" />&nbsp;&nbsp;', $context['show_spellchecking'] ? '<input type="button" value="' . $txt['spell_check'] . '" onclick="spellCheck(\\\'quickModForm\\\', \\\'message\\\');" />&nbsp;&nbsp;' : '', '<input type="submit" name="cancel" value="', $txt['modify_cancel'], '" onclick="return modify_cancel();" /></div>\';]]></search>

<add><![CDATA[
//HotEditor MOD QUICK EDIT / MODIFY POST
var edit_session_id = "', $context['session_id'], '";
var smf_template_body_edit = \'<div id="error_box" style="padding: 4px; color: red;"></div><iframe frameborder=0 width=100% height=550px src="hoteditor_quickedit.html" scrolling=no target="_top"></iframe><textarea style="visibility:hidden;width:1px;height:1px" id="message" class="editor" name="message" rows="12" style="width: 94%; margin-bottom: 10px;">%body%</textarea><input type="hidden" name="sc" value="', $context['session_id'], '" /><input type="hidden" name="topic" value="', $context['current_topic'], '" /><input type="hidden" name="msg" value="%msg_id%" /><div style="text-align: center;"><input type="hidden" name="post" value="', $txt[10], '" onclick="return modify_save(\\\'' . $context['session_id'] . '\\\');" accesskey="s" />&nbsp;&nbsp;', $context['show_spellchecking'] ? '<input type="button" value="' . $txt['spell_check'] . '" onclick="spellCheck(\\\'quickModForm\\\', \\\'message\\\');" />&nbsp;&nbsp;' : '', '<input type="hidden" name="cancel" value="', $txt['modify_cancel'], '" onclick="return modify_cancel();" /></div>\';]]></add>
</operation>
</file>



download display.template.php with hoteditor mod :

SlammedDime

Not to be an ass, but please read I again, I CANNOT support alternate editors at this time, especially those not available on the SMF Mod site.  Perhaps when I have more free time to actually install it and test with it, but that isn't happening right now.
SlammedDime
Former Lead Customizer
BitBucket Projects
GeekStorage.com Hosting
                      My Mods
SimpleSEF
Ajax Quick Reply
Sitemap
more...
                     

ndr

Quote from: SlammedDime on June 21, 2008, 06:00:47 AM
Not to be an ass, but please read I again, I CANNOT support alternate editors at this time, especially those not available on the SMF Mod site.  Perhaps when I have more free time to actually install it and test with it, but that isn't happening right now.

thanks
i'm waiting
it seems this code couse error :
<textarea style="visibility:hidden;position:absolute;top:-20;left:-20;width:1px;height:1px" cols="75" rows="7" id="message" name="message" tabindex="1"></textarea>
hoteditor has not textarea & i cant find it becauese it used confusing javascript code .
sorry for my bad english

Advertisement: