Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: SlammedDime on May 29, 2008, 06:59:11 PM

Title: AJAX Instant Quick Reply
Post by: SlammedDime on May 29, 2008, 06:59:11 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=1214)

Very Very Very Important.  If you have Sleepy's View Single Post mod installed, you MUST uninstall it before installing this.  This incorporates that mod as well in order to work properly.

This mod allows for AJAX Quick Reply.  Quick reply must be enabled on your board for this to work, this does not replace the built in quick reply.  Normally, when a post is submitted, the page will reload and your new post will be displayed.  This eliminates the need to reload the page and your post shows up instantly.

Here is a video that demonstrates the functionality: http://www.mattzuba.com/_public/ajax.swf.html (http://www.mattzuba.com/_public/ajax.swf.html)

Some quick notes about how it works (only (1) applies to SMF 1.1.5):
1) If a user is not on the last page of a topic or viewing all, the post will post as normal
2) If visual verification is enabled for posting, it will post as normal
3) If posts are moderated, it will post as normal.
4) If there are any errors during posting, it will post as normal

Note:
I will make the modification to anyone's custom Display.template.php, provided they have at least attempted it on their own.  Please post an unmodified copy, however.  I run it through the package parser and make manual adjustments as needed.

If anyone would like me to see why it isn't working on their site, they will need to provide a link to their site as well as a test account to be used.

Support Topic: http://www.simplemachines.org/community/index.php?topic=241917.0 (http://www.simplemachines.org/community/index.php?topic=241917.0)

Known Issues:
After posting, boardindex still shows board as unread (or, has new replies)
Quote from: SlammedDime on May 30, 2008, 07:19:10 PM
Fix for 1.1.5 or B3.1:
Open xml_topic.js
Code (Find) Select
function ajax_reply()
{
   var i, x = new Array();
   x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
   x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");


Code (Replace) Select
function ajax_reply()
{
   var i, x = new Array();
   x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
   x[x.length] = 'goback=' + parseInt(document.forms.postmodify.elements['goback'].value);
   x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");


Sorry.

QuoteIf you install Pretty Urls AFTER installing this mod, you will have to manually make the changes in /Sources/Display.php.
Code (Find) Select
   if ((isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])
Code (Replace) Select
   if (!isset($_REQUEST['xml']) && (isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])

Change Log:
Legend:
* = New feature
+ = Improved feature
! = Fixed bug
? = Other stuff

Version 1.0.1
-------------
! Invalid semantics in XMLtemplate.php
! Now works properly if javascript is disabled in user's browser
+ When Show Newest Posts first is enabled, new posts now go to top, rather than bottom.
? Install checks for pretty urls and makes changes if needed

Version 1.0.0
-------------
* Release


FAQ
Q: After installing the mod, I don't see quick reply on my topic pages.
A: This mod does not add quick reply to your board.  One of SMF's included features is quick reply.  This only changes it's functionality.  To enable quick reply, you have to go to your profile and change your Look and Layout Preferences to display it.

Q: I installed this mod, but don't see any settings for it.
A: That's because there are none.  It only changes existing functionality and there is nothing to configure.

Q: Will this work on my theme?
A: In short: It will work on just about any non-semantic theme on 1.1.x (any theme based on the Core theme).  It will work on just about any semantic theme for 2.0.  If your 2.0 theme uses tables to display posts, rather than div's, this will not work at this time.

Q: It doesn't work...
A: I don't like that phrase.  Be more detailed.  What exactly is happening?  What isn't happening?  I can't do much without a test account and link to your board either, so please post that
Title: Re: AJAX Quick Reply
Post by: Hoochie Coochie Man on May 29, 2008, 07:18:33 PM
Thanks for this great mod :)
Title: Re: AJAX Quick Reply
Post by: karlbenson on May 29, 2008, 07:29:16 PM
Indeed i think its going to be really popular.
Title: Re: AJAX Quick Reply
Post by: ALEJO on May 29, 2008, 07:31:05 PM
screenshots plz?
Title: Re: AJAX Quick Reply
Post by: Hoochie Coochie Man on May 29, 2008, 07:37:31 PM
Those .js files include mootools. for what? for AJAX Quick Reply?
Title: Re: AJAX Quick Reply
Post by: karlbenson on May 29, 2008, 07:38:38 PM
No, its for the xml stylesheet viewer.  Not for the mod.
Title: Re: AJAX Quick Reply
Post by: Hoochie Coochie Man on May 29, 2008, 08:05:03 PM
Quote from: karlbenson on May 29, 2008, 07:38:38 PM
No, its for the xml stylesheet viewer.  Not for the mod.

I see, anyway. it didn't work on me..

I wrote my message and press "send"button.  but nothings hapened.
Then when I fresh the page. my message appear.!!

if someone use this mode, please let me know..
Title: Re: AJAX Quick Reply
Post by: karlbenson on May 29, 2008, 08:13:00 PM
try hitting ctrl+f5 and try again.

I've been testing it on one of my forums
http://www.adrevenueshare.com/index.php
Title: Re: AJAX Quick Reply
Post by: SlammedDime on May 29, 2008, 08:16:06 PM
Hoochie - This mod heavily depends on proper modification of Display.template.php if it exists in a custom theme.  The new function as well as the modification to the existing template function are crucial.

See the bottom of the first post of this topic.
Title: Re: AJAX Quick Reply
Post by: SlammedDime on May 29, 2008, 08:18:56 PM
Quote from: ALEJO on May 29, 2008, 07:31:05 PM
screenshots plz?
Its not possible to get screen shots of this.  It doesn't add anything visually to SMF, merely changes the functionality of how quick reply works.
Title: Re: AJAX Quick Reply
Post by: vbgamer45 on May 29, 2008, 08:50:51 PM
Awesome Mod! I have installed it on the forums I run on SMF 1.1.x thanks so much!
Title: Re: AJAX Quick Reply
Post by: Nibogo on May 29, 2008, 09:07:28 PM
someone have a screenshot??

Thanks
Title: Re: AJAX Quick Reply
Post by: vbgamer45 on May 29, 2008, 09:13:31 PM
There is not anything to take a screenshot of it just changes some logic. So when you make a quick reply it does not reload the page.
Title: Re: AJAX Quick Reply
Post by: Eliana Tamerin on May 29, 2008, 09:37:33 PM
Works great on a vanilla install.

However, Slammed, the mod can't install properly (read: automatically) when the Sticky First Post mod is installed. I looked myself, and I think it will only require a few reference edits, nothing that would change the actual code of the mod. If you want, I can go through further to see what all would be required, unless you'd prefer to do so.
Title: Re: AJAX Quick Reply
Post by: Nibogo on May 29, 2008, 10:21:18 PM
Quote from: vbgamer45 on May 29, 2008, 09:13:31 PM
There is not anything to take a screenshot of it just changes some logic. So when you make a quick reply it does not reload the page.

thanks

excuse me but i dont speak english ;)
Title: Re: AJAX Quick Reply
Post by: Charles Hill on May 29, 2008, 10:37:52 PM
AJAX allows stuff to happen without having to reload the page.  There is nothing new visually with this mod.  So there is no point in taking a screen shot.
Title: Re: AJAX Quick Reply
Post by: _Anthony_ on May 29, 2008, 10:41:04 PM
Very nice slammed i use it
Title: Re: AJAX Quick Reply
Post by: Eliana Tamerin on May 29, 2008, 10:43:19 PM
Oh, and Slammed, what happens if someone doesn't have JS enabled? I tried it without JS on a page and the Post button will not work.
Title: Re: AJAX Quick Reply
Post by: SlammedDime on May 29, 2008, 10:49:19 PM
AJAX: Asynchronous JavaScript And XML :)

I do see your point though.  It should post as normal if Javascript is disabled.  I'll look into adding that functionality.  The percentage of users that don't have this enabled is very very small, so i don't consider it an immediate change.
Title: Re: AJAX Quick Reply
Post by: Eliana Tamerin on May 29, 2008, 10:51:37 PM
Hence why I tested it without JS enabled to see if you'd programmed something in. ;) There are some people who prefer to browser the web without JS unless absolutely necessary.
Title: Re: AJAX Quick Reply
Post by: SlammedDime on May 29, 2008, 11:00:44 PM
I also did not implement if someone has 'show new replies first' enabled.  It would still 'ajax' them to the bottom of the list, but would be in the proper location upon refresh.  Again, not something that many people do anyway, so its something to keep in mind for the next release.

As for the conflict with that other mod, I'll adjust the search parameter on the next release as well.  Maybe in a few days (I really hate doing it so soon though).  I think the simple fix for the javascript issue is to just change the input type from button to submit and make sure that the javascript function for replying returns false.
Title: Re: AJAX Quick Reply
Post by: 4Kstore on May 29, 2008, 11:40:26 PM
Quote from: Hoochie Coochie Man™ on May 29, 2008, 08:05:03 PM
Quote from: karlbenson on May 29, 2008, 07:38:38 PM
No, its for the xml stylesheet viewer.  Not for the mod.

I see, anyway. it didn't work on me..

I wrote my message and press "send"button.  but nothings hapened.
Then when I fresh the page. my message appear.!!

if someone use this mode, please let me know..

in my forum too !!! when i refresh the page the message appear but before not

forum 1.1.5
template: default
Title: Re: AJAX Quick Reply
Post by: stanaca on May 30, 2008, 01:25:37 AM
I installed this mod in my smf 2.0 forum. When i clicked in apply mod it showed test failed in Display.template.php in one section so i edited it manually. The  mod installed corectly but the page still reload when posting.

I am  using default theme. i attached the Display.template.php.

help please
Title: Re: AJAX Quick Reply
Post by: 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
Title: Re: AJAX Quick Reply
Post by: [SiNaN] on May 30, 2008, 03:34:03 AM
Great mod SlammedDime. It will be very popular probably, but also it will be really hard to give support. Good luck with it. ;)
Title: Re: AJAX Quick Reply
Post by: Hoochie Coochie Man on May 30, 2008, 03:36:50 AM
Quote from: SlammedDime on May 29, 2008, 08:16:06 PM
Hoochie - This mod heavily depends on proper modification of Display.template.php if it exists in a custom theme.  The new function as well as the modification to the existing template function are crucial.

See the bottom of the first post of this topic.
Thanks @SlammedDime.. I tested it on Karl's testboard and it worked great..
I think problem is me. Let me explore this mode :)
By the way.. Before this mod...   When I edit a message that green backgroun "Loading" area isn't working on me.
Is there any relation of with why this mod didn't work on me?
Title: Re: AJAX Quick Reply
Post by: SlammedDime on May 30, 2008, 03:43:25 AM
Yes.  AJAX has to be working in SMF's other functions.  If not, then this will most likely not work.  Some other AJAX functions: clicking quote in a topic should throw the post into the quick reply box; the stats page uses AJAX to expand the months to show detailed stats.  Quick modify on messages uses AJAX.

stanaca - I'm having trouble adding attachments right now, when i get to my other computer in a few hours, I'll post an updated template for you.

Badboy - Unfortunately, I cannot offer support for other editors at this time.  I would suggest taking a look at the modifications I've made to the quick reply editor and see if you can edit it to work.

[SiNaN] - Thanks.  I know its a great mod to have, and I'm hoping it goes off without a hitch.  We shall see.
Title: Re: AJAX Quick Reply
Post by: stanaca on May 30, 2008, 04:17:54 AM
Quote from: SlammedDime on May 30, 2008, 03:43:25 AM


stanaca - I'm having trouble adding attachments right now, when i get to my other computer in a few hours, I'll post an updated template for you.


ok thanks, i am waiting
Title: Re: AJAX Quick Reply
Post by: Hoochie Coochie Man on May 30, 2008, 05:00:37 AM
It worked great on a default 1.1.5..

However, when I install Pretty URLs Mod.

It overlap with AJAX Quick Reply and didn't worked again.

http://www.omerkoroglu.net/115/index.php

username: test
password: test
Title: Re: AJAX Quick Reply
Post by: stanaca on May 30, 2008, 05:35:51 AM
Quote from: Hoochie Coochie Man™ on May 30, 2008, 05:00:37 AM
It worked great on a default 1.1.5..

However, when I install Pretty URLs Mod.

It overlap with AJAX Quick Reply and didn't worked again.

http://www.omerkoroglu.net/115/index.php

username: test
password: test

I am also using pretty urls mod
Title: Re: AJAX Quick Reply
Post by: уιℓмαz on May 30, 2008, 05:38:45 AM
Thanks great mod.

I'm taking this error when i try to post a message with quick reply:

Warning - while you were typing a new reply has been posted. You may wish to review your post.
Title: Re: AJAX Quick Reply
Post by: Hoochie Coochie Man on May 30, 2008, 07:57:16 AM
Ok.. I change the display.template's codes calmly :) and it worked on me :)
Thanks again for this great mod @SlammedDime
Title: Re: AJAX Quick Reply
Post by: уιℓмαz on May 30, 2008, 08:38:26 AM
Quote from: уιℓмαz on May 30, 2008, 05:38:45 AM
Thanks great mod.

I'm taking this error when i try to post a message with quick reply:

Warning - while you were typing a new reply has been posted. You may wish to review your post.

I've solved this problem. But there is another one. I'm posting a quick message but new message doesn't seem without refreshing.
Title: Re: AJAX Quick Reply
Post by: jossanaijr on May 30, 2008, 01:27:45 PM
Hi,
thanks.
Installed manually.  Not sure if it is working because I really did not understand what it is supposed to modify... Ups...

Anyway in my display.template.php I have twice this code:

<div class="smalltext">« <b>', !empty($message['counter']) ? $txt[146] . ' #' . $message['counter'] : '', ' ', $txt[30], ':</b> ', $message['time'], ' »</div></td>

In the first it was replaced by
<div class="smalltext">« <b>', !empty($message['counter']) ? '<a href="'.$scripturl.'?topic=' . $context['current_topic'] . '.0;msg='.$message['id'].'">' . $txt[146] . ' #' . $message['counter'] . '</a>': '', ' ', $txt[30], ':</b> ', $message['time'], ' »</div></td>

Need I change the second too?  Because it is not repeated inSMF Package Parser.

Here the block code where the second time appears:

// Show the member's signature?
if (!empty($message['member']['signature']) && empty($options['show_no_signatures']) && $context['signature_enabled'])
echo '
<hr width="100%" size="1" class="hrcolor" />
<div class="signature">', $message['member']['signature'], '</div>';

echo '
</td>
</tr>
</table>
</td></tr>
</table>
</td></tr>';
if (function_exists("show_posts"))
{
if ($adpost = show_posts($adcounter))
{
if($modSettings['ads_lookLikePosts'])
{
echo '

<tr><td style="padding: 1px 1px 0 1px;">
<table width="100%" cellpadding="3" cellspacing="0" border="0">
<tr><td class="windowbg3">
<table width="100%" cellpadding="5" cellspacing="0" style="table-layout: fixed;">
<tr>
<td valign="top" width="16%" rowspan="2" style="overflow: hidden;">
<b>', $context['forum_name'], '</b>
<div class="smalltext">
</div>
</td>
<td valign="top" width="85%" height="100%">
<table width="100%" border="0"><tr>
<td valign="middle"><img src="', $message['icon_url'] . '" alt="" border="0" /></td>
<td valign="middle">
<div style="font-weight: bold;" id="subject_', $message['id'], '">
<a href="', $message['href'], '">', $message['subject'], '</a>
</div>
<div class="smalltext">« <b>', !empty($message['counter']) ? $txt[146] . ' #' . $message['counter'] : '', ' ', $txt[30], ':</b> ', $message['time'], ' »</div></td>
<td align="', !$context['right_to_left'] ? 'right' : 'left', '" valign="bottom" height="20" style="font-size: smaller;">';
if ($context['can_reply'] && !empty($options['display_quick_reply']))
echo '
', $reply_button, '';

// So... quick reply is off, but they *can* reply?
Title: Re: AJAX Quick Reply
Post by: SlammedDime on May 30, 2008, 01:58:39 PM
No, you only need to change the first.  But I see you have the ad management mod as well.  Oye.  I'm going to have to re do the search strings for the installer to find a different piece of code to insert some of my code at.

For those having issues with pretty urls, you'll need to open up Display.php
Code (find) Select
if ((isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])


and

Code (Replace) Select
if (!isset($_REQUEST['xml']) && (isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])


stanaca - I have no clue what is wrong my my Firefox or IE, but both freeze up my computer when I try to post attachments.  PM me your email address and I'll email you the modified template.
Title: Re: AJAX Quick Reply
Post by: roberto174 on May 30, 2008, 01:59:16 PM
hy, can someone take a look at my display.template, i have manually modiffied the lines until i have reached display.template, there is a line i cannot find, it doesnt exists.
this line i cannot find in my file <div class="smalltext">« <b>', !empty($message['counter']) ? $txt[146] . ' #' . $message['counter'] : '', ' ', $txt[30], ':</b> ', $message['time'], ' »</div></td>[code]
I am using a custom theme with some mods also, and smf 1.1.4.
i am putting my display.template here
Title: Re: AJAX Quick Reply
Post by: jossanaijr on May 30, 2008, 02:01:18 PM
Thanks.
I did not notice any problem with ad management mod but how can I check it your mod is working fine?...
Title: Re: AJAX Quick Reply
Post by: Kevin Paquet on May 30, 2008, 02:26:04 PM
I need help.
I tried it.
Title: Re: AJAX Quick Reply
Post by: SlammedDime on May 30, 2008, 02:28:13 PM
roberto: that line is on Line 407 of the file you posted.

jossanaijr - when you reply, it should be an instant reply that shows up on the screen, the page should not reload.

I'll be posting a new version here shortly that fixes a javascript issue if a user doesn't have javascript enabled, as well as allowing some support for pretty urls (you must have pretty urls installed first).
Title: Re: AJAX Quick Reply
Post by: SlammedDime on May 30, 2008, 02:50:11 PM
stanaca - Here is your file:
Title: Re: AJAX Quick Reply
Post by: SlammedDime on May 30, 2008, 03:17:42 PM
Pasaway - Here is yours
Title: Re: AJAX Quick Reply
Post by: jossanaijr on May 30, 2008, 03:28:54 PM
Do you mean that while I'm typing it is showing before I "POST"?
Title: Re: AJAX Quick Reply
Post by: Kevin Paquet on May 30, 2008, 03:30:33 PM
Quote from: SlammedDime on May 30, 2008, 03:17:42 PM
Pasaway - Here is yours
Thank you ;D
Title: Re: AJAX Quick Reply
Post by: shadow82x on May 30, 2008, 03:36:14 PM
SlammedDime is are amazing. I'm loving this mod. Its A LOT easier to post now in a faster manner. If only it was default in SMF. ;)
Title: Re: AJAX Quick Reply
Post by: SlammedDime on May 30, 2008, 03:46:20 PM
Quote from: jossanaijr on May 30, 2008, 03:28:54 PM
Do you mean that while I'm typing it is showing before I "POST"?
No No.  What I mean is this:  Normally, when you click 'Post', the page will reload and show your new post.  With my mod installed, the page will no longer reload.  The post will simply show up.
Title: Re: AJAX Quick Reply
Post by: jossanaijr on May 30, 2008, 03:51:24 PM
Ok, now I understand and now it seems to work BUT....
now it shows a problem with my ad after last post (ad management mod)...
Title: Re: AJAX Quick Reply
Post by: SlammedDime on May 30, 2008, 03:54:28 PM
I'd need to see a link to your forum and a test account to look at it.
Title: Re: AJAX Quick Reply
Post by: Eliana Tamerin on May 30, 2008, 04:29:57 PM
Slammed, I just noticed that the mod doesn't place the Quick Edit icons on the post, require a refresh if someone wants to edit the post they just made.
Title: Re: AJAX Quick Reply
Post by: Alpay on May 30, 2008, 04:56:01 PM
The solition for Pretty Url works great! Thans a lot for the solition.

For somebody

find
if ((isset($context['pretty']['oldschoolquery']) || $_REQUEST['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])


replace
if (!isset($_REQUEST['xml']) && (isset($context['pretty']['oldschoolquery']) || $_REQUEST['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])
Title: Re: AJAX Quick Reply
Post by: jossanaijr on May 30, 2008, 06:00:26 PM
Quote from: SlammedDime on May 30, 2008, 03:54:28 PM
I'd need to see a link to your forum and a test account to look at it.
PM you.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on May 30, 2008, 06:22:43 PM
As much as I hate doing it, I released a new version.  Change log in the first post of the topic.  If its working properly on your site, there's no need to really update.  If you want to take advantage of the bug fixes that are not really detrimental, you'll need to first uninstall before reinstalling.
Title: Re: AJAX Instant Quick Reply
Post by: karlbenson on May 30, 2008, 06:25:45 PM
Wow. This must be the fastest mod to 50 replies.

i knew it would be popular.

Gr8 work SlammedDime.
Title: Re: AJAX Instant Quick Reply
Post by: SantaClaws on May 30, 2008, 06:27:35 PM
Make that 51 now :P

Nice work, Even though im thick and still don't get what this does.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on May 30, 2008, 06:31:57 PM
pk3r 0wn - take a look at this...

http://www.mattzuba.com/_public/ajax.swf.html
Title: Re: AJAX Instant Quick Reply
Post by: SantaClaws on May 30, 2008, 06:34:16 PM
Wow, That looks fast. Thanks now i get it thanks :P
Title: Re: AJAX Instant Quick Reply
Post by: _Anthony_ on May 30, 2008, 06:46:08 PM
Oh, I got one problem.
I post then go back to the main board and it recognizes about it as a new post?
Title: Re: AJAX Instant Quick Reply
Post by: SantaClaws on May 30, 2008, 06:47:13 PM
Hmm, I wonder? This must be a bug, I heard people are having same problamo to.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on May 30, 2008, 06:51:06 PM
pk3r - where exactly did you hear this?

MrMoney - I'll look into this
Title: Re: AJAX Instant Quick Reply
Post by: SantaClaws on May 30, 2008, 06:52:50 PM
Hmm, SMFForFree.com theres a few around one about Error On Page on left corner, What is that anyway unless it's on IE working perfect on MFF. (Mozilla FireFox).
Title: Re: AJAX Instant Quick Reply
Post by: _Anthony_ on May 30, 2008, 06:54:37 PM
Ok thanks, slammeddime
Title: Re: AJAX Instant Quick Reply
Post by: Hoochie Coochie Man on May 30, 2008, 06:57:14 PM
Quote from: SlammedDime on May 30, 2008, 06:31:57 PM
pk3r 0wn - take a look at this...

http://www.mattzuba.com/_public/ajax.swf.html
Cool.. thanks for this screencam :D
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on May 30, 2008, 07:19:10 PM
Bah... fix for 1.1.5 or B3.1:
Open xml_topic.js
Code (Find) Select
function ajax_reply()
{
var i, x = new Array();
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");


Code (Replace) Select
function ajax_reply()
{
var i, x = new Array();
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
x[x.length] = 'goback=' + parseInt(document.forms.postmodify.elements['goback'].value);
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");


Sorry.
Title: Re: AJAX Instant Quick Reply
Post by: SantaClaws on May 30, 2008, 07:19:59 PM
Is that how to fix it? :P
Title: Re: AJAX Instant Quick Reply
Post by: _Anthony_ on May 30, 2008, 07:44:50 PM
Yes pk3r own it is.
And SlammedDime I already fixed that :)
I was bored and couldn't wait for you to fix it.
Title: Re: AJAX Instant Quick Reply
Post by: TeenDev on May 30, 2008, 09:05:53 PM
how do add the green header with "Loading" at the top of the window?
Title: Re: AJAX Instant Quick Reply
Post by: _Anthony_ on May 30, 2008, 09:07:51 PM
Quote from: TeenDev on May 30, 2008, 09:05:53 PM
how do add the green header with "Loading" at the top of the window?
Look at this mods source and figure it out for yourself :)
Don't be lazy
Title: Re: AJAX Instant Quick Reply
Post by: TeenDev on May 30, 2008, 09:09:30 PM
I installed it manually, and there is no green bar source in the mod. Don't call me lazy.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on May 30, 2008, 09:15:01 PM
This is built using existing functions in SMF, which includes the loading bar for SMF AJAX functions.  Nothing extra is needed as long as you copied the additions into xml_topic.js exactly as in my install file.
Title: Re: AJAX Instant Quick Reply
Post by: Nathaniel on May 30, 2008, 09:20:15 PM
I keep on getting the same error from firebug whenever I try to post a quick reply, I am using SMF 2 Beta 3.1, is this fixed by the above code?

"oQuickReply.ajax_reply is not a function"
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on May 30, 2008, 10:00:33 PM
It looks like your xml_topic.js file was not properly modified or you may need to do a hard refresh in your browser on your site so the xml_topic.js file is updated, rather than using a cached copy.
Title: Re: AJAX Instant Quick Reply
Post by: stanaca on May 31, 2008, 12:57:34 AM
Thanks SlammedDime!
I uninstalled the old version and installed the new version.
It installs cleanly on default theme and working fine.

Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on May 31, 2008, 01:48:57 AM
Good to hear. :)
Title: Re: AJAX Instant Quick Reply
Post by: Nathaniel on May 31, 2008, 01:57:06 AM
Quote from: SlammedDime on May 30, 2008, 10:00:33 PM
It looks like your xml_topic.js file was not properly modified or you may need to do a hard refresh in your browser on your site so the xml_topic.js file is updated, rather than using a cached copy.

Yeah, I feel kinda like a real Newbie now, I only had to do a hard refresh of my browser and now it works fine! ;)
Title: Re: AJAX Instant Quick Reply
Post by: Hoochie Coochie Man on May 31, 2008, 01:37:41 PM
I think there is a little bug..
It is working on me, that's ok..
But when I post the message and leave the topic.. In BoardIndex on.gif button appears..  :-\
Title: Re: AJAX Instant Quick Reply
Post by: _Anthony_ on May 31, 2008, 01:55:10 PM
There is a fix for that
Open xml_topic.js
Now find.
ajax_reply
And under
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
Add
x[x.length] = 'goback=' + parseInt(document.forms.postmodify.elements['goback'].value);

All fixed :)
Title: Re: AJAX Instant Quick Reply
Post by: Alpay on May 31, 2008, 01:56:41 PM
yes hcm i have a same problem.

&
little bug..
display.template.php

bViewNewestFirst: ', $options['view_newest_first'], ',

error log :
view_newest_first

edit : thanks MrMoney  ..
Title: Re: AJAX Instant Quick Reply
Post by: Eliana Tamerin on May 31, 2008, 01:58:10 PM
Lol, went a little overboard on that copy/paste, did we MrMoney? :P
Title: Re: AJAX Instant Quick Reply
Post by: _Anthony_ on May 31, 2008, 02:06:05 PM
Oops something messed up :(
My comp is all funny right now
Title: Re: AJAX Instant Quick Reply
Post by: _Anthony_ on May 31, 2008, 02:06:57 PM
Fixed it :)
Title: Re: AJAX Instant Quick Reply
Post by: Hoochie Coochie Man on May 31, 2008, 02:27:21 PM
Fixed.. Thanks.. @MrMoney
Title: Re: AJAX Instant Quick Reply
Post by: _Anthony_ on May 31, 2008, 03:04:29 PM
NO problem.
Title: Re: AJAX Instant Quick Reply
Post by: Filipina on May 31, 2008, 04:18:57 PM
awesome MOD SlammedDime. Installed on my default theme with 25 MODS no problems :)

I just wondered one thing. I used quick reply and the post appeared instantly. Then I did a regular reply in the same thread and it said that warning someone else posted before me. Well that someone was me :)

I am not the brightest bulb on the tree so maybe it means nothing just thought I would mention it.  I saw a "warning" post a few pages back but it appearded to mention something else. Thanks again

Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on May 31, 2008, 04:36:17 PM
I've put in the javascript to update the 'numreplies' form field, and it should work.  I'd need to see a link with a test account to take a look at it to see whats going on.  Have you done a hard refresh (ctrl - f5) on your site to refresh the javascript so your browser doesn't used an old cache'd version?

btw: great to hear it worked on a site with so many mods.  :)
Title: Re: AJAX Instant Quick Reply
Post by: Harvest on May 31, 2008, 05:31:51 PM
I have a problem :/
I installed this great mod, with Opera it works like a charm. But while using Firefox after posting a reply the page must be manually refreshed. The bug tracker in FF outputs:

XMLDoc.getElementsByTagName is not a function
[Break on this error] var post = XMLDoc.getElementsByTagName('post')[0];

Edit
Ok, after applying the Pretty URLs patch, the page refreshes, but looks like without the mod still :/ The whole page refreshes. I've checked the apache logs, and according to them with Opera after adding a reply there is only one POST and one GET action, while just seconds later but with Mozilla, after replying i get requests for all the whole page.  Any ideas? Same thing with IE 7
Title: Re: AJAX Instant Quick Reply
Post by: Eliana Tamerin on May 31, 2008, 06:23:09 PM
Did you do a Hard refresh (Ctrl+F5)?
Title: Re: AJAX Instant Quick Reply
Post by: Harvest on May 31, 2008, 06:44:42 PM
Sure, deleted cache in FF  nothing seems to help :/
Title: Re: AJAX Instant Quick Reply
Post by: L.G.S on May 31, 2008, 08:13:05 PM
I tried the fix in the first post but the function wasn't even in the JS file.

For some reason now, the new posts on.gif icon on the forum index won't turn off after you've gone in the forum and viewed the posts. It's kinda annoying.
Title: Re: AJAX Instant Quick Reply
Post by: isara on June 01, 2008, 01:46:14 AM
SlammedDime - Thank you for this great mod. It's a great addition to SMF.

It seems to be functioning just fine. There's only one (possible) bug I wanted to bring up. After making a Quick Reply the "Quick Edit" button in the new post is gone. This could be because I placed the code in the wrong place in the Display.template.php . I'll check it out and edit this post if so.

Thanks again for the great mod. ;D
Title: Re: AJAX Instant Quick Reply
Post by: 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.

L.G.S. - The fix in the first post of the topic should take care of the issue your experiencing.  If the function isn't in the JS file, then the mod did not install properly and you should go through manually and ensure that every change was made correctly.

Harvest - I'd need a link and a test account to look at it and see what's going on.  The error your experiencing normally means that the javascript function isn't returning the proper xml formatted document.  Using firebug, can you take a look at what is being returned from the xml request?
Title: Re: AJAX Instant Quick Reply
Post by: _Anthony_ on June 01, 2008, 04:31:34 AM
They should install this mod here :)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 01, 2008, 04:33:53 AM
Not a bad idea.  It would reduce server load (i think).

Edit: It would actually reduce server load quite a bit.   Rather than two loads of the SMF script, one to post, and one to display the updated topic (which has to reload every post on the page, plus the new one), it only calls the SMF script once, and only has to load up one new post.  It would thus reduce database queries drastically, more than two fold.
Title: Re: AJAX Instant Quick Reply
Post by: Harvest on June 01, 2008, 04:39:27 AM
Whoops, sorry problem solved :/ Stupid me, had a typo in template_ajax_reply() :/ sorry for bothering U. That's a great mod, thx a lot ;) 

Removed.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 01, 2008, 04:51:47 AM
The mod package is correct, please do not change it, and I'd ask that you please remove that from your post as to not create confusion.  Thanks :)
Although I will add a comment to the install file and in the code as to how to manually install it.
Title: Re: AJAX Instant Quick Reply
Post by: Nathaniel on June 01, 2008, 07:15:19 AM
For SMF 2 Beta 3.1

I just noticed a bug with the mod which you may wish to fix, when you post a quick reply and then leave the thread which you posted the reply in, the quick reply post is marked as unread. This seems like something which you may wish to fix.

Edit: This may be a bug with SMF 2 Beta itself, it appears that the image for new posts for that board in the forum index is showing that there are new posts, but when I click on it to see the new posts, I cannot see any.  This is very odd!  :o
Title: Re: AJAX Instant Quick Reply
Post by: Eliana Tamerin on June 01, 2008, 10:24:56 AM
This is the fix:

Quote from: SlammedDime on May 30, 2008, 07:19:10 PM
Bah... fix for 1.1.5 or B3.1:
Open xml_topic.js
Code (Find) Select
function ajax_reply()
{
var i, x = new Array();
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");


Code (Replace) Select
function ajax_reply()
{
var i, x = new Array();
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
x[x.length] = 'goback=' + parseInt(document.forms.postmodify.elements['goback'].value);
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");


Sorry.
Title: Re: AJAX Instant Quick Reply
Post by: уιℓмαz on June 01, 2008, 11:51:37 AM
Quote from: Harvest on May 31, 2008, 05:31:51 PM
Ok, after applying the Pretty URLs patch, the page refreshes, but looks like without the mod still :/ The whole page refreshes. I've checked the apache logs, and according to them with Opera after adding a reply there is only one POST and one GET action, while just seconds later but with Mozilla, after replying i get requests for all the whole page.  Any ideas? Same thing with IE 7

I have this problem too,

and there is an error in error logs:

http://www.tamforum.gen.tr/index.php?pretty;board=admin-duyurulari;topic=(forum-kurallari).0
8: Undefined index: require_verification
File: /var/www/vhosts/tamforum.gen.tr/httpdocs/Themes/tamforum/Display.template.php (main sub template - eval?)
Line: 810


line 810:
if($context['can_reply_approved'] && !$context['require_verification'] && ($context['page_info']['current_page'] == $context['page_info']['num_pages'] || isset($_REQUEST['all'])))
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 01, 2008, 04:19:48 PM
Quote from: уιℓмαz on June 01, 2008, 11:51:37 AM
Quote from: Harvest on May 31, 2008, 05:31:51 PM
Ok, after applying the Pretty URLs patch, the page refreshes, but looks like without the mod still :/ The whole page refreshes. I've checked the apache logs, and according to them with Opera after adding a reply there is only one POST and one GET action, while just seconds later but with Mozilla, after replying i get requests for all the whole page.  Any ideas? Same thing with IE 7

I have this problem too,

and there is an error in error logs:

http://www.tamforum.gen.tr/index.php?pretty;board=admin-duyurulari;topic=(forum-kurallari).0
8: Undefined index: require_verification
File: /var/www/vhosts/tamforum.gen.tr/httpdocs/Themes/tamforum/Display.template.php (main sub template - eval?)
Line: 810


line 810:
if($context['can_reply_approved'] && !$context['require_verification'] && ($context['page_info']['current_page'] == $context['page_info']['num_pages'] || isset($_REQUEST['all'])))
Did you manually install the mod?  In any case, make sure that in /Sources/Display.php that all of the changes from the install file were made.
Title: Re: AJAX Instant Quick Reply
Post by: уιℓмαz on June 01, 2008, 05:14:56 PM
Hmm yes i fixed it :)

and

Quote from: Harvest on May 31, 2008, 05:31:51 PM
Ok, after applying the Pretty URLs patch, the page refreshes, but looks like without the mod still :/ The whole page refreshes. I've checked the apache logs, and according to them with Opera after adding a reply there is only one POST and one GET action, while just seconds later but with Mozilla, after replying i get requests for all the whole page.  Any ideas? Same thing with IE 7

what do you think about this? any fix?
Title: Re: AJAX Instant Quick Reply
Post by: dannbass on June 01, 2008, 05:18:33 PM
I have trouble making it work in my custom template, can I send you the file instead of posting it here? In the default works perfect, but my theme is quite custom.

Great modification! Looking forward to use it! Thanks!


Now is working thanks to the big help of SlammedDime!
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 01, 2008, 05:42:08 PM
Email: SlammedDime@simplemachines.org
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 01, 2008, 05:45:10 PM
Quote from: уιℓмαz on June 01, 2008, 05:14:56 PM
Hmm yes i fixed it :)

and

Quote from: Harvest on May 31, 2008, 05:31:51 PM
Ok, after applying the Pretty URLs patch, the page refreshes, but looks like without the mod still :/ The whole page refreshes. I've checked the apache logs, and according to them with Opera after adding a reply there is only one POST and one GET action, while just seconds later but with Mozilla, after replying i get requests for all the whole page.  Any ideas? Same thing with IE 7

what do you think about this? any fix?
As i've said in previous posts, the readme, and the first post of this topic, I need a link and a test account to see what is going on.  The mod works fine on a default install, and i've tested it with pretty urls and it works, so something isn't right on your install.  thanks :)
Title: Re: AJAX Instant Quick Reply
Post by: dannbass on June 01, 2008, 05:45:44 PM
Thank you very much! email sent.
Title: Re: AJAX Instant Quick Reply
Post by: уιℓмαz on June 01, 2008, 07:37:24 PM
username: test
pass: 111111

You can test here:
http://www.tamforum.gen.tr/tanis-and-kaynas/test-t16593/
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 01, 2008, 07:48:29 PM
Quote from: уιℓмαz on June 01, 2008, 07:37:24 PM
username: test
pass: 111111

You can test here:
http://www.tamforum.gen.tr/tanis-and-kaynas/test-t16593/
What other mods do you have installed?  Can you post a copy of your Display.php and Display.template.php files.
Title: Re: AJAX Instant Quick Reply
Post by: уιℓмαz on June 01, 2008, 07:59:35 PM
Code (Installed Packages) Select
1.     Old Skool Quote and Code Boxes
2.    Grouped Who's Online
3.    Case Insensitive Smileys
4.    nCode Image Resizer
5.    Profil Moderator Managment
6.    Contact Form
7.    Spoiler Tag
8.    Member Color Link
9.    Message Index Formatting
10.    Recount Posts Maintenance
11.    YouTube BBCode
12.    Attachment Notice
13.    ek$i sozluk BBCode
14.    Image Quote Removal Package
15.    More Spiders
16.    AjaxInlineMessagePreview
17.    PhpInfo
18.    MCLegendII.2
19.    AJAX Instant Quick Reply
20.    View Single Post
21.    Signature Area BBCode Buttons
22.    Add Domaintools to TrackIP
23.    SMF Sitemap


Display.php and display.template.php files are in attach.

Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 01, 2008, 08:03:54 PM
Ok, uninstall both this mod, and the View Single Post mod and we'll start over.  Install just my mod.  Don't install the View Single Post mod.  I had a feeling that was the problem.  This mod incorporates the features of that one, and as such it's like having it installed twice, which can cause undesireable results.
Title: Re: AJAX Instant Quick Reply
Post by: уιℓмαz on June 01, 2008, 08:21:15 PM
I uninstalled Single Post mod but there is no change
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 01, 2008, 08:23:21 PM
Please uninstall my mod completely as well, then try reinstalling through the package manager.  Allow the package manager to install as much of it can, and any parts it failed on, do manually.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 01, 2008, 08:29:59 PM
I would bet that the AJAXInlineMessagePreview mod is the conflict here, regardless of what you do.  I'll take a look at the mod and see if I can work mine around it, but I can't promise anything.

Edit:  After looking at that mod, there really isn't anyway to code around it.  Unfortunately its simply a conflicting mod.
Title: Re: AJAX Instant Quick Reply
Post by: уιℓмαz on June 01, 2008, 08:46:18 PM
I reinstalled this mod but pages are refreshing when i post quick message :(
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 01, 2008, 08:47:29 PM
Please see my last reply.  Its due to an unavoidable conflict with the InlineMessagePreview mod.
Title: Re: AJAX Instant Quick Reply
Post by: уιℓмαz on June 01, 2008, 08:53:15 PM
Yes.. i uninstalled inline message preview and quick reply is working very good :) SlammedDime thanks for your interest and this mod.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 01, 2008, 08:53:42 PM
Glad you got it working :)
Title: Re: AJAX Instant Quick Reply
Post by: dannbass on June 01, 2008, 10:11:59 PM
There is something that I just noticed... if the post has more than 2 messages the new post appears right after the first post, let me explain it better... let's say that the topic has 8 responses, and the number 9 will appear as the second message, once you refresh the page then it will appear at the bottom.

For my custom display.template, of course... the default works like a dream.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 01, 2008, 10:38:06 PM
It seemed to work just fine when I tested it.  I'll look at your template a bit further after dinner and see what I can come up with.
Title: Re: AJAX Instant Quick Reply
Post by: dannbass on June 01, 2008, 11:02:30 PM
If it helps I can give you a test account and I place to test.
Thanks again!
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 01, 2008, 11:26:15 PM
Sure thing, PM it on over to me.
Title: Re: AJAX Instant Quick Reply
Post by: SwapsRulez on June 02, 2008, 12:37:56 AM
I done the same job as you've said. Uninstalled ajax inline message preview & installed this MOD & its working like a charm.
But i want to ask you one question. it is ok to install the ajax inline message preview MOD now...
coz when i clicked on Apply MOD, its giving no errors with all the tests successful.
What should i do now ? Should i install or not ?
Thanks in advance. Great MOD which saves a lot of bandwidth & time. :)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 02, 2008, 12:48:56 AM
No, the Inline preview will not work at all with this mod.  Sorry.
Title: Re: AJAX Instant Quick Reply
Post by: SwapsRulez on June 02, 2008, 12:56:15 AM
Quote from: SlammedDime on June 02, 2008, 12:48:56 AM
No, the Inline preview will not work at all with this mod.  Sorry.

