[DEV] jQ Live-/Quick-Preview (virtual wysiwyg)

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
ViolaF
Registered User
Posts: 1528
Joined: Tue Aug 14, 2012 11:52 pm

[DEV] jQ Live-/Quick-Preview (virtual wysiwyg)

Post by ViolaF »

jQ Live-/Quick-Preview (virtual wysiwyg)

Extension-Name: jQ Live-/Quick-Preview (virtual wysiwyg)
Version: none
Download: none
Author: ViolaF

Credits: 4seven, BNa, drakon

phpBB-Version: phpBB 3.1.x
phpBB-Languages: en
phpBB-Styles: prosilver

Requirements: none specific

Description: This Extension adds a switchable jQ Live- or Quick-Preview of post-content beneath post-box

Features:
(2 working modes)

1.) jQ Live Preview
- jQ Live Preview of post-content in near-realtime
- Using genuine phpBB BBCode-Engine
- Work with all Board- and Custom-BBCodes.
. Multimedia- and Script-BBCodes (youtube, flash, javascript, iframe etc).
. will be replaced with placeholder to prevent injection and forum-load
- Fixed div height and autoscroll feature
- xhtml 1.0 strict valid

2.) jQ Quick Preview
- JQ Quick Preview of post-content without site-refresh
- Using genuine phpBB BBCode-Engine
- Work with all Board- and Custom-BBCodes
. Multimedia- and Script-BBCodes (youtube, flash, javascript, iframe etc).
. can be replaced with placeholder to prevent injection
- Using genuine phpBB BBCode-Engine
- xhtml 1.0 strict valid

MOD-Demos:
1.) jQ Live Preview
(3.0.* Demo > 3.1.* Demo follows)
http://www.4seven.de/forum/4test/viewtopic.php?p=22#p22
- quick reply can be tested without login, but no possibility to submit
- to test out standard post-box and full qr > un: test / pw: tester

2.) jQ Quick Preview
(3.0.* Demo > 3.1.* Demo follows)
http://www.4seven.de/forum/6test/postin ... y&f=14&t=4
- un: test / pw: testuser

Screens:
jQ Quick Preview

Image

Image

Suggestions are welcomed......
User avatar
ViolaF
Registered User
Posts: 1528
Joined: Tue Aug 14, 2012 11:52 pm

Re: [DEV] jQ Live-/Quick-Preview (virtual wysiwyg)

Post by ViolaF »

@ Moderators/Admins

I need the possibility to edit my first post, ... thank you
User avatar
ViolaF
Registered User
Posts: 1528
Joined: Tue Aug 14, 2012 11:52 pm

Re: [DEV] jQ Live-/Quick-Preview (virtual wysiwyg)

Post by ViolaF »

--- reserved ---
User avatar
yasser33311
Registered User
Posts: 273
Joined: Sat Jul 27, 2013 1:27 pm
Location: algeria
Name: yasser ghe
Contact:

Re: [DEV] jQ Live-/Quick-Preview (virtual wysiwyg)

Post by yasser33311 »

good +1
PhpBB Services - install, update, upgrade, customize: PM
User avatar
Meis2M
Translator
Posts: 918
Joined: Wed Mar 03, 2010 11:32 am
Location: IR.Damghan
Name: میثم نوبری
Contact:

Re: [DEV] jQ Live-/Quick-Preview (virtual wysiwyg)

Post by Meis2M »

well done...
phpBB persian international support
Follow us in Instagram
Free upgrade and install extensions on your forum - drop me PM
Ultimate phpBB SEO Friendly URL extension
Korkel
Registered User
Posts: 391
Joined: Mon Jun 02, 2014 7:09 am
Location: ~/home/Liz/Desktop
Name: Liz Aalderink
Contact:

Re: [DEV] jQ Live-/Quick-Preview (virtual wysiwyg)

Post by Korkel »

