[MODDB] Live Preview v.1.0.2

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Get Involved
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

[MODDB] Live Preview v.1.0.2

Post by 4_seven »

Live Preview

MOD-Title: Live Preview
MOD-Version: 1.0.2
MOD-Author: 4seven

Credits: drakon (for inital great stuff)

phpBB-Version: phpBB 3.0.x
phpBB-Languages: multilingual
phpBB-Styles: prosilver

MOD-Description: This Mod adds an Live Preview of post-content above post-box

Features:
- Live Preview of post-content without refresh
- 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 flickering and forum-load.
- Compatiblity with phpbb3 'quick reply' and 'full quick reply editor'
- Fixed div height and autoscroll feature
- Easy install, only 2 edits (4 edits with quick reply)
- xhtml 1.0 strict valid

Requirements: mod_security Off

MOD-Demo: http://www.4seven.de/forum/4test/viewtopic.php?p=22#p22
- qr can test without login and no possibility to submit
- to test out standard postbox and full qr > un: test / pw: tester

Download: http://4seven.kilu.de/forum/phpbb3/view ... =534#p1696

Image

Image

-------------

New in v.0.0.2:
- setting 'live preview div' to fixed height
- adding auto scroll feature to fixed div

------------

New in v.0.0.3:
- make ajax data full strict

------------

New in v.0.0.4:
- sync scrolling feature from "'live preview div" to "message div"

------------

New in v.1.0.2:
- Change Prefix from [DEV] to [RC]
- Fixing one xhtml Error and one AutoMod Issue, submit [RC] to ModDB
- Fixing all xhtml and AutoMod Issues in QR Addition
- Splitting Main Mod from QR Addition

-----------

Infos and Tips

Error Message

Code: Select all

"There is a problem accessing the server: Forbidden"
Explanation of Reason and possible Workarounds:
http://www.phpbb.com/community/viewtopi ... #p12806782

Other possible Workaround (successfull only in rare cases)
http://www.phpbb.com/community/viewtopi ... #p12806808
Adjusting Live Preview Box
Last edited by 4_seven on Wed Sep 01, 2010 8:44 pm, edited 56 times in total.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Live Preview

Post by 4_seven »

Demo added..
Current Mods | Mod Base | php(BB) programming | No help via PM
plasmino
Registered User
Posts: 261
Joined: Sat Jul 25, 2009 11:12 am

Re: [DEV] Live Preview

Post by plasmino »

nice

Removes would be possible when you click the preview button?

have 2 preview creates chaos
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Live Preview

Post by 4_seven »

i remove the preview button..
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
Kynetic
Registered User
Posts: 84
Joined: Sun Sep 27, 2009 7:11 pm
Location: France

Re: [DEV] Live Preview

Post by Kynetic »

i like this mod, it's very nice... i'm waiting for news ;)
User avatar
heredia21
Registered User
Posts: 942
Joined: Sun Apr 18, 2010 6:14 pm

Re: [DEV] Live Preview

Post by heredia21 »

Where can we download it from?
Best BlackBerry website for all users! BlackBerry News - http://blackberryempire.com
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Live Preview

Post by 4_seven »

first post wrote:MOD-Version: none yet

...

Download: follows
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
heredia21
Registered User
Posts: 942
Joined: Sun Apr 18, 2010 6:14 pm

Re: [DEV] Live Preview

Post by heredia21 »

4_seven wrote:
first post wrote:MOD-Version: none yet

...

Download: follows
It works awesome in the demo. Would love to have this on my board.
Best BlackBerry website for all users! BlackBerry News - http://blackberryempire.com
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Live Preview

Post by 4_seven »

first, u must not quote a post, that is direct behind yours. second, the dev will takes some time yet, may some weeks before first release, so be patient. not all features are complete, eg. smilie-support is missing. Also i must resolving the "flickering problem" with ajax on multimedia-bbcodes (eg. youtube).
Last edited by 4_seven on Sun Jun 06, 2010 4:57 pm, edited 1 time in total.
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
heredia21
Registered User
Posts: 942
Joined: Sun Apr 18, 2010 6:14 pm

Re: [DEV] Live Preview

Post by heredia21 »

Thanks for the heads up.
Best BlackBerry website for all users! BlackBerry News - http://blackberryempire.com
User avatar
katib
Registered User
Posts: 562
Joined: Thu Jun 26, 2008 12:27 pm

Re: [DEV] Live Preview

Post by katib »

Thanks
Bookmarked
User avatar
imkingdavid
Former Team Member
Posts: 2673
Joined: Sun Jul 26, 2009 7:59 pm
Location: EST
Name: David King

Re: [DEV] Live Preview

Post by imkingdavid »

Wow it works great. Nice job!

All of the bbcodes work.

However, When just typing a straight url without using the URL bbcode tag, a   is added. Here's a screenshot of what I mean.
Image
And when I mouseover the link, this is the URL it is trying to go to: http://www.com%26nbsp/;

Also, emoticons don't work. It just displays the "no image" thing and it keeps flashing.
Don't forget to smile today. :)
Please do NOT contact for support via PM or email.
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Live Preview

Post by 4_seven »

read the fu.. first post wrote:To Do:
- Smilie Support
tho other behavior is fixed in 5 min..

edit: fixed...
Current Mods | Mod Base | php(BB) programming | No help via PM
User avatar
imkingdavid
Former Team Member
Posts: 2673
Joined: Sun Jul 26, 2009 7:59 pm
Location: EST
Name: David King

Re: [DEV] Live Preview

Post by imkingdavid »

4_seven wrote:
read the fu.. first post wrote:To Do:
- Smilie Support
tho other behavior is fixed in 5 min..
yep, the "magic" url things work now. I noticed an error that came up about Too few characters, but it went away after a minute, so I guess you were fixing it right then. :lol:
Don't forget to smile today. :)
Please do NOT contact for support via PM or email.
User avatar
4_seven
I've Been Banned!
Posts: 5155
Joined: Wed Apr 30, 2008 1:41 am

Re: [DEV] Live Preview

Post by 4_seven »

jap, the too-feew-chars err_msg[] works normal for postbox again, but will now ignored by live preview engine..
Current Mods | Mod Base | php(BB) programming | No help via PM

Return to “[3.0.x] MODs in Development”