Thanks for the quick reply. Just like your MOD, your reply was quick. Thanks :)
Title: Re: AJAX Instant Quick Reply
Post by: edi67 on June 02, 2008, 08:53:28 AM
let me try it
Title: Re: AJAX Instant Quick Reply
Post by: Nathaniel on June 03, 2008, 01:56:44 AM
Quote from: LHVWB on June 01, 2008, 07:15:19 AM
For SMF 2 Beta 3.1

I just noticed a bug with the mod which you may wish to fix, when you post a quick reply and then leave the thread which you posted the reply in, the quick reply post is marked as unread. This seems like something which you may wish to fix.

Edit: This may be a bug with SMF 2 Beta itself, it appears that the image for new posts for that board in the forum index is showing that there are new posts, but when I click on it to see the new posts, I cannot see any.  This is very odd!  :o

I believe that this post may have gotten lost in the torrent of posts in this thread. Has anyone else had this problem?

It still seems to be there for me, after you post a quick reply and leave the thread, that quick reply counts as unread.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 03, 2008, 03:58:46 AM
I can't seem to reproduce that issue.  There was an issue where the board index was showing unread topics in that board, but the fix in the first post takes care of that.  When you 'leave the thread', where are you going that it is showing unread?  Message Index, or board index?  If its board index, did you apply the fix?
Title: Re: AJAX Instant Quick Reply
Post by: Nathaniel on June 03, 2008, 06:29:02 AM
The Board index is where I am returning to and even after applying the fix, this problem still occurs.

However I couldn't find the ajax_reply() function instead I found a the code below and applied the fix to the correct line.

Without the fix:

QuickReply.prototype.ajax_reply = function ()
{
var i, x = new Array();
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");


With the fix:

QuickReply.prototype.ajax_reply = function ()
{
var i, x = new Array();
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
x[x.length] = 'goback=' + parseInt(document.forms.postmodify.elements['goback'].value);
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");


I am using SMF 2 Beta 3.1, so I am wondering if the corrections that you posted are completely relevant to this version, because I can't get them to work. I have attached my entire xml_topic.js file to this document, so that you can confirm that I haven't done anything really bad. ;)


Title: Re: AJAX Instant Quick Reply
Post by: Dannii on June 03, 2008, 11:38:59 AM
Hi SlammedDime,

When you next update this mod (like for beta 4) I suggest you change the way you fix it for pretty URLs. As it is now if you tried uninstalling Pretty URLs after installing this mod there would be conflicts. Luckily however, it should be just as easy to make sure the two mods never have to edit the same lines! :)

You could add these lines to any file that's run before it attempts to do the 301 redirects (index.php, QueryString.php), but I suggest just putting them at the top of Display() right after the globals and before the first comment.

if (isset($_REQUEST['xml']))
$modSettings['pretty_enable_filters'] = false;
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 03, 2008, 02:28:05 PM
Quote from: Dannii on June 03, 2008, 11:38:59 AM
Hi SlammedDime,

When you next update this mod (like for beta 4) I suggest you change the way you fix it for pretty URLs. As it is now if you tried uninstalling Pretty URLs after installing this mod there would be conflicts. Luckily however, it should be just as easy to make sure the two mods never have to edit the same lines! :)

You could add these lines to any file that's run before it attempts to do the 301 redirects (index.php, QueryString.php), but I suggest just putting them at the top of Display() right after the globals and before the first comment.

if (isset($_REQUEST['xml']))
$modSettings['pretty_enable_filters'] = false;

If I do that, then the urls will not be rewritten after the message is run through the display template unless I turn it back on at the end of the display function, which is really adding unnecessary code. I tried attaching ;pretty to the xml POST hoping that would do it after looking at your code, but it didn't work, even with ;topic= in the POST as well.  Any suggestions on using ;pretty?

LHVWB - I'll look at this more closely and see if I might be able to track it down.
Title: Re: AJAX Instant Quick Reply
Post by: Dannii on June 03, 2008, 09:05:01 PM
QuoteIf I do that, then the urls will not be rewritten after the message is run through the display template unless I turn it back on at the end of the display function, which is really adding unnecessary code. I tried attaching ;pretty to the xml POST hoping that would do it after looking at your code, but it didn't work, even with ;topic= in the POST as well.  Any suggestions on using ;pretty?
Ahh true... I hadn't thought of that. So Display() is now doing the normal viewing and sending the new post back with ajax?

I could change the test from if (!isset($_GET['pretty'])) to if (!isset($_REQUEST['pretty'])) on my end so then it will work for POSTs as well. I'll do that when I update it for beta 4, if you can change yours at the same time that would be great. I'm all for mod compatibility :)
Title: Re: AJAX Instant Quick Reply
Post by: Enders on June 03, 2008, 10:58:35 PM
The quick edit button won't show until you refresh the page ><
Title: Re: AJAX Instant Quick Reply
Post by: Eliana Tamerin on June 03, 2008, 11:03:53 PM
Already reported and acknowledged.

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.
Title: Re: AJAX Instant Quick Reply
Post by: Nathaniel on June 03, 2008, 11:23:55 PM
Ah thank you, when I clicked on the boards new post icon, it didn't show any new threads so I was getting kind of confused.

Hopefully that will be fixed with SMF 2 Beta 4, or whatever the next version is. :)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 04, 2008, 04:51:08 AM
Quote from: Dannii on June 03, 2008, 09:05:01 PM
QuoteIf I do that, then the urls will not be rewritten after the message is run through the display template unless I turn it back on at the end of the display function, which is really adding unnecessary code. I tried attaching ;pretty to the xml POST hoping that would do it after looking at your code, but it didn't work, even with ;topic= in the POST as well.  Any suggestions on using ;pretty?
Ahh true... I hadn't thought of that. So Display() is now doing the normal viewing and sending the new post back with ajax?

I could change the test from if (!isset($_GET['pretty'])) to if (!isset($_REQUEST['pretty'])) on my end so then it will work for POSTs as well. I'll do that when I update it for beta 4, if you can change yours at the same time that would be great. I'm all for mod compatibility :)
Sounds like a plan.  I'll test it out ahead of time as well and make sure all is well.  If not, I'm sure I can find some way around it. :)
Title: Re: AJAX Instant Quick Reply
Post by: iPollesion on June 05, 2008, 07:18:43 AM
Hey SD,

Thank you for the wonderful mod.

Can you help me install your mod properly?

I think I need to edit the custom theme template for the quick reply to show up.

I'm not too positive on how to do so. I just started learning smf.

The leader of my team for age-of-chivalry.com has choosen to use smf and it's my job to make sure I know it.

Would you mind assisting me, letting me know what to do.

I already installed and applied the mod successfully, I just don't see it anywhere, not even on the default theme.

Test account: SlammedDime
Test password: thepwiss3cur3d

URL to the forum: http://www.age-of-chivalry.com/smf/


Thanks in advanced.

P.S. I'd appreciate it if you could post your response here.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 05, 2008, 11:52:42 AM
This does not add quick reply to SMF.  That is already there.  This only changes its functionality.  In order to turn on quick reply, you need to go to your profile, then Look and Layout, then for the option of 'Use Quick Reply', change it to 'Show, on by default'.

For your template, please post Display.template.php from your custom theme here. :)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 05, 2008, 06:48:00 PM
If you have either the Single Post Mod or AJAX Preview mod installed, you'll need to uninstall either or both before installing this.  My mod incorporates the Single Post mod, and is incompatible with the AJAX Preview mod.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 06, 2008, 12:28:29 AM
Attach them to your next post and I'll take a look at them. :)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 07, 2008, 04:02:24 PM
Ok evil-angelist, the attached files should work for you.  Apply the mod, ignoring the failures.  Then replace your Display.php and Display.template.php with the ones attached to this post.
Title: Re: AJAX Instant Quick Reply
Post by: jossanaijr on June 07, 2008, 04:04:21 PM
Hi SlammedDime,
any news about the use of Ad Management Mod?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 07, 2008, 04:18:24 PM
jossanaijr - post Display.template.php from your board.  xml_topic.js too.
Title: Re: AJAX Instant Quick Reply
Post by: jossanaijr on June 07, 2008, 04:26:29 PM
Quote from: SlammedDime on June 07, 2008, 04:18:24 PM
jossanaijr - post Display.template.php from your board.  xml_topic.js too.
OK but I only can do it tomorrow. No FTP right now. Thanks.
Title: Re: AJAX Instant Quick Reply
Post by: _Anthony_ on June 07, 2008, 09:32:42 PM
SlammedDime in smf 1.1.5 even with the fix it still shows new on board index
Title: Re: AJAX Instant Quick Reply
Post by: Eliana Tamerin on June 07, 2008, 10:22:56 PM
Really? I'm on the same version and I'm not experiencing that.

Did you do a hard refresh (Ctrl+F5) of your forum so the xml_topic.js could be refreshed?
Title: Re: AJAX Instant Quick Reply
Post by: _Anthony_ on June 07, 2008, 10:31:49 PM
Yes i did
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 08, 2008, 03:48:21 AM
No no, You need to specifically do it in this order, starting with your original files before I modified them.

Replace Display.php and Display.template.php from your original post above.
Install the mod, ignore the errors.
Replace Display.php and Display.template.php from my post above.

If you don't do this, what happens is even though there are errors, the Package installer still installs parts of the mod in the file, just not the error parts.  By doing what you did, my mod was effectively installed twice in some parts, thus creating the errors you got.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 08, 2008, 03:49:50 AM
Quote from: MrBabbelen on June 07, 2008, 09:32:42 PM
SlammedDime in smf 1.1.5 even with the fix it still shows new on board index

From the first post of the topic and the readme:
QuoteIf anyone would like me to see why it isn't working on their site, they will need to provide a link to their site as well as a test account to be used.
Title: Re: AJAX Instant Quick Reply
Post by: jossanaijr on June 08, 2008, 08:39:32 AM
Quote from: SlammedDime on June 07, 2008, 04:18:24 PM
jossanaijr - post Display.template.php from your board.  xml_topic.js too.
Title: Re: AJAX Instant Quick Reply
Post by: razorblitz07 on June 08, 2008, 11:28:26 AM
This is the error I am getting:

(http://img174.imageshack.us/img174/2082/quickreplyerrorxf0.jpg)

8: Undefined index: view_newest_first
File: /home/fiestaon/public_html/fiestahq/forum/Themes/Fiesta/Display.template.php (main sub template - eval?)
Line: 564


if ($context['show_spellchecking'])
echo '
<script language="JavaScript" type="text/javascript" src="' . $settings['default_theme_url'] . '/spellcheck.js"></script>';

echo '
<script language="JavaScript" type="text/javascript" src="' . $settings['default_theme_url'] . '/xml_topic.js"></script>
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
quickReplyCollapsed = ', !empty($options['display_quick_reply']) && $options['display_quick_reply'] == 2 ? 'false' : 'true', ';
var view_newest_first = ', $options['view_newest_first'], '

smf_topic = ', $context['current_topic'], ';
smf_start = ', $context['start'], ';
smf_show_modify = ', $settings['show_modify'] ? '1' : '0', ';

// On quick modify, this is what the body will look like.
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="1572329" /><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>\';

// And this is the replacement for the subject.
var smf_template_subject_edit = \'<input type="text" name="subject" value="%subject%" size="60" style="width: 99%;" maxlength="80" />\';

// Restore the message to this after editing.
var smf_template_body_normal = \'%body%\';
var smf_template_subject_normal = \'<a href="', $scripturl, '?topic=', $context['current_topic'], '.msg1572329#msg1572329">%subject%</a>\';
var smf_template_top_subject = "', $txt[118], ': %subject% &nbsp;(', $txt[641], ' ', $context['num_views'], ' ', $txt[642], ')"

if (window.XMLHttpRequest)
showModifyButtons();
// ]]></script>



After I use Quick Reply, the post is applied but the error is that it shows up as a new thread right below the current one.  Refreshing the browser fixes it up.....but I am wondering what causes the error.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 08, 2008, 02:15:51 PM
razor - It looks like the mod wasn't properly applied to your custom Display.template.php file.  As for the error you get in the error log, it has nothing to do with the issue you're having.  Its a small bug that I've fixed in the next version I'll release when 2.0 Beta 4 comes out.

In the code you posted,
Code (Find) Select
var view_newest_first = ', $options['view_newest_first'], '
and Replace with
Code (Replace) Select
var view_newest_first = ', !empty($options['view_newest_first']) ? $options['view_newest_first'] : 0, '
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 08, 2008, 02:22:28 PM
jossanaijr - Here you go.  Give these two a shot.  That should do it for you.
Title: Re: AJAX Instant Quick Reply
Post by: razorblitz07 on June 08, 2008, 04:44:56 PM
Quote from: SlammedDime on June 08, 2008, 02:15:51 PM
razor - It looks like the mod wasn't properly applied to your custom Display.template.php file.  As for the error you get in the error log, it has nothing to do with the issue you're having.  Its a small bug that I've fixed in the next version I'll release when 2.0 Beta 4 comes out.

In the code you posted,
Code (Find) Select
var view_newest_first = ', $options['view_newest_first'], '
and Replace with
Code (Replace) Select
var view_newest_first = ', !empty($options['view_newest_first']) ? $options['view_newest_first'] : 0, '

I've applied the change to my file but the error still occurs.
Title: Re: AJAX Instant Quick Reply
Post by: jossanaijr on June 08, 2008, 05:15:45 PM
Quote from: SlammedDime on June 08, 2008, 02:22:28 PM
jossanaijr - Here you go.  Give these two a shot.  That should do it for you.
Yes. Fixed!  Thank you very much! Great!
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 09, 2008, 04:23:25 AM
razor - You'll need to post up a link to your board and a test account for me to use to see what is going on.
Title: Re: AJAX Instant Quick Reply
Post by: pjrobertson on June 09, 2008, 06:48:34 AM
Hi SlammedDime. I'd love to get this working on my test board :)
atm the are 2 issues. 1 - it doesn't work!
2. When it's installed the +/- doesn't work for the quick reply box (meaning when it's closed by default you can't open it)
the site is at smf.tyddynadda.co.uk

I've made an account for you (see the PM for security reasons!)
I've tried it with both the default theme, and the currently installed theme.


EDIT: never mind. It's OK now.
Title: Re: AJAX Instant Quick Reply
Post by: razorblitz07 on June 09, 2008, 10:38:17 AM
Quote from: SlammedDime on June 09, 2008, 04:23:25 AM
razor - You'll need to post up a link to your board and a test account for me to use to see what is going on.

http://www.fiestahq.sparkonline.net/forum/index.php

User: test
Pass: t3staccount
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 09, 2008, 02:40:34 PM
razor - please attach a copy of Display.template.php.  It wasn't modified right so I'd like to take a look at it. :)
Title: Re: AJAX Instant Quick Reply
Post by: razorblitz07 on June 09, 2008, 03:25:20 PM
Here ya go :)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 09, 2008, 03:30:26 PM
Give this a shot
Title: Re: AJAX Instant Quick Reply
Post by: razorblitz07 on June 09, 2008, 03:36:58 PM
Quote from: SlammedDime on June 09, 2008, 03:30:26 PM
Give this a shot

works!

thanks....what was wrong with the coding?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 09, 2008, 03:58:58 PM
The html Comment to start a single post wasn't inserted correctly.  It was on the same line as the php comment, thus commenting it out from being output in html.
Title: Re: AJAX Instant Quick Reply
Post by: kai920 on June 11, 2008, 02:35:21 PM
Hey SD,

I use the Joomla bridge and this isn't working - AFAIK it's because of the URL... I see in the error console script.js (line 68)


POST http://www.kaitech.hk/option,com_smf/Itemid,71?action=post2;topic=1878;xml (1141ms)


Do I need to
- convert ? and ; to /
- convert = to ,

?  Are there other files to edit besides script.js?

Second thing is, I installed version 1.0 but now it cannot be uninstalled b/c display.template.php failed the test.   How should I proceed?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 11, 2008, 04:28:07 PM
I'm almost 100% sure that this won't work with the Joomla or Mambo bridge with SEF urls turned on on the Mambo or Joomla side without some modification (at least that was my experience).  You can most certainly try making the fixes you suggested in the JS files and see if that solves the problem for you, but I'm not sure.  I use Mambo but haven't had a chance to even test or install this on my live site.

As for the uninstalling: You'll have to perform the uninstall, ignoring the error, and then use the Package Parser integrated into the mod's download page and go through Display.Template.php and remove anything that was installed by the mod by hand.
Title: Re: AJAX Instant Quick Reply
Post by: Ryan on June 11, 2008, 07:25:15 PM
Hi SlammedDime, First off would like to thank you for support your giving to everyone!
Somthings wrong on my attempt ive spent 2 hours with no luck im outa ideas.. 
It installed everything apart from display.template.php i manualy added the stuff in there.. When i post it shows that message at top of forum its posting but then it refrehes page without using the ajax posting method..

I looked through display.php turned out some bits wernt inserted by package manager but after i added them still posts normal way.

I have attached following
display.php
display.template.php
xmltopic.js
xml.template.php

Download here: http://www.h2kclan.com/files.rar (http://www.h2kclan.com/files.rar)

My forum is located at:
http://www.h2kclan.com/forum/ (http://www.h2kclan.com/forum/)
Login
User: test
pass: test

Would realy apreciate it..
Ive always wanted Ajax on SMF!
Title: Re: AJAX Instant Quick Reply
Post by: kai920 on June 11, 2008, 08:55:42 PM
Quote from: SlammedDime on June 11, 2008, 04:28:07 PM
I'm almost 100% sure that this won't work with the Joomla or Mambo bridge with SEF urls turned on on the Mambo or Joomla side without some modification (at least that was my experience).  You can most certainly try making the fixes you suggested in the JS files and see if that solves the problem for you, but I'm not sure.  I use Mambo but haven't had a chance to even test or install this on my live site.

As for the uninstalling: You'll have to perform the uninstall, ignoring the error, and then use the Package Parser integrated into the mod's download page and go through Display.Template.php and remove anything that was installed by the mod by hand.
Can you let me know which file I should look at? I looked at xmltopic.js, line 68 and it was the function sendXMLDocument... from where does "ajax instant quick reply" call this function and pass it the URL? Sorry I'm a bit new to this... (is it function ajax_reply() inside xml_topic.js?)

1. edit: seems to work now! just changed the corresponding line to:
    sendXMLDocument(smf_scripturl + "/action,post2/topic," + smf_topic + "/xml,xml", x.join("&"), onPostDone);


:) Now my next question is: how can I send different versions of the javascript statement (a) slashes&commas, instead of b) semi-colons&equals depending on the state of _REQUEST['option']?


2. I don't have the 1.0 package file anymore. Can I discern which manual edits were made to display.template.php using the 1.0.1 file?  BTW, I ran the 1.0.1 file through this parser (http://sleepycode.com/PackageParser/index.php) and got an error for some reason..
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 12, 2008, 03:42:49 AM
1.0.0 and 1.0.1 are both on the mod site.  If you choose from the drop down under the links to download the version of SMF you are running and click 'Submit', you will get manual instructions for installing the mod (just reverse them for uninstalling): http://custom.simplemachines.org/mods/index.php?mod=1214.  Make sure you choose the radio button next to 1.0 first.

As for different versions of the javascript statement: there really isn't any good way to do it without really modifying the javascript.  The easiest way would be to modify the bridge so that it doesn't transform the smf_scripturl variable in the header of the HTML (Orstio's bridge does this anyway), so regardless of which SMF version your viewing (through the bridge or standalone), any AJAX function of SMF will work.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 12, 2008, 03:55:23 AM
M3THOD: Try the attached Display.template.php. :)
Title: Re: AJAX Instant Quick Reply
Post by: kai920 on June 12, 2008, 04:23:09 AM
Quote from: SlammedDime on June 12, 2008, 03:42:49 AM
As for different versions of the javascript statement: there really isn't any good way to do it without really modifying the javascript.  The easiest way would be to modify the bridge so that it doesn't transform the smf_scripturl variable in the header of the HTML (Orstio's bridge does this anyway), so regardless of which SMF version your viewing (through the bridge or standalone), any AJAX function of SMF will work.

Can javascript be made to check for _REQUEST['option'] inside the ajax_reply() function?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 12, 2008, 04:47:38 AM
You could analyze the querystring and set a variable based on if option=com_smf exists or not.  Keep in mind though, $_REQUEST houses all of $_POST and $_GET, whereas analyzing the query string in javascript is similar to looking at just the $_GET array in php.  I can't think of a moment when an SMF page would load with the option set in a $_POST variable, at least as far as anything ajax related is concerned, so its not a big deal, just wanted to make that distinction.

Here is a google search you may want to look at: http://www.google.com/search?&q=javascript%20querystring
Title: Re: AJAX Instant Quick Reply
Post by: Ryan on June 12, 2008, 08:22:10 AM
Quote from: SlammedDime on June 12, 2008, 03:55:23 AM
M3THOD: Try the attached Display.template.php. :)
Thanks mate that did the job :) there was a missing '; on line 616 but i put it in and works like charm :)  :D
Title: Re: AJAX Instant Quick Reply
Post by: L'AltroWeb on June 12, 2008, 04:42:16 PM
Hi!
How i can install and use with babylon theme?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 12, 2008, 05:02:31 PM
The same way you would with any other theme.  Please read the first post of the topic as well as the install instructions carefully in the xml file.

Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402)
Title: Re: AJAX Instant Quick Reply
Post by: razorblitz07 on June 13, 2008, 01:18:47 PM
hey ummm, I just installed the SEO pretty urls mod onto my site...now the ajax function on the quick reply is broken.  The javascript doesn't go all the way through.  Like I click on Post and the green javascript bar pops up and says Loading... but it doesn't disappear.  It just stays never and never follows all the way through.  I have to click refresh to see that my post has been made but the ajax/javascript doesn't go through anymore.  Is there any compatibility issues between the SEO mod and this mod?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 13, 2008, 03:14:28 PM
Yes, there are issues.

Open Display.php
Code (Find) Select
if ((isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])

Code (Replace) Select
if (!isset($_REQUEST['xml']) && (isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])
Title: Re: AJAX Instant Quick Reply
Post by: razorblitz07 on June 13, 2008, 03:20:38 PM
Thanks, works now!
Title: Re: AJAX Instant Quick Reply
Post by: kai920 on June 13, 2008, 03:31:34 PM
I'm not sure if this problem is related to this mod... just noticed that when I am a guest, my site's template is screwy and my main content area is wrapped by a form id="quickmodform", which is very strange.

any ideas? I've got a screenshot below... and if you go to this link (http://www.kaitech.hk/option,com_smf/Itemid,71/topic,1882.0) you can see it live. once logged in, the issue disappears.

problem doesn't occur inside board index, forum index, no matter logged in or not.

