UBB.Dev
Posted By: AllenAyres [6.7] [beta] ubb.preview - 02/24/2005 8:03 AM
Modification Name: ubb.preview

Author(s): AllenAyres

Description: This adds a live preview section to your reply page template. It can be easily added to the new topic page and edit page as well as next to the quick reply box if you like.

Demo: none

Requirements: This is a template file from 6.7.2

Download Link: https://www.ubbdev.com/ubb/upload/00000494/ubb.preview.zip

Credits: This function originally from Stuart Langridge at http://www.kryogenix.org/, Heavily updated by Jeff Minard at http://www.creatimation.net/

Just unzip and upload to the proper directories. It's of beta quality, so you may see a bug or 2 here and there depending on your setup smile
Posted By: AllenAyres Re: [6.7] [beta] ubb.preview - 02/24/2005 7:48 PM
For an example of what this will be able to do, check the bottom of this page:

http://www.jasonsantamaria.com/archive/2005/01/03/ritornato_ditalia.php

Type in the comment box (do not submit or spam him please) and watch to the right.

The beta here still needs to be prettied up and somehow adding the ability to view graemlins inline smile ubbcode would be nice too smile
Posted By: Ian Spence Re: [6.7] [beta] ubb.preview - 02/25/2005 1:30 AM
http://www.ianspence.com/common.js

you could use something like that for the built in graemlins. and possible have the CP write the graemlins file in a js compatible way as well
Posted By: Gizmo Re: [6.7] [beta] ubb.preview - 02/25/2005 1:32 AM
Wow, that's nice... It'd go perfect with that mod ian did to calculate the total number of characters put into the QR box heh...
Posted By: AllenAyres Re: [6.7] [beta] ubb.preview - 02/25/2005 2:10 AM
Quote
Originally posted by Ian Spence:

http://www.ianspence.com/common.js

you could use something like that for the built in graemlins. and possible have the CP write the graemlins file in a js compatible way as well
Just load it at the top as well and voila?
Posted By: Ian Spence Re: [6.7] [beta] ubb.preview - 02/25/2005 2:22 AM
I believe that would work. As long as the graemlin file was included before the other js file
Posted By: AllenAyres Re: [6.7] [beta] ubb.preview - 02/25/2005 2:44 AM
hmmm... it's not quite that easy frown I have it loaded but the smilie code isn't being converted.
Posted By: Ian Spence Re: [6.7] [beta] ubb.preview - 02/25/2005 2:48 AM
demo?
Posted By: AllenAyres Re: [6.7] [beta] ubb.preview - 02/25/2005 3:38 AM
https://ubbdev.com/test/ubbcgi/ultimatebb.cgi?ubb=reply;f=8;t=001945
Posted By: Ian Spence Re: [6.7] [beta] ubb.preview - 02/25/2005 4:24 AM
I had a different function name, you might need to update the onclick function
Posted By: AllenAyres Re: [6.7] [beta] ubb.preview - 02/26/2005 5:09 AM
thanks, I'll try to look at it sometime this weekend smile
Posted By: Gizmo Re: [6.7] [beta] ubb.preview - 07/01/2005 3:06 AM
Allen, have you had any luck with your gramelin issue?
Posted By: AllenAyres Re: [6.7] [beta] ubb.preview - 07/01/2005 5:46 PM
eek completely forgot about this one shocked If you have time, be my guest, or I can look at it next week when I get back smile
Posted By: AllenAyres Re: [6.7] [beta] ubb.preview - 07/11/2005 7:02 AM
I've looked at it, I'm not seeing a fix for it, the javascript is a little over my head there smash
© UBB.Developers