Thread Rating:
  • 3 Votes - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 AJAX Quick Reply 1.2
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #31
RE: AJAX Quick Reply 1.2
AglioEoliO Wrote:Nice new feature Zinga

i´ll try it in my boards soon, thanks for releasing

PS: Could this mod increase my server resources usage? Thanks
AJAX generally decreases server load as an entire page doesn't have to be generated (plus MyBB uses a stripped core for handling AJAX).

Pirata Nervo Wrote:Last time that I read this thread, I read that inline moderation would not work anymore, is ti fixed?
Does it will replace mybbs quick reply with this one?
Yes to all.

My Blog
01-29-2008 09:29 PM
Find all posts by this user
AglioEoliO Offline
Junior Member
**
Posts: 39
Joined: Jan 2008
Post: #32
RE: AJAX Quick Reply 1.2
I Quick Replied with a normal account (not admin) about less time than flood check interval and its prints me:

HTML Code
"There was an error performing the update.

blablabla (flood advice, my lang is potuguese)"


any hint to fix this? To show only Flood Control advice?

01-29-2008 10:04 PM
Find all posts by this user
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #33
RE: AJAX Quick Reply 1.2
If that extra text is really bothering you, open up jscripts/ajaxqr.js
Find:

Javascript Code
alert('There was an error performing the update.\n\n'+message[1]);

And change the message to whatever you like.  For example, if you don't want that text at all, replace the above with:

Javascript Code
alert(message[1]);

Note that this will affect all error messages.


My Blog
01-29-2008 10:38 PM
Find all posts by this user
AglioEoliO Offline
Junior Member
**
Posts: 39
Joined: Jan 2008
Post: #34
RE: AJAX Quick Reply 1.2
OK, Thanks Zinga
01-29-2008 10:45 PM
Find all posts by this user
AglioEoliO Offline
Junior Member
**
Posts: 39
Joined: Jan 2008
Post: #35
RE: AJAX Quick Reply 1.2
ah... bad news for non-utf8 users =/

Now I´m using a backup at home I´ve tested once more and charset isn´t working properly

[Image: charsetbugmx8.th.jpg]

Normal Reply is right ("New Reply" Button), but Ajax Quick Reply is using utf-8 I think. My Board charset is "iso-8859-1" so special characters dont work at all...

Any idea how to fix it? Thanks...
(This post was last modified: 01-30-2008 04:32 AM by AglioEoliO.)
01-30-2008 04:31 AM
Find all posts by this user
AglioEoliO Offline
Junior Member
**
Posts: 39
Joined: Jan 2008
Post: #36
RE: AJAX Quick Reply 1.2
nevermind.
Converted my Database/Mybb Lang files to utf-8 so it works perfect now in xampplite

Thanks
(This post was last modified: 01-30-2008 06:45 AM by AglioEoliO.)
01-30-2008 06:45 AM
Find all posts by this user
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #37
RE: AJAX Quick Reply 1.2
AJAX with different character sets, other than UTF-8 is a pain, unfortunately...

My Blog
01-30-2008 06:25 PM
Find all posts by this user
dared Offline
Junior Member
**
Posts: 19
Joined: Jan 2008
Post: #38
RE: AJAX Quick Reply 1.2
ZiNgA BuRgA Wrote:
dared Wrote:one more edit..Frown : zinga its still not works on my board Frown nothing happens Ouch  i can use other mods with ajax, for example overview can refresh itself with ajax Frown plss.
Could you please explain more than just "it's not working"?
For example, what happens when you post a message?

when i post a messege normal message is sending wait while a sec. or click here page appears.. normal redirecting page...
01-30-2008 07:51 PM
Find all posts by this user
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #39
RE: AJAX Quick Reply 1.2
dared Wrote:
ZiNgA BuRgA Wrote:
dared Wrote:one more edit..Frown : zinga its still not works on my board Frown nothing happens Ouch  i can use other mods with ajax, for example overview can refresh itself with ajax Frown plss.
Could you please explain more than just "it's not working"?
For example, what happens when you post a message?

when i post a messege normal message is sending wait while a sec. or click here page appears.. normal redirecting page...
Did you try the template edits posted in the first post?

My Blog
01-30-2008 08:11 PM
Find all posts by this user
dared Offline
Junior Member
**
Posts: 19
Joined: Jan 2008
Post: #40
RE: AJAX Quick Reply 1.2
it works now... i miss that template edit :$ sorry.. Biggrin +rep
(This post was last modified: 01-30-2008 08:51 PM by dared.)
01-30-2008 08:48 PM
Find all posts by this user

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: