Back to vBulletin 3.8 Add-ons

DRC - Live Previews
Mod Version: 1.0.0, by Dr.CustUmz

vB Version: 3.8.11 Rating: (2 votes - 5.00 average) Installs: 5
Released: 23 Nov 2020 Last Update: 23 Nov 2020 Downloads: 32
Supported Uses Plugins Auto-Template Translations  

you must have jquery in your template in order for this to work, I did not provide it in the plugin because almost every site already has jQuery.
if you need jQuery you can install Drc -Core although is not required.

After searching for something to display live previews of a thread as it was being typed I came across two mods with similar functions although you needed to click to preview. I wanted something more automatic.

There are many ways to implement a "textarea" output to display things in real time as it's typed, but what about BBCODE we need to be able to show BBCODE within our preview, along with custom BBCODE.

I could have created my own JS and allow users to list their BBCODES as an option, but why make the end user enter every BBCODE they have in a list. Thus I opted to use vbulletin's default parser. Calling it every time there was a keypress was entered could prove to be VERY problematic for larger sites with multiple users creating threads at the same time. To overcome this I chose to add a delay, so when a user stops typing then the function is called thus providing the "live preview" those of you who have ever used codepen.io this feature is exactly like that.

Live previews work in:
New threads
Private Messages
Edit Thread
New Reply

Upon Downloading any DRC product you acknowledge and agree to abide by the following:
Products are designed for default vBulletin, downloads are as is and not guaranteed to work with your custom site.
You are permitted to alter the product code and images for your own personal use.
Under no circumstances is the code (original or modified) permitted to be redistributed.
Exceptions will only be made with written permission from Dirt RIF CustUmz.
All copyright notices must remain in the templates and are not to be modified.
Unless a One-Time or Universal Branding Free license is purchased. (contact me via PM until the shop is complete)
DRC products will collect installation statistics https://dirtrif.com/showthread.php?p=1
If you have any concerns in regards to this, please contact me.

Download

File Type: %1$s DRC - Live Preview.zip (106.4 KB, 31 downloads)

Screenshots

Click image for larger version
Name:	2020-11-22_23-57-16.jpg
Views:	102
Size:	89.1 KB
ID:	158007   Click image for larger version
Name:	2020-11-23_0-00-20.jpg
Views:	95
Size:	27.1 KB
ID:	158008  

Similar Mods

Add-On Releases [DRC] - Thread Starter Avatars vBulletin 3.8 Add-ons
Add-On Releases [DRC] - Core (Required for DRC products) vBulletin 3.8 Add-ons

vblts.ru supports vBulletin®, 2022-2024