Awesome, will it work with this extension?
"If you lose your left arm, your right arm will be left."
“The most important property of a program is whether it accomplishes the intention of its user.”
Image
User avatar
ViolaF
Registered User
Posts: 1528
Joined: Tue Aug 14, 2012 11:52 pm

Re: [DEV] jQ Live-/Quick-Preview (virtual wysiwyg)

Post by ViolaF »

Korkel wrote:will it work with this extension?
First Post wrote:- Using genuine phpBB BBCode-Engine
- Work with all Board- and Custom-BBCodes
So it will work in all cases ;)
Korkel
Registered User
Posts: 391
Joined: Mon Jun 02, 2014 7:09 am
Location: ~/home/Liz/Desktop
Name: Liz Aalderink
Contact:

Re: [DEV] jQ Live-/Quick-Preview (virtual wysiwyg)

Post by Korkel »

Ty.
"If you lose your left arm, your right arm will be left."
“The most important property of a program is whether it accomplishes the intention of its user.”
Image
Mattix
Registered User
Posts: 25
Joined: Sat Oct 25, 2014 7:00 pm

Re: [DEV] jQ Live-/Quick-Preview (virtual wysiwyg)

Post by Mattix »

On the live-mode testsite (http://www.4seven.de/forum/4test/viewtopic.php?p=22#p22) I get the following errors in my Chrome console:

Code: Select all

livepreview.js:47 Refused to set unsafe header "Content-length"
livepreview.js:48 Refused to set unsafe header "Connection"
And the extension fails to work.
User avatar
ViolaF
Registered User
Posts: 1528
Joined: Tue Aug 14, 2012 11:52 pm

Re: [DEV] jQ Live-/Quick-Preview (virtual wysiwyg)

Post by ViolaF »

its a "new" error, which will be fixed soon.
last year it appears not in chrome...

..and...
First Post wrote:Demos:
.............
1.) jQ Live Preview
(3.0.* Demo > 3.1.* Demo follows)
;)

this mod/ext work normally in all browser (multibrowser-compatible)
User avatar
ViolaF
Registered User
Posts: 1528
Joined: Tue Aug 14, 2012 11:52 pm

Re: [DEV] jQ Live-/Quick-Preview (virtual wysiwyg)

Post by ViolaF »

Mattix wrote:

Code: Select all

livepreview.js:47 Refused to set unsafe header "Content-length"
livepreview.js:48 Refused to set unsafe header "Connection"
and fixed.

thanks for reporting....

Live Preview Ext work for me, independent if the error appears in chrome console,
as you see in QR at the very bottom. Now the error is gone and it work also..

http://www.4seven.de/forum/4test/viewto ... ?f=2&p=414
Last edited by ViolaF on Mon Feb 23, 2015 3:19 pm, edited 1 time in total.
Mattix
Registered User
Posts: 25
Joined: Sat Oct 25, 2014 7:00 pm

Re: [DEV] jQ Live-/Quick-Preview (virtual wysiwyg)

Post by Mattix »

Yup, works now! Excellent extension btw :)
User avatar
ViolaF
Registered User
Posts: 1528
Joined: Tue Aug 14, 2012 11:52 pm

Re: [DEV] jQ Live-/Quick-Preview (virtual wysiwyg)

Post by ViolaF »

thanks, but thats not really my merit, see credits.
i just dev this to an ext :oops:
User avatar
draky
Registered User
Posts: 250
Joined: Tue Dec 10, 2002 2:04 pm
Location: France
Name: Gilles W.
Contact:

Re: [DEV] jQ Live-/Quick-Preview (virtual wysiwyg)

Post by draky »

No live preview for smilies ?
User avatar
ViolaF
Registered User
Posts: 1528
Joined: Tue Aug 14, 2012 11:52 pm

Re: [DEV] jQ Live-/Quick-Preview (virtual wysiwyg)

Post by ViolaF »

Of course the jQ Live Preview module have smilie support ;)

--proof--
Image
--click to enlarge--

also the jQ Quick Preview module.

...see demos...
Post Reply

Return to “Extensions in Development”