ps. I am still using version 1.0 of the mod, and I made the small edits to xml_topic.js to make it joomla-sef friendly.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 13, 2008, 03:45:59 PM
That's normal.  that form is ALWAYS wrapped around the post, guest or not.  Just how the template is made.  It's there when you're logged in to.
Title: Re: AJAX Instant Quick Reply
Post by: L'AltroWeb on June 13, 2008, 05:24:47 PM
Ok i have installed (with more problem cause of many other mod and modification to my display.template.php) also to babylon theme and now is ok.
I have pretty urls and i have see that this edit is still integrated:
Quotef (!isset($_REQUEST['xml']) && (isset
All good :)
-
Only one questions: in the first topic post i have see:
Fix for 1.1.5 or B3.1...
and i have inserted goback line:
Quotex[x.length] = 'goback=' + parseInt(document.forms.postmodify.elements['goback'].value);
but: i dont have this line:
Quotex[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
i have this:
Quotex[x.length] = 'message=' + escape(textToEntities(document.forms.postmodify['message'].value.replace(/&#/g, "&#38;#"))).replace(/\+/g, "%2B");
really small difference, is ok?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 13, 2008, 05:37:10 PM
You should have both.  If not, you're not looking in the correct place.  It will be in the ajax_reply() function in xml_topic.js.  There is more than one line like that, you need to find the specific one.
Title: Re: AJAX Instant Quick Reply
Post by: L'AltroWeb on June 13, 2008, 06:08:24 PM
This is the modification for xml_topic.js:
(small difference with first post patch)

function ajax_reply()
{
var i, x = new Array();
x[x.length] = 'topic=' + parseInt(document.forms.postmodify.elements['topic'].value);
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#38;#"))).replace(/\+/g, "%2B");
x[x.length] = 'message=' + escape(textToEntities(document.forms.postmodify['message'].value.replace(/&#/g, "&#38;#"))).replace(/\+/g, "%2B");
x[x.length] = 'icon=' + escape(textToEntities(document.forms.postmodify['icon'].value.replace(/&#/g, "&#38;#"))).replace(/\+/g, "%2B");
x[x.length] = 'notify=' + escape(textToEntities(document.forms.postmodify['notify'].value.replace(/&#/g, "&#38;#"))).replace(/\+/g, "%2B");
x[x.length] = 'num_replies=' + parseInt(document.forms.postmodify.elements['num_replies'].value);
x[x.length] = 'sc=' + escape(textToEntities(document.forms.postmodify['sc'].value.replace(/&#/g, "&#38;#"))).replace(/\+/g, "%2B");

// Send in the XMLhttp request and let's hope for the best.
if (typeof window.ajax_indicator == "function")
ajax_indicator(true);

sendXMLDocument(smf_scripturl + "?action=post2;xml", x.join("&"), onPostDone);

return false;
}

function onPostDone(XMLDoc)
{
// We've finished the loading stuff.
if (typeof window.ajax_indicator == "function")
ajax_indicator(false);

// Update the num_replies counter so if the user replies more than once without refreshing, we don't get an error.
document.postmodify.num_replies.value = parseInt(document.postmodify.num_replies.value) + 1;

var myTable = document.getElementById("postTable"), myRow, myCell, myData;

var post = XMLDoc.getElementsByTagName('post')[0];
var errors = XMLDoc.getElementsByTagName('errors')[0];

// If there are errors, its better to just let SMF deal with them, so we'll submit the form and let its take its course
if (errors) {
document.postmodify.submit();
}
// Otherwise, the post was successful so lets add it in.
else if (post) {
myRow = myTable.insertRow((view_newest_first == 1) ? 0 : myTable.rows.length-1);
myCell = myRow.insertCell(-1);
myCell.style.padding = "1px 1px 0 1px";
myData = post.childNodes[0].nodeValue;
setInnerHTML(myCell, myData);

// And empty the post reply box
document.postmodify.message.value = "";
}
else {
window.location.reload(true);
}
}
I have simply inserted this line: x[x.length] = 'subject=' ....
x[x.length] = 'goback=' + parseInt(document.forms.postmodify.elements['goback'].value);
x[x.length] = 'message=' ...

Sorry, my error with copy and paste line.
The difference is:
First post of this topic:
   x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#"))).replace(/\+/g, "%2B");
Mod:
x[x.length] = 'subject=' + escape(textToEntities(document.forms.postmodify['subject'].value.replace(/&#/g, "&#38;#"))).replace(/\+/g, "%2B");
(see: "&#38;#") instead of: &#"))  :)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 13, 2008, 06:26:37 PM
Thanks for pointing that out.  I adjusted the first post.
Title: Re: AJAX Instant Quick Reply
Post by: L'AltroWeb on June 13, 2008, 06:31:15 PM
Thank you too for your work :)
Title: Re: AJAX Instant Quick Reply
Post by: kai920 on June 13, 2008, 11:02:00 PM
Quote from: SlammedDime on June 13, 2008, 03:45:59 PM
That's normal.  that form is ALWAYS wrapped around the post, guest or not.  Just how the template is made.  It's there when you're logged in to.

okay , thanks. I'll try the general support board...
Title: Re: AJAX Instant Quick Reply
Post by: boredtoday on June 16, 2008, 05:09:29 PM
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! :)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 16, 2008, 05:51:52 PM
Glad to hear it works with Mambo.  I have yet to install it on my live site running Mambo integrated... :( :)
Title: Re: AJAX Instant Quick Reply
Post by: boredtoday on June 16, 2008, 07:58:23 PM
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? :)
Title: Re: AJAX Instant Quick Reply
Post by: L'AltroWeb on June 16, 2008, 08:04:37 PM
False, i have test at this moment and all works fine ;)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 16, 2008, 08:08:07 PM
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.
Title: Re: AJAX Instant Quick Reply
Post by: L'AltroWeb on June 16, 2008, 08:13:49 PM
But with me works fine :)
Title: Re: AJAX Instant Quick Reply
Post by: boredtoday on June 16, 2008, 08:16:07 PM
@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?
Title: Re: AJAX Instant Quick Reply
Post by: L'AltroWeb on June 16, 2008, 08:18:52 PM
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 :(
Title: Re: AJAX Instant Quick Reply
Post by: boredtoday on June 16, 2008, 08:26:23 PM
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!
Title: Re: AJAX Instant Quick Reply
Post by: _Anthony_ on June 19, 2008, 01:40:09 AM
 still love this mod
Title: Re: AJAX Instant Quick Reply
Post by: PatrickPriest on June 19, 2008, 03:54:31 PM
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.
Title: Re: AJAX Instant Quick Reply
Post by: PatrickPriest on June 19, 2008, 04:11:35 PM
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?
Title: Re: AJAX Instant Quick Reply
Post by: kai920 on June 19, 2008, 04:50:55 PM
Go to admin > current theme > reset options > Reset all members' current options for this theme
Title: Re: AJAX Instant Quick Reply
Post by: Hoochie Coochie Man on June 20, 2008, 04:18:51 AM
Hi. it works perfect.

When we post a new message with this mod.

This button((http://www.simplemachines.org/community/Themes/smsite/images/icons/modify_inline.gif)) doesn't appear.!
Could you do a tip for this please?

Thanks..
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 20, 2008, 04:59:56 AM
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.
Title: Re: AJAX Instant Quick Reply
Post by: ndr on June 21, 2008, 05:13:03 AM
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
Title: Re: AJAX Instant Quick Reply
Post by: 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.
Title: Re: AJAX Instant Quick Reply
Post by: ndr on June 21, 2008, 05:52:22 AM
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 :
Title: Re: AJAX Instant Quick Reply
Post by: 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.
Title: Re: AJAX Instant Quick Reply
Post by: ndr on June 21, 2008, 06:50:44 AM
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
Title: Re: AJAX Instant Quick Reply
Post by: Eliana Tamerin on June 21, 2008, 01:50:16 PM
Why don't you go ask eCardMax? It's his editor, he probably has more knowledge of how that might work. Slammed can't help you.
Title: Re: AJAX Instant Quick Reply
Post by: ndr on June 22, 2008, 11:06:31 AM
ok
now i'm using "Enhanced Quick Reply 2.0"
when i wanted to install "AJAX Instant Quick Reply" SMF warn me for errors in display.template.php
i can install it manually but i want to have no errors during installation
Title: Re: AJAX Instant Quick Reply
Post by: kai920 on June 22, 2008, 11:15:47 AM
Quote from: ndr on June 22, 2008, 11:06:31 AM
ok
now i'm using "Enhanced Quick Reply 2.0"
when i wanted to install "AJAX Instant Quick Reply" SMF warn me for errors in display.template.php
i can install it manually but i want to have no errors during installation


I had the same question in the Enhanced quick reply thread. I installed AJAX instant quick reply first and couldn't install enhanced quick reply 2.0 because they make modifications to the same areas of code... would be great if they worked together!
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 22, 2008, 01:43:58 PM
When I have some time, I will look at the incompatibility.  Unfortunately I'm a bit swamped with another mod right now. 

In the mean time, be adventurous, try and make them work together.  See what modifications they each make to Display.template.php and see if you can figure it out. :)
Title: Re: AJAX Instant Quick Reply
Post by: Regashi on June 27, 2008, 03:24:22 AM
Yh it doesn't work on my site

here

http://btrc.exofire.net/forums

username = test
password= test
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 27, 2008, 03:34:50 AM
Username doesn't exist.

Did you make the changes to Display.template.php of your custom theme?  You MUST do that.
Title: Re: AJAX Instant Quick Reply
Post by: Regashi on June 27, 2008, 05:57:37 AM
Quote from: SlammedDime on June 27, 2008, 03:34:50 AM
Username doesn't exist.

Did you make the changes to Display.template.php of your custom theme?  You MUST do that.
ok user now exists


and no i don't know what to change in the display.template.php

ill attach it if you want to do ...hint (please)
Title: Re: AJAX Instant Quick Reply
Post by: Rainboy7 on July 04, 2008, 06:35:57 AM
can any one modify my display.template.php ? when i try i getting error please help me.
Title: Re: AJAX Instant Quick Reply
Post by: Regashi on July 04, 2008, 08:17:14 AM
can so ca nyou edit my file
Title: Re: AJAX Instant Quick Reply
Post by: Alpay on July 04, 2008, 07:07:48 PM
Quote from: SlammedDime on June 08, 2008, 02:15:51 PM
razor - It looks like the mod wasn't properly applied to your custom Display.template.php file.  As for the error you get in the error log, it has nothing to do with the issue you're having.  Its a small bug that I've fixed in the next version I'll release when 2.0 Beta 4 comes out.

In the code you posted,
Code (Find) Select
var view_newest_first = ', $options['view_newest_first'], '
and Replace with
Code (Replace) Select
var view_newest_first = ', !empty($options['view_newest_first']) ? $options['view_newest_first'] : 0, '

My
display.template.php :

bViewNewestFirst: ', $options['view_newest_first'], ',
Title: Re: AJAX Instant Quick Reply
Post by: Rainboy7 on July 05, 2008, 02:41:12 AM
template error , what can i do ?

Quote
Tema Hatası!
/Themes/SilkroadMax3/Display.template.php adındaki tema veya dil dosyasının yüklenmesinde sorun var. Lütfen söz dizimini denetleyin ve tekrar deneyin , tek tire işareti önünde tek yatık çizgi olmalı (') ve tek yatık çizgi kullanacaksanız iki tane yazmalısınız (). PHP kodlarında hatayı daha belirgin görmek istiyorsanız, doğrudan dosyaya erişim sağlamayı deneyin.

Tekrar denemek istiyorsanız sayfayı yenileyin veya varsayılan temayı kullanın.

Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/SilkroadMax3/Display.template.php on line 862

853:         
854:             <td class="windowbg" width="100%" align="center"><table border="0" cellspacing="0" cellpadding="0" width="60%" />
855:             ', template_enhanced_quick_reply() ,'
856:             <tr>
857:                <td colspan="2">
858: // We will only do ajax quick reply if
859: // 1) the current page is the last page of the topic or
860: // 2) 'all' isset in REQUEST
861: // otherwise w'll post the old fashioned way.

862: if($context['page_info']['current_page'] == $context['page_info']['num_pages'] || isset($_REQUEST['all']))

863: echo '<input type="submit" name="post" value="' . $txt[105] . '" onclick="return ajax_reply(this);" accesskey="s" tabindex="2" />
864: ';
865: else
866: echo '<input type="submit" name="post" value="' . $txt[105] . '" onclick="return submitThisOnce(this);" accesskey="s" tabindex="2" />



QuoteParse error: syntax error, unexpected T_STRING, expecting ',' or ';' in .../Themes/SilkroadMax3/Display.template.php on line 736

727: <script language="JavaScript" type="text/javascript" src="' . $settings['default_theme_url'] . '/spellcheck.js"></script>';
728:
729: echo '
730: <script language="JavaScript" type="text/javascript" src="' . $settings['default_theme_url'] . '/xml_topic.js"></script>
731: <script type="text/javascript"> function largerThan(a,b) { return a>b; } </script>
732: <script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
733:     quickReplyCollapsed = ', !empty($options['display_quick_reply']) && $options['display_quick_reply'] == 2 ? 'false' : 'true', ';
734:         var view_newest_first = ', !empty($options['view_newest_first']) ? $options['view_newest_first'] : 0, ' '
735:

736:     smf_topic = ', $context['current_topic'], ';

737:     smf_start = ', $context['start'], ';
738:     smf_show_modify = ', $settings['show_modify'] ? '1' : '0', ';
739:
740:     // On quick modify, this is what the body will look like.

Title: Re: AJAX Instant Quick Reply
Post by: Zykev2 on July 07, 2008, 11:37:24 PM
Help Please! I try to install it and for some reason not paying attension to warnings or whatever then i get this error everytime i click a topic
ERROR DELETED BY REQUEST.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 08, 2008, 03:41:24 AM
Zykev2 - please post your Display.template.php

Something got severly screwed up.  The warnings are there for a reason, you should pay attention to them.

For the others that have posted thier files.  I apologize the delay, I will post up modified versions later today.
Title: Re: AJAX Instant Quick Reply
Post by: Zykev2 on July 08, 2008, 03:55:54 AM
Ok so once you do that the problem should be fixed?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 08, 2008, 04:23:19 AM
Once you attach the file to your next post, I'll be able to fix it so its proper.
Title: Re: AJAX Instant Quick Reply
Post by: Zykev2 on July 08, 2008, 04:32:28 AM
if you mean what i downloaded its this
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 08, 2008, 04:51:04 AM
No, please attach Display.template.php from your forum to your post.
Title: Re: AJAX Instant Quick Reply
Post by: Zykev2 on July 08, 2008, 04:57:36 AM
Sorry I dont know how to do that any steps to follow... I mean I think I know what you talking about...
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 08, 2008, 05:04:33 AM
You know how to attach files obviously, so you just need to FTP into your site, download Display.template.php from [yoursmfinstall]/Themes/default/ and then upload it here.
Title: Re: AJAX Instant Quick Reply
Post by: Zykev2 on July 08, 2008, 05:20:57 AM
There you go :D
Title: Re: AJAX Instant Quick Reply
Post by: Zykev2 on July 08, 2008, 04:41:21 PM
So are you going to work on it?
Title: Re: AJAX Instant Quick Reply
Post by: Sudhakar Arjunan on July 09, 2008, 03:38:21 AM
Hey your mod is really excellent.

I have installed and found some errors on display.template. in Theme Default Folder
So i tried Modifiying manually.

Got some big confusions, sitting more than expected

Finally completed the mod without the error. But when i reply it shows loading tries to add but suddenly asusual page refreshes and posts the content.

I have made some changes to the mod. Kindly check my previous and current display.template page Attached.
Title: Re: AJAX Instant Quick Reply
Post by: atroquinine on July 09, 2008, 09:17:33 AM
I've tried following all the steps, however I still continuously get errors for my display.template.php. Do you think you could look through it?

Thanks a lot in advance! I attached both the files from before I started modifications, and after.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 10, 2008, 12:46:15 AM
Quote from: rickster090 on June 27, 2008, 05:57:37 AM
Quote from: SlammedDime on June 27, 2008, 03:34:50 AM
Username doesn't exist.

Did you make the changes to Display.template.php of your custom theme?  You MUST do that.
ok user now exists


and no i don't know what to change in the display.template.php

ill attach it if you want to do ...hint (please)
Attached is your modified Display.template.php.

Because your theme uses Div's to house the posts, I had to implement a simple table structure to make it work.  It worked on my test install.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 10, 2008, 01:15:46 AM
Quote from: Rainboy7 on July 04, 2008, 06:35:57 AM
can any one modify my display.template.php ? when i try i getting error please help me.
Here is yours Rainboy.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 10, 2008, 01:45:24 AM
Quote from: Zykev2 on July 08, 2008, 04:41:21 PM
So are you going to work on it?
Here is yours.  I can't stress enough that you need to pay close attention to when there are errors.  You had the mod partially installed twice in the file.  If there are errors when you go to install a Mod, DO NOT proceed unless you know what you are doing.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 10, 2008, 01:52:44 AM
asudhakar - As I stated in the first post of the topic, you must uninstall the View Single Post mod before trying to install this.  Please do so and repost your Display.template.php file.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 10, 2008, 02:10:31 AM
atroquinine - The 'before' file you have doesn't work properly to begin with.  There is a bracket that isn't closed somewhere.  Once you get it fixed, feel free to repost it and I'll modify it for you.
Title: Re: AJAX Instant Quick Reply
Post by: Sudhakar Arjunan on July 10, 2008, 02:24:53 AM
Quote from: SlammedDime on July 10, 2008, 01:52:44 AM
asudhakar - As I stated in the first post of the topic, you must uninstall the View Single Post mod before trying to install this.  Please do so and repost your Display.template.php file.

Yes have read it, but i had forget to remove it.
Before doing kindly help me.

did i have to uninstall Ajax Instant Quick reply, then uninstall View single post.

Or Simply i could try uninstalling View single post.

Because i was worried, that when i click uninstall in ajax instant quick reply. IT shows me two errors at sources/display and template display.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 10, 2008, 02:31:02 AM
I would suggest manually uninstalling both at this point.  It would save you hassles that way.
Title: Re: AJAX Instant Quick Reply
Post by: atroquinine on July 10, 2008, 04:12:43 AM
Thank you for pointing out that there was a bracket I deleted accidentally! I think I was playing around with display formats of things, and forgot to close it with a colon. I tried manually reinstalling ALL my modifications to the original Display.template.php file, but I still couldn't seem to get the AJAX quick reply to work.

Attached is my now working Display.template.php (no more parse errors and includes all modifications I've added to date, but everytime I try to install AJAX QR, I mess up somewhere).

Once again, thanks for your time!
Title: Re: AJAX Instant Quick Reply
Post by: iTMaster on July 11, 2008, 08:25:01 PM
yes i need screen shot plz i have a problem with Ajax Quick Reply
Title: Re: AJAX Instant Quick Reply
Post by: iTMaster on July 11, 2008, 08:34:08 PM
i m replacing SlammedDime  Display.templte.php file but my AJax quick reply is not showing and i m also edit my js file Tell me SlammedDime  how to set tha step by step configuretion i cant understand Pretty urls i cant edit this file have u sceen shot plz send me this id itpages@yahoo.com
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 11, 2008, 08:37:40 PM
iTMaster: You should not be downloading and using any of the Display.template.php files in this topic unless they are specifically directed at you.

In order to enable quick reply in the first place, you need to go to your Look and Layout preferences in your Profile and enable it.  Then you need to install it, manual install instructions are available in the same place you downloaded the mod from.  If you can't install it with the package parser, you'll need to follow those directions.
Title: Re: AJAX Instant Quick Reply
Post by: Sudhakar Arjunan on July 11, 2008, 08:53:41 PM
Quote from: SlammedDime on July 10, 2008, 02:31:02 AM
I would suggest manually uninstalling both at this point.  It would save you hassles that way.

I have safely modified and removed the view single post.
Now tried to install ajax quick Reply.
But shows error in sources/display and themes/display.template.

I have tried to mod manually and  souces/display misses only last pretty tag line, so no prob in it.
hope i have lot error in display.template.

Any Idea SlammedDime.
Title: Re: AJAX Instant Quick Reply
Post by: iTMaster on July 12, 2008, 11:24:31 AM
Plz edit my Files and upload here.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 12, 2008, 03:07:51 PM
asudhakar - You can post your display.template.php here and I can take a look at it.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 12, 2008, 03:09:44 PM
iTMaster, you've installed the mod twice.  You need to go through and manually edit the files to remove the duplicate entries.  I don't have time to do all of the work for you.
Title: Re: AJAX Instant Quick Reply
Post by: iTMaster on July 13, 2008, 01:05:39 PM
But sir i cant acess duplicate entries i m also doing all editing in all 3 files but cant showing QR in bottom of page and showing didplay.templete.php error in my forum
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 13, 2008, 03:12:59 PM
Okay iTMaster,

Try these files:
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 13, 2008, 03:17:23 PM
Give the attached file a try.  Not sure why it wouldn't work with your package parser, worked fine on this end here. :)
Quote from: atroquinine on July 10, 2008, 04:12:43 AM
Thank you for pointing out that there was a bracket I deleted accidentally! I think I was playing around with display formats of things, and forgot to close it with a colon. I tried manually reinstalling ALL my modifications to the original Display.template.php file, but I still couldn't seem to get the AJAX quick reply to work.

Attached is my now working Display.template.php (no more parse errors and includes all modifications I've added to date, but everytime I try to install AJAX QR, I mess up somewhere).

Once again, thanks for your time!
Title: Re: AJAX Instant Quick Reply
Post by: iTMaster on July 13, 2008, 04:30:17 PM
plz sir u dont log out this forum for this time i m try this files wait
Title: Re: AJAX Instant Quick Reply
Post by: Eliana Tamerin on July 13, 2008, 04:32:34 PM
SlammedDime probably has more to do than waiting for you. Be patient and he or somebody else will help you if you have additional problems. This is a forum, which means we're not required to be here 24/7 and available, unlike a chatroom. Please consider other people's lives next time.
Title: Re: AJAX Instant Quick Reply
Post by: iTMaster on July 13, 2008, 04:35:08 PM
i m instaling this mode so show this error
The package you tried to upload either is not a valid package or has become corrupted
Title: Re: AJAX Instant Quick Reply
Post by: iTMaster on July 13, 2008, 04:42:21 PM
i attach the Slamdime  Files but showing these error i cant understand this error please solve my problem and some any else i leave SMF script this night
Parse error: syntax error, unexpected T_STRING in .../Themes/default/Display.template.php on line 936

927:    // Now change the windowbg value so the post displays with the right color (if its waiting approval then it won't change)
928:    $windowbg = (($_REQUEST['num_replies']+1) % 2 == 0) ? '"windowbg"' : '"windowbg2"';
929:    $buffer = str_replace(array('"windowbg"', '"windowbg2"'), $windowbg, $buffer);
930:    
931:    // Now we have just the post that we'll insert into the topic, lets add the XML stuff to it for AJAX.
932:    $buffer = '<?xml version="1.0" encoding="'. $context['character_set']. '"function template_ajax_reply() {
933:    global $context;
934:    
935:    // Load up the index template, since we need it for some theme settings and call the init function
936:    loadTemplate('index');937:    template_init();
938:    
939:    // First we'll call the template function above to get the post
940:    template_main();



Please Solve My PRoblmes
Title: Re: AJAX Instant Quick Reply
Post by: Eliana Tamerin on July 13, 2008, 04:49:08 PM
Please don't double post. Edit your post instead.
Title: Re: AJAX Instant Quick Reply
Post by: Sudhakar Arjunan on July 13, 2008, 04:59:03 PM
Quote from: SlammedDime on July 12, 2008, 03:07:51 PM
asudhakar - You can post your display.template.php here and I can take a look at it.

Sure here i go .
First File is Display.php - Showed error - From sources
Second File is Dispaly.template.php - showed error - From Themes/Default

Kindly do let me know what changes you have or you are going to make.
So that next time i could try it when upgrading or reinstalling the mod.

Thanks a lot in Advance.  :)
Title: Re: AJAX Instant Quick Reply
Post by: Douglas on July 13, 2008, 05:41:59 PM
Quote from: iTMaster on July 13, 2008, 04:30:17 PMplz sir u dont log out this forum for this time i m try this files wait
You know, the more you bug people privately about your situation, the far less inclined they will be to help you.

Getting all EMO on people and threatening to leave SMF because you lack the knowledge of knowing how to fix YOUR problem doesn't do anything but prove that you're an annoying little cretin.

Stop contacting team members.  They have *no* obligation to provide you with any support regarding the AJAX Instant Quick Reply modifrication package.  In fact, many of them have "NO SUPPORT VIA PRIVATE MESSAGES, EMAIL OR INSTANT MESSAGING" somewhere in their profile... for good reason.

Wait your turn, just like everyone else has.  Your site is no more important than anyone else in this thread.

You lack patience.  You need to find some.. FAST.

FYI, if you send me a private message regarding this or complaining, it will promptly be deleted, and you will be blocked from contacting me.  :)
Title: Re: AJAX Instant Quick Reply
Post by: AlenNS on July 14, 2008, 12:23:41 PM
Hi. I'm using SMF 2.0 Beta 3.1 public.

When I install AIQR on my localhost on default theme I get this ( something like Enhanced quick reply for SMF 1.1.x ).

(http://s2d2.turboimagehost.com/t/519629_1.JPG) (http://www.turboimagehost.com/p/519629/1.JPG.html)

But when I install it on work forum on my host, I get nothing.
I'm using Babylon theme on work forum.

(http://s2d2.turboimagehost.com/t/519658_2.JPG) (http://www.turboimagehost.com/p/519658/2.JPG.html)

On localhost quick reply is enhanced and has smileys and BBC codes and on my forum there's nothing and Ajax Quick reply doesn't do anything.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 14, 2008, 02:30:43 PM
Did you manually modify the Babylon theme's default template?  I'm pretty sure this won't install onto it automatically in 2.0 like it does the default.
Title: Re: AJAX Instant Quick Reply
Post by: AlenNS on July 14, 2008, 02:41:57 PM
I didn't use Package manager. I manually modified files. Also modified and Display.template.php of Babylon theme.
Now I see AJAX in progres, but still there's not smileys and BBC codes like there's on my localhost.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 14, 2008, 03:01:37 PM
This doesn't add BBC codes or anything else to the quick reply.  If you have that on localhost, and not on your live site, then you haven't added the Enhanced quick reply to your site online.
Title: Re: AJAX Instant Quick Reply
Post by: AlenNS on July 14, 2008, 03:21:34 PM
Actualy, EQR is not for SMF 2.x versions. :)

And I didn't install it on my localhost.

Try to install this mod ( AIQR ) on your localhost and see the result. :)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 14, 2008, 04:02:37 PM
I have installed it, many a times, and I don't get anything like what your screenshot shows.  You're not using any of the files that are attached to topics in this thread, are you?  Looks like you've downloaded one from this topic that is for a 1.1.5 version of SMF that someone else had that mod installed on (notice the text strings missing from the post and preview buttons.  They are specific to the users who I've directed them towards.

I'm 100% sure that the manual instructions for installing this mod do not include bbc code like you have on your local install.
Title: Re: AJAX Instant Quick Reply
Post by: AlenNS on July 14, 2008, 04:16:15 PM
I've downloaded mod from here http://custom.simplemachines.org/mods/index.php?mod=1214

And then install it to my local host and get the result on the picture. I don't know how.

(http://s2d2.turboimagehost.com/t/520560_1.JPG) (http://www.turboimagehost.com/p/520560/1.JPG.html) (http://s2d2.turboimagehost.com/t/520561_2.JPG) (http://www.turboimagehost.com/p/520561/2.JPG.html)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 14, 2008, 04:29:47 PM
I don't know how either.  Try replacing all of your SMF files on your localhost with a fresh copy from the downloads page, then try to install the mod.
Title: Re: AJAX Instant Quick Reply
Post by: AlenNS on July 14, 2008, 04:35:39 PM
Ok. I'll try.
Title: Re: AJAX Instant Quick Reply
Post by: Regashi on July 15, 2008, 07:39:28 AM
Quote from: SlammedDime on July 10, 2008, 12:46:15 AM
Quote from: rickster090 on June 27, 2008, 05:57:37 AM
Quote from: SlammedDime on June 27, 2008, 03:34:50 AM
Username doesn't exist.

Did you make the changes to Display.template.php of your custom theme?  You MUST do that.
ok user now exists


and no i don't know what to change in the display.template.php

ill attach it if you want to do ...hint (please)
Attached is your modified Display.template.php.

Because your theme uses Div's to house the posts, I had to implement a simple table structure to make it work.  It worked on my test install.

Was this attached Display.template.php file from my website ?????
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 15, 2008, 03:11:01 PM
Quote from: rickster090 on July 15, 2008, 07:39:28 AM
Quote from: SlammedDime on July 10, 2008, 12:46:15 AM
Quote from: rickster090 on June 27, 2008, 05:57:37 AM
Quote from: SlammedDime on June 27, 2008, 03:34:50 AM
Username doesn't exist.

Did you make the changes to Display.template.php of your custom theme?  You MUST do that.
ok user now exists


and no i don't know what to change in the display.template.php

ill attach it if you want to do ...hint (please)
Attached is your modified Display.template.php.

Because your theme uses Div's to house the posts, I had to implement a simple table structure to make it work.  It worked on my test install.

Was this attached Display.template.php file from my website ?????
It should have been, why, is it not correct?
Title: Re: AJAX Instant Quick Reply
Post by: Sudhakar Arjunan on July 15, 2008, 03:28:33 PM
Quote from: asudhakar on July 13, 2008, 04:59:03 PM
Quote from: SlammedDime on July 12, 2008, 03:07:51 PM
asudhakar - You can post your display.template.php here and I can take a look at it.

Sure here i go .
First File is Display.php - Showed error - From sources
Second File is Dispaly.template.php - showed error - From Themes/Default

Kindly do let me know what changes you have or you are going to make.
So that next time i could try it when upgrading or reinstalling the mod.

Thanks a lot in Advance.  :)


Hope you will help me SlammedDine. Wait for few days

http://www.simplemachines.org/community/index.php?topic=241917.msg1614332#msg1614332
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 15, 2008, 04:01:12 PM
Quote from: asudhakar on July 15, 2008, 03:28:33 PM
Quote from: asudhakar on July 13, 2008, 04:59:03 PM
Quote from: SlammedDime on July 12, 2008, 03:07:51 PM
asudhakar - You can post your display.template.php here and I can take a look at it.

Sure here i go .
First File is Display.php - Showed error - From sources
Second File is Dispaly.template.php - showed error - From Themes/Default

Kindly do let me know what changes you have or you are going to make.
So that next time i could try it when upgrading or reinstalling the mod.

Thanks a lot in Advance.  :)


Hope you will help me SlammedDine. Wait for few days

http://www.simplemachines.org/community/index.php?topic=241917.msg1614332#msg1614332
Sorry bud, give these a shot.

Title: Re: AJAX Instant Quick Reply
Post by: Sudhakar Arjunan on July 16, 2008, 03:38:41 PM
SlammedDime,

I have downloaded and tried replacing the existing file, and i have received many series errors as shown and attached below.

Hope you could checkout and help me.


Quote
1) When i first replaced the dispaly.template.php file in default Themes folder

Fatal error: Call to undefined function displayThumbsUpButton() in /home/itacumen/public_html/forum/Sources/Load.php(1912) : eval()'d code on line 570

Note : Image 1 attached with error.

2) When i have replaced the display.php file in the souce folder.

Fatal error: require_once() [function.require]: Failed opening required 'ThumbsUp.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/itacumen/public_html/forum/Sources/Display.php on line 281

Note : Image 2 attached with error.


Kindly check out and help me Slammeddime.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 16, 2008, 05:45:05 PM
That has to do with some Thumbs up mod that you have installed (or perhaps had installed).  Neither of those errors have anything to do with my mod.  It was present in the files you originally uploaded here for me to modify, so it has nothing to do with the modifications I did.
Title: Re: AJAX Instant Quick Reply
Post by: Regashi on July 17, 2008, 08:16:22 AM
no this didn't work
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 17, 2008, 12:08:13 PM
What doesn't work about it?  Can you give me a link to your site and a test account?
Title: Re: AJAX Instant Quick Reply
Post by: Sudhakar Arjunan on July 17, 2008, 05:08:15 PM
Quote from: SlammedDime on July 16, 2008, 05:45:05 PM
That has to do with some Thumbs up mod that you have installed (or perhaps had installed).  Neither of those errors have anything to do with my mod.  It was present in the files you originally uploaded here for me to modify, so it has nothing to do with the modifications I did.

But i have installed thumbup mod and uninstalled here.
I understand, that your mod is not doing anything wrong. But no idea for me.

Hope to wait and manually upload later.
Thank you for this Great Mod SlammedDine.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 17, 2008, 07:05:28 PM
If you installed, then uninstalled the mod, you'll have to manually uninstall the mod from those files.  You must have uninstalled it between the time you posted the files and the time I posted edited files for you.
Title: Re: AJAX Instant Quick Reply
Post by: Regashi on July 18, 2008, 05:43:51 AM
kk my site is

http://btrc.exofire.net/forums

account is test
pass is test
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 18, 2008, 01:42:39 PM
Works quite fine for me.  What's it not doing for you?
Title: Re: AJAX Instant Quick Reply
Post by: Regashi on July 19, 2008, 05:33:04 AM
i cant see the quick reply.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 19, 2008, 05:40:24 AM
Then you haven't turned it on in your profile.  look and layout preferences > show quick reply:

As I've said in this topic, this does not add quick reply to your board (that is a default feature of SMF).  it only changes it's functionality.
Title: Re: AJAX Instant Quick Reply
Post by: Regashi on July 19, 2008, 09:17:03 AM
Thanks how can i make all on for all the other members
Title: Re: AJAX Instant Quick Reply
Post by: AlenNS on July 19, 2008, 10:12:05 AM
http://docs.simplemachines.org/index.php?topic=188.msg213#msg213
Title: Re: AJAX Instant Quick Reply
Post by: Ncen on July 23, 2008, 07:36:37 PM

Parse error: syntax error, unexpected T_STRING in .../Themes/default/Display.template.php on line 747

738: // Now change the windowbg value so the post displays with the right color (if its waiting approval then it won't change)
739: $windowbg = (($_REQUEST['num_replies']+1) % 2 == 0) ? '"windowbg"' : '"windowbg2"';
740: $buffer = str_replace(array('"windowbg"', '"windowbg2"'), $windowbg, $buffer);
741:
742: // Now we have just the post that we'll insert into the topic, lets add the XML stuff to it for AJAX.
743: $buffer = '<?xml version="1.0" encoding="'. $context['character_set']. '"function template_ajax_reply() {
744: global $context;
745:
746: // Load up the index template, since we need it for some theme settings and call the init function
747: loadTemplate('index');
748: template_init();
749:
750: // First we'll call the template function above to get the post
751: template_main();


I added this mod on my test forum, and now this happens as soon as i try to go into a topic. White page telling me something is wrong. Can't figure out what, though.. o.o'' Does anyone have any idea? (yes, I know that it is telling me what's wrong -  unexpected T_STRING  - but i don't understand what it means.)

Thanks in advance.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 23, 2008, 08:00:21 PM
Looks like the mod got installed twice.

I'd use the manual install instructions (found on the download page for the mod) and go through and clean up all of the code from the mod and reinstall it.
Title: Re: AJAX Instant Quick Reply
Post by: Ncen on July 23, 2008, 08:10:24 PM
gosh. :/ I tried uninstalling, and the forum seems to work fine. However. Installing again gives the errors, once more. Should I still clean the codes? :/ Might be easier to install the forum over. since i've not made any important changes to it. I did a backup, but on the wrong forum. Silly me. ><'

It's giving me errors on my real forum aswell, haven't installed it there thought, the display.template gives errors so i wasn't sure if it was safe to install it, i tried figuring the changes out, but with no luck. :/
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 23, 2008, 08:15:09 PM
If you uninstall it, remnants of the first install will still be there.  It's up to you if you want to simply replace all of your forum files.  Personally, I'd rather just go through the files the mod modifies and triple check them to make sure the mod is completely gone.
Title: Re: AJAX Instant Quick Reply
Post by: Adish - (F.L.A.M.E.R) on July 25, 2008, 09:17:00 AM
I tried doing package parser but this is what i get:-


ERROR: The package-info.xml file is invalid!
Debugging Information
Error message: String could not be parsed as XML
Source: /home/ars/public_html/package.php:114
Errors encountered while parsing XML file:

Stack Trace:
#0 /home/ars/public_html/package.php(114): SimpleXMLElement->__construct('')
#1 /home/ars/public_html/package.php(75): parsePackageInfoXML('/tmp/package-in...', 'install', 'all')
#2 /home/ars/public_html/package.php(758): parseArchive('/tmp/phpvce2fk', 'install', 'all')
#3 {main}
XML File:


Let me know what happened actually..
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 25, 2008, 02:50:29 PM
Don't use the package parser.  At the same page you can download the mod from, there is a little dropdown box with different versions of SMF.  Choose your version and click submit to get manual instructions.
Title: Re: AJAX Instant Quick Reply
Post by: Adish - (F.L.A.M.E.R) on July 25, 2008, 04:59:42 PM
Yep but it doesnt give theme edits dont they..???
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 26, 2008, 05:26:20 AM
It shows all edits made by the mod, theme and source files.
Title: Re: AJAX Instant Quick Reply
Post by: AlenNS on July 26, 2008, 06:46:26 AM
Quote from: optimushunk on July 25, 2008, 04:59:42 PM
Yep but it doesnt give theme edits dont they..???
And why is so hard to manually add changes to files of your theme? :)
Title: Re: AJAX Instant Quick Reply
Post by: Adish - (F.L.A.M.E.R) on July 26, 2008, 07:47:34 AM
It shows like default theme edits.. but like sometimes it happens i dont have the text which it asks me to search...

and also the text which i select from there goes in just 1 line rather than dividing into several links of codes....

Please help me to solve this thing up..
Title: Re: AJAX Instant Quick Reply
Post by: AlenNS on July 26, 2008, 09:21:18 AM
Well it would be the best to provide your files which you have to edit, because I don't know which theme you're using and SMF version.
Developer of this mod will probably help you, but if I can help, I will. :)
Title: Re: AJAX Instant Quick Reply
Post by: Adish - (F.L.A.M.E.R) on July 26, 2008, 10:54:32 AM
Check out the files... I have added in the once you need... I think thats all you will need...

Check attachment... Thanks buddy..
Title: Re: AJAX Instant Quick Reply
Post by: AlenNS on July 26, 2008, 11:48:14 AM
You gave me everything except Display.template.php of your Theme.
I've edited you all the files needed, but you'll have to edit Display.templayte.php of Theme you're using.
Title: Re: AJAX Instant Quick Reply
Post by: Adish - (F.L.A.M.E.R) on July 26, 2008, 12:31:12 PM
ehmm... My theme doesnt have display.template.php.. however i have attahced the one from default if you need it.. Please do the needful for me...

Thanks alot..
Title: Re: AJAX Instant Quick Reply
Post by: NicKCramleT on July 26, 2008, 01:18:50 PM
I have problems with the MOD QuicK ReplY that leaves in the forum ajax, first a installing it throws errors to me with display.template and display... :( :(

I make contingency not covered by law to these two errors and install mod and work on those two archives of form manual, I install and all good, attempt abrir some post I throw and it does not show the instantaneous picture of answer...

There is q to activate something before or it would have to leave one? 1.1.5 use SMF and theme different from defaul.

Down Annex my display.template they see so that it and say to me if it has some error

I wait for Answers and graxias... ;D

PD: They excuse if there is bad spelling is that I do not speak English...

My WeB
http://darkkingdom.exofire.net/foro


Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 26, 2008, 02:42:33 PM
Looks like everything was okay except for one part.  Try this.
Quote from: NicKCramleT on July 26, 2008, 01:18:50 PM
I have problems with the MOD QuicK ReplY that leaves in the forum ajax, first a installing it throws errors to me with display.template and display... :( :(

I make contingency not covered by law to these two errors and install mod and work on those two archives of form manual, I install and all good, attempt abrir some post I throw and it does not show the instantaneous picture of answer...

There is q to activate something before or it would have to leave one? 1.1.5 use SMF and theme different from defaul.

Down Annex my display.template they see so that it and say to me if it has some error

I wait for Answers and graxias... ;D

PD: They excuse if there is bad spelling is that I do not speak English...

My WeB
http://darkkingdom.exofire.net/foro



Title: Re: AJAX Instant Quick Reply
Post by: NicKCramleT on July 26, 2008, 02:53:19 PM
It does not work...

Is not the fast answer at the end of the messages It needs that another file raises reviews so that it?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 26, 2008, 02:54:53 PM
Attach sources/Display.php and Themes/default/xml_topic.js
Title: Re: AJAX Instant Quick Reply
Post by: NicKCramleT on July 26, 2008, 03:01:17 PM
QuoteAttach sources/Display.php and Themes/default/xml_topic.js

Here they are the archives, thank you very much really by the aid...

Title: Re: AJAX Instant Quick Reply
Post by: NicKCramleT on July 27, 2008, 04:29:42 PM
Please brother, it excuses the annoyance...
but I seem to me huge mod that you place and I want to add it Web, would like that you helped me to that it appeared...

I wait for answers and thanks
Title: Re: AJAX Instant Quick Reply
Post by: AlenNS on July 28, 2008, 06:15:13 AM
Did you refresh your page?
If you didn't the modifications will not show you to work.
Please copy your edited files again and CTRL + F5 to refresh your page.
Title: Re: AJAX Instant Quick Reply
Post by: drinkingbuddies_ca on July 28, 2008, 07:26:32 PM
hmm... for some reason, when i use the quick reply, ajax seems to be working but then the page refreshes...
You type, then click submit and the loading or w/e div displays, then the page reloads the the new post.. Any idea what would make it half way work?
http://www.drinkingbuddies.ca/forum
Title: Re: AJAX Instant Quick Reply
Post by: AlenNS on July 28, 2008, 07:39:16 PM
Can you provide us a test account?
And a list of installed mods.
Title: Re: AJAX Instant Quick Reply
Post by: drinkingbuddies_ca on July 28, 2008, 07:45:44 PM
yes,
U: tester
P: tester2

and as far as mods go, it was running fine on 1 theme but then i changed themes, and tried to manually add it and here we are...
Title: Re: AJAX Instant Quick Reply
Post by: AlenNS on July 28, 2008, 08:30:04 PM
I've tried and AJAX starts but anyway reloads the page.

Please write here the list of packages you have installed.
Title: Re: AJAX Instant Quick Reply
Post by: drinkingbuddies_ca on July 28, 2008, 08:39:30 PM
    Mod Name     Version     
1.    No Spam by Guests!    0.1    [ List Files ] [ Delete ]
2.    Buy Me A Beer    1.3    [ Uninstall ] [ List Files ] [ Delete ]
3.    SMF Shoutbox    1.16b    [ Apply Mod ] [ List Files ] [ Delete ]
4.    MCLegendII    1.1    [ Apply Mod ] [ List Files ] [ Delete ]
5.    vReportBoard Mod    1.03    [ List Files ] [ Delete ]
6.    SMF Staff Page    1.6    [ Uninstall ] [ List Files ] [ Delete ]
7.    Users Active in Last 24 Hours    1.0    [ Apply Mod ] [ List Files ] [ Delete ]
8.    Users Online Today Mod    1.4.0    [ Uninstall ] [ List Files ] [ Delete ]
9.    rant on guests    1.0    [ Uninstall ] [ List Files ] [ Delete ]
10.    nneonneo's AJAX ShoutBox    1.16    [ List Files ] [ Delete ]
11.    Custom Profile Field Mod    3.19    [ Uninstall ] [ List Files ] [ Delete ]
12.    RSS Feed Poster    1.1    [ Uninstall ] [ List Files ] [ Delete ]
13.    SMF 1.0.13 / 1.1.5 / 2.0 b3.1 Update    1.0    [ Uninstall ] [ List Files ] [ Delete ]
14.    AJAX Instant Quick Reply    1.0.1    [ Uninstall ] [ List Files ] [ Delete ]
17.    nneonneo's AJAX ShoutBox    1.20
Title: Re: AJAX Instant Quick Reply
Post by: AlenNS on July 28, 2008, 08:45:30 PM
I think that is the best to contact the developer of this mod to look your Display.template.php of yout Theme.

But one thing. You have 3 shoutboxes?
Two AJAX shoutboxes. This could make some problems to your mod probably.
Title: Re: AJAX Instant Quick Reply
Post by: drinkingbuddies_ca on July 28, 2008, 09:04:22 PM
Not 3, only 1.  SMF Shoutbox was removed manually, nneonnoe's 1.16 was uninstalled, but not deleted, and the update 1.20 was installed and is the only shoutbox in function... Thanks for taking the time to look though... I appreciate it :)
Title: Re: AJAX Instant Quick Reply
Post by: AlenNS on July 28, 2008, 09:08:07 PM
No problem, I'm really drowsy and I don't wont to make some mistake.
It's 3am and it's time for bad.

I'm sorry I didn't help you, I hope developer will. :)
Title: Re: AJAX Instant Quick Reply
Post by: NicKCramleT on July 28, 2008, 10:08:28 PM
i fix the problem thank! =D
Title: Re: AJAX Instant Quick Reply
Post by: AlenNS on July 29, 2008, 05:30:39 AM
Refreshing? :)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 29, 2008, 02:05:07 PM
drinkingbuddies - can you reinstate that test account for me to use to test this out?

If the ajax works, but then the page refreshes, that means there was either an error on the submission or an XML error.
Title: Re: AJAX Instant Quick Reply
Post by: pinoypetfinder on July 29, 2008, 09:37:32 PM
hi. i found error when i tried to install the package (display.template.php)

my current mods are -
   Mod Name     Version     
1.    Show Local Url Titles    1.1    [ Apply Mod ] [ List Files ] [ Delete ]
2.    AJAX Instant Quick Reply    1.0.1    [ Apply Mod ] [ List Files ] [ Delete ]
3.    SMF 1.0.11 / 1.1.3 Update    1.1    [ List Files ] [ Delete ]
4.    SMF Staff Page    1.6    [ Apply Mod ] [ List Files ] [ Delete ]
5.    Ad Managment    2.3    [ Uninstall ] [ List Files ] [ Delete ]
6.    Add PM Info To header (v1.2)    1.1    [ Uninstall ] [ List Files ] [ Delete ]
7.    Spoiler Show And Hide    1.0.3    [ Uninstall ] [ List Files ] [ Delete ]
8.    Signature Settings Mod    1.1    [ Uninstall ] [ List Files ] [ Delete ]
9.    Global Headers Footers    1.3    [ Uninstall ] [ List Files ] [ Delete ]
10.    Seo 4 SMF    0.2.9.9    [ Apply Mod ] [ List Files ] [ Delete ]
11.    Personal Message Auto Responder    0.2    [ Apply Mod ] [ List Files ] [ Delete ]
12.    Googlebot & Spiders Mod    2.0.3    [ Uninstall ] [ List Files ] [ Delete ]
13.    Reason For Editing Mod    1.14    [ Uninstall ] [ List Files ] [ Delete ]
14.    Users Online Today Mod    1.4.0    [ Uninstall ] [ List Files ] [ Delete ]
15.    Limit A Guests Daily PageViews Mod    1.0    [ Uninstall ] [ List Files ] [ Delete ]
16.    Disable shouting    1.0    [ Uninstall ] [ List Files ] [ Delete ]
17.    SMFShop    3.0    [ Apply Mod ] [ List Files ] [ Delete ]
18.    Contact Page    1.1    [ Uninstall ] [ List Files ] [ Delete ]
19.    SMF 1.0.12 / 1.1.4 / 2.0 b1.1 Update    1.0    [ List Files ] [ Delete ]
20.    Attachments Mod    1.1    [ Apply Mod ] [ List Files ] [ Delete ]
21.    Display Age and Location next to posts    1.0    [ Apply Mod ] [ List Files ] [ Delete ]
22.    PM On Registration    1.0.2    [ Uninstall ] [ List Files ] [ Delete ]
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 30, 2008, 03:09:01 AM
pinoypetfinder - that list of mods doesn't really help at all.  Please attach your Display.template.php
Title: Re: AJAX Instant Quick Reply
Post by: pinoypetfinder on July 30, 2008, 04:07:25 AM
Removed.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 30, 2008, 04:22:28 AM
Please attach it to the post, don't copy the code to the post.
Title: Re: AJAX Instant Quick Reply
Post by: pinoypetfinder on July 30, 2008, 09:16:58 AM
okay, here it is..
Title: Re: AJAX Instant Quick Reply
Post by: drinkingbuddies_ca on July 30, 2008, 01:39:45 PM
Sorry for the delay in this post....

u: tester
p: tester2

Title: Re: AJAX Instant Quick Reply
Post by: bfeo on August 11, 2008, 10:52:42 PM
Saw this mod on a friend's site, and I must say, it was really impressive.  So here I am.   ;D

I'd love it if you could edit my /Themes/default/Display.template.php for me, thanks.
Title: Re: AJAX Instant Quick Reply
Post by: Meeturmaker on August 13, 2008, 04:55:37 AM
trying to install but having issues with my display.php

here is my display.php how do you make this scrollbar down?

Edit: Removed code.  Please attach the file, don't copy it into the post. - SlammedDime
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 13, 2008, 05:24:12 AM
bfeo and Meeturmaker - I'll edit these in the morning after I wake up.
Title: Re: AJAX Instant Quick Reply
Post by: pinoypetfinder on August 13, 2008, 06:13:29 AM
pls don't forget mine too :D i already attached them on my previous post :)
Title: Re: AJAX Instant Quick Reply
Post by: Meeturmaker on August 14, 2008, 03:28:24 PM
having a problem installing, I get errors on these two php display files. could you take a look and tell me what you think could be the problem?
Title: Re: AJAX Instant Quick Reply
Post by: Adish - (F.L.A.M.E.R) on August 14, 2008, 03:32:30 PM
is it possible to remove the green bar which appears up on the top ? It would be good to remove it as it doesnt suite much with the black theme or even grey theme backgrounds..

Please let me know how to do it.

Thank you.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 14, 2008, 04:53:40 PM
Not really, it's part of SMF's AJAX Calls, just like quick editing a message, or loading up extra stats, or any other AJAX functions that SMF uses.

I'd suggest altering the style of the loading bar in the style.css file so it flows better with your theme.
Title: Re: AJAX Instant Quick Reply
Post by: dimitrioss on August 14, 2008, 05:32:51 PM
really nice work !

Title: Re: AJAX Instant Quick Reply
Post by: pinoypetfinder on August 15, 2008, 12:20:05 AM
i hope you can modify my display.template.php file too, SlammedDime :)
also, will it work if we install the mod manually? i really want to put this on my forum.. thanks.
Title: Re: AJAX Instant Quick Reply
Post by: ExilE1 on August 15, 2008, 11:34:27 AM
Alright, my display.template file is messed up, and I can't fix it.

When I choose a topic, the error says:

Parse error: syntax error, unexpected T_STRING in /www/******/f/r/e/******/htdocs/forum/Themes/default/Display.template.php on line 674

My forum is here:

http://exileint.us.to/forum
Title: Re: AJAX Instant Quick Reply
Post by: codnerd on August 15, 2008, 10:42:03 PM
nvm. Fixed.
Title: Re: AJAX Instant Quick Reply
Post by: drinkingbuddies_ca on August 17, 2008, 12:26:55 AM
Quote from: ExilE1 on August 15, 2008, 11:34:27 AM
Alright, my display.template file is messed up, and I can't fix it.

When I choose a topic, the error says:

Parse error: syntax error, unexpected T_STRING in /www/******/f/r/e/******/htdocs/forum/Themes/default/Display.template.php on line 674

My forum is here:

http://exileint.us.to/forum
Hopefully, you backed up your files before making this modification. If so, just revert back to your original display.template.php and try again.
Title: Re: AJAX Instant Quick Reply
Post by: werci on August 17, 2008, 12:42:16 AM
I cant find code* in display.php ?

*if ((isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])

2.0 Beta 3.1 Public
Title: Re: AJAX Instant Quick Reply
Post by: onel0ve on August 17, 2008, 12:54:23 AM
i install it but yet dont get quick reply option  in forum topic why :|?
Title: Re: AJAX Instant Quick Reply
Post by: Staffy on August 18, 2008, 05:41:21 AM
Where do I enable Quick Reply?
Title: Re: AJAX Instant Quick Reply
Post by: Meeturmaker on August 18, 2008, 05:43:14 PM
Did you modify my php? not sure If you replied?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 19, 2008, 12:44:39 AM
My sincere apologies to those awaiting me to do their edits.  The last few days have been very chaotic for me and I haven't had time to do much outside of work and deal with personal issues.  Once I get some decent sleep tonight I'll be able to reply to everyone's questions and provide everyone's edits.
Title: Re: AJAX Instant Quick Reply
Post by: Sudhakar Arjunan on August 19, 2008, 01:38:41 AM
Thanks for your post. Sorry for it . And i like this mod.

Earlier we have worked to install the mod.

So i would like you to help me to continue.

2.     Execute Modification     ./Sources/Display.php     Test failed
4.    Execute Modification    ./Themes/default/Display.template.php    Test failed

I have already uninstalled the Single post mod.

74.     View Single Post      1.0      [ Apply Mod ]  [ List Files ]  [ Delete ]

Check out the Files and Help me SlammedDime.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 19, 2008, 03:40:49 PM
Quote from: pinoypetfinder on July 30, 2008, 09:16:58 AM
okay, here it is..

Here is yours pinoypetfinder.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 19, 2008, 04:14:16 PM
Quote from: bfeo on August 11, 2008, 10:52:42 PM
Saw this mod on a friend's site, and I must say, it was really impressive.  So here I am.   ;D

I'd love it if you could edit my /Themes/default/Display.template.php for me, thanks.
bfeo: here is yours
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 19, 2008, 04:32:32 PM
Quote from: Meeturmaker on August 14, 2008, 03:28:24 PM
having a problem installing, I get errors on these two php display files. could you take a look and tell me what you think could be the problem?
Here is yours.  I could not test it due to mods that you have installed, but it should work.  If not, you'll need to tell me what exactly does not work and what errors exactly you're getting.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 19, 2008, 04:39:55 PM
Quote from: ExilE1 on August 15, 2008, 11:34:27 AM
Alright, my display.template file is messed up, and I can't fix it.

When I choose a topic, the error says:

Parse error: syntax error, unexpected T_STRING in /www/******/f/r/e/******/htdocs/forum/Themes/default/Display.template.php on line 674

My forum is here:

http://exileint.us.to/forum
On line 674, you have ';'
Change it to ';
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 19, 2008, 04:41:59 PM
Quote from: onel0ve on August 17, 2008, 12:54:23 AM
i install it but yet dont get quick reply option  in forum topic why :|?
Because this mod does not add quick reply to your board.  As I have said time and time again, it only changes its functionality, it's logic, the way it works.  SMF by default already has quick reply installed.  See below...
Quote from: Staffy on August 18, 2008, 05:41:21 AM
Where do I enable Quick Reply?
In Look and Layout Preferences in your profile.
Title: Re: AJAX Instant Quick Reply
Post by: pinoypetfinder on August 19, 2008, 06:32:45 PM
Quote from: SlammedDime on August 19, 2008, 03:40:49 PM
Quote from: pinoypetfinder on July 30, 2008, 09:16:58 AM
okay, here it is..

Here is yours pinoypetfinder.

thank you. but i'm still having error on display.template.php even after uploading this edited file :(

i'm not sure if this will help, but here are the mods currently installed on my forum -
1.     Googlebot & Spiders Mod     2.0.3     [ Uninstall ]
2.    Ad Managment    2.3    [ Uninstall ]
3.    Add PM Info To header (v1.2)    1.1    [ Uninstall ]
4.    Global Headers Footers    1.3    [ Uninstall ]
5.    Disable shouting    1.0    [ Uninstall ]
6.    Contact Page    1.1    [ Uninstall ]
7.    Reason For Editing Mod    1.14    [ Uninstall ]
8.    Users Online Today Mod    1.4.0    [ Uninstall ]
9.    PM On Registration    1.0.2    [ Uninstall ]
10.    Signature Settings Mod    1.1    [ Uninstall ]
11.    Limit A Guests Daily PageViews Mod    1.0    [ Uninstall ]
12.    Spoiler Show And Hide    1.0.3    [ Uninstall ]
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 20, 2008, 05:58:42 AM
You'll have to be more specific than 'Im having a problem'.  You should install the mod, then replace your display.template.php with what I provided, ignoring the errors the package manager will throw
Title: Re: AJAX Instant Quick Reply
Post by: Sudhakar Arjunan on August 20, 2008, 06:17:31 AM
Hi Author, Looking for an update .  :)

http://www.simplemachines.org/community/index.php?topic=241917.msg1666696#msg1666696
Title: Re: AJAX Instant Quick Reply
Post by: erlend_sh on August 20, 2008, 07:42:35 AM
I tried installing this mod on other themes, but for some reason BlackRain (v1) wouldn't show up on the list. It's the 2.0 compatible version of BlackRain, so I don't get it. What's odd is that BlackRain v2 which I also have installed did show up on the list.
Title: Re: AJAX Instant Quick Reply
Post by: pinoypetfinder on August 21, 2008, 02:43:46 AM
Quote from: SlammedDime on August 20, 2008, 05:58:42 AM
You'll have to be more specific than 'Im having a problem'.  You should install the mod, then replace your display.template.php with what I provided, ignoring the errors the package manager will throw

i just installed the package, ignored the error on the display.template.php file and replaced it with the one you edited, but when i tried to reply, the whole page/thread still reloads - i mean it's not the same as the one on your demo video.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 21, 2008, 03:17:18 AM
You'll need to provide me with a test account on your site to test it out then so I can see what it's doing.
Title: Re: AJAX Instant Quick Reply
Post by: jordanid on August 21, 2008, 03:52:47 AM
hello slammed
i installed this mod , and this is a great mod
its most used on the Vb , when installing it , i had no error
i'm running smf1.1.5 , a custom theme , but the quick reply doesnt apper ..
dunno whats wrong
sorry for bothering .. and would be glad if u could help
a link to my website  (http://www.jordan-id.com)
Title: Re: AJAX Instant Quick Reply
Post by: Sudhakar Arjunan on August 21, 2008, 06:19:37 AM
Earlier we have worked to install the mod.

So i would like you to help me to continue.

2.     Execute Modification     ./Sources/Display.php     Test failed
4.    Execute Modification    ./Themes/default/Display.template.php    Test failed

I have already uninstalled the Single post mod.

74.     View Single Post      1.0      [ Apply Mod ]  [ List Files ]  [ Delete ]

Check out the Files and Help me SlammedDime.

Quote from: asudhakar on August 20, 2008, 06:17:31 AM
Hi Author, Looking for an update .  :)

http://www.simplemachines.org/community/index.php?topic=241917.msg1666696#msg1666696
Title: Re: AJAX Instant Quick Reply
Post by: pinoypetfinder on August 21, 2008, 08:50:01 AM
Quote from: SlammedDime on August 21, 2008, 03:17:18 AM
You'll need to provide me with a test account on your site to test it out then so I can see what it's doing.

here it is.
forum url : http://www.pinoypetfinder.com/forum/
username : test
password : test1

thanks in advance :)

and oh, the theme is still set to "defaultl smf theme", I just replaced the images of the default smf theme with the one i have now so that i won't have problem installing mods. :)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 21, 2008, 01:39:37 PM
Worked just fine for me.  Clear your cache and try again.
Title: Re: AJAX Instant Quick Reply
Post by: pinoypetfinder on August 21, 2008, 05:07:08 PM
just cleared my cache :) and yup! it worked. thanks a lot :)
Title: Re: AJAX Instant Quick Reply
Post by: jordanid on August 21, 2008, 08:39:00 PM
Quote from: jordanid on August 21, 2008, 03:52:47 AM
hello slammed
i installed this mod , and this is a great mod
its most used on the Vb , when installing it , i had no error
i'm running smf1.1.5 , a custom theme , but the quick reply doesnt apper ..
dunno whats wrong
sorry for bothering .. and would be glad if u could help
a link to my website  (http://www.jordan-id.com)

the account is Mod , pass :102030
Title: Re: AJAX Instant Quick Reply
Post by: Malke on August 22, 2008, 08:58:19 AM
Thanks for a good mod.

I've been trying to read all the replies but I don't think this has been asked before...

Where can I change the collors for the ""Loading..." thing that comes up? Its green collor really is a mismatch with my forum :).
Title: Re: AJAX Instant Quick Reply
Post by: pinoypetfinder on August 24, 2008, 04:34:50 PM
^my forum doesn't show that green "loading..." thingy. i don't know why, but the mod is working the way it should be :)
Title: Re: AJAX Instant Quick Reply
Post by: drinkingbuddies_ca on August 25, 2008, 01:40:16 PM
Hey Slammed... Glad your you're back and active again. I re-activated the test account on my forum if you can take a glance. I would appreciate it. Thanks again.

OP#1 - http://www.simplemachines.org/community/index.php?topic=241917.msg1635180#msg1635180
OP#2 - http://www.simplemachines.org/community/index.php?topic=241917.msg1635206#msg1635206
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 25, 2008, 02:32:05 PM
jordanid - please read other posts in this topic.  This mod does not add quick reply to SMF.  That is already a default feature.  It only changes it's functionality.  You can enable quick reply in your Look and Layout preferences in your profile.

asudhakar - Here are your files.  I could not test them because of mods you have installed, so let me know how it goes.  Don't forget to clear your cache first.  Install the mod, ignore the errors, then replace these files.

Malke - In style.css of your theme, near the bottom, div#ajax_in_progress or similar declaration.

pinoypetfinder - Probably because your theme probably doesn't have it, or your using an old theme on a new version of SMF.

drinkingbuddies_ca - Sorry, this is sort of my fault, but in Display.template.php, in the template_ajax_reply function, find

<smf>
<post>]]>&lt;<![CDATA[![CDATA[' .
$buffer .
']]]]><![CDATA[></post>
</smf>';

and replace it with
<smf>
<post><![CDATA[' .
$buffer .
']]></post>
</smf>';

Then try again.
Title: Re: AJAX Instant Quick Reply
Post by: drinkingbuddies_ca on August 25, 2008, 02:44:04 PM
Ok. Made the change. It makes the post and the page doesn't refresh. However the post doesn't show up on the page.

If that makes sense.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 26, 2008, 03:46:20 AM
In Display.template.php, you have a piece of code required by this mod commented out...

//   var view_newest_first = 0;


uncomment that line by removing the //.
Title: Re: AJAX Instant Quick Reply
Post by: drinkingbuddies_ca on August 26, 2008, 01:27:54 PM
ok. Changed. try now and see what happens... The post seems to float at the top.
Title: Re: AJAX Instant Quick Reply
Post by: Malke on August 26, 2008, 05:47:04 PM
Thanks for the help.
Title: Re: AJAX Instant Quick Reply
Post by: TechPrince on August 26, 2008, 06:04:51 PM
Can anybody modifiy this file to include Instant Reply ?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 26, 2008, 07:46:08 PM
Quote from: TechPrince on August 26, 2008, 06:04:51 PM
Can anybody modifiy this file to include Instant Reply ?
Unfortunately, it won't work with your display template.  The newest version in the works that is compatible with Beta 4 might be, but I'm still in the process of re-writing the javascript to work with tableless themes (as is in Beta 4).

drinkingbuddies - My apologies, but it appears that because of the way that your template is setup, the ajax quick reply won't work.  It's almost a similar reason to the above.  Your posts are each contained inside their own table, whereas most SMF themes (prior to 2.0 Beta 4), have one table that encompasses all of the posts, each in their own row.  That is how the AJAX for this works, by inserting into a new row in the table.  It may be possible to modify the template to work, but unfortunately it isn't something I can do at the moment.
Title: Re: AJAX Instant Quick Reply
Post by: drinkingbuddies_ca on August 26, 2008, 11:54:06 PM
Thanks for all the help. I may look into making the necessary changes within the template...
Title: Re: AJAX Instant Quick Reply
Post by: Xclusive on August 27, 2008, 12:44:12 AM
hey guys..
i just installed this MOD
and nothing appeared up..so i read something and it says i gotta go into Profile and go Look And Layout
and enable it for me..
so i checked it out and it worked..
so i was wondering if it worked for others that dont know about the Ajax reply..
so i made a new account..
but it was DEFUALT!

is there anyway i can put it as defualt for members to use it? rather then them going 2 their profile and do it?

thank you heaps!
Title: Re: AJAX Instant Quick Reply
Post by: linette97 on August 27, 2008, 01:40:01 AM
I've installed the mod.. and I do have a custom theme... so I used SMF Parser and got this error this error

QuoteERROR: The package-info.xml file is invalid!

Debugging Information
Error message: String could not be parsed as XML
Source: /home/sleepy1/public_html/PackageParser/index.php:184
Errors encountered while parsing XML file:

Stack Trace:
#0 /home/sleepy1/public_html/PackageParser/index.php(184): SimpleXMLElement->__construct('')
#1 /home/sleepy1/public_html/PackageParser/index.php(125): parsePackageInfoXML('/home/sleepy1/b...', 'install', 'all')
#2 /home/sleepy1/public_html/PackageParser/index.php(823): parseArchive('/tmp/phpgSRBLY', 'install', 'all')
#3 {main}

XML File:

So I went ahead and tried to get the codes from the install file.... and let me tell you! I TRIED! but my god it's VERY confusing....

If anyone can post what codes and where I need to put them.
I'm using SMF 1.15...

thanks! 
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 27, 2008, 02:03:04 AM
Don't use the package parser from Sleepy's or Dan's site, use the manual instructions available on every mod's download page.  Select your version of SMF from the drop down box below the download link and click the Submit button.
Title: Re: AJAX Instant Quick Reply
Post by: linette97 on August 27, 2008, 08:39:43 PM
Quote from: SlammedDime on August 27, 2008, 02:03:04 AM
Don't use the package parser from Sleepy's or Dan's site, use the manual instructions available on every mod's download page.  Select your version of SMF from the drop down box below the download link and click the Submit button.

Well, I went ahead & modified my display.template.php and this is the error I get.. It happened before as well... the other things that were told to modify I do not have under my themes... any idea? thanks!

QuoteThere was a problem loading the /Themes/fire/Display.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 28, 2008, 03:47:16 AM
As the error message says, try accessing the file directly (it should provide a link in the error message), and php will tell you the exact error and where.
Title: Re: AJAX Instant Quick Reply
Post by: linette97 on August 28, 2008, 08:12:23 PM
Quote from: SlammedDime on August 28, 2008, 03:47:16 AM
As the error message says, try accessing the file directly (it should provide a link in the error message), and php will tell you the exact error and where.

Well I tried it again just incase I did it wrong and same error
Quote
Template Parse Error!
There was a problem loading the /Themes/fire/Display.template.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.

You may want to try to refresh this page or use the default theme.
syntax error, unexpected '<'

I clicked access the file directly and I get this

QuoteParse error: syntax error, unexpected '<' in /var/www/vhosts/bxwarez.com/httpdocs/Themes/fire/Display.template.php on line 509

Now ok I understand that the error is on line 509. BUT how do I find line 509... Do I have to count??? that would be nuts lol!!

I have attached the file here if you can tell me where this error is...

Thanks again!
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 28, 2008, 09:00:41 PM
When you copied the code from the manual install instructions, everything pasted onto one line, instead of multiple lines as the code is.  You should go back through all of the manual changes and ensure that everything is formatted as it looks in the manual instructions.

As for counting lines... hell no... lol.  Any decent text editor shows line numbers, Notepad++, Textpad, for starters.
Title: Re: AJAX Instant Quick Reply
Post by: ahse on August 29, 2008, 03:22:01 PM
/?/

:)
Title: Re: AJAX Instant Quick Reply
Post by: linette97 on August 29, 2008, 07:48:12 PM
Yea I figured that much when I pasted it, it went in one line.... I shall try what you said thanks a lot!
Title: Re: AJAX Instant Quick Reply
Post by: ahse on September 01, 2008, 04:23:38 AM
Display.template.php (45.54 KB - Yükleme: 1 kez.)

Ooo geliyor geliyor... (:

Title: Re: AJAX Instant Quick Reply
Post by: Eliana Tamerin on September 01, 2008, 11:01:05 PM
Your connection might be too fast to see a noticeable difference. But for those on slower connections, it means the difference between a pageload and not.

It may also (depending how Slammed coded it) be a decrease of queries for your pageloads, which is less load on your server.
Title: Re: AJAX Instant Quick Reply
Post by: Eliana Tamerin on September 01, 2008, 11:35:30 PM
There's a few other mods that use ajax as well, that might be easier to see how they work.

Nneonneo's shoutbox
AJAX Recent Topics
AJAX Personal Text

Are some of them.
Title: Re: AJAX Instant Quick Reply
Post by: Adish - (F.L.A.M.E.R) on September 03, 2008, 07:52:53 AM
I cannot Find:-
if ((isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])

In my display.php What shall I do ?

Please let me know..
Title: Re: AJAX Instant Quick Reply
Post by: Eliana Tamerin on September 03, 2008, 01:34:03 PM
Do you have pretty URLs installed? If not, then you shouldn't be looking for that line.
Title: Re: AJAX Instant Quick Reply
Post by: Adish - (F.L.A.M.E.R) on September 03, 2008, 05:06:41 PM
I had it installed, but had some problems, so i removed the mod and it didnt show me any errors.. then i deleted off as i didnt want it anymore... but i think the edit didnt happen while uninstalling...
Title: Re: AJAX Instant Quick Reply
Post by: jepot5 on September 06, 2008, 09:04:37 AM
Instead of the AJAX feature, what I am getting is the page reloading and showing the topic scrolling to my reply. What am I missing here?
Title: Re: AJAX Instant Quick Reply
Post by: MaXiMiUS on September 11, 2008, 03:00:26 AM
Quote from: jepot5 on September 06, 2008, 09:04:37 AM
Instead of the AJAX feature, what I am getting is the page reloading and showing the topic scrolling to my reply. What am I missing here?

I'm having the same problem. I recently upgraded from SMF 2.0b3.1 to 2.0b4.

I can't find the line " if ((isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters']) " anywhere in Display.php.. and I *do* have pretty urls enabled.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 11, 2008, 03:39:46 AM
This mod WILL NOT work with Beta 4.  I don't plan on updating it to work 2.0 until the RC stages.  There are many template changes still to come, and it would be quite cumbersome to re-program the javascript for each release.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 11, 2008, 03:40:43 AM
Quote from: jepot5 on September 06, 2008, 09:04:37 AM
Instead of the AJAX feature, what I am getting is the page reloading and showing the topic scrolling to my reply. What am I missing here?
Have you cleared your browser cache so the smf javascript files could reload fresh into the browser?  If so, and you're still having this problem, I can't do much without a link to your site with a test account.
Title: Re: AJAX Instant Quick Reply
Post by: MaXiMiUS on September 11, 2008, 01:37:52 PM
Quote from: SlammedDime on September 11, 2008, 03:39:46 AM
This mod WILL NOT work with Beta 4.  I don't plan on updating it to work 2.0 until the RC stages.  There are many template changes still to come, and it would be quite cumbersome to re-program the javascript for each release.

Is there any way to get it to output what errors it's encountering so I can know what to change?

I'm trying to solve this myself. Quite determined to get all of the mods I use from beta 3.1 to work with beta 4.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 11, 2008, 02:03:20 PM
It wont work with Beta 4 because of it's tableless layout for posts.  I haven't had time to research inserting posts in a dynamic way, but like I said, there are still changes forthcoming in the templates.
Title: Re: AJAX Instant Quick Reply
Post by: Evo™ on September 12, 2008, 08:20:24 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?
Title: Re: AJAX Instant Quick Reply
Post by: jepot5 on September 12, 2008, 07:19:09 PM
I sent you some pm's. Please ignore them.

What i need help is when I use quick reply, what happens is that the page refreshes slowly like my cache is cleared. How can I turn off the option of cache being cleared?
Title: Re: AJAX Instant Quick Reply
Post by: Nibogo on September 12, 2008, 08:26:27 PM
Hi

I am using this mod:

http://custom.simplemachines.org/mods/index.php?mod=883

How i can this and that mod in my Display.template???

Thanks
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 13, 2008, 02:46:16 PM
It will not work with the ecardmax editor.  Perhaps you can ask them how to integrate it.

jepot - I got your PM's, but you only gave me a username, no password.  I need both to login.
NIBOGO - You'll have to follow the manual install instructions, since the whitespace differs, but the instructions are the same.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 14, 2008, 04:10:04 AM
Quote from: jepot5 on September 12, 2008, 07:19:09 PM
I sent you some pm's. Please ignore them.

What i need help is when I use quick reply, what happens is that the page refreshes slowly like my cache is cleared. How can I turn off the option of cache being cleared?
Please follow these instructions:
Open Display.template.php
<smf>
<post>]]>&lt;<![CDATA[![CDATA[' .
$buffer .
']]]]><![CDATA[></post>
</smf>';

and replace it with
<smf>
<post><![CDATA[' .
$buffer .
']]></post>
</smf>';

Then try again.
Title: Re: AJAX Instant Quick Reply
Post by: jepot5 on September 15, 2008, 12:23:25 AM
Thanks SlammedDime,
it's all good now.
Title: Re: AJAX Instant Quick Reply
Post by: matasanos on September 17, 2008, 11:01:30 AM
this works with 1.1.6?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 17, 2008, 01:49:43 PM
It should.  I haven't tested it yet however.
Title: Re: AJAX Instant Quick Reply
Post by: johndiaz on September 17, 2008, 06:00:21 PM
Hello,

I just tried to install this mod on the default template, I'm using SMF 1.1.6

This is what I am getting when I install it..

Installations actions for "AJAX Instant Quick Reply":
Installing this package will perform the following actions:
   Type    Action    Description
1.    Execute Modification    ./Sources/Errors.php    Test successful
2.    Execute Modification    ./Sources/Display.php    Test successful
3.    Execute Modification    ./Sources/Post.php    Test successful
4.    Execute Modification    ./Themes/default/Display.template.php    Test failed
5.    Execute Modification    ./Themes/default/xml_topic.js    Test successful
6.    Execute Modification    ./Themes/default/Xml.template.php    Test successful
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 17, 2008, 06:30:13 PM
What mods do you have installed?
Title: Re: AJAX Instant Quick Reply
Post by: matasanos on September 18, 2008, 09:33:56 AM
one question...when the package manager shows a test failed...

if i click on continue, what happen to that "error" file? no modifications there?
Title: Re: AJAX Instant Quick Reply
Post by: fiorebat on September 18, 2008, 11:12:40 AM
It seems don't work with Google Chrome,

the "loading" box will appair, but i need to "f5" for show the reply
Title: Re: AJAX Instant Quick Reply
Post by: matasanos on September 18, 2008, 12:38:29 PM
Quote from: fiorebat on September 18, 2008, 11:12:40 AM
It seems don't work with Google Chrome,

the "loading" box will appair, but i need to "f5" for show the reply

it works for me!!! with google crhome
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 18, 2008, 02:56:21 PM
Quote from: matasanos on September 18, 2008, 09:33:56 AM
one question...when the package manager shows a test failed...

if i click on continue, what happen to that "error" file? no modifications there?
No, it will install everything to that file that it can without error.  If there are 5 modifications to the file, and one fails, the package manager will show the file as failing, but it will still install the 4 that didn't fail.
Title: Re: AJAX Instant Quick Reply
Post by: Evo™ on September 18, 2008, 05:36:07 PM
QuoteIt 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?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 19, 2008, 04:34:42 AM
Quote from: SlammedDime on September 13, 2008, 02:46:16 PM
It will not work with the ecardmax editor.  Perhaps you can ask them how to integrate it.
I can post my own quotes too!  Perhaps you should read them so I don't have to repost them.
Title: Re: AJAX Instant Quick Reply
Post by: matasanos on September 19, 2008, 01:32:31 PM
upss..i have a little problem..

all works fine, except one thing

i have hide bbc mod installed...
and when a post has [hide] if someone response...ajax works..but nothing unhidden...content still hidden

any solutions?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 19, 2008, 02:21:53 PM
And what happens after you refresh the page?  I have no idea how the hide BBCode works, perhaps you can explain how it is supposed to work for you.
Title: Re: AJAX Instant Quick Reply
Post by: matasanos on September 19, 2008, 02:31:18 PM
if you refresh the page all is ok..content is now unhidden

you can see it here for example
http://www.lords-beer.net/foro/index.php?topic=10723

user: test
pass: test
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 19, 2008, 02:35:02 PM
There's nothing that can be done about that, it's just the nature of how AJAX reply works vs how the 'hide tag' mod works.
Title: Re: AJAX Instant Quick Reply
Post by: matasanos on September 20, 2008, 08:35:30 AM
uhm..so no solution.... :(
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 20, 2008, 11:38:39 AM
No, sorry.
Title: Re: AJAX Instant Quick Reply
Post by: wowyahoo on September 21, 2008, 03:54:35 PM
I love this modification! It ROCKS!!!!
Title: Re: AJAX Instant Quick Reply
Post by: alex30 on September 25, 2008, 12:23:53 PM
Hi guys, What could cause this?

(http://i36.tinypic.com/nxqgpk.jpg)

Using 1.1.6
Title: Re: AJAX Instant Quick Reply
Post by: matasanos on September 25, 2008, 04:28:17 PM
Quote from: alex30 on September 25, 2008, 12:23:53 PM
Hi guys, What could cause this?

(http://i36.tinypic.com/nxqgpk.jpg)

Using 1.1.6

multiple mods modify this file
Title: Re: AJAX Instant Quick Reply
Post by: alex30 on September 25, 2008, 05:24:29 PM
Can you give more details, I didn't get that? Thanks you.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 25, 2008, 07:33:46 PM
It isn't possible to say without having the file.  Chances are that you have other mods (as matasanos stated) that modify similar parts, like view single post mod (which must be uninstalled prior to installing this), a different quick reply box, ad management mod, or others, that are affecting it.  While I haven't tested the mod on 1.1.6 yet, it should work on a default 1.1.6 install without issue.
Title: Re: AJAX Instant Quick Reply
Post by: Nequil on September 27, 2008, 01:27:30 PM
this mod works on the other themes?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 27, 2008, 01:31:14 PM
It is possible to work on any theme... some may require lots of work, others may require little work.  If the theme is based on smf's Core theme, pre-Beta 4, then it is pretty easy to install it.  If it is based on beta 4's core, or is a semantic theme, I haven't finished a version for that yet.  The javascript and setup is quite different.
Title: Re: AJAX Instant Quick Reply
Post by: Nequil on September 27, 2008, 01:42:13 PM
I installed this mod, and what I do to next?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 27, 2008, 02:35:34 PM
That's a pretty vague question.. perhaps you can clarify a bit?
Title: Re: AJAX Instant Quick Reply
Post by: Nequil on September 27, 2008, 02:40:17 PM
I have installed mod, but i don't know what can I do to that appeared "reply windows" in topic under the lastest post.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 27, 2008, 06:05:48 PM
You have to turn on Quick reply in your Look and Layout Preferences in your profile.  Again, this does not add quick reply to SMF.  That is a default feature.  It only changes it's functionality.
Title: Re: AJAX Instant Quick Reply
Post by: Nibogo on September 27, 2008, 10:51:16 PM
I have installed this mod , I have a lot of errors but i fix everything but when I create a new post this new post appear in the first post of the topic :s

What i can do?
Title: Re: AJAX Instant Quick Reply
Post by: aayushagrawal90 on September 30, 2008, 10:52:20 AM
i am new to smf.
i have installed ajax quick reply but how to enable it.
Title: Re: AJAX Instant Quick Reply
Post by: matasanos on September 30, 2008, 11:02:28 AM
Quote from: aayushagrawal90 on September 30, 2008, 10:52:20 AM
i am new to smf.
i have installed ajax quick reply but how to enable it.


Quote from: SlammedDime on September 27, 2008, 06:05:48 PM
You have to turn on Quick reply in your Look and Layout Preferences in your profile.  Again, this does not add quick reply to SMF.  That is a default feature.  It only changes it's functionality.
Title: Re: AJAX Instant Quick Reply
Post by: codnerd on September 30, 2008, 11:38:15 AM
When I tried to edit my Display.template.php, I got a few errors after multiple trys.
Can you try to do it for me?
Display.template.php is attached.
Title: Re: AJAX Instant Quick Reply
Post by: Adish - (F.L.A.M.E.R) on October 02, 2008, 12:33:13 PM
ok, there is something weird happening.

I have installed this mod, as i post a reply, the reply gets posted but is not shown and also the reply still stays over in the quick reply box. Any idea how to solve it ?

link to site:- http://goldysun.com
Title: Re: AJAX Instant Quick Reply
Post by: davomex on October 07, 2008, 12:43:04 PM
my test installation have problem with the theme/default/display.php what do i do?
Title: Re: AJAX Instant Quick Reply
Post by: Nibogo on October 09, 2008, 10:41:13 PM
Bump:

Quote from: NIBOGO on September 27, 2008, 10:51:16 PM
I have installed this mod , I have a lot of errors but i fix everything but when I create a new post this new post appear in the first post of the topic :s

What i can do?

Thanks a lot
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on October 10, 2008, 11:36:40 AM
davomex - what you have to do with any mod that fails on a file, manually edit it.
Package Manager (http://docs.simplemachines.org/index.php?board=49.0;sort=subject)

NIBOGO - I can't do much for you without a link to your site and a test account.
Title: Re: AJAX Instant Quick Reply
Post by: Adish - (F.L.A.M.E.R) on October 11, 2008, 09:38:07 PM
Quote from: F.L.A.M.E.R on October 02, 2008, 12:33:13 PM
ok, there is something weird happening.

I have installed this mod, as i post a reply, the reply gets posted but is not shown and also the reply still stays over in the quick reply box. Any idea how to solve it ?

link to site:- http://goldysun.com
Site was down for sometime, i have moved host, you should now be able to see it. Kindly help me fix it on the explaination at the moment, You may see it visually as it is up. I am trying to fix it over my pc at the moment.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on October 12, 2008, 11:22:27 AM
Every time I try to visit your site, IE and Firefox lock up on me.

Plus, I'll need a test account to play with.
Title: Re: AJAX Instant Quick Reply
Post by: Adish - (F.L.A.M.E.R) on October 12, 2008, 03:59:12 PM
PM sent to you with details.
Title: Re: AJAX Instant Quick Reply
Post by: BarfBag on October 12, 2008, 04:29:02 PM
I'm having trouble with this mod.  This is the error I get:

QuoteTable 'che0801302144290.ajax_chat_online' doesn't exist
File: /home/content/r/b/r/rbrown1990/html/Sources/BoardIndex.php
Line: 359

I'm running SMF 1.1.6.  How do I fix this?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on October 12, 2008, 06:49:22 PM
That error is not related to this mod.  It is related to whatever AJAX chat mod you have installed.
Title: Re: AJAX Instant Quick Reply
Post by: baijianpeng on October 12, 2008, 08:22:46 PM
I tested this Mod with SMF v1.1.6 on 3 different browsers:  IE8 and FireFox 3 and Maxthon (http://www.maxthon.com/).

For those who don't know Maxthon, I give a brief introduction: Maxthon is a multi-tab browser using IE as the core engine, it has many enhanced features to ease your surfing experience.

This Mod worked very well on both IE8 and FireFox 3, but when testing on Maxthon, it faild. When I enter some text into the textarea for Quick Reply and clicked "Submit" button, the page redirected me to the full-feature Reply page and shew me an error message in red color as:

QuoteYour session timed out while posting. Please try to re-submit your message.

I tried to log out and log in again, but this error happened again. I tried many times on Maxthon browser, all failed.

Can anyone help me to find out what is wrong?  It is a problem of the Mod, or just something wrong in Maxthon browser?

Thanks.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on October 12, 2008, 11:09:52 PM
I would guess it's a problem with the browser... I've tested in IE6, IE7, IE8, FF, and the extension for FF that allows you to render pages with the IE engine, and I've had no issues.
Title: Re: AJAX Instant Quick Reply
Post by: baijianpeng on October 13, 2008, 05:04:07 AM
Could anyone or the author of this Mod make it compatible with Maxthon browser? It is a very popular browser with multi-language interface, maybe millions of people are using it everyday around the world.

Please try Maxthon browser one time, I am sure you will love it.

Thanks.
Title: Re: AJAX Instant Quick Reply
Post by: Adish - (F.L.A.M.E.R) on October 13, 2008, 06:22:35 AM
@SlammedDime
Any updates over my problem ?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on October 13, 2008, 06:28:35 AM
I haven't forgotten about you, I'll take a look when I get home from work today.

baijianpeng - I'll take a look into it, but I can't promise anything.  I don't see why it wouldn't work out of the box, but I'll see what I can do.
Title: Re: AJAX Instant Quick Reply
Post by: kilene on October 14, 2008, 04:01:53 AM
i have 1.1.6. I just installled your mod. But I cannot find any configuration to enable any Quick Reply.
Are there any problem? Or do i need to modify any of my board?

here is the link to my board
http://www.abactoday.com/webboard/index.php

Thanks
Title: Re: AJAX Instant Quick Reply
Post by: baijianpeng on October 15, 2008, 04:35:12 AM
New issue: I don't know if this problem only happens on my forum. When I press the Submit button of Quick Reply field, sometimes it has no response. So I just clicked that button for two more times, then I noticed that it start to send the message. But the result is, I got several identical duplicate messages posted.

My suggestion: could you please let the Submit button can only be pressed once? I mean, let it dim down and trun flat after the first click, then we can't click it again to avoid duplicate posts.

Thanks.
Title: Re: AJAX Instant Quick Reply
Post by: Adish - (F.L.A.M.E.R) on October 15, 2008, 05:05:01 AM
any updates about my problem ? it has been like 2 days after the information was given up. I am sorry if i am bugging a bit into your personal life, but i seriously need to get thte things sorted out :)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on October 15, 2008, 07:38:43 PM
FLAMER - You didn't completely install the mod on Display.template.php.

You missed this step:
Code (Find) Select
quickReplyCollapsed = ', !empty($options['display_quick_reply']) && $options['display_quick_reply'] == 2 ? 'false' : 'true', ';

Code (Add After) Select
var view_newest_first = ', (!empty($options['view_newest_first']) ? $options['view_newest_first'] : '0'), '
Title: Re: AJAX Instant Quick Reply
Post by: Adish - (F.L.A.M.E.R) on October 17, 2008, 08:58:32 AM
sadly enough, hosting problems kept me away from testing it. Hopefully i will be giving you the answer if it works out or not as i get things right again. ;)
Title: Re: AJAX Instant Quick Reply
Post by: csulok on October 18, 2008, 02:31:08 PM
Hi

I was wondering if it's possible to automatically enable showing the quickreply box unless the user specifically chooses "don't show at all"? It seems to me that option is the default when registering :/

Thanks
Title: Re: AJAX Instant Quick Reply
Post by: baijianpeng on October 20, 2008, 05:26:07 AM
At last I figured out why there were so many problems when I installed AJAX Instant Quick Reply v1.1 on my SMF 1.1.6.

My SMF 1.1.6 was integrated with Joomla! 1.0.15 by the Joomlahacks bridge: JSMF.

The forum address is : http://www.joomlagate.com/component/option,com_smf/Itemid,31/ (http://www.joomlagate.com/component/option,com_smf/Itemid,31/)

After the AJAX Instant Quick Reply Mod installed, it can't work on Maxthon browser (http://www.maxthon.com), but can work on IE8 and FireFox3.

However, the most annoying thing is, if someone replied with this AJAX Instant Quick Reply feature, then the URL of his new post in the notification E-mail will show as unwrapped SMF URL, not the integrated URL.

For example, I will got notification email containing following style URL:

Quote
http://www.joomlagate.com/smf/index.php?topic=3102.new;topicseen#new

But my forum used to send out URLs like this:

Quote
http://www.joomlagate.com/component/option,com_smf/Itemid,31/topic,2042.new/topicseen,1/#new

So I think this Mod is not compatible with JSMF bridge. I decided to uninstall it.

Yestoday I uninstalled this Mod, and the URLs in notification emails turned to correct ones.

But today, I noticed that when I try to use the original Quick Reply of SMF, it just log me out when I clicked the Submit button. At the same time, the status bar of the browser window indicated that there were several script errors on that page.

I remember that I can use the original Quick Reply before tried this Mod. And I had uninstalled this Mod without any error message.  Is it not been uninstalled completely? What can I do to fix this problem now?

BTW: Is it possible to let AJAX Instant Quick Reply Mod support bridged SMF , I mean send out wrapped URLs in notification emails ? This Mod looks very cool.

Thanks.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on October 20, 2008, 06:06:03 AM
I don't think it would work using that bridge because of the code modifications that it makes to SMF.  It would probably work with the Mambo bridge that we distribute here.

As for your current problems, all I can suggest is looking at the install instructions and tracing your files to make sure you completely removed it.
Title: Re: AJAX Instant Quick Reply
Post by: baijianpeng on October 20, 2008, 10:09:40 PM
Thanks to  SlammedDime  , if this Mod will not support JSMF bridge, I have to abort it since I can't change or uninstall my current bridge.



Title: Re: AJAX Instant Quick Reply
Post by: Rap4Life on October 22, 2008, 09:40:34 AM
hi
i'm with smf 1.1.6 and extreme6 theme, and i can't make the mod works!

can you please edit the file for me?

thanks!
Title: Re: AJAX Instant Quick Reply
Post by: Rap4Life on October 23, 2008, 10:16:52 AM
Quote from: Rap4Life on October 22, 2008, 09:40:34 AM
hi
i'm with smf 1.1.6 and extreme6 theme, and i can't make the mod works!

can you please edit the file for me?

thanks!

...?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on October 23, 2008, 11:40:12 AM
Try this Rap4Life...

Install the mod first (if not already installed), then upload this file and overwrite your current template.
Title: Re: AJAX Instant Quick Reply
Post by: Elijah Bliss on October 28, 2008, 09:45:44 PM
Greetings SlammedDime,

On my test forum I am using webtechnica's AA New Damage v2 theme.
I put in hours of work trying to figure out how to apply the ajax quick reply to the theme.

I think I'm almost there, but one major problem, after posting, instead of the post showing up at the bottom of the thread, it shows up at the top of the page.

Any help will be appreciated.
Thanks


Here's the link to my test forum
http://wlcphoto.com/51/forum

user: 007
pass: test

Ajax Quick Reply Test Topic:
http://wlcphoto.com/51/forum/index.php?topic=43.0

On the 3rd page I posted the link to my display template.

Title: Re: AJAX Instant Quick Reply
Post by: tyhgdgh on October 28, 2008, 09:57:33 PM
http://www.mediafire.com/?sharekey=014153436a0de413ab1eab3e9fa335cabb07bbb539f0ce57

can you do the Display.template.PHP, ive tried, but it says Template parsing error
Title: Re: AJAX Instant Quick Reply
Post by: TechPrince on October 29, 2008, 06:37:25 AM
Some probs in my site. AJAX not working now, it just refreshes the site.

Here is my Display.template file.
Title: Re: AJAX Instant Quick Reply
Post by: Elijah Bliss on October 29, 2008, 06:40:53 PM
I've attached my Display Template to this post:
Title: Re: AJAX Instant Quick Reply
Post by: tyhgdgh on October 29, 2008, 07:00:13 PM
heres mine, without Mediafire
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on October 29, 2008, 07:08:27 PM
I'll take care of these tomorrow guys, I don't have my laptop with me that has my test stuff on it right now
Title: Re: AJAX Instant Quick Reply
Post by: tyhgdgh on October 29, 2008, 10:46:58 PM
now i know why it isnt working, when you select "Post" it doesnt post, but you need to refresh

EDIT: use this Display, the others didnt have the Quick reply
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on October 30, 2008, 04:10:26 PM
Nfanthr33 - Try the attached.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on October 30, 2008, 04:14:14 PM
TechPrince - Try this
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on October 30, 2008, 04:17:22 PM
Quote from: Elijah Bliss on October 29, 2008, 06:40:53 PM
I've attached my Display Template to this post:
I don't see anything wrong, other than the spacing being off, and there is some extra <div> text after ?> that needs to be removed from the file.  I'm not sure what FTP client you're using to upload and download files, but I'd find a new one if that one put that text in there.
Title: Re: AJAX Instant Quick Reply
Post by: Elijah Bliss on October 30, 2008, 05:19:38 PM
Quote from: SlammedDime on October 30, 2008, 04:17:22 PM
Quote from: Elijah Bliss on October 29, 2008, 06:40:53 PM
I've attached my Display Template to this post:
I don't see anything wrong, other than the spacing being off, and there is some extra <div> text after ?> that needs to be removed from the file.  I'm not sure what FTP client you're using to upload and download files, but I'd find a new one if that one put that text in there.

So why does the posted reply show up at the top of the thread instead of showing up at the bottom where it belongs?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on October 30, 2008, 05:55:06 PM
Can you give me a test account to use and see it and test?  It should only be doing that if that's how you have your SMF preferences set.
Title: Re: AJAX Instant Quick Reply
Post by: Elijah Bliss on October 30, 2008, 06:02:59 PM
Quote from: SlammedDime on October 30, 2008, 05:55:06 PM
Can you give me a test account to use and see it and test?  It should only be doing that if that's how you have your SMF preferences set.

link: http://wlcphoto.com/51/forum
user: 007
pass: test
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on October 30, 2008, 06:22:18 PM
Ok, after looking closer at your template and actually seeing it in action on your site, this isn't going to work on your template.  Your template uses one large table to hold all of the posts, which are then contained in Div's... so if you have 5 posts on a page, you'll have a table with one cell that has 5 div's inside it.

The way it needs to work for this version of the mod is the way that SMF's default theme works... if there is 5 posts on a page, then there will be one table with 5 cells in it.  The mod then adds another cell to the table that contains the post.

The next version that I release for SMF 2.0 will allow for semantic themes, but I won't be backporting it to 1.1.x, since 1.1.x does not have a semantic theme.
Title: Re: AJAX Instant Quick Reply
Post by: tyhgdgh on October 30, 2008, 07:28:58 PM
8: Undefined index: view_newest_first
File: /var/www/html/forum/Themes/default/Display.template.php (eval?)
Line: 788


this still happens.....
Title: Re: AJAX Instant Quick Reply
Post by: Elijah Bliss on October 30, 2008, 07:33:01 PM
Quote from: SlammedDime on October 30, 2008, 06:22:18 PM
Ok, after looking closer at your template and actually seeing it in action on your site, this isn't going to work on your template.  Your template uses one large table to hold all of the posts, which are then contained in Div's... so if you have 5 posts on a page, you'll have a table with one cell that has 5 div's inside it.

The way it needs to work for this version of the mod is the way that SMF's default theme works... if there is 5 posts on a page, then there will be one table with 5 cells in it.  The mod then adds another cell to the table that contains the post.

The next version that I release for SMF 2.0 will allow for semantic themes, but I won't be backporting it to 1.1.x, since 1.1.x does not have a semantic theme.

I understand.
Thanks big time for the help.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on October 30, 2008, 07:52:07 PM
Quote from: Nfanthr33 on October 30, 2008, 07:28:58 PM
8: Undefined index: view_newest_first
File: /var/www/html/forum/Themes/default/Display.template.php (eval?)
Line: 788


this still happens.....

Code (find) Select
var view_newest_first = ', $options['view_newest_first'], '

Code (replace) Select
var view_newest_first = ', !empty($options['view_newest_first']) ? $options['view_newest_first'] : '0', ';
Title: Re: AJAX Instant Quick Reply
Post by: xakiru on October 31, 2008, 12:27:18 PM
I installed the mod , and fixed the thing of "xml_topic.js" montioned in your first post .... after that  got nothing special , no quick replay...  :'(
i'm using french language ,pretty urls, and babylon theme  ....
my display.template of babylon is attached here ...
Thanks by advence ...

Here is my forum link : www.evanels.eu/forum/
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on October 31, 2008, 12:51:24 PM
Did you enable quick reply?  Did you make an attempt to edit Display.template.php?
Title: Re: AJAX Instant Quick Reply
Post by: jossanaijr on October 31, 2008, 05:45:04 PM
Quote from: jossanaijr on June 07, 2008, 04:04:21 PM
Hi SlammedDime,
any news about the use of Ad Management Mod?
Quote from: SlammedDime on June 07, 2008, 04:18:24 PM
jossanaijr - post Display.template.php from your board.  xml_topic.js too.
Quote from: jossanaijr on June 07, 2008, 04:26:29 PM
Quote from: SlammedDime on June 07, 2008, 04:18:24 PM
jossanaijr - post Display.template.php from your board.  xml_topic.js too.
OK but I only can do it tomorrow. No FTP right now. Thanks.
Quote from: jossanaijr on June 08, 2008, 08:39:32 AM
Quote from: SlammedDime on June 07, 2008, 04:18:24 PM
jossanaijr - post Display.template.php from your board.  xml_topic.js too.
Quote from: jossanaijr on June 08, 2008, 05:15:45 PM
Quote from: SlammedDime on June 08, 2008, 02:22:28 PM
jossanaijr - Here you go.  Give these two a shot.  That should do it for you.
Yes. Fixed!  Thank you very much! Great!

Hi SlammedDime,
I'm having an error and not sure if it is because of this mod.
When posting a reply, the reply is shown before the last post (like 1,2 -> 1,3,2).  When I reload  the page it changes to the correct sequence (1,2,3).
I did not uninstall it yet because I'll have to do it manually.  What do you think?
Title: Re: AJAX Instant Quick Reply
Post by: xakiru on October 31, 2008, 08:26:58 PM
Quote from: SlammedDime on October 31, 2008, 12:51:24 PM
Did you enable quick reply?  Did you make an attempt to edit Display.template.php?
Thank you for replying fast ...well , for enabling quick replys i have no idea where can i find this obtion , i searched for it in all administrator's tools but in vain .... i dunno how can i activate it.
about editing the Display.template.php, no i did not...
Sorry for my bad English
Title: Re: AJAX Instant Quick Reply
Post by: jossanaijr on October 31, 2008, 08:35:37 PM
Quote from: xakiru on October 31, 2008, 08:26:58 PM
Quote from: SlammedDime on October 31, 2008, 12:51:24 PM
Did you enable quick reply?  Did you make an attempt to edit Display.template.php?
Thank you for replying fast ...well , for enabling quick replys i have no idea where can i find this obtion , i searched for it in all administrator's tools but in vain .... i dunno how can i activate it.
about editing the Display.template.php, no i did not...
Sorry for my bad English

Admin/Current Theme/Reset Options/Reset all members' current options for this theme/Use quick reply on topic display
Title: Re: AJAX Instant Quick Reply
Post by: tyhgdgh on November 01, 2008, 02:28:29 AM
ho do i add BBC, the color BBC i installed was some how added to the Quick reply
Title: Re: AJAX Instant Quick Reply Is working great !!
Post by: xakiru on November 01, 2008, 07:43:18 AM
Thank you so much , it's working great ... i didn't know where to edit these things ... very helpfull
And thank you again for this awsome mod !!!
Title: Re: AJAX Instant Quick Reply
Post by: Özgür on November 03, 2008, 07:11:39 AM
any 2.0 beta 4 update?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 03, 2008, 11:03:15 AM
No, there won't be any more updates until 2.0 RC 1 is released, or maybe even RC 2 depending on the states of the templates.  I know they are in the process of still converting to a semantic flow, so it will hinge on that.
Title: Re: AJAX Instant Quick Reply
Post by: adamcanada on November 04, 2008, 12:55:11 AM
I went ahead and installed this using the package manager but am not seeing any changes to my theme. I was looking for what I may need to edit in my templates but do not see anything provided. Any ideas?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 04, 2008, 05:03:21 AM
If your theme has it's own Display.template.php, you'll need to make the edits to that file that are prescribed in the manual install instructions that you can view by selecting your version of SMF from the dropdown menu on the mod's download page, then clicking submit below that.
Title: Re: AJAX Instant Quick Reply
Post by: jossanaijr on November 05, 2008, 02:37:55 PM
bumping...
Quote from: jossanaijr on October 31, 2008, 05:45:04 PM
Quote from: jossanaijr on June 07, 2008, 04:04:21 PM
Hi SlammedDime,
any news about the use of Ad Management Mod?
Quote from: SlammedDime on June 07, 2008, 04:18:24 PM
jossanaijr - post Display.template.php from your board.  xml_topic.js too.
Quote from: jossanaijr on June 07, 2008, 04:26:29 PM
Quote from: SlammedDime on June 07, 2008, 04:18:24 PM
jossanaijr - post Display.template.php from your board.  xml_topic.js too.
OK but I only can do it tomorrow. No FTP right now. Thanks.
Quote from: jossanaijr on June 08, 2008, 08:39:32 AM
Quote from: SlammedDime on June 07, 2008, 04:18:24 PM
jossanaijr - post Display.template.php from your board.  xml_topic.js too.
Quote from: jossanaijr on June 08, 2008, 05:15:45 PM
Quote from: SlammedDime on June 08, 2008, 02:22:28 PM
jossanaijr - Here you go.  Give these two a shot.  That should do it for you.
Yes. Fixed!  Thank you very much! Great!

Hi SlammedDime,
I'm having an error and not sure if it is because of this mod.
When posting a reply, the reply is shown before the last post (like 1,2 -> 1,3,2).  When I reload  the page it changes to the correct sequence (1,2,3).
I did not uninstall it yet because I'll have to do it manually.  What do you think?

Title: Re: AJAX Instant Quick Reply
Post by: chris71823 on November 05, 2008, 03:29:20 PM
You should make this functional for 1.1.6
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 05, 2008, 05:38:18 PM
It should work for 1.1.6 without.

jossan - can you post your xml_topic.js file please.
Title: Re: AJAX Instant Quick Reply
Post by: jossanaijr on November 05, 2008, 06:11:58 PM
Attached.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 05, 2008, 07:07:28 PM
Open up that file locally, and find this block of code

// Otherwise, the post was successful so lets add it in.
else if (post) {
myRow = myTable.insertRow(myTable.rows.length-2);
myCell = myRow.insertCell(-1);


change myTable.rows.length-2 to myTable.rows.length-1
And see if that fixes it.

I recall having to modify that as such because you had ad management installed.  Have you made changes to ad management??
Title: Re: AJAX Instant Quick Reply
Post by: jossanaijr on November 05, 2008, 07:14:56 PM
Quote from: SlammedDime on November 05, 2008, 07:07:28 PM
Open up that file locally, and find this block of code

// Otherwise, the post was successful so lets add it in.
else if (post) {
myRow = myTable.insertRow(myTable.rows.length-2);
myCell = myRow.insertCell(-1);


change myTable.rows.length-2 to myTable.rows.length-1
And see if that fixes it.
It did not fix it.
Quote
I recall having to modify that as such because you had ad management installed.  Have you made changes to ad management??
No changes.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 05, 2008, 07:20:55 PM
Did you clear your cache?  Javascript files are normally cached by the browsers.
Title: Re: AJAX Instant Quick Reply
Post by: jossanaijr on November 05, 2008, 07:24:18 PM
Clear now but no changes...
Title: Re: AJAX Instant Quick Reply
Post by: jossanaijr on November 07, 2008, 11:12:16 AM
Any other idea?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 07, 2008, 03:25:36 PM
Can you give me a link and test account again?
Title: Re: AJAX Instant Quick Reply
Post by: setthedark on November 08, 2008, 06:15:04 PM
I got a problem, i installed it on 1.1.7 , well it show that its installed and it gives a green light.
But i cant see a link to configuring this mod!
Any advice?
Title: Re: AJAX Instant Quick Reply
Post by: jossanaijr on November 08, 2008, 06:34:49 PM
Quote from: SlammedDime on November 07, 2008, 03:25:36 PM
Can you give me a link and test account again?
SOLVED. Thank you.
Title: Re: AJAX Instant Quick Reply
Post by: xkiller213 on November 10, 2008, 05:11:07 AM
hmmm... i dunno how to install it onto my Musiconica theme... anyone help??

i can't find <table cellpadding="0" cellspacing="0" border="0" width="100%" class="bordercolor">'; to replace

also cannot find this: ? $txt[146] . ' #' . $message['counter'] : '', ' ', $txt[30], ':</b> ', $message['time'], ' »</div></td>

[didn't check out the rest as i was really quite puzzled coz i can't find the 2 of them :)]
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 10, 2008, 10:41:24 AM
Sorry xkiller, this mod won't work on your theme.
Title: Re: AJAX Instant Quick Reply
Post by: setthedark on November 11, 2008, 05:13:27 PM
Quote from: setthedark on November 08, 2008, 06:15:04 PM
I got a problem, i installed it on 1.1.7 , well it show that its installed and it gives a green light.
But i cant see a link to configuring this mod!
Any advice?
Any help?
Title: Re: AJAX Instant Quick Reply
Post by: pinoypetfinder on November 11, 2008, 05:28:48 PM
i'm using this ajax instant quick reply, unfortunately, i upgraded my forum to 1.1.7 - it is still showing and can be used, but it's not loading instantly anymore. so the more you click on the "post" the more it posted your reply without even loading :/ i guess the mod is not compatible with 1.1.7 yet?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 12, 2008, 05:35:45 PM
setthedark - there is no configuration, this adds nothing to your forum, it only changes existing functionality.

pinoypetfinder - it should work fine on 1.1.7 as far as I know... the updates didn't touch any thing related to this mod.  I'll do some testing tomorrow to look further into it.
Title: Re: AJAX Instant Quick Reply
Post by: setthedark on November 12, 2008, 07:56:56 PM
Then it doesnt work with 1.1.7 version.Nothing happaned , i cant see quick replay its like it doesnt exist.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 13, 2008, 10:12:28 AM
This does not add quick reply to your board.  Quick reply is a default feature of SMF, to which the options are found in the Look and Layout preferences of your profile.
Title: Re: AJAX Instant Quick Reply
Post by: setthedark on November 13, 2008, 10:45:08 PM
Oh i got it, work now , but isnt there option to make it default for all members to have it on?
Title: Re: AJAX Instant Quick Reply
Post by: pinoypetfinder on November 14, 2008, 11:49:44 AM
SlammedDime, any news re the 1.1.7 version? i'm still having the same prob :( i thought i was just having a slow connection, but it's happening to our other members too. the only thing i did before we notice this prob is that we upgraded to 1.1.7
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 14, 2008, 02:47:46 PM
seems to work fine on my end... I'll need a url and test account to see what's going on though.
Title: Re: AJAX Instant Quick Reply
Post by: pinoypetfinder on November 15, 2008, 07:16:27 AM
thanks in advance slammedDime :)
here's the url and the test account -

http://www.pinoypetfinder.com/forum/
username : test
password : 123456789

:)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 15, 2008, 11:18:16 AM
Not sure what happened or why, but you're missing this from your Display template...

Code (Find:) Select
quickReplyCollapsed = ', !empty($options['display_quick_reply']) && $options['display_quick_reply'] == 2 ? 'false' : 'true', ';

Code (Add After:) Select
var view_newest_first = ', (!empty($options['view_newest_first']) ? $options['view_newest_first'] : 0), '
Title: Re: AJAX Instant Quick Reply
Post by: pinoypetfinder on November 15, 2008, 05:50:53 PM
aah! i removed that part on the same day i upgraded (so that's the reason why i thought it was because of the upgrade). i was having error with that line (i don't know why) and checked smf's forum and found this thread saying we have to remove it and so i did.

but anyways, thanks slammedDime! everything's working fine now again :D
Title: Re: AJAX Instant Quick Reply
Post by: pooya on November 15, 2008, 08:53:39 PM
NOthing for 2.0 beta 4?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 16, 2008, 10:55:23 AM
Please read the last couple of pages of this topic.
Title: Re: AJAX Instant Quick Reply
Post by: pooya on November 16, 2008, 07:38:56 PM
Sorry couldnt make much sense out of it :( help please.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 16, 2008, 07:45:02 PM
Read the last FAQ of the first post of the topic
Title: Re: AJAX Instant Quick Reply
Post by: pooya on November 17, 2008, 07:13:17 PM
Thankyou that made sense.

But i would really like to have quick replay enabled by default for my members rather then changing it in profile.
Title: Re: AJAX Instant Quick Reply
Post by: W00tbeer1 on November 22, 2008, 03:29:59 PM
Thanks a lot, your mod ruined my forums!
Everything is gone!

I'm spreading the bad word!!!
Title: Re: AJAX Instant Quick Reply
Post by: AlenNS on November 22, 2008, 04:06:03 PM
Quote from: W00tbeer1 on November 22, 2008, 03:29:59 PM
Thanks a lot, your mod ruined my forums!
Everything is gone!

I'm spreading the bad word!!!
Did you heard for the magic word backup?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 22, 2008, 05:33:05 PM
I certainly hope you're joking... but if not I'd be happy to help troubleshoot, just like any other issue.  Since the mod does install and work a clean copy of SMF 1.1.7 and 2.0B3, I'm leaning more towards user error.
Title: Re: AJAX Instant Quick Reply
Post by: Boby_ on November 27, 2008, 12:50:07 PM
The mod works just fine with mine SMF 1.1.7.
Only one little annoying problem - quick reply cuts long sunjects of the messages and adds either &# or & at the end of the subjects. I don't know if this is because of the original quick reply of SMF or because of this mod.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 27, 2008, 12:51:19 PM
hrm... I'll have to test and play with that, thanks for the info
Title: Re: AJAX Instant Quick Reply
Post by: Shadow03 on November 28, 2008, 12:34:38 PM
Quote from: W00tbeer1 on November 22, 2008, 03:29:59 PM
Thanks a lot, your mod ruined my forums!
Everything is gone!

I'm spreading the bad word!!!
I'm sorry, but do you know how silly you sound? If the mod hasn't done any damage to 99% of the forums its been used on, I doubt "spreading the bad word" will do much. And as AlexNS said, you should make backups of your forum often, in case of problems like this.


Anyways, is there any way to get this mod to work on SMF 2 Beta 4?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 28, 2008, 12:49:56 PM
Not right now, the javascript has to be rewritten due to the changes in the display template.
Title: Re: AJAX Instant Quick Reply
Post by: tyhgdgh on November 29, 2008, 08:38:46 AM
the only things i remember you adding that deal with display.template is a simple rewards mod, i dont see how the forum would crash.
Title: Re: AJAX Instant Quick Reply
Post by: danishj on December 10, 2008, 02:16:05 PM
Hello.

it was installed successfully but didn't worked for me :S

http://gmpak.azhargroup.net/

test : test
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on December 10, 2008, 02:24:19 PM
Sorry danishj, I won't be providing any support for you until you restore the SMF Copyright in your footer of your forum.  I see it hidden in the HTML, which is against the SMF License that you agreed to when downloading the software.
Title: Re: AJAX Instant Quick Reply
Post by: danishj on December 10, 2008, 02:34:42 PM
I'm sorry I was testing something. wont do this again :)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on December 10, 2008, 02:39:13 PM
Thanks.

Seems to work fine for me... Try clearing your cache on your browser and try again.
Title: Re: AJAX Instant Quick Reply
Post by: danishj on December 10, 2008, 02:50:23 PM
No it's not working for me :(
I deleted cache and tried on difrent browsers
Title: Re: AJAX Instant Quick Reply
Post by: danishj on December 10, 2008, 03:19:40 PM
Still not working.. :(
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on December 10, 2008, 03:23:27 PM
Ok, explain how it's not working for you then... I had no problems with it... worked just like it should.  Give me the exact link of the topic you tried it from.  By exact, I mean, copy the url of the page you're at when you try the quick reply...
Title: Re: AJAX Instant Quick Reply
Post by: danishj on December 10, 2008, 03:32:58 PM
other members & I actually cannot see quick reply mod at the bottom of the topic..
for example look at this topic :
http://gmpak.azhargroup.net/index.php/topic,180.msg8270.html#new

can you see quick reply box on this link?
Title: Re: AJAX Instant Quick Reply
Post by: danishj on December 10, 2008, 03:44:13 PM
strange thing.. working fine with test account but cannot see with admin account
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on December 10, 2008, 04:32:33 PM
As I've said numerous times in this topic, this does not add Quick reply to your forum.  That is already a default feature of SMF.  This only changes it's functionality.  You need to enable quick reply in your Look and Layout preferences in your profile.
Title: Re: AJAX Instant Quick Reply
Post by: taha116 on December 10, 2008, 07:45:34 PM
Will this mod work with 2.0 beta 4? If not can we expect it to anytime soon it looks great
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on December 10, 2008, 07:58:58 PM
From the first post of the topic:  :)

Quote from: SlammedDime on May 29, 2008, 06:59:11 PM
Q: When will you have a version for 2.0 Beta 4?
A: I won't.  There are still on going template changes for the 2.0 series, and it would be quite cumbersome to have to rewrite the mod for more beta or RC releases.  Once RC1 or RC2 is out, a new version will be published.

Although I do have a version that preliminarily works with RC1, I still have to do further testing on it.  Not sure if it will work on Beta 4 or not.
Title: Re: AJAX Instant Quick Reply
Post by: taha116 on December 10, 2008, 08:34:42 PM
alright thanks.... Sorry i didnt read much but seand 25 pages of posts is really discouraging. 

OFF topic
Anyways so when do u think we can expect SMF 2.0 then?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on December 10, 2008, 11:38:29 PM
Sorry, I haven't the slightest clue what the dev's timelines are.  It's not something that is really discussed, we more or less have the philosophy of it's ready when it's ready.
Title: Re: AJAX Instant Quick Reply
Post by: TechPrince on December 24, 2008, 01:31:40 PM
How can we use this in this theme http://custom.simplemachines.org/themes/index.php?lemma=139
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on December 24, 2008, 02:31:53 PM
It's not possible to do with that theme.
Title: Re: AJAX Instant Quick Reply
Post by: improv on December 28, 2008, 04:27:07 PM
I'm sorry if this question has been already asked but,
is it possible to turn it on for all users, and all new users?
Thanks in advance.
Title: Re: AJAX Instant Quick Reply
Post by: Ricardo-san on January 09, 2009, 09:07:48 PM
Hello SlammedDime,
Firstly, thanks for making this mod. I had never though someone would actually create a mod for my request. :D
I'm experiencing some errors though. Even in the Core theme, the page reloads for each post. I tried it on the last page of threads, no moderation, and no verification. :(
Install seemed to be fine, testing was all successful.
http://kh3.us <--My board.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on January 09, 2009, 09:51:20 PM
Did you install it onto your custom theme as well?

Can you provide a test account for me to use?
Title: Re: AJAX Instant Quick Reply
Post by: Ricardo-san on January 09, 2009, 11:29:08 PM
PM sent with account info.
Thanks.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on January 10, 2009, 07:08:52 PM
it worked fine for me on both default and your custom theme.... did you try clearing your browser cache and try?  It does make changes to the xml_topic.js file, which is normally cached.
Title: Re: AJAX Instant Quick Reply
Post by: NEMINI on January 10, 2009, 07:33:23 PM
Quote from: danishj on December 10, 2008, 02:34:42 PM
I'm sorry I was testing something. wont do this again :)


You've once again removed the copyrights so you are a liar.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on January 10, 2009, 07:35:47 PM
Thanks Nemini - I've passed that along to the PM's again.
Title: Re: AJAX Instant Quick Reply
Post by: alex30 on January 12, 2009, 09:32:11 PM
How to enable this mod. Could anyone explain, can't find this option.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on January 12, 2009, 10:36:04 PM
As has been said time and time and time again, there is nothing to enable.  It changes the existing functionality of quick reply, which is already a feature of SMF, it does not add quick reply to your board.

http://docs.simplemachines.org/index.php?topic=37.msg37#msg37
Title: Re: AJAX Instant Quick Reply
Post by: Succubus Evaligan on January 21, 2009, 05:26:42 AM
Is there any way to these two mods working together?
http://custom.simplemachines.org/mods/index.php?mod=1214
http://custom.simplemachines.org/mods/index.php?mod=883

I have some problems in the Display.template.php

If I install first the Enhanted Quick Reply and after the AJAX Quick Reply. I get this error.
Quote
Acciones de la Instalación
Acciones de Instalaciones para "AJAX Instant Quick Reply":
La instalación de este paquete realizará las siguientes acciones:
   Tipo    Acción    Descripción
1.    Executar Modificación    ./Sources/Errors.php    Éxito
2.    Executar Modificación    ./Sources/Display.php    Éxito
3.    Executar Modificación    ./Sources/Post.php    Éxito
4.    Executar Modificación    ./Themes/default/Display.template.php    Prueba fallida
5.    Executar Modificación    ./Themes/default/xml_topic.js    Éxito
6.    Executar Modificación    ./Themes/default/Xml.template.php    Éxito
If I install first the AJAX Quick Reply and after the Enhanted Quick Reply. I get this error.
Quote
Acciones de la Instalación
Acciones de Instalaciones para "Enhanced Quick Reply Box 2.0.2":
La instalación de este paquete realizará las siguientes acciones:
   Tipo    Acción    Descripción
1.    Executar Modificación    ./Sources/Display.php    Éxito
2.    Executar Modificación    ./Themes/default/Display.template.php    Prueba fallida
I want have both. It can be done manually that both work well in the file Display.template.php?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on January 21, 2009, 07:53:40 AM
Install Enhanced QR first, then install my mod, then make the manual changes required to Display.template.php
Title: Re: AJAX Instant Quick Reply
Post by: InsaneneSs on January 23, 2009, 06:06:23 PM
SlammedDime can you edit this one for me please ? It's cargo frome dzinerstudio.

Thanks a lot !
Title: Re: AJAX Instant Quick Reply
Post by: eProfitsMaster.com on January 24, 2009, 10:35:49 AM
Installed successfully in our forums http://www.eProfitsMaster.net/forum/index.php

Thanks SlammedDime
Gr8 JOB
Title: Re: AJAX Instant Quick Reply
Post by: Alpay on January 24, 2009, 03:43:55 PM
SlammedDime; when will you update  mod of AJAX Instant Quick Reply to rc1 =)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on January 24, 2009, 04:18:17 PM
It pretty much is, I just need to do further testing and post it.
Title: Re: AJAX Instant Quick Reply
Post by: codnerd on January 25, 2009, 02:55:38 AM
How do I make it so Quick Reply will be enabled for everyone, so everyone does not have to go to their profile, and manually put it on?
Title: Re: AJAX Instant Quick Reply
Post by: InsaneneSs on January 25, 2009, 12:42:59 PM
Quote from: codnerd on January 25, 2009, 02:55:38 AM
How do I make it so Quick Reply will be enabled for everyone, so everyone does not have to go to their profile, and manually put it on?

i want to know that 2 !
Title: Re: AJAX Instant Quick Reply
Post by: codnerd on January 26, 2009, 07:22:38 AM
Anyone?
Title: Re: AJAX Instant Quick Reply
Post by: codnerd on January 29, 2009, 12:54:50 AM
:( Again, anyone?
Title: Re: AJAX Instant Quick Reply
Post by: Dragooon on January 29, 2009, 01:13:56 AM
Admin > Themes and layout > Reset Options > <your theme> Reset all members' current options for this theme > "Use quick reply on topic display".
Title: Re: AJAX Instant Quick Reply
Post by: codnerd on January 29, 2009, 03:24:46 PM
I see it, but when I reset it, it does not work...
Title: Re: AJAX Instant Quick Reply
Post by: Dragooon on January 30, 2009, 08:03:22 AM
Are you sure you first set "Change" for quick reply, then set it to show and then actually press "Save" or "Reset"(Can't remember).
Title: Re: AJAX Instant Quick Reply
Post by: codnerd on January 30, 2009, 02:43:15 PM
Yup. Still doesn't work tho.
Title: Re: AJAX Instant Quick Reply
Post by: Zyos on February 02, 2009, 03:46:23 PM
Hi, I'm having issues combining Instant Quick Reply and Enhanced Quick Reply, I know that its possible to install them both in a specific order, but my display template was already highly modified and wouldn't work

Here is a link to the thread where I asked for help, my display.template.php is included.
http://www.simplemachines.org/community/index.php?topic=290010.0 (http://www.simplemachines.org/community/index.php?topic=290010.0)

If you can be of any help please do as I'm struggling with this, thanks
Title: Re: AJAX Instant Quick Reply
Post by: stukpixel on February 04, 2009, 07:59:05 PM
Does this mod work for the yabb se theme?
Title: Re: AJAX Instant Quick Reply
Post by: InsaneneSs on February 04, 2009, 09:14:01 PM
Slammedime when i install this, my quick edition buton stop workin!

This button:


And the Display.Template.php of my custom isn't working :S

Can you take a look?

Edit: The Quote button doesn't work 2 !
Title: Re: AJAX Instant Quick Reply
Post by: Alpay on February 07, 2009, 05:32:00 AM
Quote from: SlammedDime on January 24, 2009, 04:18:17 PM
It pretty much is, I just need to do further testing and post it.

did the tests finish it? =)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on February 07, 2009, 10:15:21 AM
There were some changes to the javascript and theme structure that I haven't worked out yet.  I'm working on finishing my Sitemap mod first, then I will work on finishing this up.

Became17 - I can't do much without a link to your site and a test account.
Title: Re: AJAX Instant Quick Reply
Post by: Alpay on February 08, 2009, 03:41:45 PM
Oki doki =) Thanks ;)
Title: Re: AJAX Instant Quick Reply
Post by: InsaneneSs on February 08, 2009, 07:50:13 PM
Quote from: SlammedDime on February 07, 2009, 10:15:21 AM
There were some changes to the javascript and theme structure that I haven't worked out yet.  I'm working on finishing my Sitemap mod first, then I will work on finishing this up.

Became17 - I can't do much without a link to your site and a test account.

Check your PM's
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on February 08, 2009, 09:53:46 PM
Ahh, thanks, I don't know how I missed it... I'll take a look.
Title: Re: AJAX Instant Quick Reply
Post by: InsaneneSs on February 08, 2009, 10:47:51 PM
Quote from: SlammedDime on February 08, 2009, 09:53:46 PM
Ahh, thanks, I don't know how I missed it... I'll take a look.

Say something when you take a look

Edit:File anexed
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on February 10, 2009, 06:13:54 PM
So the mod is not installed and you're still getting the error?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on February 10, 2009, 06:14:17 PM
Released version 1.0.2 Supporting 2.0 RC1
Title: Re: AJAX Instant Quick Reply
Post by: InsaneneSs on February 10, 2009, 07:01:02 PM
Quote from: SlammedDime on February 10, 2009, 06:13:54 PM
So the mod is not installed and you're still getting the error?

yes i uninstalled to see if the things start working again but nothing

Can't you fixed?
Title: Re: AJAX Instant Quick Reply
Post by: Alpay on February 13, 2009, 02:34:27 PM
Quote from: SlammedDime on February 10, 2009, 06:14:17 PM
Released version 1.0.2 Supporting 2.0 RC1

Thanks ;D
Title: Re: AJAX Instant Quick Reply
Post by: indyzbinary on February 14, 2009, 04:57:35 AM
I'm use smf Thai language

I have a problem with Quick Reply. But if normal post is not usually a problem.

i'm use DB unicode utf8_general_ci  be default

I have SS
(http://sv1.ulbuzz.com/OclqIJK1QP) (http://www.ulbuzz.com/OclqIJK1QP)

   
If using Normal Post
Re: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx         it Full Subject
If using Ajax Quick Reply
Re: xxxxxxxxxxxxxx#Distorted#              it not Full Subject

Help me Please .  Thanks

I'm using smf 1.1.8
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on February 14, 2009, 05:03:14 AM
Quote from: indyzbinary on February 14, 2009, 04:57:35 AM
I'm use smf Thai language

I have a problem with Quick Reply. But if normal post is not usually a problem.

i'm use DB unicode utf8_general_ci  be default

I have SS
(http://sv1.ulbuzz.com/OclqIJK1QP) (http://www.ulbuzz.com/OclqIJK1QP)

   
If using Normal Post
Re: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx         it Full Subject
If using Ajax Quick Reply
Re: xxxxxxxxxxxxxx#Distorted#              it not Full Subject

Help me Please .  Thanks
Are you using SMF 2.0 or 1.1.8?
Title: Re: AJAX Instant Quick Reply
Post by: indyzbinary on February 14, 2009, 05:08:11 AM
Quote from: SlammedDime on February 14, 2009, 05:03:14 AM
Quote from: indyzbinary on February 14, 2009, 04:57:35 AM
I'm use smf Thai language

I have a problem with Quick Reply. But if normal post is not usually a problem.

i'm use DB unicode utf8_general_ci  be default

I have SS
(http://sv1.ulbuzz.com/OclqIJK1QP) (http://www.ulbuzz.com/OclqIJK1QP)

   
If using Normal Post
Re: xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx         it Full Subject
If using Ajax Quick Reply
Re: xxxxxxxxxxxxxx#Distorted#              it not Full Subject

Help me Please .  Thanks
Are you using SMF 2.0 or 1.1.8?
I'm use 1.1.8
Title: Re: AJAX Instant Quick Reply
Post by: indyzbinary on February 14, 2009, 06:57:52 AM
Help me plzz... ^-^"

Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on February 14, 2009, 02:32:12 PM
Can I have a link to your board please?
Title: Re: AJAX Instant Quick Reply
Post by: derby on February 14, 2009, 04:20:59 PM
@slammedDime i'm new to mods so i don't know if u could give me a simple step bu step manual on how to go about installing the mods on Smf 1.1.8(admin centre)
Title: Re: AJAX Instant Quick Reply
Post by: TechPrince on February 17, 2009, 10:57:55 PM
Quote from: SlammedDime on November 10, 2008, 10:41:24 AM
Sorry xkiller, this mod won't work on your theme.

:( :( :( :( :(
Title: Re: AJAX Instant Quick Reply
Post by: aED on February 21, 2009, 05:33:05 AM
Wow thanks for porting this to RC1
Title: Re: AJAX Instant Quick Reply
Post by: Xirtam on February 24, 2009, 02:50:50 PM
Couldn't find it in this topic so here it is:
What if the template doesn't have a Display.template.php file?  (template= Lady)

Website:http://www.4you-services.eu (http://www.4you-services.eu)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on February 25, 2009, 01:24:08 AM
Then SMF uses the one from the default theme, in which case you don't need to modify anything extra as long as it installed without error.
Title: Re: AJAX Instant Quick Reply
Post by: Sudhakar Arjunan on March 08, 2009, 10:30:26 AM
I have read the FAQ at page 1.

Is that mean that RC1 and RC2 will not accept the functionality of this mod.

I mean will it work or not.

Because i have installed over 2.0 RC1 and i don't have any changes or auto post even changed the setting in profile - look and layout to show on by default in quick reply.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on March 08, 2009, 11:18:11 AM
Sorry, I haven't updated that first post yet, but as the mod's download page says, this does work with RC1 if your theme is tableless, or if your theme relies on the default Display.template.php.

If you're not sure, ask your theme author.
Title: Re: AJAX Instant Quick Reply
Post by: chrishicks on March 08, 2009, 11:37:50 AM
I would love to use this but my display.template.php is quite the mess from other mods and it's all right in the spots that need the edits.
Title: Re: AJAX Instant Quick Reply
Post by: khong_tac on March 10, 2009, 09:48:11 AM
I'm using theme RuNet. And i don't know how fix it, help me, Thanks
Title: Re: AJAX Instant Quick Reply
Post by: Sudhakar Arjunan on March 10, 2009, 03:45:30 PM
Quote from: SlammedDime on March 08, 2009, 11:18:11 AM
Sorry, I haven't updated that first post yet, but as the mod's download page says, this does work with RC1 if your theme is tableless, or if your theme relies on the default Display.template.php.

If you're not sure, ask your theme author.

Thanks for your reply.

I am using the themes built by dziner Studio.

All the themes were using the default theme display template only.

So i have to ask them , whether there theme is table less ? Right ?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on March 10, 2009, 04:14:14 PM
As I said, if your theme relies on the default display.template.php, then the mod will work with your theme.
Title: Re: AJAX Instant Quick Reply
Post by: ysNoi on March 10, 2009, 04:38:20 PM
Is there a way to display  Message Icon, Tags and Smileys on this AJAX Instant Quick Reply?

Thanks....!
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on March 10, 2009, 04:47:44 PM
That's totally out of the scope of this mod.  I shall repeat again, this mod only changes the functionality of SMF's existing quick reply feature, it does not add quick reply to your board.
Title: Re: AJAX Instant Quick Reply
Post by: piratarg on March 11, 2009, 04:20:26 AM
Very Thanks, I have installed and works perfect! :)
Title: Re: AJAX Instant Quick Reply
Post by: sever2k7 on March 13, 2009, 07:18:08 PM
Thanks.Great mod.But,
after we send a message , profil picture doesnt appear


(http://img24.imageshack.us/img24/3921/adszagk.jpg) (http://img24.imageshack.us/my.php?image=adszagk.jpg)
Title: Re: AJAX Instant Quick Reply
Post by: Shadow03 on March 14, 2009, 11:28:49 PM
When I try to run this to the package parser, I get the follow error:

QuoteERROR: The package-info.xml file is invalid!

Debugging Information
Error message: String could not be parsed as XML
Source: /home/dragonfl/public_html/resourcez/PackageParser/index.php:133
Errors encountered while parsing XML file:

Stack Trace:
#0 /home/dragonfl/public_html/resourcez/PackageParser/index.php(133): SimpleXMLElement->__construct('')
#1 /home/dragonfl/public_html/resourcez/PackageParser/index.php(94): parsePackageInfoXML('/tmp/package-in...', 'install', 'all')
#2 /home/dragonfl/public_html/resourcez/PackageParser/index.php(775): parseArchive('/tmp/phpxokQ9J', 'install', 'all')
#3 {main}

XML File:
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on March 14, 2009, 11:51:10 PM
Don't use an external package parser, use the one we have on the mod site.  Click the radio button next to the version of the mod your installing, select your SMF version from the drop down, and click submit.
Title: Re: AJAX Instant Quick Reply
Post by: malcomxar on March 19, 2009, 08:09:34 PM
Hi, i have successfully installed this great mod but i have a problem... when i click the "post" button, a loading sign appears but the post isn't added to the topic until I click the refresh button...

Any ideas?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on March 19, 2009, 08:25:15 PM
As I posted in the first post of the topic:
QuoteIf anyone would like me to see why it isn't working on their site, they will need to provide a link to their site as well as a test account to be used.
Title: Re: AJAX Instant Quick Reply
Post by: malcomxar on March 19, 2009, 09:24:21 PM
Sorry, here is my link

http://www.gptlatino.com/foro/index.php

I am using TP 1.05 and SMF 1.1.8

Edit: Now it's working properly because i modified some code from display.php, the only thing is that when you post, the "recento topics" isn't updated immediately, right?

Or it should?

Regards!
Title: Re: AJAX Instant Quick Reply
Post by: Pleek on March 28, 2009, 09:16:05 PM
ok, not working at all on my site. It succesfully installed but it loads the same as usual, no ajax at all.

http://craigh.tlcrepair.net

user: forum tester
pass: lucky1

any ideas.
Title: Re: AJAX Instant Quick Reply
Post by: malcomxar on March 30, 2009, 12:13:46 AM
Quote from: Pleek on March 28, 2009, 09:16:05 PM
ok, not working at all on my site. It succesfully installed but it loads the same as usual, no ajax at all.

http://craigh.tlcrepair.net

user: forum tester
pass: lucky1

any ideas.

Dude you are using a custom template, all modifications only apply to the default template, so you will have to make the edits on your own.

Use the package parser ;)
Title: Re: AJAX Instant Quick Reply
Post by: Pleek on March 31, 2009, 05:57:30 PM
it doesn't even work on the default theme. It loads as normal some times. Other times it doesn't do anything and i have to refresh.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on March 31, 2009, 06:54:33 PM
What mods do you have installed Pleek?
Title: Re: AJAX Instant Quick Reply
Post by: Pleek on March 31, 2009, 07:29:17 PM
1.     TinyPortal     1.052     [ Uninstall ]
2.    User Control Panel By Alan S    2.0    [ Uninstall ]
3.    Ad Managment    2.3    [ Uninstall ]
4.    nneonneo's AJAX ShoutBox    1.20    [ Uninstall ]
5.    Karma Buttons    1.0    [ Uninstall ]
6.    SMF Shoutbox    1.16b    [ Uninstall ]
7.    Custom Profile Field Mod    3.19    [ Uninstall ]
8.    Spoiler Tag    0.3.3a    [ Uninstall ]
9.    Auto Embed Video/Audio Clips    3.0    [ Uninstall ]
10.    Admin Modification Menu Section    1.0.2    [ Uninstall ]
11.    SMF Arcade    2.0.13    [ Uninstall ]
12.    nCode Image Resizer    1.0    [ Uninstall ]
13.    Are You Human? Anti-Bot Registration Check    1.3    [ Uninstall ]
14.    Trim Url    1.0.2    [ Uninstall ]
15.    Karma Description Mod    2.3.1    [ Uninstall ]
16.    Users Online Today Mod    1.4.0    [ Uninstall ]
17.    Custom Action Mod    2.04    [ Uninstall ]
18.    Custom BBCode    2.00    [ Uninstall ]
19.    Global Headers Footers    1.4.1    [ Uninstall ]
20.    Admin Notepad    1.0    [ Uninstall ]
21.    Force Topic Read On Login Mod    1.0    [ Uninstall ]
22.    MoodBobels    2.1    [ Uninstall ]
23.    mp3 Flash Player BBC Tag (XHTML Compliant)    1.0    [ Uninstall ]
24.    SMF 1.0.14 / 1.1.6 Update    1.0    [ Uninstall ]
25.    Recent Topics On "Recent Posts" Page    1    [ Uninstall ]
26.    Reflection Img BBC    1.0    [ Uninstall ]
27.    Floating Bar Mod    1.0    [ Uninstall ]
28.    SMF 1.0.15 / 1.1.7 Update    1.0    [ Uninstall ]
29.    Unique Hit Counter    1.0    [ Uninstall ]
30.    Recent posts user preference    3.04    [ Uninstall ]
31.    Default Avatar    1.1.1    [ Uninstall ]
32.    Post Box Message    1.1    [ Uninstall ]
33.    FontandSizeDropdown_1.2    1.3    [ Uninstall ]
34.    SMF 1.0.16 / 1.1.8 Update    1.0    [ Uninstall ]
35.    Enhanced Dropdown    1.1    [ Uninstall ]
36.    Googlebot & Spiders Mod    2.0.4    [ Uninstall ]
37.    Auto Email Inactive Users    1.7    [ Uninstall ]
38.    MCLegendII.2    3.0    [ Uninstall ]
39.    Topic description    1.1    [ Uninstall ]
40.    Thank-O-Matic    1.2.5    [ Uninstall ]
41.    Prettier_Quotes    1.12    [ Uninstall ]
42.    AJAX Instant Quick Reply    1.0.2    [ Uninstall ]
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on March 31, 2009, 07:47:08 PM
Can you attach Display.php and Post.php ?
Title: Re: AJAX Instant Quick Reply
Post by: Pleek on March 31, 2009, 07:57:21 PM
yep, here you go. Thanks for helping me.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on April 01, 2009, 06:09:51 AM
I'm at a loss Pleek.  The only way I can try to troubleshoot it is with FTP access to your board.  I tried just putting up a single message on your board, and that didn't even work.
Title: Re: AJAX Instant Quick Reply
Post by: Pleek on April 01, 2009, 11:32:26 PM
well, ill just leave it alone for now. Im gona install a fresh smf soon. ill try it on that and tell you how it goes.
Title: Re: AJAX Instant Quick Reply
Post by: TOfregato on April 02, 2009, 12:07:31 AM
Hello there,

First off, thank you for making and sharing this nice mod : D

Then my problem: i'm using a customized theme and it doesn't display at all, like it's not installed : \ I tried to find a "Display.template.php" but there's nothing like that in my theme folder : (

My mods:
My Website: www.vman-clan.tk

Current Theme (Free for download): http://www.dzinerstudio.com/index.php?action=tpmod;dl=item40

Thank you in advance ^^
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on April 02, 2009, 12:09:26 PM
Have you enabled quick reply in your profile?  Quick reply is a default feature of SMF this only changes it's functionality.
Title: Re: AJAX Instant Quick Reply
Post by: SFF Forum on April 02, 2009, 02:37:36 PM
great mod,but how can i change background-color,i only want to change the quick reply

text area
Title: Re: AJAX Instant Quick Reply
Post by: TOfregato on April 02, 2009, 02:51:01 PM
Quote from: SlammedDime on April 02, 2009, 12:09:26 PM
Have you enabled quick reply in your profile?  Quick reply is a default feature of SMF this only changes it's functionality.

Thank you, i looked for all the options, but haven't figured out the profile thing :\ Now it works like a charm ^^
I manually enabled it on the profile of all my members: is there a way to enable it for guests too? Or a way to don't have to manually enable it to everyone who will register?

Thank you again for you time
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on April 02, 2009, 03:07:54 PM
If you visit the theme options in your admin panel, there is a link for 'Reset Options' where you can reset options for all of your members, and default options for guests.
Title: Re: AJAX Instant Quick Reply
Post by: TOfregato on April 02, 2009, 10:03:06 PM
Quote from: SlammedDime on April 02, 2009, 03:07:54 PM
If you visit the theme options in your admin panel, there is a link for 'Reset Options' where you can reset options for all of your members, and default options for guests.

Got it working perfectly now, even for guests. My members like it so much : D Thank you again ^^
Title: Re: AJAX Instant Quick Reply
Post by: Mraza on April 09, 2009, 07:28:00 PM
thanks for this great great mod...it's working well but one thing i want to ask to activate i need to go to the profile and after it's showing me on every post down, how can i make it work like here on simplemachines.org there is a button quick reply on every post without i selected it from anywhere? i mean are they also doing reset everyone in theme setting?... but i see here is a button qucik reply since mine registeration time...is it possible to put a button like this so even a new member can use it?


thanks for any help
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on April 09, 2009, 10:45:27 PM
I'm sorry, that whole paragraph just kind of ran together and I don't really understand what you're asking.
Title: Re: AJAX Instant Quick Reply
Post by: Mraza on April 10, 2009, 01:44:07 AM
Quote from: SlammedDime on April 09, 2009, 10:45:27 PM
I'm sorry, that whole paragraph just kind of ran together and I don't really understand what you're asking.

lol.. ok i was asking like this site simplemachines.org there is a button on every post "QUICK REPLY" how can i put that ....
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on April 10, 2009, 01:50:00 AM
I don't see one that says Quick Reply... I see one that says 'Quote'  and it should be appearing on every post already... it's a default button.
Title: Re: AJAX Instant Quick Reply
Post by: Mraza on April 10, 2009, 02:44:55 AM
Quote from: SlammedDime on April 10, 2009, 01:50:00 AM
I don't see one that says Quick Reply... I see one that says 'Quote'  and it should be appearing on every post already... it's a default button.

I am attaching the picture ...
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on April 10, 2009, 03:14:13 AM
(http://easycaptures.com/fs/uploaded/200/7129940881.png)
Title: Re: AJAX Instant Quick Reply
Post by: Sudhakar Arjunan on April 15, 2009, 02:25:11 PM
Hi SlammedDime,

Will i get bbc buttons and smiles on this mod.

Which will be so useful.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on April 15, 2009, 04:06:53 PM
No, as I have said time and time again... this does not add anything to SMF, it only changes functionality.
Title: Re: AJAX Instant Quick Reply
Post by: darklord2 on April 22, 2009, 07:05:56 PM
Thank for this great mod, but after installation my forum "Quote" button not works any more!

after pressing that on top of the page shows "Loading..." and browser jumps to Quck reply box but nothing happend and that "Loading..." remain on top and quick reply box still Empty!!!

any Idea?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on April 22, 2009, 07:51:43 PM
This mod should have zero effect on the quote function.  Are you positive that that started happening after you installed this mod and not another?

Also, if you want me to look at it further, I need a link to your site and a test account to use.
Title: Re: AJAX Instant Quick Reply
Post by: darklord2 on April 23, 2009, 07:00:37 AM
Actualy i didn't mentioned that before, after installing "AJAX IQR" i tried all possibilities of ajax and then found this issue.

But this morning i read all codes (added by this mod) and found that there is nothing wrong with your Codes/Mod. now i'm trying to find which mod did that to my forum ;)

So, ignore my Prev post and keep doing your best. Special thanks for your Great Mod and Fast Support. have fun.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on April 23, 2009, 10:11:58 AM
If you want to PM me a link to your board, I'd be happy to look at it for you...
Title: Re: AJAX Instant Quick Reply
Post by: d0brin on May 01, 2009, 06:12:46 AM
How to modify the look of the Loading... Text when you post a quick replay... and can it be made to show it self sliding the Loading text box down and then when it closes to slide back?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on May 01, 2009, 10:49:39 AM
yes it's possible, but outside the scope of this mod.  You should ask about that in SMF's Coding support forum.
Title: Re: AJAX Instant Quick Reply
Post by: alexandervba on May 03, 2009, 09:45:24 AM
Is there any fix for that error in IE? If you use quick reply in IE, it shows the post above the last post. Pretty weird.

Example here: http://i41.tinypic.com/28i99ap.png

Check out the REPLY #8 and the following is REPLY #6. If you refresh its showing fine... Maybe theres a way to autorefresh the page AFTER putting in the fast reply, I have no knowlegde about this, so I dont know.

thx for ur time!
Title: Re: AJAX Instant Quick Reply
Post by: ZeUsSaN on May 04, 2009, 12:39:40 PM
how to do for the delete of reports?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on May 04, 2009, 03:33:00 PM
I don't understand your question ZeUsSan, nor do I know that it really has anything to do with this mod...

alexander - have you tried on the default theme to see if it occurs there?  Also, which version of SMF are you using and which version of the mod?
Title: Re: AJAX Instant Quick Reply
Post by: TechPrince on May 10, 2009, 07:26:09 PM
Will this work on Musiconica Theme now?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on May 10, 2009, 08:17:52 PM
It may (at least for the 2.0 version)... I haven't tested it or looked at it yet...
Title: Re: AJAX Instant Quick Reply
Post by: ZeUsSaN on May 14, 2009, 10:11:50 PM
Quote from: SlammedDime on May 04, 2009, 03:33:00 PM
I don't understand your question ZeUsSan, nor do I know that it really has anything to do with this mod...
how to do
"AJAX Quick Delete"(for admin) messages
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on May 15, 2009, 01:32:08 AM
That's beyond the scope of this mod, you would be better to ask in the Coding board
Title: Re: AJAX Instant Quick Reply
Post by: avf on May 22, 2009, 01:16:06 AM
Hello,
This mod has stopped working for me probably because of some other installed mods later. Now it just shows the loading... message on top and nothing happens when i click the QUOTE button. my version 1.1.8

I want to uninstall the mod however it does not appear in my Installed mods list because I had deleted that list earlier. When I try to reinstall the mod so I can maybe unistall it it gives me the error of display.php I tried to replace my exising display.php with earlier versions but they also give me the same error.

Can you help me uninstall this mod ...cleanly please
I manually editted the display.php and the code for the mod was present in the file and I removed it. All the other files do not have the code however I still see the loading... message when i click Quote and nothing happens.

Thanks
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on May 22, 2009, 03:12:36 AM
You'll have to manually remove all of the code.  If you have, and you are still getting the stuck 'loading' when trying to quote, the issue isn't with this mod.  But like I've said in numerous other posts, I can't help without at least a link to the board.
Title: Re: AJAX Instant Quick Reply
Post by: avf on May 22, 2009, 12:46:28 PM
sent link
thanks
Title: Re: AJAX Instant Quick Reply
Post by: fdLP. on May 23, 2009, 12:43:31 PM
@SlammedDime , when i post a strange problem happen

check the screenshot :

(http://i43.tinypic.com/2qx58ja.jpg)
http://i43.tinypic.com/2qx58ja.jpg

As you see when the Loading appears its on the bottom but the white text is how many time it got to load the page , can we lower it a bit more ?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on May 23, 2009, 03:01:50 PM
That's beyond the scope of this mod, the loading bar is a default feature of SMF, this mod only utilizes that... you may want to ask your theme author.
Title: Re: AJAX Instant Quick Reply
Post by: taha116 on May 24, 2009, 11:19:24 AM
I know this may sound dum but this will work with the new new version of RC1 right?

Sorry for stupid question, i have been away from forums for while  O:)
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on May 24, 2009, 05:21:35 PM
Yes, it should work fine.
Title: Re: AJAX Instant Quick Reply
Post by: kizko on May 26, 2009, 03:41:08 PM
How can i make this actve for all users ?
I meen that they don`t need to activate this from theyer profile.
Title: Re: AJAX Instant Quick Reply
Post by: wiki on May 26, 2009, 04:02:12 PM
It works fine but when i install quick reply extra that float bar then it's seems this mode not post i mean no refresh but actually if go back and come again you will it the post there.
Title: Re: AJAX Instant Quick Reply
Post by: tyhgdgh on May 30, 2009, 09:26:48 PM
I'm still wondering, how do you add BBC buttons to the quick reply table?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on May 30, 2009, 10:38:06 PM
kizko - Themes And Layout (http://docs.simplemachines.org/index.php?board=54.0;sort=subject)

wiki - I'm sorry, I don't understand, please rephrase

Nintendo - That's outside the scope of this mod, you should ask in the General Coding board.
Title: Re: AJAX Instant Quick Reply
Post by: pr9phet on June 01, 2009, 09:35:56 PM
Quote from: SlammedDime on May 30, 2009, 10:38:06 PM
kizko - Themes And Layout (http://docs.simplemachines.org/index.php?board=54.0;sort=subject)

wiki - I'm sorry, I don't understand, please rephrase

Nintendo - That's outside the scope of this mod, you should ask in the General Coding board.


I don't see the option under 1.1.9

Is it just not supported?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 01, 2009, 11:10:01 PM
You just must not be looking in the right place.... it's there...

http://docs.simplemachines.org/index.php?topic=110

(http://clip2net.com/clip/m18043/1243912187-clip-17kb.png)

Title: Re: AJAX Instant Quick Reply
Post by: Lighting_site on June 10, 2009, 10:09:31 PM
Nice Work ^^
Title: Re: AJAX Instant Quick Reply
Post by: DELHI_BOY on June 21, 2009, 03:07:35 PM
I installed this mod without any error in 1.1.9 but it is not visible.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 21, 2009, 05:13:10 PM
That would make 100% sense... there are no visible changes that this mod makes.  It makes functionality changes.  Please read this topic, specifically the very first post's FAQ.
Title: Re: AJAX Instant Quick Reply
Post by: ScopeXL on June 26, 2009, 04:05:44 PM
Hey, I installed Pretty URLS 1.0RC and then re-installed this mod so the changes to Display.php would take effect, but when I try to quick reply, it will post the message, but I will not see my message instantly on submit. I will get the green Loading... bar, then it will go away, and I have to refresh the page to see my post. I double checked and my Display.php code is correct from the mod, and it works great with Pretty URL's disabled. Know what I'm doing wrong?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 26, 2009, 04:38:42 PM
No idea... I'll have to test it out and see what's going on from my side.
Title: Re: AJAX Instant Quick Reply
Post by: ScopeXL on June 27, 2009, 11:30:14 AM
Hey SlammedDime, just letting you know this was a user error, sorry. I managed to re-install both packages and it was a problem with PrettyURLs, not AJAX Instant Quick Reply. Sorry for not looking deeper into this.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 27, 2009, 03:01:52 PM
no problem, glad you got it sorted :)
Title: Re: AJAX Instant Quick Reply
Post by: Spark753 on July 02, 2009, 01:04:23 AM
Hey nice mod but i broke it somehow lol the quick reply option is there but it still has to refresh the page. im using smf 2-1 with mysticjade theme.
Title: Re: AJAX Instant Quick Reply
Post by: [Core] on July 02, 2009, 01:06:08 AM
Did you get any errors when installing it?
Title: Re: AJAX Instant Quick Reply
Post by: ScopeXL on July 02, 2009, 01:13:20 AM
Did you make the necessary changes to your Display.template.php file for your custom theme?
Title: Re: AJAX Instant Quick Reply
Post by: Spark753 on July 02, 2009, 01:35:50 AM
There were no errors, and there is no Display.template.php file in the custom theme to edit???

But now one of my members just told me the quote function doesn't work(i just freezes with the loading bar)

Im beginning to think its something to do with ajax??
Title: Re: AJAX Instant Quick Reply
Post by: [Core] on July 02, 2009, 02:13:13 AM
try re-installing it...
Title: Re: AJAX Instant Quick Reply
Post by: Spark753 on July 02, 2009, 02:36:13 AM
lol that's the first thing i did. ty anyway
Title: Re: AJAX Instant Quick Reply
Post by: [Core] on July 02, 2009, 02:40:59 AM
Lol is it compatible with your SMF version?
Title: Re: AJAX Instant Quick Reply
Post by: Spark753 on July 02, 2009, 02:46:26 AM
yeap has been working for the past month. just stopped working a few weeks back but i want to worried its only a minor error, except the qoutes not working is very inconvenient.
Title: Re: AJAX Instant Quick Reply
Post by: [Core] on July 02, 2009, 02:49:16 AM
Is your theme compatible have you gotten any other errors from mods
Title: Re: AJAX Instant Quick Reply
Post by: Spark753 on July 02, 2009, 02:56:57 AM
nah theme is fine this problem also affects default one as well and there are no related errors. i was thinking it may have something to do with ajax chat integration that i tryed out about a month ago. i uninstalled and it was successful but yea im now manually going over files to see if its all gone.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 02, 2009, 07:56:20 AM
You probably have some extra code inserted in the wrong spot, or your board has been comprimised.... look at the HTML source of your page... if there are any extra spaces above <doc type> or anything, including spaces after </html>, that is the cause of any AJAX related issue you may be having.
Title: Re: AJAX Instant Quick Reply
Post by: Spark753 on July 02, 2009, 08:27:30 AM
Quote from: SlammedDime on July 02, 2009, 07:56:20 AM
You probably have some extra code inserted in the wrong spot, or your board has been comprimised.... look at the HTML source of your page... if there are any extra spaces above <doc type> or anything, including spaces after </html>, that is the cause of any AJAX related issue you may be having.

Ah thanks man had some stupid script after </html> tag have no idea what it was doing but its all good now
Title: Re: AJAX Instant Quick Reply
Post by: dpacmittal on July 04, 2009, 09:11:06 AM
I can't uninstall this. Please help me to uninstall it.
Quote
This package cannot be uninstalled, because there is no uninstaller!

Please contact the mod author for more information.
Title: Re: AJAX Instant Quick Reply
Post by: Am' on July 04, 2009, 10:26:06 AM
it's no compatible with 2rc1-1 ?
Title: Re: AJAX Instant Quick Reply
Post by: akbora on July 05, 2009, 04:35:06 AM
Quote from: malcomxar on March 19, 2009, 08:09:34 PM
Hi, i have successfully installed this great mod but i have a problem... when i click the "post" button, a loading sign appears but the post isn't added to the topic until I click the refresh button...

Any ideas?
me too.. How can I make to run it perfectly?
Title: Re: AJAX Instant Quick Reply
Post by: Ampix0 on July 07, 2009, 03:35:29 PM
Can someone help me? I need a custom edit to my theme.

Theme Limy:
http://custom.simplemachines.org/themes/index.php?lemma=1749

SMF Version:
1.1.9


I have Simple Portal installed. which basically F's up ever other mod I could want installed. so I need a manual edit for this to show up. I would REALLY appreciate it.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 07, 2009, 05:04:16 PM
This mod doesn't install on index.template.php, it only installs on Display.template.php... you're theme doesn't contain one, so if you had no errors when installing, you shouldn't need to make any extra adjustments.
Title: Re: AJAX Instant Quick Reply
Post by: Ampix0 on July 08, 2009, 03:43:39 PM
well.. its not showing up lol

At the bottom of every page there is no quickreply of any kind. ajax or not
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 08, 2009, 04:25:44 PM
As is stated in the first post of this topic...

QuoteQ: After installing the mod, I don't see quick reply on my topic pages.
A: This mod does not add quick reply to your board.  One of SMF's included features is quick reply.  This only changes it's functionality.  To enable quick reply, you have to go to your profile and change your Look and Layout Preferences to display it.
Title: Re: AJAX Instant Quick Reply
Post by: Ampix0 on July 08, 2009, 07:40:05 PM
Oh wow thank you very much. Is there a way I can turn that on be default for everyone?
Title: Re: AJAX Instant Quick Reply
Post by: aquariens on July 09, 2009, 05:09:56 PM
In compatible with area of the detail page, its mentioned upto 2.0 RC1 only, dose it work with 2.0 RC1-1? any idea?

Cheers
Title: Re: AJAX Instant Quick Reply
Post by: Ampix0 on July 14, 2009, 11:08:01 PM
When I try to install is says it is either corrupt or not compatible.

I am on 2.0
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 15, 2009, 04:57:05 AM
I will be updating it for 2.0RC1.2 shortly... there are no changes to the code, it all works just the same.
Title: Re: AJAX Instant Quick Reply
Post by: Da Gamer on July 21, 2009, 08:11:55 AM
I have it uploaded and installed but its not coming up, how do I get it to show?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 21, 2009, 04:56:34 PM
Quote from: SlammedDime on July 08, 2009, 04:25:44 PM
As is stated in the first post of this topic...

QuoteQ: After installing the mod, I don't see quick reply on my topic pages.
A: This mod does not add quick reply to your board.  One of SMF's included features is quick reply.  This only changes it's functionality.  To enable quick reply, you have to go to your profile and change your Look and Layout Preferences to display it.
Title: Re: AJAX Instant Quick Reply
Post by: kai920 on July 26, 2009, 05:44:39 PM
Quote from: SlammedDime on July 15, 2009, 04:57:05 AM
I will be updating it for 2.0RC1.2 shortly... there are no changes to the code, it all works just the same.

Can I do this myself by editing the package-info.xml file?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 26, 2009, 06:01:20 PM
Yes, or you can just click the advanced button at the bottom of your package manager to make the package manager think you have a different version of SMF...
Title: Re: AJAX Instant Quick Reply
Post by: kai920 on July 26, 2009, 10:33:03 PM
Quote from: SlammedDime on July 26, 2009, 06:01:20 PM
Yes, or you can just click the advanced button at the bottom of your package manager to make the package manager think you have a different version of SMF...

Thanks! Worked perfectly with the advanced emulation.
Title: Re: AJAX Instant Quick Reply
Post by: MUSTAfaINE on August 11, 2009, 07:53:44 AM
is this mod workin with smf rc 1.2
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 11, 2009, 03:32:51 PM
Read the last 4 posts...
Title: Re: AJAX Instant Quick Reply
Post by: telles0808 on August 14, 2009, 09:08:49 PM
how to setupt it to show by default like the smf.org forum?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 14, 2009, 09:12:14 PM
To enable quick reply for all members, and all future members, you'll want to visit ?action=admin;area=theme;sa=admin;sa=reset
Title: Re: AJAX Instant Quick Reply
Post by: telles0808 on August 14, 2009, 09:31:07 PM
not funny.. nobody know?
version 1.1.10
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on August 14, 2009, 10:44:37 PM
Next time specify a version when seeking support instead of being vague...  using the search function will help you too...

?action=theme;sa=reset
Title: Re: AJAX Instant Quick Reply
Post by: kk-forum on September 11, 2009, 05:09:14 PM
Ajax Instant Quick Reply is not working on SMF 2.0 RC1.2, Please help me...
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 11, 2009, 05:11:48 PM
'not working' is not descript... be more precise on what is 'not working'.  If it just won't install, read reply 666 in on this page.
Title: Re: AJAX Instant Quick Reply
Post by: kk-forum on September 11, 2009, 06:24:43 PM
Works fine with SMF 1.1.10

But Error with SMF 2.0RC1.2:

"The package you are trying to download or install is either corrupt or not compatible with this version of SMF."
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 11, 2009, 07:48:44 PM
Quote from: SlammedDime on September 11, 2009, 05:11:48 PM
If it just won't install, read reply 666 in on this page.
Title: Re: AJAX Instant Quick Reply
Post by: slowmotion_99 on September 20, 2009, 05:14:51 PM
Quote from: SlammedDime on August 14, 2009, 09:12:14 PM
To enable quick reply for all members, and all future members, you'll want to visit ?action=admin;area=theme;sa=admin;sa=reset

Sorry, i still can't understand the mean of visit ?action=admin;area=theme;sa=admin;sa=reset ..
Can u explain step by step how to make quick reply default setting for all members

thanks
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 20, 2009, 06:23:25 PM
go to www.yourboard.com/index.php?action=admin;area=theme;sa=admin;sa=reset
Title: Re: AJAX Instant Quick Reply
Post by: slowmotion_99 on September 21, 2009, 01:52:19 AM
Quote from: SlammedDime on September 20, 2009, 06:23:25 PM
go to www.yourboard.com/index.php?action=admin;area=theme;sa=admin;sa=reset

Still not work...
i tried www.myboard.com/index.php?action=admin;area=theme;sa=admin;sa=reset and the link derect to Administration Center page.

My version's 1.1.10
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 21, 2009, 02:01:35 AM
Ah, that's because you're on 1.1.10... in 1.1.x it's

?action=theme;sa=reset
Title: Re: AJAX Instant Quick Reply
Post by: M-DVD on September 27, 2009, 07:47:22 PM
Hi

Now Auto Merge Double Post (http://custom.simplemachines.org/mods/index.php?mod=1523) and Quick PM (http://custom.simplemachines.org/mods/index.php?mod=1649) are compatible with this MOD :)
Title: Re: AJAX Instant Quick Reply
Post by: Rhyme on September 28, 2009, 07:45:44 PM
I've been searching left and right for the quick reply option on my forum.  I followed what was said in your Q&A, but I can't find it under my profile layout preferences.  I'm using SMF 1.1.10.

Some help please.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 28, 2009, 08:57:49 PM
Second option from the bottom...

(http://clip2net.com/clip/m18043/1254185847-clip-21kb.png)
Title: Re: AJAX Instant Quick Reply
Post by: Rhyme on September 28, 2009, 09:04:18 PM
Quote from: SlammedDime on September 28, 2009, 08:57:49 PM
Second option from the bottom...

(http://clip2net.com/clip/m18043/1254185847-clip-21kb.png)

Wow funny how the eyes and mind work.  I was expecting a check box hence I didn't see the drop down choice.

Thank you so much XD
Title: Re: AJAX Instant Quick Reply
Post by: qubbah on October 15, 2009, 11:53:13 AM
how can i insert msg icon option with this mod?
Title: Re: AJAX Instant Quick Reply
Post by: m0ney on November 05, 2009, 02:03:33 AM
when click [ Apply Mod ]

The package you are trying to download or install is either corrupt or not compatible with this version of SMF

my version is Powered by SMF 2.0 RC1.2

any help ???
Title: Re: AJAX Instant Quick Reply
Post by: TurtleKicker on November 12, 2009, 02:47:52 PM
Will this work on RC2?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 12, 2009, 04:59:06 PM
Not at the moment.  I'm working on getting an RC2 version ready
Title: Re: AJAX Instant Quick Reply
Post by: omega008 on December 23, 2009, 10:44:20 PM
Hi SlammedDime, Nice work!
but, I have one problem.. the reply don't show before I press f5..  attached my display.template.php no edited. can you help me?

I have:
smf  version: 1.1.11
theme: dsv4
Title: Re: AJAX Instant Quick Reply
Post by: vladok on December 24, 2009, 02:10:49 AM
Any news for RC2.0 mod ? :)
Title: Re: AJAX Instant Quick Reply
Post by: ChaosEnergy on December 27, 2009, 07:08:57 AM
yeah would be nice to see it soon
Title: Re: AJAX Instant Quick Reply
Post by: DoctorMalboro on January 08, 2010, 10:58:22 AM
could you update it for RC2?

thank you so much!!  ;)
Title: Re: AJAX Instant Quick Reply
Post by: esttecb on February 18, 2010, 04:06:59 AM
Quote from: alexandervba on May 03, 2009, 09:45:24 AM
Is there any fix for that error in IE? If you use quick reply in IE, it shows the post above the last post. Pretty weird.

Same here, but it happens with every browser.

display.template.php (Amber template, SMF 1.1.11) attached. It is already modified.


Nevermind, I fixed it.
Title: Re: AJAX Instant Quick Reply
Post by: steve51184 on March 06, 2010, 02:09:43 PM
any fix for rc2?
Title: Re: AJAX Instant Quick Reply
Post by: Makar on March 09, 2010, 02:28:29 PM
Quote from: zx71 on March 06, 2010, 02:09:43 PM
any fix for rc2?

any fix for rc3?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on March 10, 2010, 07:19:22 PM
Updated to version 1.0.3 with support for RC3
Title: Re: AJAX Instant Quick Reply
Post by: drhamza on March 12, 2010, 02:25:52 AM
very nice mod, thanks a lot

what do you mean by this please:
Quote3) If posts are moderated, it will post as normal.
the thing is, some boards in my forum have this mod working, some are not! how can i solve this
Title: Re: AJAX Instant Quick Reply
Post by: Makar on March 12, 2010, 04:10:55 AM
Thank you! everything works
Title: Re: AJAX Instant Quick Reply
Post by: $p00ky on March 23, 2010, 10:33:43 AM
For people running 2.0 RC1.2 (and who cannot update to RC2/3 because no patch available), is there a link to the version 1.0.2 of the mod (running on RC1)?
Title: Re: AJAX Instant Quick Reply
Post by: KensonPlays on March 23, 2010, 10:41:38 AM
Quote from: SlammedDime on May 29, 2008, 08:18:56 PM
Quote from: ALEJO on May 29, 2008, 07:31:05 PM
screenshots plz?
Its not possible to get screen shots of this.  It doesn't add anything visually to SMF, merely changes the functionality of how quick reply works.
Actually, you could make a video, that would work!
Anyway, nice mod, if it worked for RC3! I installed it, but it gave me a error while posting!
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on March 23, 2010, 11:59:10 PM
Quote from: Kcmartz on March 23, 2010, 10:41:38 AM
Quote from: SlammedDime on May 29, 2008, 08:18:56 PM
Quote from: ALEJO on May 29, 2008, 07:31:05 PM
screenshots plz?
Its not possible to get screen shots of this.  It doesn't add anything visually to SMF, merely changes the functionality of how quick reply works.
Actually, you could make a video, that would work!
Anyway, nice mod, if it worked for RC3! I installed it, but it gave me a error while posting!
Check the first post...
QuoteHere is a video that demonstrates the functionality: http://www.mattzuba.com/_public/ajax.swf.html

As for an RC3 update, I thought I had uploaded it, but obviously I didn't... I'll post it tonight when I get home from work.
Title: Re: AJAX Instant Quick Reply
Post by: $p00ky on March 24, 2010, 10:39:23 AM
Can you also post the old version compatible with RC1 ? Thanks !
Title: Re: AJAX Instant Quick Reply
Post by: Xarcell on March 25, 2010, 08:49:10 PM
SMF 2.0RC3 and 1.0.3

I don't know if my server is slow, or if it's just not working.

It doesn't load as fast as the one in the video.

In the member options for themes, I have quick reply turned on by default, and return to topic after posting. Am I missing something?

EDIT: yes, it is not working. Using a fresh install of SMF 2.0RC2 with TP installed(test site). I am on the last page of the topic, and visual verification is not turned on. Installed fine and there are no errors in the error log.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on March 25, 2010, 08:52:55 PM
You're not missing anything.  When I first started coding the mod, it was lightning fast like the video, but I altered the script to introduce a small half second delay (plus the time it takes to post and receive data) so that the users would see the loading bar for more than just a flash and would give the impression that the posting of the reply was actually doing something.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on March 25, 2010, 08:53:23 PM
Quote from: $p00ky on March 24, 2010, 10:39:23 AM
Can you also post the old version compatible with RC1 ? Thanks !
I no longer have that version saved, and I strongly recommend upgrading to RC3.
Title: Re: AJAX Instant Quick Reply
Post by: Xarcell on March 25, 2010, 08:58:03 PM
Quote from: SlammedDime on March 25, 2010, 08:52:55 PM
You're not missing anything.  When I first started coding the mod, it was lightning fast like the video, but I altered the script to introduce a small half second delay (plus the time it takes to post and receive data) so that the users would see the loading bar for more than just a flash and would give the impression that the posting of the reply was actually doing something.

I edited my previous post.

I'm sure it's not working as I can see the default theme images reloading.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on March 25, 2010, 09:00:45 PM
Your post is confusing... Are you using RC2 or RC3?  I've only tested the mod to be compatible with RC3, and it will likely not work correctly on rC2.
Title: Re: AJAX Instant Quick Reply
Post by: Xarcell on March 25, 2010, 09:01:20 PM
I created a test account if you wanted to try posting to check it out.
Title: Re: AJAX Instant Quick Reply
Post by: KensonPlays on March 29, 2010, 01:28:29 PM
I had it installed, except that smileys and the GP/BP mod images wouldn't show!!
Title: Re: AJAX Instant Quick Reply
Post by: rebornishard on March 29, 2010, 05:07:57 PM
sir i using smf 1.1.11 and themes Anecdota by Crip
this one didn't work
can give me a help please :(
Title: Re: AJAX Instant Quick Reply
Post by: $p00ky on April 01, 2010, 02:37:23 AM
Quote from: SlammedDime on March 25, 2010, 08:53:23 PM
Quote from: $p00ky on March 24, 2010, 10:39:23 AM
Can you also post the old version compatible with RC1 ? Thanks !
I no longer have that version saved, and I strongly recommend upgrading to RC3.

I would love to upgrade to RC3, but there is no package manager update...
And a small upgrade will loose all my customisations (mods and themes)...
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on April 01, 2010, 04:31:28 AM
That's the risk of running an RC or Beta release... there won't be any package manager updates either, there have been far too many changes to do it via the package manager.
Title: Re: AJAX Instant Quick Reply
Post by: KensonPlays on April 01, 2010, 09:43:13 AM
Do you know why the smileys and GP/BP mod images wouldn't work? If they did, I'd be using this mod!
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on April 01, 2010, 03:30:11 PM
GP/BP?  What is that?  And can you explain 'doesnt work'?  Those two words are the least descriptive words to a problem one can use...
Title: Re: AJAX Instant Quick Reply
Post by: KensonPlays on April 01, 2010, 05:04:26 PM
Good Post / Bad Post mod
Title: Re: AJAX Instant Quick Reply
Post by: Arantor on April 01, 2010, 05:11:53 PM
Quote from: SlammedDime on April 01, 2010, 03:30:11 PM
And can you explain 'doesnt work'?  Those two words are the least descriptive words to a problem one can use...
Title: Re: AJAX Instant Quick Reply
Post by: KensonPlays on April 01, 2010, 09:04:54 PM
I mean it works except messes up smileys and images in GP/BP mod, and Advance Karma...
Title: Re: AJAX Instant Quick Reply
Post by: Arantor on April 01, 2010, 09:15:51 PM
Defined "messes up smileys and images in GP/BP mod, and Advance Karma..."

What *specifically* does it do? Screenshots maybe?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on April 01, 2010, 09:39:37 PM
or even post some screenshots

or better yet, explain it as if you were telling someone who didn't even know what Simple Machines was, or even a bulletin board system...
Title: Re: AJAX Instant Quick Reply
Post by: KensonPlays on April 02, 2010, 04:49:45 PM
Already uninstalled, errors no more since uninstalling....
Title: Re: AJAX Instant Quick Reply
Post by: Arantor on April 02, 2010, 04:51:49 PM
Great, so instead of helping trying to fix the problem, you just sweep it under the carpet.
Title: Re: AJAX Instant Quick Reply
Post by: rd on April 02, 2010, 08:29:25 PM
Just a quick question, why doesn't this thing work for some boards but work for others?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on April 02, 2010, 08:38:17 PM
Post moderation?
Title: Re: AJAX Instant Quick Reply
Post by: rd on April 02, 2010, 09:01:49 PM
No. Mmm, I'll look into it more and report it.
Title: Re: AJAX Instant Quick Reply
Post by: wietse02 on April 12, 2010, 01:44:32 AM
Hey man,

Since I installed a clean forum at my new host (2.0 RC3) it doesn't work.
In my old forum it works fine with that theme so there are no theme problems.
I don't have configured the mod to my theme cause I don't have to that.
When I install it, it applies automatic to my theme (Silentwave)

Link of forum:
http://76.76.105.98/~internat/forum/

Test account name: test
Test password: test

Hope you can help me and regards,
Wietse

Edit: Filter changes the link, but I hope you still know it. Just http:// and then ip/~internat/forum
Thanks
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on April 12, 2010, 03:39:34 AM
incorrect password.

Did you try clearing your browser cache first and then try again?
Title: Re: AJAX Instant Quick Reply
Post by: wietse02 on April 12, 2010, 01:35:14 PM
Thanks fixed the problem.
But now I have new one, when I click post there comes a loading screen in the top of the screen and after that a page comes with  in the left top corner and then it goes to the post again.

Try it please:

for site check my previous post!

name: test
pw: test

Btw, have that bug only in Firefox
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on April 12, 2010, 05:42:25 PM
that means that one of your files somewhere was manually edited and saved as UTF8 with BOM.  a google search for "php bom" will yield tons of information for you
Title: Re: AJAX Instant Quick Reply
Post by: wietse02 on April 13, 2010, 01:00:51 AM
Quote from: SlammedDime on April 12, 2010, 05:42:25 PM
that means that one of your files somewhere was manually edited and saved as UTF8 with BOM.  a google search for "php bom" will yield tons of information for you

Aaah thanks, it's possible to fix it? Maybe you wanna help me?
Cause I don't wanna install everything again.
Title: Re: AJAX Instant Quick Reply
Post by: drlynch on April 13, 2010, 07:08:48 AM
Hello, sorry but I speak very little English, thanks for the great mod!
I wonder if you can comment using the ajax always, is that possible? Thanks!
Title: Re: AJAX Instant Quick Reply
Post by: KensonPlays on April 13, 2010, 03:11:51 PM
You mean for quick reply, and full posting? The full posting would have to be a new mod, or a renaming of this mod, but yes I would love that!
Title: Re: AJAX Instant Quick Reply
Post by: wietse02 on April 14, 2010, 01:59:02 AM
Quote from: Kcmartz on April 13, 2010, 03:11:51 PM
You mean for quick reply, and full posting? The full posting would have to be a new mod, or a renaming of this mod, but yes I would love that!

I would love that too!  ;D
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on April 14, 2010, 02:21:14 AM
I don't understand the point?  Why would you want it on the full post form?  How do you propose that would work?  You're talking about rewriting tons of SMF code to try and support that.  It's much easier to simply install the mod that adds the full WYSIWYG editor to quick reply.
Title: Re: AJAX Instant Quick Reply
Post by: KensonPlays on April 14, 2010, 10:52:46 AM
Will that conflict with the AJAX mod here?
Title: Re: AJAX Instant Quick Reply
Post by: thefantas on April 16, 2010, 06:43:18 AM
Works well with SMF 2.0 RC3 IE8.0 and Firefox 3.6.3 but is blank (there is a view for a few seconds the new post).

What is failing?


*****************
Firebug me say:

Failed to load source for: http://localhost/index.php/topic,2820.msg18344/topicseen.html
Title: Re: AJAX Instant Quick Reply
Post by: thefantas on April 16, 2010, 07:23:17 AM
the error is here: /Themes/default/scripts/topic.js

// Otherwise, the post was successful so lets add it in.
else if (post)
{
myDiv = document.createElement("div");
if (this.opt.bViewNewestFirst == 1)
{
currentClass = insertPoint.nextSibling.nextSibling.className;
window.location.hash = "top";
}
else
currentClass = insertPoint.previousSibling.previousSibling.previousSibling.previousSibling.className;

insertPoint.parentNode.insertBefore(myDiv, (this.opt.bViewNewestFirst == 1) ? insertPoint.nextSibling : insertPoint);
setOuterHTML(myDiv, post.childNodes[0].nodeValue.replace(/windowbg2|windowbg/, (currentClass == "windowbg" ? "windowbg2" : "windowbg")));

// And empty the post reply box
document.postmodify.message.value = "";

if (aIconLists[0])
aIconLists[0].initIcons();
}
else
{
window.location.reload(true);
}
Title: Re: AJAX Instant Quick Reply
Post by: daveiant on April 18, 2010, 12:32:24 AM
plz help..i cant show my quick reply..i use 2.0 RC3...
Title: Re: AJAX Instant Quick Reply
Post by: daveiant on April 18, 2010, 12:33:59 AM
plz..guide me, im newbie here.................

heres my forum http://cebuunderground.tk/   :'( :'( :'(

i cant show my quick reply box..i already replace the display.temeplates.php and display.php and alsom the topic xml.php

im confusing...please help
Title: Re: AJAX Instant Quick Reply
Post by: daveiant on April 18, 2010, 11:14:38 AM
please guide me.........
Title: Re: AJAX Instant Quick Reply
Post by: daveiant on April 18, 2010, 12:42:30 PM
Heres my display.templates.php

please take me out of there...

Title: Re: AJAX Instant Quick Reply
Post by: daveiant on April 18, 2010, 12:46:07 PM
please check my forum...im confuce

www.cebuunderground.tk

user: test
pass: test
Title: Re: AJAX Instant Quick Reply
Post by: KensonPlays on April 18, 2010, 02:49:59 PM
First of all, please don't post 6 times within a few hours, wait for a reply, could take a few hours, a hour, a day, but please be patient, someone will come along that can help...
Title: Re: AJAX Instant Quick Reply
Post by: matt sich on April 26, 2010, 08:48:04 PM
hey guys.
I built and maintain www(dot)pariahstudios(dot)co(dot)uk/
I have a problem with our smf forum (www(dot)pariahstudios(dot)co(dot)uk/forum/)
When a user clicks the quick reply on the side of a post, the loader bar on the top of the page appears but the text input box on the bottom of the page never loads/appears.
I guess something's wrong with the connection to ajax..?
If you know how to fix this I would be rally grateful if you would help me out.

(for some reason I'm not allowed to post links so sorry about the '(dot)'s

respectfully,
matt
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on April 26, 2010, 08:54:19 PM
That is not related to this mod, you should start a topic in the proper support forum asking for assistance (either SMF 1.1.x Support or SMF 2.x Support)
Title: Re: AJAX Instant Quick Reply
Post by: Nirose on May 27, 2010, 12:43:57 PM
I am using SMF 1.1.11 and the installation went smooth but the Quick Reply doesn't show below any posts on the forums. And i don't see any option on the Administrator section to enable or disable them.

Could you guide me.
my forums at www.jucktion.com/forum/

username:ntrack
password:test
Title: Re: AJAX Instant Quick Reply
Post by: Tearstar on June 14, 2010, 02:51:37 AM
I'm using 2.0RC3 and just installed your mod, looks good . . . but it seems that since I have newest post at the top . . . when I quick reply, the loading bar pops up, but the page still reloads.

I am assuming that is due to the newest on top setting????
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 14, 2010, 03:37:58 AM
Should work with newest on top...id need a test account and link to your site to test
Title: Re: AJAX Instant Quick Reply
Post by: Tearstar on June 15, 2010, 03:04:55 PM
I've been told by others on the forums that it is working as it should so it must just be me and my system
Title: Re: AJAX Instant Quick Reply
Post by: Nirose on June 17, 2010, 10:57:21 PM
Anybody going to help me.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 17, 2010, 11:28:52 PM
Nirose, please read the very post of this topic...

QuoteFAQ
Q: After installing the mod, I don't see quick reply on my topic pages.
A: This mod does not add quick reply to your board.  One of SMF's included features is quick reply.  This only changes it's functionality.  To enable quick reply, you have to go to your profile and change your Look and Layout Preferences to display it.
Title: Re: AJAX Instant Quick Reply
Post by: EPG-Chris on June 20, 2010, 07:07:11 PM
is it possible to get quickreply on by default for every user ?
profile >> Look and Layout Preferences >> Use quick reply on topic display: Show, on by default
Title: Re: AJAX Instant Quick Reply
Post by: EPG-Chris on June 21, 2010, 03:32:49 PM
Nevermind after fiddling arround for some time i found out how to put this setting
for people who also were searching for this

Go into:
Admin pannel

In the block Configuration choose:
Themes and Layout

Click on:
Reset options

Hit: (from your own theme)
Reset default (guest) options for this theme

Set the option at:
Use quick reply on topic display:
And choose:
Show, on by default

there is probably allready something like this posted in this thread
but im yust trying to help and share ^^
Title: Re: AJAX Instant Quick Reply
Post by: !RFAN on June 27, 2010, 09:22:11 AM
i was thinking of adding this feature to my forum..then i noticed that this mod is installed but not working properly... i uninstalled the mod and tried to install it again.. but now..
i cant edit display.template.php
pleasse help me with this

file attached

thanks :)
Title: Re: AJAX Instant Quick Reply
Post by: steve51184 on July 14, 2010, 11:00:32 PM
does this mod work with the Auto Merge Double Post (http://custom.simplemachines.org/mods/index.php?mod=1523), Notify Modification Last Post (http://custom.simplemachines.org/mods/index.php?mod=1557) and WYSIWYG Quick Reply v2 (http://custom.simplemachines.org/mods/index.php?mod=1299) mods?
Title: Re: AJAX Instant Quick Reply
Post by: SergeantAsh on July 23, 2010, 11:40:52 AM
For some reason, the Ajax 'Please wait...' box does appear but the page then refreshes, as if the mod isn't installed? Anyone any ideas?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on July 23, 2010, 12:12:27 PM
Lots of ideas... can't test them without a link and a test account though.
Title: Re: AJAX Instant Quick Reply
Post by: qubbah on July 26, 2010, 09:56:12 AM
when using this ajax quick reply with IE 8 after clicking POST- it post the msg like normal quick reply.. i mean its refresh the whole page and we must wait for it.. but not in firefox.it dosnt refresh the whole page.. tq
Title: Re: AJAX Instant Quick Reply
Post by: attrell on July 27, 2010, 01:54:41 PM
Hello, I have a forum at www.railfans.ca

One user is having problems with the reply feature, thus I want to try this AJAX quick reply. I installed it but cannot get it to work. I am not a very advanced web master.

Anyway, if someone can get this to work for me, I will be happy to send $20 via paypal.

test account is test and password is test.

Just let me know what else you need from me.

Thank you.

Chris
Title: Re: AJAX Instant Quick Reply
Post by: KensonPlays on August 01, 2010, 12:37:01 AM
Quote from: SlammedDime on May 29, 2008, 08:18:56 PM
Quote from: ALEJO on May 29, 2008, 07:31:05 PM
screenshots plz?
Its not possible to get screen shots of this.  It doesn't add anything visually to SMF, merely changes the functionality of how quick reply works.
A video is possible.

I had to edit Display.template.php manually and found the submit button, but still does normal submitting. I did the correct area, but still no change. It still refreshes to post. :(
Title: Re: AJAX Instant Quick Reply
Post by: KensonPlays on August 03, 2010, 06:26:49 PM
Still won't work, although I did a fresh upgrade file I will try now.

IT WORKS! Thanks for this huge, awesome mod SD!
Title: Re: AJAX Instant Quick Reply
Post by: Nícholas Carballo on August 21, 2010, 01:23:20 PM
guys i installed this mod into my forum, but it is not working.
I'm using version 1.1.11 when I installed did not show any error.

I created a topic to see if the changes appeared to respond using the mod, nothing happened.

so was wondering if anyone can help me make it work

I am Brazilian, and sorry for bad english, I used the google translator, I'm too lazy to write.

my forum to views:
http://clanweb.webenergia.net/forum/index.php
user:test
password:test
------------------------------EDIT---------------------------------
I managed to make it work! now is know how put BBC into him
Title: Re: AJAX Instant Quick Reply
Post by: unformatted_ on August 25, 2010, 07:02:23 PM
Hi!

i'm using rc3, and after install mode, quickreply still normal without ajax.

What I have to do?

thanks
Title: Re: AJAX Instant Quick Reply
Post by: SlipperyDuck on September 02, 2010, 06:47:30 AM
I'm not as skilled as the rest of these people, I tried my best to try get it working, but I have a problem with manually editing my theme because of this line:

FIND:
display: none;" onclick="modify_msg
REPLACE WITH:
' . (!isset($_REQUEST['xml']) ? ' display: none;' : '') . '" onclick="modify_msg


Ordinarily i wouldnt have too much of an issue to edit and MOD my display.template, but this one has me stumped, since my line is:
      // Show the post itself, finally!
      echo '
                        </td>
                     </tr></table>
                     <hr width="100%" size="1" class="hrcolor" />
                     <div class="post"', $message['can_modify'] ? ' id="msg_' . $message['id'] . '"' : '', '>', $message['body'], '</div>', $message['can_modify'] ? '
                     <img src="' . $settings['images_url'] . '/icons/modify_inline.gif" alt="" align="right" id="modify_button_' . $message['id'] . '" style="cursor: pointer;" onclick="modify_msg(\'' . $message['id'] . '\', \'' . $context['session_id'] . '\')" />' : '' , '
                  </td>
               </tr>';


Title: Re: AJAX Instant Quick Reply
Post by: simmi2121 on September 02, 2010, 01:08:57 PM
hi experts ..   i installed this mod .. but the thing is in my custom theme it havent appered :( can any1 help me plz
Title: Re: AJAX Instant Quick Reply
Post by: SlipperyDuck on September 08, 2010, 03:42:37 AM
Is this mod no-longer-supported?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 08, 2010, 04:23:52 AM
Slipperyduck... you don't really have to worry about that edit.  The mod is still supported
Title: Re: AJAX Instant Quick Reply
Post by: SlipperyDuck on September 09, 2010, 05:41:59 AM
thx slammed, guess I was just a little impatient...my appologies.
Anyway...trying to figure out context of syntax...since I'm NOT well versed in PHP, or at the very least don't actually do any web stuff for a living, Im trying to understand how/where in the syntax to add the statement (!isset($_REQUEST['xml']) ?

I'm under the assumption that ' . (!isset($_REQUEST['xml']) ? ' somehow sits before/after another period --> .
anyway. Any assistance would be welcome... I've seen this mod on many other forums and it's awesome, would really like to see it on mine.

thanks again, sorry if I seemed rude, I'm really not....promise
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on September 09, 2010, 06:04:41 AM
You would want to do this...

Code (Find) Select
style="cursor: pointer;" onclick="modify_msg

Code (Replace) Select
style="cursor: pointer;' . (!isset($_REQUEST['xml']) ? ' display: none;' : '') . '" onclick="modify_msg

For some reason your template is missing the display: none that should be there.
Title: Re: AJAX Instant Quick Reply
Post by: SlipperyDuck on September 09, 2010, 06:16:31 AM
THANKS - that will probably do it, I'll give it a go - you're a STAR :)
Title: Re: AJAX Instant Quick Reply
Post by: SlipperyDuck on September 09, 2010, 06:34:11 AM
Worked PERFECTLY ! you are da Man - Thanks a lot Slammed
Title: Re: AJAX Instant Quick Reply
Post by: Makar on September 10, 2010, 06:55:41 AM
mod is not working properly
creates a new message instead of merge messages
when working together with the mod
auto merge duble post and Antibumper
Title: Re: AJAX Instant Quick Reply
Post by: V@no on October 31, 2010, 08:19:44 PM
Thank you for this very useful mod!

There is a little bug that might return javascript error because xml data is not filtered, so when the generated html contains <![CDATA[ ... ]]> it will mess up the whole xml data.

The fix is very simple, in Display.template.php (install_1_1.xml)

Find:
    $buffer .

Replace it with:
    str_replace("]]" . ">", "]]&gt;", $buffer) .

For these who is using Babylon theme, I've attached the installation file that supports that theme.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on October 31, 2010, 09:59:07 PM
Thanks V@no, I'll look into that for the next version to be released for SMF 2.0 RC4.  I thought that issue cropped up in the past and was already fixed, but I'll look at it again.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 01, 2010, 07:53:51 PM
Updated for 2.0 RC4
Title: Re: AJAX Instant Quick Reply
Post by: SergeantAsh on November 11, 2010, 02:59:23 PM
SlammedDime, are all issues/bugs found also corrected in the version for 2.0 RC3 now? I'm anxious to get this functionality back onto my forum so as to save bandwidth on page loads - such a great mod, its bizarre as to why this hasn't been included by the SMF team as standard!?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 11, 2010, 04:54:51 PM
The current version will not work on 2.0 RC3, it is for 2.0 RC4 only.
Title: Re: AJAX Instant Quick Reply
Post by: SergeantAsh on November 11, 2010, 05:45:58 PM
:( Is there any chance that you can fix the RC4 version so as to work with RC3? I REALLY REALLY want this mod!!! :D
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 11, 2010, 05:51:59 PM
I'd suggest upgrading to RC4... there are a couple of important security fixes.  I won't backport the mod back to RC3.
Title: Re: AJAX Instant Quick Reply
Post by: nob4uask on November 11, 2010, 06:02:12 PM
Morn All,

Really new to this and prefer trying to figure things out by reading and researching but not having any luck.  I just installed the ajaxchat integration and it went fine although I have the same old 404 error mentioned in other posts.

There isn't an .htaccess file in the same directory as the iss.php file, don't even know where to start.  I am running an apache2 server with default theme of smf 1.1.12

Please keep it kinda simple because I am getting older and slower.

Thank you for you time.

I posted this in the integration thread, but didn't get any response.  Any help would be appreciated.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 11, 2010, 07:46:13 PM
Are you posting to the right topic?
Title: Re: AJAX Instant Quick Reply
Post by: nob4uask on November 11, 2010, 11:16:21 PM
Quote from: SlammedDime on November 11, 2010, 07:46:13 PM
Are you posting to the right topic?

Arvo slammed,

Probably not, just saw the ajax part so thought I would give it a try here.  I tried the ajax integration thread but no one responded, just trying to get pointed in the right direction.

Sorry about that.
Title: Re: AJAX Instant Quick Reply
Post by: avin765 on November 18, 2010, 06:49:29 AM
The quick reply works as usual (reloading the page) in my smf 2.0 rc4 installation everything went well and package manager shows clean install and uninstall. Is the problem with 2.0 rc4? i had the mod working well and good in 1.1.12
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 18, 2010, 09:03:34 AM
Clear your browser cache and try again, sometimes the javascript doesn't recache right away.
Title: Re: AJAX Instant Quick Reply
Post by: avin765 on November 20, 2010, 04:27:27 AM
Tried that with no success. Does the script check for the browser? I have my user agent changed for firefox
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on November 20, 2010, 03:38:20 PM
Nope, it's not useragent specific... I'll need a link to your site with a test account to try it out...
Title: Re: AJAX Instant Quick Reply
Post by: avin765 on November 21, 2010, 01:27:14 AM
Never Mind, I switched back to 1.1.12. I think i have to do a bit more research on 2.0rc4 to get a nice theme and required mods working on it. Thanx for your mod anyway, I am still using it on 1.1.12 without any trouble.
Title: Re: AJAX Instant Quick Reply
Post by: Original21 on December 08, 2010, 04:47:38 PM
Hello everyone.
It is possible to configure the instant quick reply? I want to enable it for every user..
maxcheaters.com use it!
Title: Re: AJAX Instant Quick Reply
Post by: Makar on December 09, 2010, 06:59:25 AM
mod works great
but when I'm install  higslide4smf mod,    then it ceases to send messages  :'( :'( :'(

if higslide4smf mod removed, the problem remains!
Title: Re: AJAX Instant Quick Reply
Post by: abraamz on December 09, 2010, 03:50:51 PM
Hi there, nice mod
I have just realized that this mod makes posts with html entities in my forum. I posted with AJAX reply and then with regular reply and the first was entities and the second regular  text.
Its a forum with greek language, charset=windows-1253
Is that a real problem with google or adsense crawler?
Could my forum be penalized by google for bad coding or something?
Title: Re: AJAX Instant Quick Reply
Post by: cortez on December 28, 2010, 04:49:16 PM
Works like a charm on 1.1.12

How to add smileys and other buttons in that?

Enhanced quick reply can't be installed with this addon existing.
Title: Re: AJAX Instant Quick Reply
Post by: Mari-chi on January 02, 2011, 11:56:08 PM
Hi,

I was wondering how I could get rid of the pink/red loading bar that appears at the top of the page when the quick reply submission is being processed. My forum url is: http://audeamusrpg.com/forums

Thank-you very much for reading. :)

-Mari
Title: Re: AJAX Instant Quick Reply
Post by: V@no on January 03, 2011, 12:08:33 AM
Quote from: marijang on January 02, 2011, 11:56:08 PMI was wondering how I could get rid of the pink/red loading bar that appears at the top of the page when the quick reply submission is being processed.

In xml_topic.js search and remove 8 times:
if (typeof window.ajax_indicator == "function")
ajax_indicator
(note, second line above is only partial, but you need remove both FULL lines.)
Title: Re: AJAX Instant Quick Reply
Post by: Mari-chi on January 03, 2011, 12:42:49 AM
I'm sorry, this must be a very repetitive question, but: where is the xml_topic.js file? :$
Title: Re: AJAX Instant Quick Reply
Post by: V@no on January 03, 2011, 12:45:42 AM
in Themes/default
Title: Re: AJAX Instant Quick Reply
Post by: Mari-chi on January 03, 2011, 10:43:14 AM
Hmm I can't seem to find that file in themes/default. :S I've looked through all the folders and files in the 'themes' folder.
Title: Re: AJAX Instant Quick Reply
Post by: mirahalo on January 03, 2011, 10:47:59 AM
Quote from: Mari-chi on January 03, 2011, 12:42:49 AM
I'm sorry, this must be a very repetitive question, but: where is the xml_topic.js file? :$

it will be topic.js and its on /Themes/default/scripts/
Title: Re: AJAX Instant Quick Reply
Post by: V@no on January 03, 2011, 10:53:12 AM
oh, evidently it's different in SMF2..sorry about that.
Title: Re: AJAX Instant Quick Reply
Post by: Mari-chi on January 03, 2011, 11:28:59 AM
It worked! Thank-you very much. :)

There were more than 8 lines to remove, I think, and I also removed the (false); and (true); that came after ajax_indicator... Haha. Not sure if I was supposed to do that, but it's working perfectly.

Thanks again! :D
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on January 03, 2011, 02:26:43 PM
Note that the ajax loader is a smf feature, not something this mod installed... and i recommend leaving it in place.  it can be a great indicator of trouble if it appears but never goes away
Title: Re: AJAX Instant Quick Reply
Post by: krazytim on January 06, 2011, 08:45:05 AM
Hi Slammed, I have been using this script on my forum forever. Thank you so much for the work you've put into this little beautiful mod. :)

With that said, what is the current progress on this known issue?

Quote from: SlammedDime on May 29, 2008, 06:59:11 PM
Known Issues:
After posting, boardindex still shows board as unread (or, has new replies)

I am using SMF 1.1.12, is there a fix for this bug that I am not seeing, or is it still unresolved? (I looked first for about an hour before posting this, fyi. Sorry if I missed something.)
Title: Re: AJAX Instant Quick Reply
Post by: Subject13 on January 10, 2011, 10:08:06 PM
Hey I am Subject13 and I run a site named Xenomorph Hive (http://xenomorph-hive.net/) We have tons of customizable looks on the forums and I would really like to install this mod but it does not show up on any of the themes we are using. There is a total of three themes being used and they were all made by Dziner Studio with many tweaks and updates made to them. My SMF Version is 1.1.12. I use the following mods:

1.    Remove Reply Prefix
2.    Ultimate Profile
3.    Favicon
4.    YouTube BBCode
5.    Topic View Log
6.    Aeva Media
7.    Advanced Login Form
8.    VB Style Board Index
9.    PM On Registration
10.    AJAX Instant Quick Reply
11.    Spoiler BBCode
12.    Increase/Decrease Postbox Size
13.    Anti-Spam Verification Questions
14.    SimplePortal

Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on January 11, 2011, 12:34:59 AM
As with all mods installed in SMF, they need to be manually installed on any theme besides the default.  If your custom theme does not have the theme files this modifies, SMF automatically falls back to the default, so you don't need to edit that particular file.  You will need to manually install the mod on any of your custom themes.
Title: Re: AJAX Instant Quick Reply
Post by: abraamz on January 12, 2011, 01:55:06 PM
Quote from: abraamz on December 09, 2010, 03:50:51 PM
I have just realized that this mod makes posts with html entities in my forum. I posted with AJAX reply and then with regular reply and the first was entities and the second regular  text.
Its a forum with greek language, charset=windows-1253
is that how it is supposed to work, or is it a bug?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on January 12, 2011, 09:52:52 PM
It's a bug, the AJAX POST is not being submitted properly.
Title: Re: AJAX Instant Quick Reply
Post by: krazytim on January 13, 2011, 02:55:00 AM
This is a bump on my last post which you missed.

----------

Hi Slammed, I have been using this script on my forum forever. Thank you so much for the work you've put into this little beautiful mod. :)

With that said, what is the current progress on this known issue?

Quote from: SlammedDime on May 29, 2008, 06:59:11 PM
Known Issues:
After posting, boardindex still shows board as unread (or, has new replies)

I am using SMF 1.1.12, is there a fix for this bug that I am not seeing, or is it still unresolved? (I looked first for about an hour before posting this, fyi. Sorry if I missed something.)

*Note: I tried to use the fix listed right after it (although it is unclear whether or not that fix is related to the issue), where you add in the line with the "goback" code in it, but that didn't seem to solve the issue. Please let me know, thanks. :)
Title: Re: AJAX Instant Quick Reply
Post by: abraamz on January 13, 2011, 09:41:23 AM
Quote from: SlammedDime on January 12, 2011, 09:52:52 PM
It's a bug, the AJAX POST is not being submitted properly.
How can i repair the messages with the html entities in my database?
Is there some script or any phpmyadmin trick?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on January 13, 2011, 06:48:05 PM
Not that I know of unfortunately.  You could try to just straight up edit the post and resave it and that might do it.  Once I get this project setup on Bitbucket I'll have to add this to the bug tracker. 

Edit: Tracked (https://code.mattzuba.com/ajax-quick-reply/issue/1/utf-8-board-submitting-entities-via-post)
Title: Re: AJAX Instant Quick Reply
Post by: krazytim on January 20, 2011, 04:17:29 AM
@SlammedDime - Is there a fix to the "After posting, boardindex still shows board as unread (or, has new replies)" issue? A simple yes or no will suffice. :)

I couldn't tell if your previous posts were addressing my question or someone else's.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on January 20, 2011, 10:46:26 AM
I don't remember at the moment... I'll have to test later (or if someone wants to for me) and check.
Title: Re: AJAX Instant Quick Reply
Post by: Jeet Chowdhury on January 20, 2011, 01:23:20 PM
have installed it but it just normal reply not ajax. what to do?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on January 20, 2011, 02:43:01 PM
Read the first post of the topic; specifically the last FAQ.
Title: Re: AJAX Instant Quick Reply
Post by: Hoborg on January 22, 2011, 11:59:54 AM
does it work alongside WYSIWYG Quick Reply v2 (http://custom.simplemachines.org/mods/index.php?mod=1299) ?

at least for me in 2.0 RC4 it doesn't; when i click on Post button it does nothing!
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on January 22, 2011, 01:15:43 PM
Not likely without some modification.  I'm going to make an effort with the next version of the mod to make it theme and 'other mod' dependent, but no promises.
Title: Re: AJAX Instant Quick Reply
Post by: Chris7 on January 26, 2011, 11:17:52 AM
Hello, Ok I am far from experienced with editing templates and stuff.

I am using Actualism theme by Crip. I have installed a quick reply and shoutbox but neither are showing. They show on the default theme so i understand I need to edit the template in the Actualism theme.

I clicked the parser and selected 1.1.12 as that is what my forum is.

It starts with the 1st edit being ./Sources/Errors.php. I go into my themes and layout section, modify themes, then browse the template and files. I can't see ./Sources/Errors.php in there. I have images, languages, index.php, index.template.php, style.css and theme_info so where would I find this if I am looking in the correct section ? If not can someone point me to the correct section.

Thanks.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on January 26, 2011, 12:07:12 PM
You need to edit anything in the ./Themes directory.  ./Sources is the main Sources folder and those files have already been edited.
Title: Re: AJAX Instant Quick Reply
Post by: Chris7 on January 26, 2011, 01:10:16 PM
thanks, but there isn't a Themes directory where I am looking.

Am I looking in the right place ?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on January 26, 2011, 02:42:29 PM
Just look for the file names... if the path is Themes/default/Display.template.php, you need to look for and edit Display.template.php in your theme.
Title: Re: AJAX Instant Quick Reply
Post by: Chris7 on January 26, 2011, 03:03:59 PM
QuoteI go into my themes and layout section, modify themes, then browse the template and files. I have images, languages, index.php, index.template.php, style.css and theme_info so where would I find this if I am looking in the correct section ? If not can someone point me to the correct section.

Am i missing something. The file names i listed above are all I see. I see no Display.template.php.

I take it I am looking in the wrong section ??
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on January 26, 2011, 05:08:49 PM
If you don't see it, you don't have to edit it.  If you don't see it, that means SMF is falling back to the default during runtime.  Based on the files you have, you shouldn't have to edit anything, it should work 'out of the box' on your theme.
Title: Re: AJAX Instant Quick Reply
Post by: Chris7 on January 26, 2011, 06:22:11 PM
OK so if I don't  need to edit any template where are the settings to enable the quick reply to show up ?

Thanks
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on January 26, 2011, 06:35:29 PM
Forgive the following for sounding harsh... As I have said time and time and time again in this topic, and even in the first post as an FAQ, this mod does not add quick reply to your forum.  Quick reply is a standard feature already available with SMF, this mod only enhances how it operates.

http://docs.simplemachines.org/index.php?topic=188.0
Title: Re: AJAX Instant Quick Reply
Post by: Arantor on January 26, 2011, 06:38:10 PM
Quote from: SlammedDime on January 26, 2011, 06:35:29 PM
Forgive the following for sounding harsh... As I have said time and time and time again in this topic

I thought you knew by now that most mod users don't read what's put in front of them, even if in the mod thread, mod page and mod readme, people will still ask... :P (And people wondered why Nao got so frustrated ;))
/off topic

This is still a sexy mod.
Title: Re: AJAX Instant Quick Reply
Post by: Chris7 on January 26, 2011, 07:05:58 PM
Ok i didn't know it was built in.

Now i have found it. How difficult was that for something so simple.

Sorry for wasting your time. But thanks for the help.
Title: Re: AJAX Instant Quick Reply
Post by: clammier on February 06, 2011, 02:15:29 PM
Hello mr. SlammedDime. I will try not to be pain in the ass and will explain it well, although, there's not much to explain.

So, here it is. I've installed brand new SMF 2.0.4 RC4 version on my web hosting, all went smooth. After that, I've installed couple of themes and finally, I wanted to install your mod. However, even tho it all went without a problem, it's not really working. After quick reply is posted, I'm being sent back to topics view.

Theme I'm using is: Krilliun

I've tried changing back to default theme (Curve I think it's called) and try it there, but still no effect.. If you'd be able to assist me in any way, I'd appreciate it. I'm quite sure somebody else had the same problem like me before, but I couldn't really read 42 pages - I've read some but couldn't find anything. If you need to take a closer look at this, I'm willing to give you everything you need in order to help me with this (forum account with admin privileges, even hosting access, lol :)).

Problem is, I haven't used SMF for nearly 3-4 years and I've been using phpBB3 during that time.. And I'm not sure if there is some "theme" refresh button like phpBB3 has, to have it shown & working..

Thanks in advance
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on February 06, 2011, 03:24:01 PM
all I need is a normal user test account and a link to your forum to test it myself.  Make sure you have cleared your cache in your browser and also make sure you have enabled the option to return to the topic after posting, instead of returning to the topic index (which is an SMF option located in your profile's look and layout options, not an option of this mod (infact, this mod has no options))
Title: Re: AJAX Instant Quick Reply
Post by: clammier on February 06, 2011, 03:59:50 PM
Wow... I totally forgot about this option! I was wondering why I was always sent to topic index page instead of the topic where I posted!

I turned it on and it works! Thank you a lot :)
Title: Re: AJAX Instant Quick Reply
Post by: spiros on February 20, 2011, 11:02:38 AM
Tried on RC5 (fresh install) and failed for a number of replacements on /Themes/default/Display.template.php.


Also, this file was not found:
./Themes/default/scripts/xml_topic.js
Title: Re: AJAX Instant Quick Reply
Post by: Original21 on February 20, 2011, 03:15:06 PM
Hello Everyone. I was wondering how I could enable by default this mod for all users...
The default is : don't show at all..
How I could change it to: show on by default ?
Thx in adv
Title: Re: AJAX Instant Quick Reply
Post by: Jessica. on February 20, 2011, 05:23:02 PM
Quote from: Original21 on February 20, 2011, 03:15:06 PM
Hello Everyone. I was wondering how I could enable by default this mod for all users...
The default is : don't show at all..
How I could change it to: show on by default ?
Thx in adv

I think you mean Quick Reply in general, not this mod
Title: Re: AJAX Instant Quick Reply
Post by: Original21 on February 21, 2011, 09:13:49 AM
Quote from: Jessica. on February 20, 2011, 05:23:02 PM
Quote from: Original21 on February 20, 2011, 03:15:06 PM
Hello Everyone. I was wondering how I could enable by default this mod for all users...
The default is : don't show at all..
How I could change it to: show on by default ?
Thx in adv

I think you mean Quick Reply in general, not this mod
maybe yes
Title: Re: AJAX Instant Quick Reply
Post by: timned88 on February 26, 2011, 10:26:00 PM
RC5 update...  PLEASE!!!!!
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on February 26, 2011, 10:53:41 PM
WHen i have time, thanks!
Title: Re: AJAX Instant Quick Reply
Post by: Natherul on March 31, 2011, 03:44:54 AM
sorry if this seems like a stupid thing to ask but:

has something changed in 2.0 RC5 that "cripples" this mod per say or can we just emulate a lower RC to make it work?

also awsome work SlammedDime, hope you get the time to update :P
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on March 31, 2011, 11:37:10 AM
I'm not sure, I haven't tested it on RC5.
Title: Re: AJAX Instant Quick Reply
Post by: Natherul on March 31, 2011, 12:09:24 PM
well for now it seems to work in RC5 if one emulate RC4 under advanced in packages.... Have not tested it much yet but a few tries with no problem
Title: Re: AJAX Instant Quick Reply
Post by: Ascot on June 12, 2011, 10:30:07 PM
Can you tell me how can i make it works for RC5 please?
Also i don't know what you mean with emulate. Can someone explain me that please?
Thanks!
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 13, 2011, 11:36:59 AM
Click 'Advanced' at the bottom of the 'Browse Packages' screen in your admin panel and change the version to RC4.
Title: Re: AJAX Instant Quick Reply
Post by: TurtleKicker on June 14, 2011, 05:11:28 PM
Quote from: SlammedDime on June 13, 2011, 11:36:59 AM
Click 'Advanced' at the bottom of the 'Browse Packages' screen in your admin panel and change the version to RC4.

So does that mean this works fine in 2.0 final if you simply emulate RC4?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 14, 2011, 05:14:48 PM
Haven't tested it... it probably will.
Title: Re: AJAX Instant Quick Reply
Post by: nsno on June 15, 2011, 07:06:58 AM
can't get that to work
Title: Re: AJAX Instant Quick Reply
Post by: Ascot on June 16, 2011, 12:36:18 PM
What modification can i do manually for making this interact with WYSIYWG quick answer editor ?
http://custom.simplemachines.org/mods/index.php?mod=1299
help please.
Thanks
Title: Re: AJAX Instant Quick Reply
Post by: Jessica. on June 16, 2011, 03:59:28 PM
Quote from: SlammedDime on June 13, 2011, 11:36:59 AM
Click 'Advanced' at the bottom of the 'Browse Packages' screen in your admin panel and change the version to RC4.

going to try this..
Title: Re: AJAX Instant Quick Reply
Post by: Biology Forums on June 22, 2011, 02:15:17 AM
Incredible Mod. I've been waiting for something like this for a while now, just discovered it. Excellent work.
Title: Re: AJAX Instant Quick Reply
Post by: spiros on June 22, 2011, 06:53:41 PM
Quote from: sremick on June 14, 2011, 05:11:28 PM
Quote from: SlammedDime on June 13, 2011, 11:36:59 AM
Click 'Advanced' at the bottom of the 'Browse Packages' screen in your admin panel and change the version to RC4.

So does that mean this works fine in 2.0 final if you simply emulate RC4?


Did you test? How do you emulate RC4?
Title: Re: AJAX Instant Quick Reply
Post by: Jessica. on June 22, 2011, 08:57:06 PM
Quote from: SlammedDime on June 13, 2011, 11:36:59 AM
Click 'Advanced' at the bottom of the 'Browse Packages' screen in your admin panel and change the version to RC4.

that's what you do. I have 2.0 final and it installed fine
Title: Re: AJAX Instant Quick Reply
Post by: janitro on June 22, 2011, 11:18:18 PM
Quote from: Jessica. on June 22, 2011, 08:57:06 PM
Quote from: SlammedDime on June 13, 2011, 11:36:59 AM
Click 'Advanced' at the bottom of the 'Browse Packages' screen in your admin panel and change the version to RC4.

that's what you do. I have 2.0 final and it installed fine

I emulated the version as you said but it shows "test failed" errors when trying to apply it to Core theme, any suggestions?
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 23, 2011, 11:47:38 AM
It won't work on Core, it's not made to.  It'll only work on Curve and any theme based on Curve.
Title: Re: AJAX Instant Quick Reply
Post by: Biology Forums on June 23, 2011, 03:29:07 PM
Quote from: SlammedDime on June 23, 2011, 11:47:38 AM
It won't work on Core, it's not made to.  It'll only work on Curve and any theme based on Curve.

IUt can be made to work on anything.
Title: Re: AJAX Instant Quick Reply
Post by: SlammedDime on June 23, 2011, 04:32:49 PM
Sure it can, but I don't support it on Core except for SMF 1.1.x.
Title: Re: AJAX Instant Quick Reply
Post by: Subject13 on August 08, 2011, 08:56:05 PM
Is it possible to make Quick Reply for everyone and not just manual?
Title: Re: AJAX Instant Quick Reply
Post by: MiY4Gi on August 09, 2011, 03:33:09 PM
Okay, I understand the usefulness of having the AJAX loading bar, but the bar just looks so ugly so I had to remove it. If I have the option of using a different kind of loading indicator, then I might change my mind.

Anyway, this mod installed on my 2.0 Gold forum and Ambassador theme just fine. It's working as it should, even after I removed the ugly loading bar.
Title: Re: AJAX Instant Quick Reply
Post by: Keat on August 12, 2011, 11:21:22 PM
Update pleaseeee :)
Title: Re: AJAX Instant Quick Reply
Post by: Suki on August 12, 2011, 11:34:12 PM
The ugly loading bar can be fully edited via css.
Title: Re: AJAX Instant Quick Reply
Post by: MiY4Gi on August 13, 2011, 10:19:44 AM
Quote from: Miss All Sunday on August 12, 2011, 11:34:12 PM
The ugly loading bar can be fully edited via css.

You're right, but what I had in mind was more of an admin option to choose which loading bar to use. If I had to choose, I'd prefer that little loading spiral thingy that appears over flash media to show that the media is loading.

Mm, I should have commented out the ajax indicators instead of removing them. Well, it's too late for that now. I'll just have to edit them back in if I need them.

Quote from: Keat on August 12, 2011, 11:21:22 PM
Update pleaseeee :)

It works on 2.0 Gold. You may have to emulate to an earlier version of SMF though, and possibly do some manual edits.
Title: Re: AJAX Instant Quick Reply
Post by: Biology Forums on August 13, 2011, 08:36:38 PM
Sounds like a good idea...

QuoteI'd prefer that little loading spiral thingy that appears over flash media to show that the media is loading.
Title: Re: AJAX Instant Quick Reply
Post by: Suki on August 13, 2011, 09:04:53 PM
Quote from: Miss All Sunday on August 12, 2011, 11:34:12 PM
The ugly loading bar can be fully edited via css.

to have an admin chose is not logical since we will be limiting the choices you may have,  its far better to let the admin change the loading bar via css.

Of course, the "spiral thingy"  can be placed instead of the abr with no problems using css.
Title: Re: AJAX Instant Quick Reply
Post by: luuuciano on August 14, 2011, 03:40:55 AM
What happens if other people replies at the same time on one post? (because I was writing my reply for 2hours, for example...)
I will see just my ajaxed reply? and then when visiting the post again will see the other people replies
Title: Re: AJAX Instant Quick Reply
Post by: Biology Forums on August 14, 2011, 09:47:09 PM
Quote from: Miss All Sunday on August 13, 2011, 09:04:53 PM
Quote from: Miss All Sunday on August 12, 2011, 11:34:12 PM
The ugly loading bar can be fully edited via css.

to have an admin chose is not logical since we will be limiting the choices you may have,  its far better to let the admin change the loading bar via css.

Of course, the "spiral thingy"  can be placed instead of the abr with no problems using css.

I've created a mod for this (1.1.14)... Let me know if you want to test it out.
Title: Re: AJAX Instant Quick Reply
Post by: Suki on August 14, 2011, 09:51:41 PM
Quote from: luuuciano on August 14, 2011, 03:40:55 AM
What happens if other people replies at the same time on one post? (because I was writing my reply for 2hours, for example...)
I will see just my ajaxed reply? and then when visiting the post again will see the other people replies

If you were writing your reply for 2 hours then SMF will tell you that your session time has expired.
Title: Re: AJAX Instant Quick Reply
Post by: luuuciano on August 14, 2011, 11:18:40 PM
So, I can not write books on smf... damn
hehehe, it was just an example, lets try another more apropiated... the thread is hot, so people is writing a lot of replies too fast
The ajax reply will inform that someone else has written and do not post (lost my reply content?)? will post my reply but I will not see other replies until reload that page?

(Im just curious)
Title: Re: AJAX Instant Quick Reply
Post by: Suki on August 15, 2011, 08:51:19 PM
I'm not that familiar with this mod but the code seems to indicate you will get the classic notification that someone has replied before you, in that case the page will redirect you to the normal post area.
Title: Re: AJAX Instant Quick Reply
Post by: Biology Forums on August 26, 2011, 04:11:13 PM
I know this may be too much to ask, but I'm using the theme SMF:Revisited and I am having a difficult time parsing it, could anyone try it out for me? :(

I have my display.template.php attached :-\
Title: Re: AJAX Instant Quick Reply
Post by: Ascot on November 23, 2011, 07:31:07 PM
Hi there, i'm having some problems integrating this with WYSIWYG QR
i ¡'ve found the code AJAX QR modified from WysiwygQR  on my Display.template.php
Can anyone help me to debug this ?

red lines are content deleted from WYSIWYG QR by AJAX QR
green lines are the content added

( i figured out this is the only code where they touch eachother)

Quote
<div id="qr_buttons">
<input type="submit" name="post" value="', $txt['post'], '" onclick="return submitThisOnce(this);"', $context['ajax_quick_reply'] ? 'oQuickReply.ajax_reply(\" . $context['session_var'] . '\', \" . $context['session_id'] . '\')' : 'submitThisOnce(this)', ';"

accesskey="s" tabindex="', $context['tabindex']++, '" class="button_submit"/>
<input/><input type="submit" name="preview" value="', $txt['preview'], '" onclick="return submitThisOnce(this);" accesskey="p" tabindex="', $context['tabindex']++, '" class="button_submit" />';
if ($context['show_spellchecking'])[/l]
In order to fix this, what can i do ? Sorry i'm just a noob at php
thanks
Title: Re: AJAX Instant Quick Reply
Post by: Gryzor on December 14, 2011, 11:42:02 AM
This looks lovely... has anyone tried if it works with 2.0.1?
Title: Re: AJAX Instant Quick Reply
Post by: Ascot on December 18, 2011, 01:51:15 PM
Quote from: Ascot on November 23, 2011, 07:31:07 PM
Hi there, i'm having some problems integrating this with WYSIWYG QR
i ¡'ve found the code AJAX QR modified from WysiwygQR  on my Display.template.php
Can anyone help me to debug this ?

red lines are content deleted from WYSIWYG QR by AJAX QR
green lines are the content added

( i figured out this is the only code where they touch eachother)

Quote
<div id="qr_buttons">
<input type="submit" name="post" value="', $txt['post'], '" onclick="return submitThisOnce(this);"', $context['ajax_quick_reply'] ? 'oQuickReply.ajax_reply(\" . $context['session_var'] . '\', \" . $context['session_id'] . '\')' : 'submitThisOnce(this)', ';"

accesskey="s" tabindex="', $context['tabindex']++, '" class="button_submit"/>
<input/><input type="submit" name="preview" value="', $txt['preview'], '" onclick="return submitThisOnce(this);" accesskey="p" tabindex="', $context['tabindex']++, '" class="button_submit" />';
if ($context['show_spellchecking'])[/l]
In order to fix this, what can i do ? Sorry i'm just a noob at php
thanks


Help please, i been waiting for days.
Title: Re: AJAX Instant Quick Reply
Post by: briggz5d on January 01, 2012, 08:25:11 AM
SMF 2.0.2 user: tried to install it emulating smf 2.0 RC4 - Just toooo many edits to Display.template required. Too many. maybe some other time...
Title: Re: AJAX Instant Quick Reply
Post by: ainindia on January 02, 2012, 05:15:47 AM
Works like a charm...Thanks for the mod
Title: Re: AJAX Instant Quick Reply
Post by: cseverson on January 05, 2012, 09:24:00 AM
can't get it to work with SMF 2.0.2
Title: Re: AJAX Instant Quick Reply
Post by: Suki on January 05, 2012, 10:03:49 AM
How can I install a mod that doesn't work in my SMF version? (http://wiki.simplemachines.org/smf/How_can_install_a_mod_that_doesn%27t_work_in_my_SMF_version)
Title: Re: AJAX Instant Quick Reply
Post by: !RFAN on March 01, 2012, 07:13:59 AM
Can i get help with this mod?

i installed this mod without any error. But when i reply to any topic it does not show me the post. And when i refresh the page i can see the new post.

it makes post but cannot show it immediately.. :s
Title: Re: AJAX Instant Quick Reply
Post by: Game.ruler on April 28, 2012, 08:50:21 AM
Its not installing in LikeVB theme.
When installing i got 2 errors in display.template.php
Is there any1 to help?
Title: Re: AJAX Instant Quick Reply
Post by: Biology Forums on April 28, 2012, 04:47:39 PM
Quote from: Game.ruler on April 28, 2012, 08:50:21 AM
Its not installing in LikeVB theme.
When installing i got 2 errors in display.template.php
Is there any1 to help?

Game.ruler, I like your theme, reminds me of vBulletin
Title: Re: AJAX Instant Quick Reply
Post by: OzzyMozzy on June 09, 2012, 01:29:22 AM
Quote from: Ascot on November 23, 2011, 07:31:07 PM
Hi there, i'm having some problems integrating this with WYSIWYG QR
i ¡'ve found the code AJAX QR modified from WysiwygQR  on my Display.template.php
Can anyone help me to debug this ?

red lines are content deleted from WYSIWYG QR by AJAX QR
green lines are the content added

( i figured out this is the only code where they touch eachother)

Quote
<div id="qr_buttons">
<input type="submit" name="post" value="', $txt['post'], '" onclick="return submitThisOnce(this);"', $context['ajax_quick_reply'] ? 'oQuickReply.ajax_reply(\" . $context['session_var'] . '\', \" . $context['session_id'] . '\')' : 'submitThisOnce(this)', ';"

accesskey="s" tabindex="', $context['tabindex']++, '" class="button_submit"/>
<input/><input type="submit" name="preview" value="', $txt['preview'], '" onclick="return submitThisOnce(this);" accesskey="p" tabindex="', $context['tabindex']++, '" class="button_submit" />';
if ($context['show_spellchecking'])[/l]
In order to fix this, what can i do ? Sorry i'm just a noob at php
thanks


Im having the same problem, my quick reply will not work with the new WYSIWYG nothing happens at all. The only way to post is to use the normal reply.
Title: Re: AJAX Instant Quick Reply
Post by: Nevaska on July 25, 2012, 09:01:46 PM
I installed the mod on my forum 2.0.2, had some errors in Display.template, but installing via correct parse.
But the mod did not work, can someone help me fix this?
Title: Re: AJAX Instant Quick Reply
Post by: humbleworld on January 17, 2013, 02:44:16 AM
is this MOD still alive. i wish it updated to version 2.0.3
Title: Re: AJAX Instant Quick Reply
Post by: Suki on January 17, 2013, 12:54:34 PM
It depends on the mod's license, currently the mod is licensed under a creative common Attribution-NonCommercial-NoDerivs 3.0, it means that you can redistribute the current mod but you cannot make derivations of it and thus, you cannot redistribute those derivations.

If you like to take over this mod, talk to the mod author, ask for permission from him and then ask the cust team to make the transfer to you, you will need to determinate the overall copyrights with the mod author as copyright and license are two different entities.

The mod is pretty much alive, at least for the 2.0.x branch.
Title: Re: AJAX Instant Quick Reply
Post by: Jessica. on January 17, 2013, 10:03:40 PM
Quote from: humbleworld on January 17, 2013, 02:44:16 AM
is this MOD still alive. i wish it updated to version 2.0.3

I've tried on 2.0.2 and it works fine. So I'm pretty sure it will work on 2.0.3
Title: Re: AJAX Instant Quick Reply
Post by: Skaty on January 18, 2013, 12:18:17 PM
Quote from: Jessica. on January 17, 2013, 10:03:40 PM
Quote from: humbleworld on January 17, 2013, 02:44:16 AM
is this MOD still alive. i wish it updated to version 2.0.3

I've tried on 2.0.2 and it works fine. So I'm pretty sure it will work on 2.0.3

installed manual but not working with 2.0.3 for me.
Title: Re: AJAX Instant Quick Reply
Post by: elforoof on May 22, 2013, 04:27:58 PM
How can i make it work on all the members?
Title: Re: AJAX Instant Quick Reply
Post by: BigMike on June 05, 2013, 04:06:30 PM
I installed this mod back with 2.0 was in a RC stage and it never worked. It also did not break my forum so I just left it be.

Recently I've had some time to tackle some forum work and decided to get this mod up and running. I removed it all and reinstalled for 2.0.4 and am still getting nothing.

In troubleshooting, I noticed that the lines for <!-- Start Single Post --> and <!-- End Single Post --> are not appearing in the final page output/render.

These lines are controlled by if (isset($context['message'])) so apparently my $context['message'] is never being set. I did a print_r of $context and sure enough [message] is not defined.

Looking over the code, this is only defined when !empty($_REQUEST['message']) is TRUE as per the first edit of /Sources/Display.php.

The code for Post.php has $_REQUEST['message'] being set when isset($_REQUEST['xml']) is TRUE.

This is as far as I can get. I assume this is set the moment someone tries to post a Quick Reply, as I believe it is the POST/GET data sent from the browser but I don't know how to capture & trouble shoot this...

Can someone help? Why would $_REQUEST['xml'] not be set? Or could someone show me how to print the contents of $_REQUEST so I can trouble shoot it?

Thanks!
BigMike


EDIT:
In Sources/Post.php I found:
if (!isset($_REQUEST['xml']))
loadTemplate('Post');

But not sure what to do with this.
Title: Re: AJAX Instant Quick Reply
Post by: BigMike on June 12, 2013, 10:07:47 AM
Quote from: BigMike on June 05, 2013, 04:06:30 PM
Can someone help? Why would $_REQUEST['xml'] not be set? Or could someone show me how to print the contents of $_REQUEST so I can trouble shoot it?
Anyone please?

Thanks
BigMike
Title: Re: AJAX Instant Quick Reply
Post by: elforoof on June 24, 2013, 07:31:00 PM
Can i get some advise, i installed it on my forum but its not working perfect. When i type then i hit post nothing happens. so i hit post again and nothing happens. but when you go to the board you see that you post twwice the same thing.

so it post but it looks like nothing its happening.
Title: Re: AJAX Instant Quick Reply
Post by: Biology Forums on June 25, 2013, 12:18:06 AM
If you've installed in on SMF 2, it's not programmed correctly for it. On SMF 1, however, it works perfectly.
Title: Re: AJAX Instant Quick Reply
Post by: BigMike on June 25, 2013, 11:58:55 AM
Thank you for the reply.
Quote from: Liam_michael on June 25, 2013, 12:18:06 AM
If you've installed in on SMF 2, it's not programmed correctly for it. On SMF 1, however, it works perfectly.
This is quite unfortunate.
Title: Re: AJAX Instant Quick Reply
Post by: Biology Forums on June 25, 2013, 07:14:13 PM
I've come to realize that this mod really isn't a big deal. It's a nice feature (a cool add-on), but it really isn't a website game changer.
Title: Re: AJAX Instant Quick Reply
Post by: BigMike on June 25, 2013, 07:52:01 PM
While I certainly agree its not a game changer, for the industry we are in nearly 90% of competing forums run vBulletin and they all have a instant quick reply feature. The main benefit in my opinion is a reduced server load, and secondary benefit would be increased participation.

I need to learn more about Javascript and AJAX before I can figure out what my issue is (as described six replies above).

BigMike
Title: Re: AJAX Instant Quick Reply
Post by: Jessica. on July 02, 2013, 01:16:51 AM
Quote from: Liam_michael on June 25, 2013, 12:18:06 AM
If you've installed in on SMF 2, it's not programmed correctly for it. On SMF 1, however, it works perfectly.

Works fine on my SMF.
Title: Re: AJAX Instant Quick Reply
Post by: Padre gremista on July 05, 2013, 11:58:51 PM
Good Night everyone.
I am trying install this MOD in my forum, but, it is not working correctly, show the message
"It's not compatible in your version SMF"

Somebody know the resolution of problem?

Sorry for my bad english, i am brazilian.:

My SMF is 2.0.4 version
Title: Re: AJAX Instant Quick Reply
Post by: dimspace on July 20, 2013, 04:24:56 PM
manual install on 2.0.3 worked just fine.

Only one line was a real issue
display: none;" onclick="oQuickModify.modifyMsg
in display.template doesnt exist in my 2.0.3 so i just ignored it. :D
Title: Re: AJAX Instant Quick Reply
Post by: Padre gremista on August 10, 2013, 12:31:17 AM
I have a problem here.
The page reload ever that i make a post and return to board.

How I modifity this and avoid this reload?
Title: Re: AJAX Instant Quick Reply
Post by: Hj Ahmad Rasyid Hj Ismail on September 17, 2013, 01:59:42 AM
I don't really think it is that difficult to install even on a custom theme. However, I don't offer support. You can test quick reply (with this mod's ajax) in my test site. Even as a guest, it works.
Title: Re: AJAX Instant Quick Reply
Post by: BigMike on September 17, 2013, 01:12:32 PM
Quote from: Liam_michael on June 25, 2013, 12:18:06 AM
If you've installed in on SMF 2, it's not programmed correctly for it.

It seems there are some here who have successfully installed this on SMF 2.x, correct? ahrasis mentions it working on his or her test site, and although he or she does not provide a link, I went to his or her site from his or her profile and that site is SMF 2.1 ... but the site requires an account to view and therefore I cannot verify if that is indeed the test site in question.
Title: Re: AJAX Instant Quick Reply
Post by: Hj Ahmad Rasyid Hj Ismail on September 20, 2013, 09:42:54 PM
Quote from: BigMike on September 17, 2013, 01:12:32 PM
Quote from: Liam_michael on June 25, 2013, 12:18:06 AM
If you've installed in on SMF 2, it's not programmed correctly for it.

It seems there are some here who have successfully installed this on SMF 2.x, correct? ahrasis mentions it working on his or her test site, and although he or she does not provide a link, I went to his or her site from his or her profile and that site is SMF 2.1 ... but the site requires an account to view and therefore I cannot verify if that is indeed the test site in question.

Sorry. My test site is in my signature:  http://anypost.qom.my. It doesn't require registration / login to post a reply.

By the way, I haven't maintained my personal website http://ahrasis.com for quite sometimes. It seems to have some problems.
Title: Re: AJAX Instant Quick Reply
Post by: BigMike on September 23, 2013, 03:47:39 PM
ahrasis,

Thank you for the reply. I see this mod is not functioning properly on your SMF 2.0.5 test site. Not with Firefox 25.0, not with Chrome 29.0.x, and not with IE 8.

Can anyone help me with reply #882 above? If so then thanks!

Regards,
Mike
Title: Re: AJAX Instant Quick Reply
Post by: Hj Ahmad Rasyid Hj Ismail on September 25, 2013, 06:33:18 AM
Quote from: BigMike on September 23, 2013, 03:47:39 PM
ahrasis,

Thank you for the reply. I see this mod is not functioning properly on your SMF 2.0.5 test site. Not with Firefox 25.0, not with Chrome 29.0.x, and not with IE 8.

Can anyone help me with reply #882 above? If so then thanks!

Regards,
Mike

Funny, I re-tested ajax reply but only find it working just fine on all three browser you said here: http://anypost.qom.my/index.php?topic=655770.msg828574#msg828574

EDITED: It works for registered user. Login: ajaxtester Password: ajaxtester http://anypost.qom.my/
Title: Re: AJAX Instant Quick Reply
Post by: Arantor on September 25, 2013, 08:44:20 AM
I just tried that as a guest and it posted and I was redirected back to the topic list. It works as expected for a registered user. Chrome 30 here.
Title: Re: AJAX Instant Quick Reply
Post by: Biology Forums on October 05, 2013, 02:13:23 AM
Has anyone else experience the quick edit not working with this thing installed?
Title: Re: AJAX Instant Quick Reply
Post by: Harvest on December 05, 2013, 03:18:41 PM
There seems to be a problem either on new version of SMF or Chrome. When the new post is aded the site does not "reload" and in the consol I get an error -
Uncaught TypeError: Object #<error> has no method 'getElementsByTagName'

in the onPostDone function.

Any ideas?
Title: Re: AJAX Instant Quick Reply
Post by: Padre gremista on July 07, 2014, 11:57:17 PM
Possible is update to SMF 2.0.7 version?

I install here emulating SMF 2.0 RC4 version and not work.
Title: Re: AJAX Instant Quick Reply
Post by: Hj Ahmad Rasyid Hj Ismail on July 17, 2014, 10:04:33 PM
It is surprising that you cannot install via emulating to SMF 2.0 RC4. If you have followed this topic: "How can I install a mod that doesn't work in my SMF version? (http://wiki.simplemachines.org/smf/How_can_install_a_mod_that_doesn%27t_work_in_my_SMF_version)", you might see some errors but that may be due to some other mods. It definitely can be fixed by manual modifications.

In case you still wanna install this mod, you have to manually modify the related files. I listed them out for you:
$sourcedir/Errors.php
$sourcedir/Display.php
$sourcedir/Post.php
$themedir/Display.template.php
$themedir/scripts/topic.js
$themedir/Xml.template.php

If you can get that files and attach them here, may be I or somebody else will help you in making the necessary changes to the said files.
Title: Re: AJAX Instant Quick Reply
Post by: Aaron10 on July 27, 2014, 12:34:05 PM
Will this work with this http://custom.simplemachines.org/mods/index.php?mod=1299
Title: Re: AJAX Instant Quick Reply
Post by: Hj Ahmad Rasyid Hj Ismail on July 28, 2014, 03:23:48 AM
I dont see why it will not...
Title: Re: AJAX Instant Quick Reply
Post by: Aaron10 on July 28, 2014, 09:31:28 PM
Installed on 2.0.8 with no errors! Awesome. (For the record I haven't installed the previous mod I mentioned yet).

I didn't have this:

Find:
if ((isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])

Replace:
if (!isset($_REQUEST['xml']) && (isset($context['pretty']['oldschoolquery']) || $context['pretty']['query_string']['board'] != $context['pretty']['board_urls'][$board]) && $modSettings['pretty_enable_filters'])

but said it wasn't vital so nevermind. Many thanks for this mod.
Title: Re: AJAX Instant Quick Reply
Post by: Apostaganha on October 18, 2015, 01:18:06 PM
file curropted :s
Title: Re: AJAX Instant Quick Reply
Post by: JerzyLS on May 28, 2016, 06:00:55 PM
This modification doesn't work with YouTube links and SimpleColorizer for me.
It isn't important, but I will be pleasure to solve these inconveniences.
Title: Re: AJAX Instant Quick Reply
Post by: Dhayzon on July 10, 2016, 10:04:07 PM
perfect work smf 2.0.11
Title: Re: AJAX Instant Quick Reply
Post by: memokal on December 05, 2016, 02:33:49 PM
Its not working with SMF 2.0.12

please update this one really need this..................................................... uhhhh
Title: Re: AJAX Instant Quick Reply
Post by: d3vcho on December 05, 2016, 02:40:22 PM
Hello!

Are you sure? This should work almost on any SMF version... You can follow this in case you didn't previously: How can I install a mod that doesn't work in my SMF version? (http://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version)

By the way, an update for this Mod is not probable since the author's last connection was on 2014.

Regards :)
Title: Re: AJAX Instant Quick Reply
Post by: memokal on December 05, 2016, 04:41:53 PM
Quote from: d3vcho on December 05, 2016, 02:40:22 PM
Hello!

Are you sure? This should work almost on any SMF version... You can follow this in case you didn't previously: How can I install a mod that doesn't work in my SMF version? (http://wiki.simplemachines.org/smf/How_can_I_install_a_mod_that_doesn%27t_work_in_my_SMF_version)

By the way, an update for this Mod is not probable since the author's last connection was on 2014.

Regards :)

Hello Thanks for your help. I succeed to install the mod

but now i cant enable it on my forum. It says i have to enable but there i cant find the configurations and i dont know where to enable mods
Title: Re: AJAX Instant Quick Reply
Post by: Aaron10 on June 08, 2017, 01:59:44 PM
Working fine on 2.0.14 after manually editing the files.
Title: Re: AJAX Instant Quick Reply
Post by: becometa on March 07, 2018, 10:19:04 AM
Quote from: Harvest on December 05, 2013, 03:18:41 PM
There seems to be a problem either on new version of SMF or Chrome. When the new post is aded the site does not "reload" and in the consol I get an error -
Uncaught TypeError: Object #<error> has no method 'getElementsByTagName'

in the onPostDone function.

Any ideas?

Bumping. Same here on SMF 2.0.15
Firefox, Opera and Vivaldi are working fine without any errors in console.
Chrome and Safari are the only ones not producing the right output - in order to see the message the manual page refresh is needed and console is being filled with error

XMLDoc.getElementsByTagName is not a function