vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - [AJAX] Quick Thread Preview (https://vborg.vbsupport.ru/showthread.php?t=219625)

1Unreal 07-27-2009 10:00 PM

[AJAX] Quick Thread Preview
 
1 Attachment(s)
[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 - 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

Quote:

Originally Posted by Hasann (Post 1856933)
I love AJAX

And it loves you

Stoebi 07-28-2009 06:57 AM

Quote:

Originally Posted by Hasann (Post 1856933)
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

Quote:

Originally Posted by MAORBARI (Post 1857038)
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

Quote:

Originally Posted by KevinGupta (Post 1857150)
It doesnt work for me at all.. I am using version 3.8.3

Make sure you folow the instructions carefully.

Quote:

Originally Posted by NLP-er (Post 1857230)
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

Quote:

Originally Posted by mad@Max (Post 1857520)
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

Quote:

Originally Posted by Ravnwolf (Post 1897726)
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 !


All times are GMT. The time now is 05:23 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01255 seconds
  • Memory Usage 1,753KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (22)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete