PDA

View Full Version : New Posting Features - [AJAX] Quick Thread Preview


1Unreal
07-27-2009, 10:00 PM
[AJAX] Quick Thread Preview

What It Does
Adds a button next to the preview button which when clicked will show a preview of the post almost instantly. All the BB code will be parsed and it supports custom BB code.

Demo (http://www.youtube.com/watch?v=assn4Mfhp9E) - Excuse the video quality

How to install

Download the attached file and extract it.
Upload "quickpreview.php"
Install the product "product-ajaxthreadpreview.xml"
And you're away!


It's not working

Go to the options (vB Options > Quick Preview Settings) and make sure that "Include jQuery?" is set to "Yes"
This wont work whilst in WYSWYIG mod. When you press the toggle switch it will

saadessa
07-28-2009, 05:01 AM
i will try thanks

Hasann
07-28-2009, 05:20 AM
I love AJAX

1Unreal
07-28-2009, 05:32 AM
I love AJAX

And it loves you

Stoebi
07-28-2009, 06:57 AM
I love AJAX
Yes! And I like this idea, thanks. :)

Huy Ho?ng
07-28-2009, 07:41 AM
very good. Thank...

MAORBARI
07-28-2009, 10:04 AM
there is bug..
when you click first time..
after 4 seconds its apear..
and it the content dont apear..
but after you press in the secind time it is dont working..
thx.

KevinGupta
07-28-2009, 01:55 PM
It doesnt work for me at all.. I am using version 3.8.3

NLP-er
07-28-2009, 04:03 PM
Love idea, but not solution...

It would be better if you use phrases in templates instead of hardcode "Preview" and "Quick Preview" - I can deal with this and change template manually, but it appears that yours preview breaks with special characters like ąęśćł?żźĄŚĆŁ?ŻŹĘ - my forum is in Polish and unfortunately right now I'm not able to use your mod.

Let me know when you fix it - I will gladly install it again :)

1Unreal
07-28-2009, 08:12 PM
there is bug..
when you click first time..
after 4 seconds its apear..
and it the content dont apear..
but after you press in the secind time it is dont working..
thx.

I cant recreate that. I tried using FF and IE

It doesnt work for me at all.. I am using version 3.8.3

Make sure you folow the instructions carefully.

Love idea, but not solution...

It would be better if you use phrases in templates instead of hardcode "Preview" and "Quick Preview" - I can deal with this and change template manually, but it appears that yours preview breaks with special characters like ąęśćł?żźĄŚĆŁ?ŻŹĘ - my forum is in Polish and unfortunately right now I'm not able to use your mod.

Let me know when you fix it - I will gladly install it again :)

Ill update the phrases soon

And I just tried it with those string of characters (ąęśćł?żźĄŚĆŁ?ŻŹĘ) and it worked fine.

mad@Max
07-28-2009, 11:34 PM
jQuery for this? Why not YUI?

1Unreal
07-28-2009, 11:49 PM
jQuery for this? Why not YUI?

jQuery is better in my opinion. There are hundreds of reasons why but the main reason is the ajax support and its simplicity.

mad@Max
07-28-2009, 11:54 PM
Probably, but its extra js (+57kb).

KevinGupta
09-01-2009, 10:24 PM
It works fine for me.. Sorry before I thought it automatically previews it at the top as the user types...
I have just noticed that you are supposed to press "QUICK PREVIEW" :)
Anyway.. thanks.. but it would be lovely if you or someone can come up with like it gives Auto Preview at the top as the user is typing :D
So, user don't need to worry about clicking on anything ;)
Thanks for the MOD anyway :) ENJOY!!!

Rean
10-01-2009, 01:25 AM
cant work in reply post? only works for new thread only? i'm using 3.8.2
thanx

realdx
10-01-2009, 02:15 AM
mhhhh... juicy! Tagged!!

Lautaro
10-01-2009, 03:08 AM
This modification is great, I've just installed it and works perfectly, very useful.

Thanks !

installed & rated .

TheChaosFactor
10-03-2009, 06:56 AM
Man... I like this idea a lot... but it'll cost me page loads and less page loads = less $$. I just can't do it. :(

Ravnwolf
10-10-2009, 07:47 PM
Does this also add a button to the quick reply box? AJAX previews for quick reply would be amazing.

Sador
10-10-2009, 09:31 PM
Does this also add a button to the quick reply box? AJAX previews for quick reply would be amazing.I agree with this. :)

blue7
05-25-2010, 08:59 PM
Upload quickpreview.php to where ? forum root or elsewhere ?

MAORBARI
10-03-2011, 03:20 AM
Dont use it ! It not secure.. It give access to use HTML on your posts !
Dont use it !